/*
Theme Name:  Marque
Theme URI:   https://marquecrm.com
Author:      TGF Digital
Author URI:  https://marquecrm.com
Description: Agency marketing theme for Marque — designed with the Marque design system. Built for Simply Static.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: marque
*/

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
    --violet:       #7c3aed;
    --violet-light: #c4b5fd;
    --violet-soft:  #ede9fe;
    --ink:          #0f0e13;
    --charcoal:     #131418;
    --muted:        #9b97b0;
    --border:       #e8e4f4;
    --bg:           #f9f8fc;
    --white:        #ffffff;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;
    --radius:       8px;
    --radius-lg:    14px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--charcoal);
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { color: #4b4960; line-height: 1.75; }
p + p { margin-top: 1rem; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--dark { background: var(--ink); color: #f4f3f8; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #f4f3f8; }
.section--dark p { color: rgba(255,255,255,0.55); }
.section--violet { background: var(--violet); color: #fff; }
.section--violet h1,
.section--violet h2,
.section--violet h3,
.section--violet p { color: #fff; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: .925rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .15s, transform .1s, box-shadow .15s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
    background: var(--violet);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124,58,237,.3);
}
.btn--primary:hover { background: #6d28d9; box-shadow: 0 4px 14px rgba(124,58,237,.4); }
.btn--outline {
    background: transparent;
    border-color: var(--violet);
    color: var(--violet);
}
.btn--outline:hover { background: var(--violet-soft); }
.btn--ghost {
    background: transparent;
    color: rgba(255,255,255,.8);
    border-color: rgba(255,255,255,.25);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.card--hover { transition: box-shadow .2s, transform .2s; }
.card--hover:hover { box-shadow: 0 8px 32px rgba(124,58,237,.12); transform: translateY(-2px); }

/* ── Badge ───────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: .25rem .75rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--violet-soft);
    color: var(--violet);
}

/* ── Section label ───────────────────────────────────────────────────────── */
.section-label {
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 1rem;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 3rem 0; }

/* ── ─────────────────── Site Header ──────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(249,248,252,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-header__logo {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
}
.site-header__logo-mark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}
.site-header__logo-mark span {
    display: block;
    width: 5px;
    border-radius: 2px;
    background: rgba(124,58,237,.28);
}
.site-header__logo-mark span:nth-child(1) { height: 10px; }
.site-header__logo-mark span:nth-child(2) { height: 15px; background: rgba(124,58,237,.55); }
.site-header__logo-mark span:nth-child(3) { height: 20px; background: var(--violet); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
    font-size: .9rem;
    font-weight: 500;
    color: #4b4960;
    transition: color .15s;
}
.site-nav a:hover,
.site-nav a.current-menu-item { color: var(--violet); }

.site-header__cta { display: flex; align-items: center; gap: .75rem; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .25rem;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: .2s;
}

/* Mobile nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: .5rem 0;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .site-nav, .site-header__cta .btn:not(.btn--primary) { display: none; }
    .hamburger { display: flex; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    background: var(--ink);
    padding: 7rem 0 5rem;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 55% at 65% 40%, rgba(124,58,237,.22) 0%, transparent 70%);
    pointer-events: none;
}
.hero__label { color: rgba(196,181,253,.75); margin-bottom: 1.25rem; }
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #f4f3f8;
    line-height: 1.08;
    max-width: 800px;
}
.hero__title em {
    font-style: normal;
    color: var(--violet-light);
}
.hero__sub {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: rgba(255,255,255,.5);
    max-width: 520px;
    line-height: 1.75;
}
.hero__actions { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
    margin-top: 4rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 2.5rem;
}
.hero__stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #f4f3f8;
}
.hero__stat-label { font-size: .8rem; color: rgba(255,255,255,.35); margin-top: .25rem; letter-spacing: .05em; }

/* ── Services grid ───────────────────────────────────────────────────────── */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(124,58,237,.1); transform: translateY(-2px); }
.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--violet-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.service-card__icon svg { color: var(--violet); }
.service-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.service-card p { font-size: .9rem; }

/* ── Process steps ───────────────────────────────────────────────────────── */
.process-steps { counter-reset: step; display: flex; flex-direction: column; gap: 2rem; }
.process-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.process-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--violet);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.process-step__body h3 { margin-bottom: .4rem; }
.process-step__body p { font-size: .9rem; }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.testimonial__quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}
.testimonial__quote::before { content: '\201C'; }
.testimonial__quote::after  { content: '\201D'; }
.testimonial__author { display: flex; align-items: center; gap: .875rem; }
.testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--violet);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial__name { font-family: var(--font-display); font-weight: 600; font-size: .9rem; }
.testimonial__role { font-size: .8rem; color: var(--muted); }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: start; }
.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.pricing-card--featured {
    background: var(--ink);
    border-color: var(--violet);
    box-shadow: 0 0 0 1px var(--violet), 0 16px 40px rgba(124,58,237,.25);
}
.pricing-card--featured .pricing-card__name,
.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-card__period,
.pricing-card--featured li { color: #f4f3f8; }
.pricing-card--featured .pricing-card__desc { color: rgba(255,255,255,.45); }
.pricing-card--featured li::before { color: var(--violet-light); }
.pricing-card__name { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.pricing-card__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--charcoal); line-height: 1; }
.pricing-card__period { font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricing-card__desc { font-size: .875rem; color: #4b4960; margin-bottom: 1.5rem; }
.pricing-card ul { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; }
.pricing-card li { font-size: .875rem; color: var(--charcoal); display: flex; gap: .5rem; }
.pricing-card li::before { content: '✓'; color: var(--violet); font-weight: 700; flex-shrink: 0; }

/* ── CTA strip ───────────────────────────────────────────────────────────── */
.cta-strip {
    background: var(--violet);
    padding: 4rem 0;
    text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 1rem; }
.cta-strip p { color: rgba(255,255,255,.7); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Contact form ────────────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 500; color: var(--charcoal); }
.form-group input,
.form-group textarea,
.form-group select {
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .925rem;
    background: var(--white);
    color: var(--charcoal);
    transition: border-color .15s;
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.45);
    padding: 4rem 0 2rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.site-footer__brand p { font-size: .875rem; margin-top: .75rem; max-width: 260px; }
.site-footer__col h4 {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-bottom: 1rem;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: .625rem; }
.site-footer__col li a {
    font-size: .875rem;
    color: rgba(255,255,255,.45);
    transition: color .15s;
}
.site-footer__col li a:hover { color: var(--violet-light); }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: .5rem;
}
.site-footer__bottom a { color: rgba(255,255,255,.3); transition: color .15s; }
.site-footer__bottom a:hover { color: var(--violet-light); }

@media (max-width: 900px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .site-footer__bottom { flex-direction: column; text-align: center; }
}

/* ── WordPress content styles ────────────────────────────────────────────── */
.entry-content h2 { margin: 2rem 0 .75rem; }
.entry-content h3 { margin: 1.5rem 0 .5rem; }
.entry-content p  { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content a  { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
    border-left: 3px solid var(--violet);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--violet-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}
.entry-content img { border-radius: var(--radius-lg); margin: 1.5rem 0; }
.entry-content code {
    background: var(--violet-soft);
    color: var(--violet);
    padding: .15rem .4rem;
    border-radius: 4px;
    font-size: .875em;
}
.entry-content pre {
    background: var(--ink);
    color: var(--violet-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted   { color: var(--muted); }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-1  { margin-bottom: .5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
