/* ─────────────────────────────────────────────────────────
   ReputationExpert.ca — Main Stylesheet
   ───────────────────────────────────────────────────────── */

/* ── THEME VARIABLES ──────────────────────────────────── */
:root {
    --bg: #f7f4ef;
    --surface: #edeae4;
    --surface2: #e4e0d8;
    --gold: #9c6f2e;
    --gold-light: #b8892e;
    --gold-dim: rgba(156, 111, 46, 0.1);
    --text: #1a1714;
    --text-muted: #6b6560;
    --border: rgba(156, 111, 46, 0.2);
    --white: #1a1714;
}

:root.dark {
    --bg: #0a0c10;
    --surface: #10141c;
    --surface2: #171c28;
    --gold: #c9a96e;
    --gold-light: #e4c99a;
    --gold-dim: rgba(201, 169, 110, 0.15);
    --text: #e8e4dc;
    --text-muted: #8a8a8a;
    --border: rgba(201, 169, 110, 0.18);
    --white: #f5f1eb;
}

/* ── RESET & BASE ──────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    transition: background-color 0.3s ease, color 0.2s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ── TYPOGRAPHY ────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* ── NAV ───────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 60px;
    background: transparent;
    transition: background 0.3s, padding 0.3s;
}

nav.scrolled {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 18px 60px;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 24px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--bg);
}

/* ── THEME TOGGLE SWITCH ───────────────────────────────── */
.theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: #2a2a2a;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.3s ease;
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4a4f5a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
    line-height: 1;
}

/* Light mode default — knob right, gold bg */
.theme-toggle {
    background: #e8d9c0;
}

.toggle-knob {
    transform: translateX(24px);
    background: #c9a96e;
}

/* Dark mode — knob left, dark bg */
:root.dark .theme-toggle {
    background: #2a2a2a;
}

:root.dark .toggle-knob {
    transform: translateX(0);
    background: #4a4f5a;
}


/* ── HERO ──────────────────────────────────────────────── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 160px 60px 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201, 169, 110, 0.04) 0%, transparent 50%),
        var(--bg);
}

.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-lines::before,
.hero-lines::after {
    content: '';
    position: absolute;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.hero-lines::before {
    width: 700px;
    height: 700px;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    animation: rotateRing 30s linear infinite;
}

.hero-lines::after {
    width: 500px;
    height: 500px;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    animation: rotateRing 20s linear infinite reverse;
}

@keyframes rotateRing {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-label {
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(52px, 7vw, 90px);
    color: var(--white);
    margin-bottom: 28px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 80px;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 6px;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
    background: var(--gold);
    color: var(--bg);
    padding: 16px 36px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    transition: all 0.25s;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.btn-ghost:hover {
    color: var(--gold);
}

.btn-ghost::after {
    content: '→';
}

/* ── SECTIONS ──────────────────────────────────────────── */
section {
    padding: 120px 60px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(36px, 4vw, 56px);
    color: var(--white);
    margin-top: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 580px;
    margin-top: 20px;
    line-height: 1.8;
}

/* ── SERVICES ──────────────────────────────────────────── */
#services {
    background: var(--surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.service-card {
    background: var(--surface);
    padding: 48px 40px;
    position: relative;
    transition: background 0.3s;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: var(--surface2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-tier {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-items {
    list-style: none;
}

.service-items li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-items li:last-child {
    border-bottom: none;
}

.service-items li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── SOCIAL MEDIA TABS ─────────────────────────────────── */
#social {
    background: var(--bg);
}

.platform-tabs {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    border: 1px solid var(--border);
}

.platform-tab {
    background: none;
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    padding: 14px 28px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-tab:last-child {
    border-right: none;
}

.platform-tab.active {
    background: var(--gold);
    color: var(--bg);
    font-weight: 500;
}

.platform-tab:not(.active):hover {
    color: var(--gold);
    background: var(--gold-dim);
}

.platform-icon {
    font-size: 16px;
}

.platform-panels {
    border: 1px solid var(--border);
    border-top: none;
    background: var(--surface);
}

.platform-panel {
    display: none;
    padding: 48px 40px;
}

.platform-panel.active {
    display: block;
}

.platform-panel h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 12px;
}

.platform-panel .panel-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-item-card {
    border: 1px solid var(--border);
    padding: 28px;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.service-item-card:hover {
    border-color: rgba(201, 169, 110, 0.4);
    background: var(--surface2);
}

.service-item-card h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.service-item-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-item-card .req-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    display: block;
}

.req-list {
    list-style: none;
}

.req-list li {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 0;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.req-list li::before {
    content: '—';
    color: var(--gold);
    flex-shrink: 0;
    font-size: 11px;
    margin-top: 2px;
}

.service-item-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 4px 10px;
}

.panel-disclaimer {
    margin-top: 32px;
    padding: 16px 20px;
    background: var(--gold-dim);
    border-left: 2px solid var(--gold);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── KNOWLEDGE PANEL ───────────────────────────────────── */
#knowledge {
    background: var(--surface);
}

.kp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.kp-text h2 {
    font-size: clamp(32px, 3.5vw, 48px);
    color: var(--white);
    margin: 16px 0 24px;
}

.kp-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
}

.kp-features {
    list-style: none;
    margin: 28px 0 36px;
}

.kp-features li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.kp-features li:last-child {
    border-bottom: none;
}

.kp-features li::before {
    content: '✓';
    color: var(--gold);
    flex-shrink: 0;
}

.kp-card {
    border: 1px solid var(--border);
    padding: 40px;
    background: var(--bg);
}

.kp-card .label {
    margin-bottom: 20px;
    display: block;
}

.kp-card h4 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 16px;
}

.kp-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.kp-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.kp-meta-row span:first-child {
    color: var(--text-muted);
}

.kp-meta-row span:last-child {
    color: var(--gold);
}

.kp-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-style: italic;
}

