/* ==========================================================
   R.A.G. — Restoration And Grading
   ========================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-deep: #080810;
    --bg-primary: #0c0c15;
    --bg-elevated: #10101a;
    --bg-card: #141420;
    --bg-card-hover: #1a1a2a;
    --text-primary: #f5f1ea;
    --text-body: #e0dbd3;
    --text-secondary: #b5afa6;
    --text-muted: #7d776e;
    --gold: #c9a84c;
    --gold-light: #e0c67a;
    --gold-dark: #9a7d2e;
    --border: #1c1c2a;
    --border-light: #282838;
    --font-display: 'Bodoni Moda', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
    --container: min(1200px, 92vw);
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
html { scrollbar-color: var(--gold-dark) var(--bg-deep); scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--text-primary); }
ul { list-style: none; }
p { font-weight: 500; }

.container { width: var(--container); max-width: 1200px; margin: 0 auto; }
.section { padding: clamp(80px, 11vh, 140px) 0; }

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


/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all 0.4s ease;
}
.nav.scrolled {
    background: rgba(8, 8, 16, 0.95);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.nav-inner {
    width: var(--container); max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    letter-spacing: 0.14em; color: var(--gold);
}
.nav-links { display: none; gap: 32px; }
.nav-links a {
    font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-secondary);
    transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
    height: 1px; background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: flex; flex-direction: column; gap: 5px; width: 26px; padding: 4px 0;
}
.nav-toggle span {
    width: 100%; height: 1.5px; background: var(--text-primary);
    transition: all 0.3s; transform-origin: center;
}
.nav-toggle.active span:first-child { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.active span:last-child { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(8, 8, 16, 0.97);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
    font-family: var(--font-display); font-size: clamp(24px, 5vw, 36px);
    color: var(--text-secondary); transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }


/* ==========================================================
   HERO — Big, clear, card-focused
   ========================================================== */
.hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column;
    justify-content: center; position: relative; overflow: hidden;
    padding: 90px 0 36px;
    background:
        radial-gradient(ellipse 55% 45% at 50% 50%, rgba(201,168,76,0.035) 0%, transparent 70%),
        var(--bg-deep);
}
.hero-top {
    text-align: center; padding: 0 20px;
    margin-bottom: 48px;
}
.hero-overline {
    font-size: 12px; font-weight: 700; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 16px;
}
.hero-title {
    font-size: clamp(48px, 9vw, 100px); font-weight: 800;
    letter-spacing: 0.04em; line-height: 0.95; margin-bottom: 8px;
}
.hero-dot { color: var(--gold); }
.hero-subtitle {
    font-size: 13px; font-weight: 700; letter-spacing: 0.35em;
    text-transform: uppercase; color: var(--text-secondary); margin-bottom: 20px;
}
.hero-desc {
    font-size: 18px; font-weight: 500; color: var(--text-body); line-height: 1.8;
    max-width: 520px; margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-direction: column; align-items: stretch; }

/* Hero Before/After — Large and prominent */
.hero-ba {
    width: var(--container); max-width: 960px; margin: 0 auto;
    padding: 0 20px;
}
.hero-ba-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hero-ba-col { }
.hero-ba-label {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 14px;
}
.hero-ba-tag {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase; padding: 6px 16px; border-radius: 5px;
}
.hero-ba-tag.prima {
    background: rgba(255,255,255,0.06); color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.hero-ba-tag.dopo {
    background: var(--gold); color: var(--bg-deep);
}
.hero-ba-img {
    border-radius: 16px; overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
    transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}
.hero-ba-img:hover {
    transform: scale(1.015);
}
.hero-ba-img.dopo-border {
    border-color: rgba(201,168,76,0.35);
}
.hero-ba-img.dopo-border:hover {
    box-shadow: 0 16px 56px rgba(201,168,76,0.12);
}
.hero-ba-img img {
    width: 100%; display: block;
    aspect-ratio: 3/4; object-fit: cover; object-position: top center;
}

.hero-ba-caption {
    text-align: center; margin-top: 16px;
    font-size: 13px; font-weight: 600; color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* Card Gallery Strip — Before/After Pairs */
.card-gallery {
    background: var(--bg-primary);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 36px 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.card-gallery::-webkit-scrollbar { height: 0; }
.card-gallery-inner {
    text-align: center; margin-bottom: 18px; padding: 0 20px;
}
.card-gallery-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--text-muted);
}
.card-gallery-track {
    display: flex; gap: 20px; padding: 0 max(5vw, 20px);
    width: fit-content; margin: 0 auto;
}
.gallery-pair {
    display: flex; gap: 8px; flex-shrink: 0;
    background: rgba(255,255,255,0.025); border: 1px solid var(--border);
    border-radius: 14px; padding: 10px;
}
.gallery-item { text-align: center; }
.gallery-item img {
    height: 170px; width: auto; border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    transition: transform 0.4s var(--ease);
}
.gallery-item img:hover { transform: scale(1.04); }
.gallery-badge {
    display: block; margin-top: 8px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; text-align: center;
}
.gallery-badge.prima { color: var(--text-secondary); }
.gallery-badge.dopo { color: var(--gold); }


/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-body); font-size: 13px; font-weight: 800;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 16px 30px; border-radius: 6px;
    min-height: 48px;
    transition: all 0.35s var(--ease);
}
.btn-primary { background: var(--gold); color: var(--bg-deep); }
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 6px 24px rgba(201,168,76,0.3); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--border-light); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }


/* ==========================================================
   SECTION HEADERS
   ========================================================== */
.section-label {
    font-size: 12px; font-weight: 800; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4.2vw, 46px); margin-bottom: 18px;
}
.section-intro {
    font-size: 18px; font-weight: 500; color: var(--text-body); line-height: 1.85;
    max-width: 660px;
}
.section-header { margin-bottom: 48px; }
.section-header-center { text-align: center; }
.section-header-center .section-intro { margin: 0 auto; }

.divider {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; max-width: 120px; margin: 20px auto;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; }
.divider::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span { color: var(--gold); font-size: 6px; }


/* ==========================================================
   PHILOSOPHY
   ========================================================== */
.philosophy { background: var(--bg-primary); }
.philosophy-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.philosophy-frame {
    position: relative; padding: 28px 16px; margin-top: 8px;
}
.philosophy-frame::before, .philosophy-frame::after {
    content: ''; position: absolute; width: 32px; height: 32px;
}
.philosophy-frame::before {
    top: 0; left: 0;
    border-top: 1px solid rgba(201,168,76,0.2);
    border-left: 1px solid rgba(201,168,76,0.2);
}
.philosophy-frame::after {
    bottom: 0; right: 0;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    border-right: 1px solid rgba(201,168,76,0.2);
}
.philosophy-quote {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(18px, 2.2vw, 24px); font-weight: 400;
    color: var(--text-primary); line-height: 1.65; margin-bottom: 20px;
}
.philosophy-body {
    font-size: 17px; font-weight: 500; color: var(--text-body); line-height: 1.9;
}
.philosophy-body + .philosophy-body { margin-top: 14px; }


/* ==========================================================
   SERVICES
   ========================================================== */
.services { background: var(--bg-deep); }
.service-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.service-card {
    position: relative; padding: 28px 22px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    transition: all 0.4s var(--ease);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transition: width 0.5s var(--ease);
}
.service-card[data-tier="1"]::before { width: 25%; }
.service-card[data-tier="2"]::before { width: 50%; }
.service-card[data-tier="3"]::before { width: 75%; }
.service-card[data-tier="4"]::before { width: 100%; }
.service-card:hover {
    background: var(--bg-card-hover); border-color: var(--border-light);
    transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.2);
}
.service-card:hover::before { width: 100%; }

.service-level {
    font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px;
}
.service-name {
    font-size: clamp(20px, 2vw, 26px); font-weight: 500; margin-bottom: 12px;
}
.service-desc {
    font-size: 15px; font-weight: 500; color: var(--text-body);
    line-height: 1.85; margin-bottom: 18px;
}
.service-points li {
    font-size: 14px; font-weight: 500; color: var(--text-secondary); padding: 5px 0;
    display: flex; align-items: baseline; gap: 10px;
}
.service-points li::before {
    content: '\2014'; color: var(--gold-dark); flex-shrink: 0; font-size: 11px;
}


/* ==========================================================
   EXPRESS
   ========================================================== */
.express { background: var(--bg-primary); }
.express-banner {
    background: linear-gradient(135deg, rgba(201,168,76,0.04), rgba(201,168,76,0.01));
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 16px; padding: clamp(24px, 4vw, 52px);
    position: relative; overflow: hidden;
}
.express-banner::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.express-center {
    text-align: center; max-width: 640px; margin: 0 auto 32px;
}
.express-badge {
    display: inline-block; font-size: 11px; font-weight: 800;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); background: rgba(201,168,76,0.08);
    padding: 6px 14px; border-radius: 4px; margin-bottom: 16px;
}
.express-title {
    font-size: clamp(22px, 3vw, 34px); font-weight: 500; margin-bottom: 14px;
}
.express-desc {
    font-size: 16px; font-weight: 500; color: var(--text-body); line-height: 1.85;
}
.express-grid {
    display: grid; grid-template-columns: 1fr; gap: 10px;
    max-width: 520px; margin: 0 auto 28px;
}
.express-feature {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; font-weight: 600; color: var(--text-body);
}
.express-feature .dot {
    width: 5px; height: 5px; background: var(--gold);
    border-radius: 50%; flex-shrink: 0;
}
.express-note {
    font-family: var(--font-display); font-style: italic;
    font-size: 14px; color: var(--text-secondary);
    text-align: center; max-width: 580px; margin: 0 auto;
}


