/* ===========================
   Efrat Shuker - Landing Page
   Premium Tax Refund Service
   =========================== */

/* ===== Design Tokens ===== */
:root {
    /* Brand colors - matching logo (Navy + Gold) */
    --navy-900: #0A1F4A;
    --navy-800: #0F2C59;
    --navy-700: #163A6F;
    --navy-600: #1F4985;
    --navy-500: #2E5DA6;

    --gold-600: #B8862F;
    --gold-500: #D4A24C;
    --gold-400: #E8BB6E;
    --gold-100: #FAF1DC;
    --gold-text: #8A6420;      /* accessible gold for small text on light backgrounds (≥4.5:1) */
    --gold-heading: #A0732A;   /* accessible gold for large headings on light backgrounds (≥3:1) */

    --cream-50: #FBF8F2;
    --cream-100: #F5EFE1;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --white: #FFFFFF;
    --black: #000000;

    --success: #10B981;
    --error: #EF4444;
    --whatsapp: #25D366;

    /* Typography */
    --font-primary: 'Heebo', 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-display: 'Heebo', 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 44, 89, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 44, 89, 0.08), 0 2px 4px -2px rgba(15, 44, 89, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(15, 44, 89, 0.1), 0 4px 6px -4px rgba(15, 44, 89, 0.05);
    --shadow-xl: 0 20px 40px -8px rgba(15, 44, 89, 0.15), 0 8px 16px -8px rgba(15, 44, 89, 0.08);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 44, 89, 0.25);
    --shadow-gold: 0 8px 24px -4px rgba(212, 162, 76, 0.35);

    /* Radii */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    /* Spacing */
    --container: 1240px;
    --container-narrow: 960px;

    /* Transitions */
    --tx-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --tx-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --tx-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* HTML hidden attribute must take precedence over display: flex/inline-flex */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color var(--tx-fast);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--navy-900);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

.text-gold { color: var(--gold-heading); }
.process .text-gold,
.form-section .text-gold,
.final-cta .text-gold,
.site-footer .text-gold { color: var(--gold-500); }
.text-navy { color: var(--navy-800); }

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 16px;
    position: relative;
    padding-right: 32px;
}
.eyebrow::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: var(--gold-500);
}
.eyebrow.light { color: var(--gold-400); }
.eyebrow.light::before { background: var(--gold-400); }

/* Accessibility */
.skip-link {
    position: absolute;
    right: -9999px;
    background: var(--navy-800);
    color: var(--white);
    padding: 12px 24px;
    z-index: 1000;
}
.skip-link:focus {
    right: 16px;
    top: 16px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--r-md);
    transition: all var(--tx-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: var(--r-lg);
}

.btn-full { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -4px rgba(212, 162, 76, 0.5);
    color: var(--white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-ghost-light {
    background: transparent;
    color: var(--navy-800);
    border-color: rgba(15, 44, 89, 0.2);
}

.btn-ghost-light:hover {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1FB855;
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Top bar ===== */
.top-bar {
    background: var(--navy-900);
    color: var(--cream-100);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 162, 76, 0.2);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar-inner i { color: var(--gold-400); margin-left: 6px; }
.top-bar-phone a { color: var(--cream-100); font-weight: 600; }
.top-bar-phone a:hover { color: var(--gold-400); }

/* ===== Header ===== */
.site-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background var(--tx-base), backdrop-filter var(--tx-base), border-color var(--tx-base), box-shadow var(--tx-base);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom-color: var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 12px 24px;
    min-height: 76px;
}

.logo img {
    height: 72px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: color var(--tx-fast);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--tx-base);
}

.main-nav a:hover {
    color: var(--navy-800);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--cream-50) 0%, #FFFFFF 60%, var(--cream-50) 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -300px;
    left: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 44, 89, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-100);
    color: var(--gold-text);
    padding: 8px 16px;
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(212, 162, 76, 0.3);
    margin-bottom: 24px;
}

.hero-badge i { color: var(--gold-500); }

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-700);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 580px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-bottom: 36px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.98rem;
}

.hero-features i {
    color: var(--gold-500);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-cta-group .btn-ghost {
    background: var(--white);
    color: var(--navy-800);
    border-color: var(--gray-200);
}

.hero-cta-group .btn-ghost:hover {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
}

/* Hero image */
.hero-image {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: visible;
}

.hero-image-wrap > img {
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
    position: relative;
    z-index: 1;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -20px -20px -20px 20px;
    background: linear-gradient(135deg, var(--gold-500), var(--navy-700));
    border-radius: var(--r-xl);
    opacity: 0.1;
    z-index: 0;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.floating-card span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-800);
}

.floating-card-2 {
    top: 40px;
    left: -30px;
    animation-delay: 2s;
}

