/*
 * Tirado Law Office - Main Stylesheet
 * Aesthetic: Championship boxing / prize-fight poster
 * Deep black base with metallic gold and boxing-glove crimson accents
 * (brand colors carried over from tiradolawoffice.com: #F1DD9E, #EBCF72, #D0021B, #8D0112)
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Core Colors - black base */
    --black: #0a0909;
    --dark: #121010;
    --charcoal: #1a1616;
    --gray: #2b2424;
    --light-gray: #b9ad98;
    --cream: #F6EEDC;

    /* Brand gold (metallic) */
    --gold: #EBCF72;
    --gold-light: #F1DD9E;
    --gold-pale: #F5DD90;
    --gold-deep: #B8913A;
    --gold-glow: rgba(235, 207, 114, 0.3);

    /* Brand crimson (boxing glove) */
    --red: #D0021B;
    --red-fire: #C71401;
    --red-deep: #8D0112;
    --red-bright: #F0384E;   /* crimson tuned for small text on black */

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-light) 70%, var(--gold-deep) 100%);
    --red-gradient: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 60%, var(--red-fire) 100%);
    --dark-gradient: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);

    /* Typography */
    --font-display: 'Cinzel', 'Times New Roman', serif;
    --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Nunito Sans', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 7.5rem);
    --container-max: 1280px;
    --header-height: 128px;

    /* Effects */
    --glow-gold: 0 0 40px rgba(235, 207, 114, 0.35);
    --glow-red: 0 0 40px rgba(208, 2, 27, 0.45);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    font-size: 16px;
}

/* clip (not hidden) on both: mobile browsers ignore overflow-x: hidden on body
   alone, letting slide-in elements widen the page; clip also keeps position: sticky working */
html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); }

.muted { color: var(--light-gray); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-gradient); border-radius: 4px; }

::selection {
    background: var(--gold);
    color: var(--black);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.display-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6.4vw, 5.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: none;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red-bright);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--red-gradient);
    margin-top: 1rem;
    box-shadow: 0 0 12px rgba(208, 2, 27, 0.6);
}

.section-title.centered { text-align: center; }

.section-title.centered::after {
    margin-left: auto;
    margin-right: auto;
}

/* Metallic gold text fill */
.gold-text {
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
}

.red-text {
    color: var(--red-bright);
    -webkit-text-fill-color: var(--red-bright);
}

.text-cream {
    color: var(--cream);
    -webkit-text-fill-color: var(--cream);
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* The blurred backdrop lives on a pseudo-element: backdrop-filter on the header
   itself would make it the containing block for the fixed mobile menu, so the
   off-canvas menu would widen the page and cause sideways scroll on phones. */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 9, 9, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.site-header.scrolled::before { opacity: 1; }

/* Utility bar */
.top-bar {
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(235, 207, 114, 0.18);
    font-size: 0.85rem;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.site-header.scrolled .top-bar {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.top-bar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar-contact,
.top-bar-pay {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover { color: var(--gold); }

.top-bar svg {
    width: 15px;
    height: 15px;
    color: var(--gold);
}

.top-bar-pay a {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(235, 207, 114, 0.45);
    border-radius: 3px;
    padding: 0.2rem 0.7rem;
}

.top-bar-pay a em {
    font-style: normal;
    color: var(--gold);
}

.top-bar-pay a:hover {
    background: var(--gold);
    color: var(--black);
}

.top-bar-pay a:hover em { color: var(--red-deep); }

.navbar {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(235, 207, 114, 0.4);
    transition: var(--transition-smooth);
}

.navbar-brand:hover .brand-mark {
    box-shadow: var(--glow-gold);
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-sub {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 0.3rem;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-gradient);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold-gradient);
    color: var(--black) !important;
    padding: 0.7rem 1.4rem !important;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

.nav-cta::after { display: none !important; }

.nav-mobile-only { display: none; }

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--black);
    padding: calc(var(--header-height) + 1rem) 2rem 4.5rem;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(208, 2, 27, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 35%, rgba(235, 207, 114, 0.08) 0%, transparent 50%);
}

/* Spotlight cone from above, like a lit ring */
.hero-bg::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    width: 900px;
    height: 120%;
    transform: translateX(-50%);
    background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(241, 221, 158, 0.06) 175deg, rgba(241, 221, 158, 0.1) 180deg, rgba(241, 221, 158, 0.06) 185deg, transparent 200deg);
    pointer-events: none;
}

.particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Gradient Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--red-deep);
    bottom: -220px;
    left: -140px;
}

.hero-orb-2 {
    width: 420px;
    height: 420px;
    background: var(--red);
    bottom: 60px;
    right: -140px;
    animation-delay: -3s;
    opacity: 0.25;
}

.hero-orb-3 {
    width: 320px;
    height: 320px;
    background: var(--gold);
    top: 18%;
    left: 32%;
    animation-delay: -5s;
    opacity: 0.12;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
}

.hero-emblem {
    width: clamp(120px, 13vw, 170px);
    margin: 0 auto 1rem;
    border-radius: 50%;
    animation: fadeInUp 0.8s ease forwards, pulseGlow 4s ease-in-out 1s infinite;
    opacity: 0;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(235, 207, 114, 0.12), 0 0 0 rgba(208, 2, 27, 0); }
    50% { box-shadow: 0 0 70px rgba(235, 207, 114, 0.25), 0 0 120px rgba(208, 2, 27, 0.18); }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(235, 207, 114, 0.08);
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 0.8s ease 0.25s forwards;
    opacity: 0;
}

.hero-title .line { display: block; }

.hero-tagline-lead {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(1.2rem, 2.8vw, 1.9rem);
    margin: 1.25rem auto 0;
    color: var(--cream);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--light-gray);
    max-width: 720px;
    margin: 1.5rem auto 2.25rem;
    animation: fadeInUp 0.8s ease 0.55s forwards;
    opacity: 0;
}

.hero-subtitle strong { color: var(--cream); }

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.7s forwards;
    opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   INTERIOR PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
    padding: calc(var(--header-height) + 3rem) 2rem 4rem;
}

.page-hero .hero-orb-1 { width: 460px; height: 460px; }
.page-hero .hero-orb-2 { width: 320px; height: 320px; }

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    animation: fadeInUp 0.8s ease forwards;
}

.page-hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
    font-size: clamp(2.3rem, 6.5vw, 4.6rem);
    line-height: 1.08;
    margin: 0.5rem 0 1rem;
    color: var(--cream);
}

.page-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--light-gray);
    max-width: 680px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn span, .btn svg { position: relative; z-index: 1; }

/* Gold */
.btn-primary {
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: var(--black);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: var(--glow-gold);
}

/* Crimson "glove" */
.btn-red {
    background: var(--red-gradient);
    color: #fff;
    border: 1px solid rgba(241, 221, 158, 0.35);
}

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-red);
    border-color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 2px solid rgba(235, 207, 114, 0.4);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Shine sweep on hover */
.btn-primary::after,
.btn-red::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-primary:hover::after,
.btn-red:hover::after {
    left: 130%;
}

.btn-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-row.centered { justify-content: center; }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.section {
    padding: var(--section-padding) 2rem;
    position: relative;
}

.section-alt { background: var(--dark); }

.section-charcoal { background: var(--charcoal); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.container-narrow {
    max-width: 880px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    color: var(--light-gray);
    font-size: 1.1rem;
}

/* Gold rule divider with a center diamond */
.gold-rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 320px;
    margin: 1.5rem auto;
    color: var(--gold);
}

.gold-rule::before,
.gold-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-rule span {
    width: 8px;
    height: 8px;
    background: var(--red);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--red);
}

/* Long-form copy */
.prose p {
    color: var(--light-gray);
    font-size: 1.06rem;
    margin-bottom: 1.15rem;
}

.prose p strong,
.prose li strong { color: var(--cream); }

.prose h3 {
    font-size: 1.45rem;
    color: var(--gold);
    margin: 2.25rem 0 0.85rem;
}