/* ==========================================================
   RESULTS (Before / After) — Clear labels
   ========================================================== */
.results { background: var(--bg-deep); }
.results-tabs {
    display: flex; gap: 2px; margin-bottom: 32px;
    border-bottom: 1px solid var(--border); overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.results-tabs::-webkit-scrollbar { height: 0; }
.results-tab {
    font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--text-muted);
    padding: 14px 16px; white-space: nowrap; position: relative;
    transition: color 0.3s; min-height: 44px;
}
.results-tab::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.results-tab:hover { color: var(--text-secondary); }
.results-tab.active { color: var(--gold); }
.results-tab.active::after { transform: scaleX(1); }

.results-panel { display: none; }
.results-panel.active { display: block; animation: panelIn 0.4s var(--ease); }
@keyframes panelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.comparison { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ba-label {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.ba-tag {
    font-size: 13px; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase; padding: 7px 22px; border-radius: 5px;
}
.ba-tag.prima {
    background: rgba(255,255,255,0.05); color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.ba-tag.dopo {
    background: var(--gold); color: var(--bg-deep);
}
.comparison-frame {
    border-radius: 14px; overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border);
}
.comparison-frame.dopo-border { border-color: rgba(201,168,76,0.25); }
.comparison-frame img {
    width: 100%; display: block;
    aspect-ratio: 3/4; object-fit: cover; object-position: top center;
}


/* ==========================================================
   GRADING PARTNERS
   ========================================================== */
.grading { background: var(--bg-primary); }
.grading-text {
    font-size: 17px; font-weight: 500; color: var(--text-body);
    line-height: 1.9; max-width: 720px; margin-bottom: 48px;
}
.grading-process {
    display: grid; grid-template-columns: 1fr; gap: 14px;
    margin-bottom: 48px;
}
.grading-step {
    padding: 22px 18px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; text-align: center;
}
.grading-step-num {
    font-family: var(--font-display); font-size: 22px;
    color: var(--gold-dark); margin-bottom: 6px;
}
.grading-step p {
    font-size: 14px; font-weight: 500; color: var(--text-body); line-height: 1.7;
}

.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.partner-card {
    text-align: center; transition: transform 0.4s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); }
.partner-logo-wrap {
    background: #f0ebe3; border-radius: 10px;
    padding: 18px 14px; display: flex; align-items: center; justify-content: center;
    height: 80px; overflow: hidden; transition: box-shadow 0.4s ease;
}
.partner-card:hover .partner-logo-wrap {
    box-shadow: 0 8px 24px rgba(201,168,76,0.1);
}
.partner-logo-wrap img { max-width: 80%; max-height: 44px; object-fit: contain; }
.partner-name {
    display: block; margin-top: 8px;
    font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--text-muted);
    transition: color 0.3s;
}
.partner-card:hover .partner-name { color: var(--gold); }


/* ==========================================================
   CONSULTATION
   ========================================================== */
.consultation { background: var(--bg-deep); }
.consult-layout {
    display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start;
}
.consult-intro {
    font-family: var(--font-display); font-style: italic;
    font-size: 18px; color: var(--text-body); line-height: 1.7;
    margin-bottom: 36px;
}
.consult-item {
    display: flex; gap: 18px; padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.consult-item:first-child { padding-top: 0; }
.consult-num {
    font-family: var(--font-display); font-size: 24px;
    color: var(--gold-dark); flex-shrink: 0; width: 30px;
}
.consult-item h4 { font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.consult-item p { font-size: 15px; font-weight: 500; color: var(--text-secondary); line-height: 1.8; }


/* ==========================================================
   SECURITY
   ========================================================== */
.security { background: var(--bg-primary); }
.security-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.security-card {
    padding: 26px 18px; text-align: center;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; transition: all 0.4s var(--ease);
}
.security-card:hover {
    border-color: rgba(201,168,76,0.15); transform: translateY(-3px);
}
.security-icon { font-size: 22px; color: var(--gold); margin-bottom: 12px; }
.security-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.security-card p { font-size: 14px; font-weight: 500; color: var(--text-secondary); line-height: 1.65; }


/* ==========================================================
   FINAL CTA
   ========================================================== */
.final-cta {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.03), transparent 55%),
        var(--bg-deep);
    text-align: center; padding: clamp(72px, 10vh, 140px) 0;
}
.final-cta .section-title { margin-bottom: 12px; }
.final-cta-body {
    font-family: var(--font-display); font-style: italic;
    font-size: clamp(16px, 2vw, 22px);
    color: var(--text-body); line-height: 1.7;
    max-width: 600px; margin: 0 auto 14px;
}
.final-cta-tagline {
    font-size: 14px; font-weight: 800; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 32px;
}