.floating-card-2 i {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== Trust bar ===== */
.trust-bar {
    background: var(--navy-900);
    padding: 24px 0;
    color: var(--white);
    border-top: 3px solid var(--gold-500);
}

.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 24px 32px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream-100);
}

.trust-badge-item i {
    color: var(--gold-400);
    font-size: 1.4rem;
}

/* ===== Section heads ===== */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--navy-900);
}

.section-head.light h2 { color: var(--white); }
.section-head.light .section-sub { color: rgba(255, 255, 255, 0.7); }

.section-sub {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== Benefits ===== */
.benefits {
    padding: 100px 0;
    background: var(--white);
}

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

.benefit-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--tx-base);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--tx-base);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-100);
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--cream-100) 0%, var(--gold-100) 100%);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-600);
    margin-bottom: 20px;
    transition: all var(--tx-base);
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    transform: scale(1.05);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--navy-800);
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.highlight-card {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: var(--white);
    border: none;
}

.highlight-card h3 { color: var(--white); }
.highlight-card p { color: rgba(255, 255, 255, 0.85); }
.highlight-card .benefit-icon {
    background: rgba(212, 162, 76, 0.2);
    color: var(--gold-400);
}
.highlight-card:hover .benefit-icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
}

.benefits-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.benefits-cta-note {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== Process ===== */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    position: relative;
}

.process-step {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 162, 76, 0.15);
    padding: 40px 28px;
    border-radius: var(--r-lg);
    text-align: center;
    transition: all var(--tx-base);
    position: relative;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: var(--gold-500);
    background: rgba(212, 162, 76, 0.08);
}

.process-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-gold);
}

.process-icon {
    font-size: 2.5rem;
    color: var(--gold-400);
    margin-bottom: 20px;
}

.process-step h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.process-connector {
    width: 60px;
    align-self: center;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    position: relative;
}

.process-connector::after {
    content: '\f060';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-400);
    background: var(--navy-800);
    padding: 0 8px;
    font-size: 1rem;
}

/* ===== Business services (new) ===== */
.business {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.business-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 40px 36px;
    border: 1px solid var(--gray-100);
    border-top: 4px solid var(--gold-500);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--tx-base);
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.business-card .benefit-icon { margin-bottom: 4px; }

.business-card h3 {
    font-size: 1.45rem;
    color: var(--navy-800);
}

.business-card > p {
    color: var(--gray-600);
    line-height: 1.7;
}

.business-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.business-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.98rem;
}

.business-list i {
    color: var(--gold-500);
    margin-top: 5px;
    flex-shrink: 0;
}

.business-cta {
    text-align: center;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream-50) 100%);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image > img {
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-credentials {
    position: absolute;
    bottom: -24px;
    right: 24px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 28px;
    border-top: 4px solid var(--gold-500);
}

.credential {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.credential strong {
    font-size: 1.6rem;
    color: var(--navy-800);
    font-weight: 800;
}

.credential span {
    font-size: 0.78rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--navy-800);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content p {
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-values {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--r-md);
    border-right: 4px solid var(--gold-500);
    box-shadow: var(--shadow-sm);
    transition: all var(--tx-base);
}

.value:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

.value i {
    font-size: 1.4rem;
    color: var(--gold-500);
    width: 44px;
    height: 44px;
    background: var(--gold-100);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value div {
    display: flex;
    flex-direction: column;
}

.value strong {
    color: var(--navy-800);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.value span {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all var(--tx-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 24px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--gold-400);
    opacity: 0.3;
    line-height: 1;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-100);
}

.testimonial p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 24px;
    flex-grow: 1;
    font-size: 0.98rem;
}

.testimonial footer {
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.testimonial footer strong {
    color: var(--navy-800);
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial footer span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.testimonial.is-placeholder {
    border-style: dashed;
    border-color: var(--gold-400);
    background: var(--cream-50);
}

.testimonial.is-placeholder p,
.testimonial.is-placeholder footer strong {
    color: var(--gold-600);
}

/* ===== Form Section ===== */
.form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.form-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.form-section-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.form-content {
    color: var(--white);
}

.form-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 16px;
}

.form-content > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 28px;
}

.form-promises {
    margin-bottom: 36px;
}

.form-promises li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    color: var(--white);
    font-size: 1rem;
}

.form-promises i {
    width: 26px;
    height: 26px;
    background: var(--gold-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.form-promises i.fa-whatsapp {
    background: var(--whatsapp);
    font-size: 0.95rem;
}

.form-contact-alt {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    border: 1px solid rgba(212, 162, 76, 0.2);
    backdrop-filter: blur(10px);
}

.form-contact-alt p {
    color: var(--gold-400);
    font-weight: 600;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.form-contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-contact-buttons .btn-ghost-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.form-contact-buttons .btn-ghost-light:hover {
    background: var(--white);
    color: var(--navy-800);
}

/* Form card */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    border-top: 5px solid var(--gold-500);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--navy-800);
    text-align: center;
}

.lead-form .field {
    margin-bottom: 18px;
}

.lead-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.lead-form label span {
    color: var(--error);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--tx-fast);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.15);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: var(--gray-400);
}