.prose h4 {
    font-size: 1.1rem;
    color: var(--cream);
    margin: 1.5rem 0 0.6rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1.25rem 1.25rem;
    color: var(--light-gray);
}

.prose li { margin-bottom: 0.45rem; }

.prose li::marker { color: var(--red); }

.prose a { color: var(--gold); }

/* ============================================
   STATS BAR (fees)
   ============================================ */
.stats-bar {
    background: var(--charcoal);
    border-top: 1px solid rgba(235, 207, 114, 0.2);
    border-bottom: 1px solid rgba(235, 207, 114, 0.2);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(208, 2, 27, 0.12) 0%, transparent 70%);
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid rgba(235, 207, 114, 0.15);
}

.stat-item:last-child { border-right: none; }

.stat-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-top: 0.6rem;
}

.stats-note {
    position: relative;
    text-align: center;
    color: var(--light-gray);
    font-size: 0.95rem;
    margin-top: 2rem;
}

.stats-note strong { color: var(--gold); }

/* ============================================
   SPLIT (image + text)
   ============================================ */
.split {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}

.split.reverse { grid-template-columns: 7fr 5fr; }

.split.reverse .split-visual { order: 2; }

.split-visual { position: relative; }

/* Framed portrait with an offset gold border */
.framed-photo {
    position: relative;
    border-radius: 6px;
}

.framed-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    border-radius: 6px;
    transform: translate(18px, 18px);
    z-index: 0;
    transition: var(--transition-smooth);
}

.framed-photo:hover::before { transform: translate(10px, 10px); }

.framed-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.framed-photo-tag {
    position: absolute;
    z-index: 2;
    left: -1.25rem;
    bottom: 2rem;
    background: var(--red-gradient);
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.7rem 1.2rem;
    border-radius: 3px;
    box-shadow: var(--glow-red);
}

.framed-photo-tag strong {
    display: block;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 1.15rem;
}

/* ============================================
   PROMISE / QUOTE BAND
   ============================================ */
.promise {
    position: relative;
    padding: var(--section-padding) 2rem;
    background: var(--black);
    overflow: hidden;
    text-align: center;
}

.promise::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(235, 207, 114, 0.1) 0%, transparent 60%);
}

.promise-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(235, 207, 114, 0.35);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(26, 22, 22, 0.8), rgba(10, 9, 9, 0.8));
}

/* Corner brackets */
.promise-inner::before,
.promise-inner::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--red);
    border-style: solid;
}

.promise-inner::before {
    top: -2px;
    left: -2px;
    border-width: 3px 0 0 3px;
}

.promise-inner::after {
    bottom: -2px;
    right: -2px;
    border-width: 0 3px 3px 0;
}

.promise-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-gold);
}

.promise-icon svg { width: 32px; height: 32px; }

.promise-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--cream);
    margin: 1rem auto;
    max-width: 720px;
}

.promise-kicker {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.3rem, 2.8vw, 1.9rem);
    margin-top: 1.5rem;
}

/* ============================================
   CHAPTER CARDS
   ============================================ */
.chapter-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.chapter-card {
    position: relative;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 2.75rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.chapter-card:hover {
    transform: translateY(-6px);
    border-color: rgba(235, 207, 114, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(208, 2, 27, 0.12);
}

.chapter-number {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 7rem;
    line-height: 1;
    color: rgba(235, 207, 114, 0.07);
    pointer-events: none;
}

.chapter-card h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 1rem;
    color: var(--cream);
}

.chapter-card h3 em {
    font-style: normal;
    color: var(--gold);
}

.chapter-card > p {
    color: var(--light-gray);
    margin-bottom: 1.25rem;
}

.chapter-card .list-lead {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: var(--red-bright);
    margin-bottom: 0.75rem;
}

.chapter-card .btn { align-self: flex-start; margin-top: auto; }

.chapter-availability {
    font-size: 0.85rem;
    color: var(--light-gray);
    margin: 0 0 1.25rem;
    font-style: italic;
}

/* Gold check list */
.check-list {
    list-style: none;
    margin-bottom: 2rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--cream);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--red-gradient);
    box-shadow: 0 0 10px rgba(208, 2, 27, 0.4);
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 0.4rem;
    top: 0.42rem;
    width: 0.38rem;
    height: 0.65rem;
    border: solid var(--gold-light);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ============================================
   IMAGE BAND (full-width photo with overlay)
   ============================================ */
