/* ==================== DESIGN TOKENS ==================== */
:root {
    --color-primary: #1F2937;
    --color-primary-dark: #0F172A;
    --color-primary-light: #374151;
    --color-accent: #F59E0B;
    --color-accent-dark: #D97706;
    --color-danger: #DC2626;
    --color-success: #22c55e;
    --color-whatsapp: #25D366;
    --color-text: #1a1a2e;
    --color-text-muted: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-border: #e5e7eb;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1200px;
}

/* ==================== SKIP LINK ==================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-size: 0.9rem;
    transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 800;
}

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

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: #1a1a2e;
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: white;
    border-color: var(--color-whatsapp);
}
.btn-whatsapp:hover { background: #1ebe57; }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 3px;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}
.nav-link:hover { color: var(--color-primary); }

.btn-nav { padding: 10px 20px; }

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}
.nav-phone:hover { color: var(--color-accent-dark); }
.nav-phone svg { flex-shrink: 0; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==================== MOBILE CTA BAR ==================== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: white;
    border-top: 1px solid var(--color-border);
    padding: 10px 16px;
    gap: 8px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; }

/* ==================== HERO ==================== */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f0f8 50%, #fdf6ec 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.hero-image {
    position: relative;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 16px;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-placeholder,
.signs-img-placeholder {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.hero-cover-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/5;
    object-fit: contain;
    object-position: center;
    background: transparent;
    display: block;
}