/* ── PRICING ───────────────────────────────────────────── */
#pricing {
    background: var(--bg);
}

.currency-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    padding: 16px 24px;
    background: var(--surface2);
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.currency-label {
    font-size: 13px;
    color: var(--text-muted);
}

.currency-switch {
    display: flex;
}

.cur-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 7px 20px;
    font-size: 12px;
    letter-spacing: 0.1em;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
}

.cur-btn:first-child {
    border-right: none;
}

.cur-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
    font-weight: 500;
}

.cur-btn:not(.active):hover {
    border-color: var(--gold);
    color: var(--gold);
}

.rate-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
    font-style: italic;
}

.pricing-block {
    background: var(--surface);
    border: 1px solid var(--border);
}

.pricing-block+.pricing-block {
    margin-top: 48px;
}

.pricing-block-header {
    padding: 36px 40px 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-block-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

.pt-row {
    display: grid;
    grid-template-columns: 1fr 160px 200px 120px;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px 40px;
    align-items: center;
}

.pt-row:last-child {
    border-bottom: none;
}

.pt-row:not(.pt-head):hover {
    background: var(--surface2);
}

.pt-head {
    background: var(--bg);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 14px 40px;
}

.pt-row strong {
    font-size: 15px;
    color: var(--white);
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
}

.pt-note {
    font-size: 12px;
    color: var(--text-muted);
}

.pt-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--gold);
    font-weight: 300;
}

.pt-time {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.pt-time em {
    display: block;
    font-style: normal;
    font-size: 11px;
    opacity: 0.7;
}

.pt-cta {
    display: inline-block;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}

.pt-cta:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.warranty-bar {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 32px;
    padding: 24px 32px;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
}

.warranty-bar span {
    font-size: 24px;
    flex-shrink: 0;
}

.warranty-bar strong {
    font-size: 15px;
    color: var(--white);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.warranty-bar p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── CASE STUDIES ──────────────────────────────────────── */
#cases {
    background: var(--surface);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    border: 1px solid var(--border);
    padding: 40px 36px;
    transition: border-color 0.3s;
}

.case-card:hover {
    border-color: rgba(201, 169, 110, 0.4);
}

.case-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 4px 12px;
    margin-bottom: 24px;
}

.case-card h4 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 16px;
}

.case-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.case-result {
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--gold-dim);
    border-left: 2px solid var(--gold);
}

.case-result span {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.case-result p {
    font-size: 14px;
    color: var(--text);
    margin-top: 4px;
}

/* ── ABOUT ─────────────────────────────────────────────── */
#about {
    background: var(--bg);
}

/* ── CONTACT ───────────────────────────────────────────── */
#contact {
    background: var(--surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.07) 0%, transparent 70%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.contact-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

#contact h2 {
    font-size: clamp(42px, 5vw, 72px);
    color: var(--white);
    margin: 16px 0 24px;
}

#contact p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.contact-item span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
    font-size: 15px;
    color: var(--gold);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--gold-light);
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
    background: var(--bg);
    padding: 48px 60px 28px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 260px;
    line-height: 1.7;
}

.footer-links-group h5 {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-disclaimer {
    font-size: 11px;
    color: rgba(138, 138, 138, 0.6);
    line-height: 1.7;
    max-width: 700px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(138, 138, 138, 0.4);
    white-space: nowrap;
}

/* ── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
    nav {
        padding: 20px 30px;
    }

    nav.scrolled {
        padding: 16px 30px;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 80px 30px;
    }

    #hero {
        padding: 120px 30px 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .kp-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .platform-tabs {
        overflow-x: auto;
    }

    .platform-tab {
        padding: 12px 18px;
        font-size: 11px;
    }

    .platform-panel {
        padding: 32px 24px;
    }

    .pt-row {
        grid-template-columns: 1fr 110px;
    }

    .pt-row .pt-cta {
        display: none;
    }

    .pt-head {
        grid-template-columns: 1fr 110px;
    }

    .pt-head div:nth-child(3),
    .pt-head div:nth-child(4) {
        display: none;
    }

    .pricing-block-header,
    .pt-row,
    .pt-head {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pt-row strong {
        font-size: 14px;
    }

    .pt-note {
        display: none;
    }

    footer {
        padding: 40px 30px 24px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .contact-details {
        gap: 32px;
    }
}

/* ── MEDIA PLACEMENT ───────────────────────────────────── */
.media-outlets {
    margin-bottom: 48px;
}

.outlets-label {
    display: block;
    margin-bottom: 20px;
}

.outlets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.outlet-tag {
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 20px;
    font-size: 13px;
    letter-spacing: 0.06em;
    transition: border-color 0.2s, color 0.2s;
}

.outlet-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.media-cta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-left: 3px solid var(--gold);
}

