/* ============================================
   VidaProtegida - Main Stylesheet
   Clean, light, professional design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #15803d;
    --primary-dark: #166534;
    --primary-light: #f0fdf4;
    --accent: #dc2626;
    --accent-dark: #b91c1c;
    --success: #15803d;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-warm: #fffbeb;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero > .container:first-child {
    max-width: 1400px;
}

/* --- Focus visible (accessibility) --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Typography --- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* ==============================
   FLAG ICONS
   ============================== */
.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    object-fit: cover;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav-brand svg { width: 28px; height: 28px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links > a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    white-space: nowrap;
}
.nav-links > a:hover { color: var(--primary); }

.nav-lang {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px;
}
.nav-lang a {
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.nav-lang a.active {
    background: var(--primary);
    color: #fff;
}

/* Mobile-only lang switcher (compact, always visible beside hamburger) */
.nav-lang-mobile { display: none; }
.nav-lang-mobile a {
    padding: 4px 8px;
    font-size: 0;
}
.nav-lang-mobile .flag-icon {
    width: 22px;
    height: 16px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}

/* ==============================
   HERO - left-aligned on desktop
   ============================== */
.hero {
    padding: 130px 0 90px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 50%, #fef2f2 100%);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(21,128,61,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero > .container:first-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}
.hero-content h1 {
    margin-bottom: 20px;
    color: var(--text);
}
.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}
.hero-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.hero-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,38,38,0.4);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}
.hero-trust svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

/* Hero image — inline version (inside hero-content, mobile only) */
.hero-visual-inline { display: none; }

/* Hero image — grid column version (desktop only) */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-height: 480px;
}

/* ==============================
   AGENTS BANNER - inside hero
   ============================== */
.agents-banner {
    margin-top: 48px;
    padding: 28px 32px;
    background: rgba(21,128,61,0.05);
    border: 1px solid rgba(21,128,61,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.agents-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.agents-banner-icon svg {
    width: 24px;
    height: 24px;
}

.agents-banner-content {
    flex: 1;
    min-width: 0;
}
.agents-banner-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text);
}
.agents-banner-content p {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.agents-points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.agents-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}
.agents-points svg {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
}

/* ==============================
   OFFERS GRID
   ============================== */
.offers {
    padding: 80px 0;
    background: var(--bg-alt);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.offer-card {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.offer-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.offer-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--offer-color, var(--primary));
    z-index: 1;
}
.offer-img {
    width: 100%;
    height: 170px;
    overflow: hidden;
}
.offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.offer-card:hover .offer-img img {
    transform: scale(1.05);
}

.offer-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px 0;
}

.offer-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--offer-bg, var(--primary-light));
    color: var(--offer-color, var(--primary));
}
.offer-icon svg { width: 24px; height: 24px; }


.offer-info h3 {
    font-size: 1.15rem;
}

/* Offer bullets */
.offer-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 12px 24px 0;
}
.offer-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.4;
}
.offer-bullets svg {
    width: 18px;
    height: 18px;
    color: var(--offer-color, var(--success));
    flex-shrink: 0;
}

.offer-note {
    font-size: 0.75rem;
    color: var(--text-lighter);
    margin: 0;
    padding: 4px 24px 20px;
    text-align: center;
}

.offer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    margin: 12px 24px 20px;
    border-radius: var(--radius-sm);
    color: #fff;
    background: var(--offer-color, var(--primary));
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}
.offer-phone:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.offer-phone-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.offer-phone-icon svg {
    width: 18px;
    height: 18px;
}
.offer-phone-text {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
    white-space: nowrap;
}
.offer-phone-cta {
    font-size: 0.78rem;
    font-weight: 600;
}
.offer-phone-sep {
    opacity: 0.6;
    font-size: 0.78rem;
}
.offer-phone-number {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ==============================
   HOW IT WORKS
   ============================== */
.how-it-works {
    padding: 80px 0;
    background: var(--bg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: var(--border);
}

.step {
    text-align: center;
    position: relative;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}
.step-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: var(--primary);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: 0.95rem; max-width: 300px; margin: 0 auto; }

/* ==============================
   STATS BAR
   ============================== */
.stats {
    padding: 40px 0;
    background: var(--primary);
    color: #fff;
}
.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 4px;
}
.stat-item span {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ==============================
   REAL STORIES
   ============================== */
.stories {
    padding: 80px 0;
    background: var(--bg);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.story-card {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
    transition: box-shadow var(--transition);
}
.story-card:hover { box-shadow: var(--shadow-md); }

.story-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.story-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.story-icon-badge svg { width: 22px; height: 22px; }

.story-card h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0;
}

.story-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}
.story-card p strong {
    color: var(--text);
    font-weight: 600;
}

.stories-cta {
    text-align: center;
    padding: 32px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border: 1px solid #fde68a;
}
.stories-cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.5;
}
.stories-cta-text svg {
    display: none;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials {
    padding: 80px 0;
    background: var(--bg-alt);
}

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

.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    position: relative;
    transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    color: #f59e0b;
}
.testimonial-stars svg { width: 16px; height: 16px; }