.signs-img {
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.placeholder-content {
    text-align: center;
    padding: 24px;
    color: var(--color-text-muted);
}
.placeholder-content p { font-size: 0.85rem; margin-top: 8px; }

.hero-stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==================== SOCIAL PROOF BAR ==================== */
.social-proof-bar {
    background: var(--color-primary);
    color: white;
    padding: 16px 0;
}

.proof-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.proof-stars {
    color: var(--color-accent);
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.proof-badge {
    background: white;
    color: var(--color-primary);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
}

.proof-number {
    font-weight: 700;
    font-size: 1.1rem;
}

.proof-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.3);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.section-tag.light { color: white; }

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

/* ==================== RISKS ==================== */
.risks {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

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

.risk-card {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.risk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.risk-icon { margin-bottom: 16px; }

.risk-card h3 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.risk-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

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

.risk-cta p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

/* ==================== SIGNS CHECKLIST ==================== */
.signs { padding: 80px 0; }

.signs-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* Single-column variant when there is no companion image (currently used because we don't yet have an oil-specific photo) */
.signs-grid.signs-grid-text {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.signs-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--color-primary);
    margin-bottom: 12px;
}

.signs-content > p {
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.checklist-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.check-icon.warning {
    background: #fef3c7;
    color: #b45309;
}

.checklist-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.checklist-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==================== PROCESS / HOW IT WORKS ==================== */
.process {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.step-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-border);
    flex: 1;
    max-width: 260px;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin: 0 auto 16px;
}

.step-icon { margin-bottom: 16px; }

.step-card h3 {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 60px;
    flex-shrink: 0;
}

/* ==================== SERVICES ==================== */
.services { padding: 80px 0; }

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

.service-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #1a1a2e;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.service-icon.homeowner { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.service-icon.landlord { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.service-icon.buyer { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.service-icon.agent { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }

.service-card h3 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.service-card > p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.service-features { margin-bottom: 20px; }
.service-features li {
    font-size: 0.85rem;
    color: var(--color-text);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}
.service-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.service-card .btn {
    margin-top: auto;
    text-align: center;
    justify-content: center;
}

/* ==================== FINDINGS ==================== */
.findings {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

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

.finding-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.finding-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.finding-img-placeholder {
    background: linear-gradient(135deg, #e2ecf5, #d6e4f0);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finding-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.ba-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #e2ecf5, #d6e4f0);
}

.ba-label {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.ba-before { background: var(--danger); color: #fff; }
.ba-after { background: var(--success); color: #fff; }

.placeholder-content.sm { padding: 16px; }
.placeholder-content.sm p { font-size: 0.8rem; }

.finding-content { padding: 24px; }

.finding-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.finding-tag.code-c2 { background: #fee2e2; color: #991b1b; }
.finding-tag.code-c3 { background: #fef3c7; color: #92400e; }

.finding-content h3 {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.finding-content p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.finding-outcome {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-success);
}

.findings-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

/* ==================== REVIEWS ==================== */
.reviews { padding: 80px 0; }

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.review-stars-large {
    color: var(--color-accent);
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.reviews-summary p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

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

.review-card {
    background: var(--color-bg-alt);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.review-stars {
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.reviewer strong { display: block; font-size: 0.9rem; }
.reviewer span { font-size: 0.8rem; color: var(--color-text-muted); }

.reviews-cta {
    text-align: center;
    margin-top: 32px;
}

/* ==================== ESTATE AGENT BANNER ==================== */
.agent-banner {
    padding: 80px 0;
    background: var(--color-primary);
    color: white;
}

.agent-banner-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.agent-banner h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}

.agent-banner p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.agent-benefits { margin-bottom: 28px; }
.agent-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
}

.agent-banner-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-stat-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.agent-stat-card .stat-number {
    font-size: 3rem;
    color: var(--color-accent);
}

.agent-stat-card .stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* ==================== BRANDS ==================== */
.brands {
    padding: 60px 0;
    background: var(--color-bg-alt);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-card {
    background: white;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-border);
}

.brand-logo-placeholder {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.brand-card p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ==================== BOOKING ==================== */
.booking {
    padding: 80px 0;
    background: var(--color-primary);
    color: white;
}

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

.booking-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 12px;
}

.booking-content > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.booking-contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.contact-option:hover { background: rgba(255,255,255,0.15); }
.contact-option strong { display: block; font-size: 0.9rem; }
.contact-option span { font-size: 0.82rem; opacity: 0.8; }
.contact-option svg { flex-shrink: 0; }

.booking-guarantees {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    opacity: 0.9;
}

/* Booking Tabs */
.booking-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.booking-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.booking-tab:first-child { border-radius: var(--radius-lg) 0 0 0; }
.booking-tab:last-child { border-radius: 0 var(--radius-lg) 0 0; }

.booking-tab.active {
    background: white;
    color: var(--color-primary);
}

.booking-tab:not(.active):hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.booking-tab svg { flex-shrink: 0; }

/* Booking Tab Content */
.booking-tab-content { display: none; }
.booking-tab-content.active { display: block; }

/* Calendly Embed */
.calendly-embed-wrapper {
    background: white;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.calendly-inline-widget { border: none; }

/* Form tab needs matching rounded bottom */
#tab-form .booking-form {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Contact page tabs (not inside dark booking section) */
.contact-grid .booking-tabs { margin-bottom: 0; }

.contact-grid .booking-tab {
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
}

.contact-grid .booking-tab.active {
    background: white;
    color: var(--color-primary);
}

.contact-grid .booking-tab:not(.active):hover {
    background: var(--color-border);
    color: var(--color-text);
}

.contact-grid .booking-tab:first-child { border-radius: var(--radius-lg) 0 0 0; }
.contact-grid .booking-tab:last-child { border-radius: 0 var(--radius-lg) 0 0; }

/* Booking Form */
.booking-form-container { position: relative; }

.booking-form {
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    color: var(--color-text);
}

.booking-form h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.form-group { margin-bottom: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text);
    transition: border-color 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27,77,122,0.1);
}

.form-group textarea { resize: vertical; }

.checkbox-group { margin-top: 8px; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] { margin-top: 3px; }

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}

/* Contact Preference */
.contact-pref-options {
    display: flex;
    gap: 12px;
}

.contact-pref-option {
    flex: 1;
    cursor: pointer;
}

.contact-pref-option input[type="radio"] {
    display: none;
}

.contact-pref-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.2s;
    text-align: center;
}

.contact-pref-option input[type="radio"]:checked + .contact-pref-label {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(27, 77, 122, 0.05);
}

.contact-pref-label:hover {
    border-color: var(--color-primary);
}

.contact-pref-label svg {
    flex-shrink: 0;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo { margin-bottom: 16px; }
.footer-about .logo-img { height: 48px; width: 48px; }
.footer-about .logo-brand { color: white; }
.footer-about .logo-sub { color: rgba(255,255,255,0.6); }
.footer-about p { font-size: 0.88rem; line-height: 1.7; }

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-accent); }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-certifications {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37,211,102,0.45);
    z-index: 998;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(37,211,102,0.55); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-image { order: -1; max-height: none; overflow: visible; }
    .hero-img-placeholder { aspect-ratio: 16/9; }
    .hero-cover-img { aspect-ratio: 4/5; }
    .signs-img { aspect-ratio: 4/3; }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .findings-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .step-connector { display: none; }
    .step-card { max-width: 240px; }
    .agent-banner-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 768px) {
    .logo { gap: 8px; }
    .logo-img { width: 38px; height: 38px; }
    .logo-brand { font-size: 1.1rem; }
    .logo-sub { font-size: 0.6rem; line-height: 1.2; }
    .nav-container { padding: 0 16px; height: 64px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        gap: 12px;
    }
    .nav-menu.active { display: flex; }
    .btn-nav { width: 100%; justify-content: center; }
    .navbar { height: 64px; }
    .mobile-cta-bar { display: flex; }
    .whatsapp-float { bottom: 96px; right: 20px; width: 52px; height: 52px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
    .hero { padding: 80px 0 32px; }
    .hero h1 { font-size: 1.6rem; line-height: 1.2; }
    .hero-sub { font-size: 0.95rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 8px; }
    .hero-stat-card { left: 12px; bottom: -16px; padding: 12px 18px; }
    .hero-stat-card .stat-number { font-size: 1.25rem; }
    .hero-stat-card .stat-label { font-size: 0.72rem; }
    .risk-grid { grid-template-columns: 1fr; }
    .signs-grid { grid-template-columns: 1fr; }
    .signs-image { order: -1; }
    .services-grid { grid-template-columns: 1fr; }
    .findings-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-divider { display: none; }
}

@media (max-width: 380px) {
    .logo-img { width: 34px; height: 34px; }
    .logo-brand { font-size: 1rem; }
    .logo-sub { display: none; }
    .hero h1 { font-size: 1.4rem; }
    .hero { padding: 70px 0 24px; }
    .container { padding: 0 14px; }
    .proof-items { gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .reviews-summary { flex-direction: column; }
    .findings-cta { flex-direction: column; align-items: center; }
    .nav-phone { display: none; }
    .mobile-cta-bar .btn { min-height: 44px; font-size: 0.82rem; padding: 8px 12px; }
    .contact-pref-options { flex-direction: column; gap: 8px; }
}

/* ==================== PAGE TEMPLATES ==================== */
.page-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f0f8 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.page-content { padding: 60px 0; }

.page-content .content-section { margin-bottom: 48px; }

.page-content h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.page-content p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.page-content ul { margin-bottom: 16px; }
.page-content ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--color-text-muted);
}
.page-content ul li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Tip cards */
.tip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tip-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
}

.tip-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tip-card p { font-size: 0.9rem; }

/* Case study */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.case-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.case-img {
    background: linear-gradient(135deg, #e2ecf5, #d6e4f0);
    height: 200px;
}

.case-body { padding: 24px; }

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.contact-info-card {
    background: var(--color-bg-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: 16px;
}