.lead-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%236B7280' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 10px;
    padding-left: 40px;
}

.lead-form textarea {
    resize: vertical;
    min-height: 80px;
}

.lead-form .field.error input,
.lead-form .field.error select {
    border-color: var(--error);
    background: #FEF2F2;
}

.error-msg {
    display: block;
    color: var(--error);
    font-size: 0.82rem;
    margin-top: 4px;
    min-height: 1em;
}

.field-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px !important;
    flex-wrap: wrap;
}

.field-checkbox input {
    width: auto !important;
    margin-top: 4px;
    accent-color: var(--gold-500);
    flex-shrink: 0;
    cursor: pointer;
}

.field-checkbox label {
    margin-bottom: 0;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.5;
    cursor: pointer;
    flex: 1;
}

.field-checkbox label a {
    color: var(--navy-700);
    text-decoration: underline;
}

.field-checkbox .error-msg {
    flex-basis: 100%;
}

.form-disclaimer {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-disclaimer i { color: var(--gold-500); }

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-success {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1.5px solid var(--whatsapp);
    border-radius: var(--r-md);
    margin-top: 16px;
}

.form-success > i {
    color: var(--whatsapp);
    font-size: 3rem;
    margin-bottom: 14px;
    display: block;
}

.form-success h4 {
    color: var(--navy-800);
    margin-bottom: 14px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.form-success p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 14px;
}

.form-success .wa-open-link {
    display: inline-flex;
    width: 100%;
    margin: 8px 0 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    animation: pulse-wa 2s ease-in-out infinite;
}

.form-success .wa-open-link i {
    font-size: 1.4rem;
    margin-bottom: 0;
    display: inline;
    color: var(--white);
}

.form-success-alt {
    font-size: 0.92rem;
    color: var(--gray-600) !important;
    margin-bottom: 0 !important;
}

.form-success-alt a {
    color: var(--navy-700);
    font-weight: 700;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6); }
}

.form-error-banner {
    text-align: center;
    padding: 12px 16px;
    background: #FEF2F2;
    border: 1.5px solid var(--error);
    border-radius: var(--r-md);
    margin-top: 16px;
    color: var(--error);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--cream-50);
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--r-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--tx-base);
}

.faq-item[open] {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
    font-weight: 600;
    color: var(--navy-800);
    font-size: 1.05rem;
    transition: all var(--tx-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--cream-50);
}

.faq-item summary i {
    color: var(--gold-500);
    transition: transform var(--tx-base);
    flex-shrink: 0;
}

.faq-item[open] summary i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 28px 24px;
    color: var(--gray-700);
    line-height: 1.8;
}

.faq-answer p strong {
    color: var(--navy-800);
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
}

.faq-cta p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* ===== Final CTA ===== */
.final-cta {
    padding: 80px 0;
    background:
        linear-gradient(135deg, rgba(15, 44, 89, 0.95), rgba(10, 31, 74, 0.95)),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><path fill='%23D4A24C' fill-opacity='0.05' d='M30 0l30 30-30 30L0 30z'/></svg>");
    color: var(--white);
}

.final-cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.final-cta .btn-ghost-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.final-cta .btn-ghost-light:hover {
    background: var(--white);
    color: var(--navy-800);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 64px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.site-footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--gold-500);
}

.site-footer ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer ul li,
.site-footer ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer ul a:hover {
    color: var(--gold-400);
}

.site-footer ul i {
    color: var(--gold-500);
    font-size: 0.95rem;
    width: 16px;
}

.footer-trust p {
    line-height: 1.7;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.footer-trust p i {
    color: var(--gold-500);
    margin-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ===== Mobile sticky CTA ===== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: var(--white);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 90;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
    border-top: 1px solid var(--gray-100);
}

.sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: var(--r-md);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--tx-fast);
    min-height: 56px;
}

.sticky-btn i { font-size: 1.2rem; }

.sticky-btn-call {
    background: var(--navy-800);
    color: var(--white);
}

.sticky-btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.sticky-btn-form {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
}

.sticky-btn:hover,
.sticky-btn:focus { color: var(--white); }

.sticky-btn:active {
    transform: scale(0.97);
}

/* ===== Animations on scroll =====
   Content is visible by default; the script adds .js-anim to <html>
   so items only start hidden when the animation can actually run. */