.testimonial-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
    padding-right: 36px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-loc { color: var(--text-lighter); font-size: 0.8rem; }

/* ==============================
   FOOTER
   ============================== */
.footer {
    padding: 48px 0 24px;
    background: var(--text);
    color: #cbd5e1;
}

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

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.footer-tagline { font-size: 0.88rem; line-height: 1.6; max-width: 400px; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: flex-end;
}
.footer-nav a {
    font-size: 0.88rem;
    color: #cbd5e1;
    transition: color var(--transition);
    white-space: nowrap;
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-lighter);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-disclaimer {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-lighter);
    margin-bottom: 16px;
    text-align: center;
}

/* Footer language switcher (dark variant) */
.footer .nav-lang {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}
.footer .nav-lang a { color: #cbd5e1; }
.footer .nav-lang a.active { background: var(--accent); color: #fff; }

/* ==============================
   TRUST BADGES
   ============================== */
.trust-badges {
    padding: 60px 0;
    background: var(--bg);
}
.trust-title {
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 36px;
    color: var(--text);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow var(--transition);
}
.trust-item:hover { box-shadow: var(--shadow-md); }
.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

/* ==============================
   LIVE COUNTER
   ============================== */
.live-counter {
    padding: 16px 0;
    background: var(--primary-dark);
    color: #fff;
}
.live-counter-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse-dot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.live-number {
    font-size: 1.5rem;
    font-weight: 800;
}
.live-text {
    font-size: 1rem;
    opacity: 0.9;
}
.live-cta {
    margin-left: 12px;
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}
.live-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* ==============================
   AGENT STRIP
   ============================== */
.agents-strip {
    padding: 80px 0;
    background: var(--bg-alt);
}
.agents-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.agent-card {
    text-align: center;
    transition: transform var(--transition);
}
.agent-card:hover { transform: translateY(-4px); }
.agent-photo-wrap {
    position: relative;
    width: 120px;
    margin: 0 auto 16px;
}
.agent-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-md);
}
.agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.agent-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 1;
}
.agent-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 2px;
}
.agent-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==============================
   FAQ
   ============================== */
.faq {
    padding: 80px 0;
    background: var(--bg);
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    font-family: inherit;
    line-height: 1.4;
}
.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--text-lighter);
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* ==============================
   FINAL CTA
   ============================== */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fef2f2 100%);
}
.final-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.final-cta-content h2 {
    margin-bottom: 16px;
}
.final-cta-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ==============================
   LEGAL PAGES (privacy, terms)
   ============================== */
.legal-page {
    padding: 100px 0 60px;
    min-height: 70vh;
}
.legal-page .container {
    max-width: 720px;
}
.legal-page h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 8px;
}
.legal-updated {
    font-size: 0.85rem;
    color: var(--text-lighter);
    margin-bottom: 28px;
}
.legal-page h2 {
    font-size: 1.15rem;
    margin-top: 28px;
    margin-bottom: 8px;
}
.legal-page p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* ==============================
   ANIMATIONS
   ============================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   RESPONSIVE - TABLET (768px)
   ============================== */