/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
    background: var(--bg-elevated); border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}
.footer-top {
    display: grid; grid-template-columns: 1fr; gap: 28px;
    margin-bottom: 44px;
}
.footer-logo-img { width: 90px; margin-bottom: 12px; border-radius: 6px; }
.footer-logo {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    letter-spacing: 0.12em; color: var(--gold); margin-bottom: 10px;
}
.footer-tagline {
    font-size: 13px; font-weight: 500; color: var(--text-muted); line-height: 1.65; max-width: 300px;
}
.footer-col h5 {
    font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
}
.footer-col li { margin-bottom: 7px; }
.footer-col a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    display: flex; flex-direction: column; gap: 8px; align-items: center;
    text-align: center;
    padding-top: 22px; border-top: 1px solid var(--border);
    font-size: 12px; font-weight: 600; color: var(--text-muted);
}


/* ==========================================================
   ANIMATIONS
   ========================================================== */
.hero-anim { opacity: 0; }
.hero-anim.a1 { animation: fadeUp 0.8s var(--ease) 0.1s forwards; }
.hero-anim.a2 { animation: fadeUp 0.8s var(--ease) 0.25s forwards; }
.hero-anim.a3 { animation: fadeUp 0.7s var(--ease) 0.4s forwards; }
.hero-anim.a4 { animation: fadeUp 0.7s var(--ease) 0.55s forwards; }
.hero-anim.a5 { animation: fadeUp 0.7s var(--ease) 0.7s forwards; }
.hero-anim.a6 { animation: fadeUp 0.8s var(--ease) 0.9s forwards; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.stagger > * {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.02s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.06s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.14s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.18s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.22s; }


/* ==========================================================
   RESPONSIVE — Mobile-first (min-width)
   ========================================================== */

/* 481px+ — Small tablets */
@media (min-width: 481px) {
    .hero-cta { flex-direction: row; align-items: center; }
    .comparison { grid-template-columns: 1fr 1fr; }
    .security-grid { grid-template-columns: 1fr 1fr; }
    .hero-ba-grid { gap: 20px; }
    .hero-ba-tag { font-size: 12px; padding: 7px 20px; }
    .gallery-item img { height: 200px; }
    .results-tab { font-size: 13px; padding: 16px 22px; }
    .service-card { padding: 30px 26px; }
    .philosophy-frame { padding: 36px 28px; }
}

/* 769px+ — Tablets / Small desktops */
@media (min-width: 769px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }
    .service-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .express-grid { grid-template-columns: 1fr 1fr; }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .grading-process { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 44px; }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .hero-ba-grid { gap: 24px; }
    .hero-ba-tag { font-size: 14px; padding: 8px 24px; }
    .gallery-item img { height: 220px; }
    .hero { padding: 120px 0 60px; }
    .service-card { padding: 32px 28px; }
    .philosophy-frame { padding: 40px 32px; }
}

/* 1025px+ — Large desktops */
@media (min-width: 1025px) {
    .consult-layout { grid-template-columns: 5fr 7fr; gap: 64px; }
    .consult-left .section-title { position: sticky; top: 100px; }
    .security-grid { grid-template-columns: repeat(4, 1fr); }
    .partner-grid { grid-template-columns: repeat(6, 1fr); }
    .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}

@media print {
    .grain, .nav, .mobile-menu, .card-gallery { display: none !important; }
    body { background: #fff; color: #111; }
}


/* ==========================================================
   UTILITIES & ENHANCEMENTS
   ========================================================== */

/* Gold highlight for key phrases */
.gold { color: var(--gold); }
.gold-bold { color: var(--gold); font-weight: 700; }

/* Service card icons */
.svc-ico {
    width: 28px; height: 28px; margin-bottom: 14px;
    color: var(--gold); flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}
.service-card:hover .svc-ico { transform: scale(1.15); }

/* Security SVG icons */
.sec-ico {
    width: 28px; height: 28px; margin: 0 auto 14px;
    color: var(--gold);
}

/* Enhanced card hover glow */
.service-card:hover {
    box-shadow: 0 10px 36px rgba(0,0,0,0.2), 0 0 0 1px rgba(201,168,76,0.08);
}

/* Subtle gold underline on hover for links */
.footer-col a:hover {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 3px;
}

/* Express feature hover */
.express-feature {
    padding: 8px 12px; border-radius: 8px;
    transition: background 0.3s ease;
}
.express-feature:hover {
    background: rgba(201,168,76,0.04);
}

/* Consult item hover */
.consult-item {
    padding-left: 12px; padding-right: 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}
.consult-item:hover {
    background: rgba(201,168,76,0.025);
}