.js-anim .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Legal page (terms / privacy) ===== */
.legal-page {
    padding: 56px 0 72px;
    background: var(--white);
}
.legal-page .container {
    max-width: 860px;
}
.legal-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--navy-900);
    margin-bottom: 8px;
}
.legal-updated {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 28px;
}
.legal-page h3 {
    font-size: 1.05rem;
    color: var(--navy-900, #0A1F4A);
    margin: 22px 0 8px;
}

.legal-page h2 {
    font-size: 1.25rem;
    color: var(--navy-900);
    margin: 34px 0 12px;
}
.legal-page p {
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 12px;
}
.legal-page ul,
.legal-page ol {
    padding-inline-start: 22px;
    margin: 8px 0 16px;
    list-style: disc;
}
.legal-page li {
    color: var(--gray-700);
    line-height: 1.85;
    margin-bottom: 6px;
}
.legal-note {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 24px 0;
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ===== Responsive ===== */

/* ===== Main site additions ===== */
.business-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.business-card { display: flex; flex-direction: column; }
.service-link {
    margin-top: auto;
    padding-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--gold-text);
}
.service-link:hover { gap: 12px; }
@media (max-width: 1024px) {
    .business-grid.cols-3 { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}


/* ===== Landing page: compact about ===== */
.about-compact .container { max-width: 960px; text-align: center; }
.about-compact .about-lead { margin: 0 auto 36px; max-width: 760px; }
.about-compact .about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: right; }
@media (max-width: 768px) {
    .about-compact .about-values { grid-template-columns: 1fr; }
}

/* ===== Articles ===== */
.article-page h1 { text-wrap: balance; }
.article-tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-text); margin-bottom: 10px; }
.article-lead { font-size: 1.12rem; line-height: 1.9; color: var(--gray-700); margin-bottom: 18px; }
.breadcrumbs { font-size: .88rem; color: var(--gray-500); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--gray-500); }
.article-page h3 { font-size: 1.08rem; }
.article-inline-cta { font-weight: 700; color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }
.article-cta { margin-top: 36px; padding: 24px; border: 1px solid var(--gold-100); border-top: 3px solid var(--gold-500); border-radius: 12px; background: var(--cream-50); }
.article-cta p { margin-bottom: 14px; color: var(--navy-900); font-weight: 600; }
.article-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.article-disclaimer { font-size: .85rem; color: var(--gray-500) !important; margin-top: 16px; }
.article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.article-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--gray-100); border-top: 3px solid var(--gold-500); border-radius: 12px; background: var(--white); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.article-card:hover { box-shadow: 0 10px 30px -14px rgba(10,31,74,.25); transform: translateY(-2px); color: inherit; }
.article-card h2 { font-size: 1.15rem; margin: 0; color: var(--navy-900); line-height: 1.45; }
.article-card p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .article-list { grid-template-columns: 1fr; } }
.article-more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--gold-text); display: inline-flex; gap: 6px; align-items: center; }

@media (max-width: 1100px) {
    .main-nav { gap: 20px; }
    .main-nav a { font-size: 0.9rem; }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-features {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-connector {
        display: none;
    }

    .form-section-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.78rem;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .header-inner {
        padding: 10px 16px;
        min-height: 64px;
    }

    .logo img {
        height: 56px;
    }

    .header-cta {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0 64px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .floating-card {
        padding: 12px 14px;
        font-size: 0.8rem;
    }

    .floating-card-2 { top: 16px; left: -10px; }
    .floating-card i { width: 36px; height: 36px; font-size: 1rem; }
    .floating-card strong { font-size: 0.7rem; }
    .floating-card span { font-size: 0.88rem; }

    .benefits,
    .process,
    .business,
    .about,
    .testimonials,
    .form-section,
    .faq,
    .final-cta {
        padding: 64px 0;
    }

    .benefits-grid,
    .testimonials-grid,
    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        padding: 28px 22px;
    }

    .about-credentials {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
        padding: 14px 20px;
        gap: 20px;
    }

    .credential strong { font-size: 1.3rem; }

    .form-card {
        padding: 28px 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: right;
    }

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

    .trust-bar-inner {
        justify-content: flex-start;
    }

    .trust-badge-item {
        font-size: 0.85rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

    .mobile-sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .faq-item summary {
        padding: 18px 20px;
        font-size: 0.98rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    .btn { white-space: normal; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-head h2 {
        font-size: 1.55rem;
    }

    .benefit-card {
        padding: 24px 20px;
    }

    .process-step {
        padding: 32px 20px;
    }

    .testimonial {
        padding: 24px 20px;
    }

    .form-content h2,
    .final-cta h2,
    .about-content h2 {
        font-size: 1.6rem;
    }

    .header-cta { display: none; }
}

/* ===== Print ===== */
@media print {
    .top-bar,
    .site-header,
    .mobile-sticky-cta,
    .hero-bg-shape {
        display: none;
    }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