@media (max-width: 768px) {
    /* Nav */
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--bg);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        animation: slideDown 0.2s ease;
    }
    .nav-links.open > a {
        font-size: 1rem;
        padding: 4px 0;
    }
    .nav-links.open .nav-lang {
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
        border-radius: 0;
        background: none;
        border-left: none;
        border-right: none;
        border-bottom: none;
        justify-content: center;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-toggle { display: block; }
    .nav-lang-mobile { display: flex; }
    .nav-links .nav-lang { display: none; }

    /* Hero - stack vertically, inline image after headline */
    .hero > .container:first-child { grid-template-columns: 1fr; gap: 32px; }
    .hero-content { text-align: center; }
    .hero-content p { margin: 0 auto 28px; }
    .hero-trust { justify-content: center; }
    .hero-visual { display: none; }
    .hero-visual-inline {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    .hero-visual-inline .hero-img {
        max-width: 360px;
        aspect-ratio: 3/2;
        border-radius: 16px;
    }

    /* Section headers tighter */
    .section-header { margin-bottom: 36px; }

    /* Agents banner */
    .agents-banner { flex-direction: column; align-items: center; text-align: center; }
    .agents-points { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
    .agents-points li { white-space: normal; }

    /* Offers */
    .offers-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    /* Steps */
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .steps::before { display: none; }
    .step-icon { display: none; }
    .step-number { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 14px; }

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

    /* Stories */
    .stories-grid { grid-template-columns: 1fr; }

    /* Trust badges */
    .trust-grid { grid-template-columns: repeat(2, 1fr); }

    /* Live counter */
    .live-counter-inner { flex-direction: column; gap: 6px; text-align: center; }
    .live-cta { margin-left: 0; }

    /* Agent strip */
    .agents-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
    .agent-photo-wrap { width: 100px; }
    .agent-photo { width: 100px; height: 100px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-text { padding-right: 0; }
    .testimonial-quote { display: none; }

    /* Footer */
    .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
    .footer-nav { justify-content: center; }
    .footer-tagline { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==============================
   RESPONSIVE - MOBILE (480px)
   ============================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    /* Hero */
    .hero { padding: 90px 0 40px; }
    .hero-content h1 { font-size: 1.75rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 24px; }
    .hero-cta {
        display: inline-flex;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    .hero-trust { flex-direction: column; align-items: center; gap: 8px; margin-top: 20px; }
    .hero-trust span { font-size: 0.8rem; }
    /* Compact hero image on mobile */
    .hero-visual-inline .hero-img { max-width: 280px; }

    /* Agents banner */
    .agents-banner { padding: 20px 16px; margin-top: 28px; gap: 14px; }
    .agents-banner-icon { width: 40px; height: 40px; border-radius: 10px; }
    .agents-banner-icon svg { width: 20px; height: 20px; }
    .agents-banner-content h3 { font-size: 0.95rem; }
    .agents-banner-content p { font-size: 0.85rem; }
    .agents-points { flex-direction: column; gap: 6px; }
    .agents-points li { font-size: 0.8rem; }

    /* Section spacing */
    .offers, .how-it-works, .stories, .testimonials { padding: 48px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header p { font-size: 0.93rem; }

    /* Offers */
    .offers-grid { max-width: 100%; gap: 16px; }
    .offer-card { padding: 20px; gap: 12px; }
    .offer-bullets li { font-size: 0.88rem; }
    .offer-phone { padding: 12px 16px; margin: 12px 16px 20px; }
    .offer-phone-text { white-space: normal; flex-wrap: wrap; justify-content: center; }
    .offer-phone-sep { display: none; }
    .offer-phone-cta { font-size: 0.82rem; }
    .offer-phone-number { font-size: 0.9rem; }

    /* Steps */
    .step-number { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 12px; }
    .step h3 { font-size: 1.05rem; }
    .step p { font-size: 0.9rem; }

    /* Stats */
    .stats { padding: 32px 0; }
    .stats .container { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item span { font-size: 0.8rem; }

    /* Stories */
    .stories-grid { gap: 16px; margin-bottom: 24px; }
    .story-card { padding: 20px; }
    .story-card h3 { font-size: 1rem; }
    .story-card p { font-size: 0.88rem; }

    .stories-cta { padding: 20px 16px; }
    .stories-cta-text { font-size: 0.93rem; margin-bottom: 16px; }
    .stories-cta .hero-cta {
        display: inline-flex;
        max-width: 100%;
        font-size: 0.88rem;
        padding: 14px 20px;
    }

    /* Trust badges */
    .trust-badges { padding: 40px 0; }
    .trust-title { font-size: 1.15rem; margin-bottom: 24px; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .trust-item { padding: 16px 12px; gap: 8px; }
    .trust-icon { width: 44px; height: 44px; }
    .trust-icon svg { width: 22px; height: 22px; }
    .trust-item span { font-size: 0.8rem; }

    /* Live counter */
    .live-number { font-size: 1.25rem; }
    .live-text { font-size: 0.88rem; }
    .live-cta { font-size: 0.8rem; padding: 6px 16px; }

    /* Agent strip */
    .agents-strip { padding: 48px 0; }
    .agents-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
    .agent-photo-wrap { width: 80px; }
    .agent-photo { width: 80px; height: 80px; border-width: 2px; }
    .agent-badge { font-size: 0.58rem; padding: 1px 6px; }
    .agent-name { font-size: 0.85rem; }
    .agent-role { font-size: 0.75rem; }

    /* Testimonials */
    .testimonials-grid { gap: 16px; }
    .testimonial-card { padding: 20px; }
    .testimonial-text { font-size: 0.9rem; }

    /* FAQ */
    .faq { padding: 48px 0; }
    .faq-question { padding: 14px 16px; font-size: 0.93rem; }
    .faq-answer p { padding: 0 16px 14px; font-size: 0.88rem; }

    /* Final CTA */
    .final-cta { padding: 48px 0; }
    .final-cta-content p { font-size: 0.93rem; }

    /* Footer */
    .footer { padding: 32px 0 16px; }
    .footer-top { gap: 20px; margin-bottom: 20px; }
    .footer-brand { font-size: 1.1rem; }
    .footer-tagline { font-size: 0.82rem; }
    .footer-nav { gap: 6px 16px; }
    .footer-nav a { font-size: 0.82rem; }
    .footer-disclaimer { font-size: 0.68rem; margin-bottom: 10px; }
    .footer-bottom { font-size: 0.72rem; gap: 8px; padding-top: 12px; }
}

/* ==============================
   RESPONSIVE - SMALL (360px)
   ============================== */
@media (max-width: 360px) {
    .hero-content h1 { font-size: 1.5rem; }
    .hero-trust { flex-direction: column; align-items: center; gap: 6px; }
    .stat-item strong { font-size: 1.25rem; }

    .hero-cta,
    .stories-cta .hero-cta {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 14px 16px;
    }

    .offer-card { padding: 16px; }
    .agents-banner { padding: 16px 12px; }
}