.media-cta-text h3 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 12px;
}

.media-cta-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 520px;
}

/* ── PRICING TABLE (no price column) ──────────────────── */
#pricing .pt-row {
    grid-template-columns: 1fr 180px 120px;
}

#pricing .pt-head {
    grid-template-columns: 1fr 180px 120px;
}

/* ── PORTFOLIO LINK IN SERVICE CARD ───────────────────── */
.service-card .btn-ghost {
    margin-top: 8px;
}

/* ── HAMBURGER MENU ────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 2px;
    transition: border-color 0.2s;
}

.hamburger:hover {
    border-color: var(--gold);
}

.hamburger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text-muted);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    background: var(--gold);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    background: var(--gold);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    backdrop-filter: blur(2px);
}

.nav-overlay.active {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: var(--surface);
        border-left: 1px solid var(--border);
        padding: 80px 32px 40px;
        gap: 0;
        z-index: 99;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 14px;
        letter-spacing: 0.1em;
        color: var(--text-muted);
    }

    .nav-links a:hover {
        color: var(--gold);
    }

    .mobile-only a {
        color: var(--gold) !important;
        font-weight: 500;
    }
}

/* ── TIER 4 FULL WIDTH CARD ────────────────────────────── */
.service-card-full {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0 40px;
    align-items: start;
}

.service-card-full .service-tier {
    grid-column: 1 / -1;
}

.service-card-full h3 {
    grid-column: 1;
}

.service-card-full p {
    grid-column: 1;
}

.service-card-full .service-items {
    grid-column: 2;
    margin-top: 0;
}

.service-card-full>div:last-child {
    grid-column: 3;
    align-self: center;
}

@media (max-width: 1024px) {
    .service-card-full {
        grid-template-columns: 1fr;
    }

    .service-card-full h3,
    .service-card-full p,
    .service-card-full .service-items,
    .service-card-full>div:last-child {
        grid-column: 1;
    }
}

/* ── POPULAR SERVICES ──────────────────────────────────── */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.popular-card {
    border: 1px solid var(--border);
    padding: 36px 32px;
    background: var(--bg);
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
}

.popular-card:hover {
    border-color: rgba(201, 169, 110, 0.5);
    transform: translateY(-3px);
}

.popular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.popular-card:hover::before {
    transform: scaleX(1);
}

.popular-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.popular-tag {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.popular-card h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
}

.popular-card>p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.popular-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.popular-timeline {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

/* KP toggle button */
.kp-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 10px 16px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 16px;
    width: 100%;
    text-align: left;
}

.kp-toggle:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.kp-arrow {
    font-size: 10px;
    transition: transform 0.3s;
    margin-left: auto;
}

/* KP explainer panel */
.kp-explainer {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-left: 2px solid var(--gold);
    padding: 24px;
    margin-bottom: 16px;
}

.kp-explainer p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.kp-explainer p:last-of-type {
    margin-bottom: 20px;
}

/* KP mock example */
.kp-example {
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    background: var(--bg);
}

.kp-example-bar {
    background: var(--surface);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.kp-example-body {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 0;
    min-height: 120px;
}

.kp-example-left {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid var(--border);
}

.kp-ex-line {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
}

.kp-ex-line.long {
    width: 85%;
}

.kp-ex-line.med {
    width: 65%;
}

.kp-ex-line.short {
    width: 45%;
}

.kp-example-right {
    padding: 12px;
}

.kp-ex-panel {
    border: 1px solid var(--gold);
    border-radius: 2px;
    padding: 12px;
    background: var(--surface);
}

.kp-ex-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    margin: 0 auto 8px;
}

.kp-ex-name {
    font-size: 12px;
    color: var(--white);
    text-align: center;
    margin-bottom: 4px;
    font-weight: 500;
}

.kp-ex-desc {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 8px;
}

.kp-ex-links {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.kp-ex-links span {
    font-size: 9px;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 2px 6px;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }

    .kp-example-body {
        grid-template-columns: 1fr;
    }

    .kp-example-left {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* ── PRICING TABLE MOBILE OVERRIDE ────────────────────── */
@media (max-width: 1024px) {
    #pricing .pt-row {
        grid-template-columns: 1fr 110px;
    }

    #pricing .pt-head {
        grid-template-columns: 1fr 110px;
    }
}