.image-band {
    position: relative;
    padding: clamp(5rem, 12vw, 9rem) 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.image-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 9, 9, 0.85) 0%, rgba(42, 4, 8, 0.62) 50%, rgba(10, 9, 9, 0.88) 100%);
}

.image-band-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}

.image-band-title {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: none;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    line-height: 1.2;
    color: var(--cream);
}

.image-band-note {
    color: var(--light-gray);
    margin-top: 1.25rem;
    font-size: 1.05rem;
}

/* ============================================
   TABLE CARDS (median income)
   ============================================ */
.table-grid {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.table-card {
    background: var(--charcoal);
    border: 1px solid rgba(235, 207, 114, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.table-card-head {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, rgba(141, 1, 18, 0.55), rgba(26, 22, 22, 0));
    border-bottom: 1px solid rgba(235, 207, 114, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-card-head h3 {
    font-family: var(--font-display);
    text-transform: none;
    font-size: 1.6rem;
    color: var(--gold);
}

.table-card-head span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-gray);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.85rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-gray);
}

.data-table td:last-child,
.data-table th:last-child { text-align: right; }

.data-table td:last-child {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--cream);
}

.data-table tbody tr { transition: background 0.3s ease; }

.data-table tbody tr:hover { background: rgba(235, 207, 114, 0.05); }

.data-table tr:last-child td { border-bottom: none; }

.data-table .row-note td {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--light-gray);
}

.source-note {
    max-width: 1050px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--light-gray);
}

.new-flag {
    display: inline-block;
    background: var(--red-gradient);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    margin-right: 0.5rem;
    vertical-align: middle;
    animation: flagPulse 2.4s ease-in-out infinite;
}

@keyframes flagPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(208, 2, 27, 0); }
    50% { box-shadow: 0 0 18px rgba(208, 2, 27, 0.7); }
}

/* ============================================
   OFFICE / INFO CARDS
   ============================================ */
.card-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-left-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--gold-gradient);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.info-card-icon svg { width: 24px; height: 24px; }

.info-card h3 {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--light-gray);
    margin-bottom: 0.4rem;
}

.info-card .tag {
    display: inline-block;
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(235, 207, 114, 0.35);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
}

/* ============================================
   ACCORDION (FAQs and long Q&A)
   ============================================ */
.accordion {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.accordion-item {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.accordion-item.open { border-color: rgba(235, 207, 114, 0.4); }

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--cream);
    transition: color 0.3s ease;
}

.accordion-trigger:hover,
.accordion-item.open .accordion-trigger { color: var(--gold); }

.accordion-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(235, 207, 114, 0.45);
    position: relative;
    transition: var(--transition-smooth);
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--gold);
    transform: translate(-50%, -50%);
    transition: var(--transition-smooth);
}

.accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.accordion-item.open .accordion-icon {
    background: var(--red-gradient);
    border-color: var(--red);
}

.accordion-item.open .accordion-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
}

/* Category label above a group of accordion items */
.accordion-group-title {
    max-width: 920px;
    margin: 3rem auto 1.25rem;
    font-size: 1.3rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-group-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(235, 207, 114, 0.4), transparent);
}

/* ============================================
   LANGUAGE TOGGLE (English / Español)
   ============================================ */
.lang-toggle {
    display: inline-flex;
    padding: 4px;
    border: 1px solid rgba(235, 207, 114, 0.4);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.4);
    margin-top: 1.75rem;
}

.lang-toggle button {
    border: none;
    background: none;
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-toggle button.active {
    background: var(--gold-gradient);
    color: var(--black);
}

[data-lang-panel][hidden] { display: none; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--charcoal);
    border: 1px solid rgba(235, 207, 114, 0.2);
    border-radius: 10px;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: 1.25rem;
    font-family: var(--font-display);
    font-size: 6rem;
    line-height: 1;
    background: var(--red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-card:hover {
    border-color: rgba(235, 207, 114, 0.5);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.testimonial-quote {
    color: var(--cream);
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    font-size: 0.9rem;
}

/* Champion photo (oval, gold ring) */
.champion-photo {
    border-radius: 50%;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.champion-photo:hover {
    transform: scale(1.03) rotate(-1deg);
    filter: drop-shadow(0 0 30px rgba(235, 207, 114, 0.35));
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: var(--section-padding) 2rem;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(208, 2, 27, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(235, 207, 114, 0.08) 0%, transparent 60%);
}

.cta-container {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.cta-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-phone {
    display: block;
    margin-top: 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 0.06em;
    text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    padding: 4.5rem 2rem 2rem;
    border-top: 1px solid rgba(235, 207, 114, 0.15);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 2px;
    background: var(--red-gradient);
    box-shadow: 0 0 20px var(--red);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.2fr;
    gap: 3rem;
}

.footer-logo-img {
    width: 130px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 330px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact p {
    color: var(--light-gray);
    font-size: 0.93rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact strong { color: var(--cream); }

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
}

.footer-contact a:hover { text-decoration: underline; }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--charcoal);
    border: 1px solid rgba(235, 207, 114, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--red-gradient);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-disclaimer {
    max-width: var(--container-max);
    margin: 3rem auto 0;
    padding: 1.5rem;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--light-gray);
}

.footer-disclaimer p + p { margin-top: 0.6rem; }

.footer-disclaimer strong { color: var(--cream); }

.footer-bottom {
    max-width: var(--container-max);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--light-gray);
    font-size: 0.85rem;
}

.footer-bottom a { color: var(--gold); text-decoration: none; }

.footer-credit { opacity: 0.8; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
    .image-band { background-attachment: scroll; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1100px) {
    .nav-links { gap: 1.2rem; }
    .nav-links a { font-size: 0.85rem; }

    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .split,
    .split.reverse {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .split-visual,
    .split.reverse .split-visual {
        order: -1;
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }

    .stats-container { grid-template-columns: repeat(2, 1fr); }

    .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 900px) {
    :root { --header-height: 80px; }

    .top-bar { display: none; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        gap: 1.6rem;
        transition: right 0.4s ease;
    }

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

    .nav-links a { font-size: 1.1rem; }

    .nav-mobile-only { display: list-item; }

    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    .chapter-grid,
    .table-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 0.75rem 1rem; }

    .section,
    .cta,
    .promise,
    .image-band,
    .hero,
    .page-hero { padding-left: 1rem; padding-right: 1rem; }

    .image-band { background-attachment: scroll; }

    .promise-inner { padding: 2.5rem 1.5rem; }

    .chapter-card { padding: 2.5rem 1.5rem 1.75rem; }

    .footer { padding-left: 1rem; padding-right: 1rem; }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-tagline { margin: 0 auto; }

    .footer-logo-img { margin: 0 auto 1rem; }

    .footer-social { justify-content: center; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        max-width: 360px;
        margin: 0 auto;
    }

    .framed-photo-tag { left: 0.75rem; }

    /* Slide up rather than sideways on phones: no horizontal offset to overflow */
    .reveal-left,
    .reveal-right { transform: translateY(40px); }

    .reveal-left.active,
    .reveal-right.active { transform: translateY(0); }

    /* Keep the offset gold frame inside the 1rem side gutter */
    .framed-photo::before { transform: translate(10px, 10px); }
    .framed-photo:hover::before { transform: translate(6px, 6px); }

    .data-table th,
    .data-table td { padding: 0.75rem 1rem; }
}

@media (max-width: 480px) {
    .brand-mark { width: 44px; height: 44px; }
    .brand-text { font-size: 1.35rem; }

    .stats-container { grid-template-columns: 1fr; gap: 1.5rem; }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(235, 207, 114, 0.15);
        padding-bottom: 1.5rem;
    }

    .stat-item:last-child { border-bottom: none; }

    .chapter-number { font-size: 5rem; }
}
