/* ==========================================================================
   FIXHEREO — Design System
   ========================================================================== */
:root {
    /* Color System */
    --bg-page: #F3F7F9;
    --bg-white: #FFFFFF;
    --bg-warm-white: #FAFAF8;
    --bg-lavender: #E8E7F5;
    --bg-soft-blue: #CFE7F5;
    --bg-very-pale-blue: #EDF4F7;

    --text-primary: #11152A;
    --text-secondary: #737D90;

    --accent-purple: #30247D;
    --accent-red: #DB091C;        /* FixHero logo red */
    --accent-red-deep: #B00615;
    --accent-coral: #F19859;
    --accent-green: #16B981;
    --accent-yellow: #FFB81C;

    /* Shadows */
    --shadow-soft: 0 10px 35px rgba(20, 30, 60, 0.06);
    --shadow-float: 0 20px 60px rgba(20, 30, 60, 0.10);

    /* Radii */
    --radius-card: 24px;
    --radius-large: 40px;
    --radius-hero: 48px;
    --radius-pill: 999px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    font-weight: 400;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

i[data-lucide] { display: inline-block; }

::selection {
    background: var(--accent-purple);
    color: #fff;
}

/* Page wrapper */
.page-wrapper {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s, color 0.25s;
}

.btn-primary,
.btn-secondary {
    padding: 16px 34px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(219, 9, 28, 0.28);
}
.btn-primary:hover {
    background-color: var(--accent-red-deep);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(219, 9, 28, 0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-float);
}
.btn-secondary:active { transform: translateY(0); }

.full-w { width: 100%; }

/* ==========================================================================
   TOP HEADER NAVIGATION
   ========================================================================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 8px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    line-height: 0;
}

.brand-logo {
    width: 132px;
    height: auto;
    display: block;
    transition: transform 0.35s var(--ease-out);
}

.brand:hover .brand-logo { transform: scale(1.04); }

.brand-logo-sm { width: 104px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.main-nav a {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover { color: var(--text-primary); }
.main-nav a.active {
    background: var(--text-primary);
    color: #fff;
}

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

.header-cta .btn-primary { padding: 12px 24px; font-size: 14px; }

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}
.menu-toggle i { width: 22px; height: 22px; }

/* Mobile navigation overlay — hidden on desktop */
.mobile-nav { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.exact-hero {
    position: relative;
    width: 100%;
    margin: 12px auto 140px;
}

.hero-canvas {
    position: relative;
    width: 100%;
    height: 720px;
    background: var(--bg-white);
    border-radius: var(--radius-hero);
    box-shadow: 0 30px 60px rgba(20, 30, 60, 0.10);
}

.hero-image-clip {
    position: absolute;
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    border-radius: calc(var(--radius-hero) - 12px);
    overflow: hidden;
    background: var(--bg-very-pale-blue);
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.06);
    animation: heroZoom 14s var(--ease-out) forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10, 12, 24, 0.45) 0%, rgba(10, 12, 24, 0.12) 45%, rgba(10, 12, 24, 0.05) 100%),
        linear-gradient(to top, rgba(10, 12, 24, 0.35) 0%, rgba(10, 12, 24, 0) 35%);
}

/* --- Top search area ------------------------------------------------------ */
.top-search-area {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
    width: 100%;
    padding: 0 16px;
}

.top-search-pill {
    background: var(--bg-white);
    border-radius: 0 0 40px 40px;
    display: flex;
    align-items: center;
    padding: 22px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}
.top-search-pill::before,
.top-search-pill::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    z-index: -1;
}
.top-search-pill::before {
    right: 100%;
    background: radial-gradient(circle at bottom left, transparent 40px, var(--bg-white) 40.5px);
}
.top-search-pill::after {
    left: 100%;
    background: radial-gradient(circle at bottom right, transparent 40px, var(--bg-white) 40.5px);
}

.pill-dropdowns {
    display: flex;
    align-items: center;
    gap: 40px;
}
.dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-radius: 16px;
    transition: background-color 0.2s;
}
.dropdown .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-very-pale-blue);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dropdown .icon-wrap i { width: 18px; height: 18px; }
.dropdown .text-wrap { display: flex; flex-direction: column; }
.dropdown .label { font-size: 11px; font-weight: 600; color: var(--text-secondary); margin-bottom: 2px; }
.dropdown .value { font-size: 14px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 4px; }
.dropdown .value i { width: 14px; height: 14px; }

/* --- Hero 3D stage --------------------------------------------------------- */
.hero-canvas { perspective: 1400px; }

/* --- Hero typography ------------------------------------------------------ */
.hero-text-content {
    position: absolute;
    top: 118px;
    left: clamp(48px, 7vw, 96px);
    z-index: 5;
    color: var(--bg-white);
    max-width: 560px;
    padding-right: 24px;
}
.hero-text-content h1 {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.hero-text-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    max-width: 320px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Hero word stagger animation */
.hero-text-content h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    animation: wordUp 0.8s var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 90ms + 200ms);
}
@keyframes wordUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Bottom left discovery block ----------------------------------------- */
.bottom-left-block {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 15; /* above nav rail so nothing overlaps */
    background: var(--bg-white);
    width: 380px;
    border-radius: 0 40px 0 0;
    padding: 36px 40px 40px;
    box-shadow: 0 -12px 40px rgba(20, 30, 60, 0.06);
}

.bottom-left-block h2 { font-size: 25px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.bottom-left-block p { font-size: 14px; color: var(--text-secondary); margin-bottom: 26px; line-height: 1.6; }
.stats-container { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.stat-number strong { display: block; font-size: 36px; line-height: 1; margin-bottom: 4px; font-weight: 800; letter-spacing: -0.02em; }
.stat-number span { font-size: 12px; color: var(--text-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-avatars { display: flex; align-items: center; }
.avatar-stack { display: flex; }
.avatar-stack img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    margin-left: -12px;
    object-fit: cover;
    transition: transform 0.25s var(--ease-out);
}
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack img:hover { transform: translateY(-4px); }
/* --- Bottom right glass card ---------------------------------------------- */
.bottom-right-glass {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 420px;
    border-radius: 40px 40px 0 0;
    border-bottom-left-radius: 0;
    padding: 36px 40px;
    color: #fff;
    box-shadow: 0 -12px 40px rgba(20, 30, 60, 0.10);
}
.glass-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.glass-title h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.glass-title .loc { font-size: 12px; display: flex; align-items: center; gap: 5px; opacity: 0.85; }
.glass-title .loc i { width: 14px; height: 14px; }
.glass-desc { font-size: 12.5px; opacity: 0.85; margin-bottom: 20px; line-height: 1.6; }
.glass-features { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11.5px; font-weight: 700; margin-bottom: 20px; opacity: 0.95; }
.glass-features span { display: inline-flex; align-items: center; gap: 5px; }
.glass-features i { width: 13px; height: 13px; }

/* ==========================================================================
   SECTION BASICS
   ========================================================================== */
.section-spacing { margin-bottom: 140px; }

.section-title {
    font-size: clamp(36px, 4.4vw, 60px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 56px;
}
.text-center { text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-purple);
    background: var(--bg-lavender);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}
.eyebrow i { width: 14px; height: 14px; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-title { margin-bottom: 14px; }
.section-head p { color: var(--text-secondary); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ==========================================================================
   SERVICES BENTO
   ========================================================================== */
.master-services { margin-bottom: 140px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 28px;
}

.bento-card {
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
}
.bento-card:hover .icon-wrap { transform: rotate(-8deg) scale(1.08); }

.bento-card h3 { font-size: 25px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.bento-card p { font-size: 15px; opacity: 0.75; max-width: 300px; }

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    transition: transform 0.35s var(--ease-out);
}
.icon-wrap i { width: 28px; height: 28px; }

.bento-ac { grid-column: span 2; background: var(--bg-lavender); color: var(--accent-purple); }
.bento-ac .icon-wrap { background: var(--bg-white); color: var(--accent-purple); }

.bento-plumbing { grid-column: span 2; background: var(--bg-soft-blue); color: var(--text-primary); }
.bento-plumbing .icon-wrap { background: var(--bg-white); color: var(--text-primary); }

.bento-cleaning {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
}
.bento-cleaning .icon-wrap { background: var(--bg-very-pale-blue); color: var(--accent-purple); }

.bento-electrical { background: var(--bg-very-pale-blue); }
.bento-electrical .icon-wrap { background: var(--bg-white); color: var(--text-primary); }

.bento-carpentry { background: var(--bg-white); }
.bento-carpentry .icon-wrap { background: var(--bg-lavender); color: var(--accent-purple); }

.bento-pest { grid-column: span 2; background: var(--bg-warm-white); }
.bento-pest .icon-wrap { background: var(--bg-white); color: var(--text-primary); }

/* ==========================================================================
   VERIFIED PROFESSIONAL
   ========================================================================== */
.master-verified { margin-bottom: 140px; }

.verified-canvas {
    position: relative;
    width: 100%;
    height: 640px;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(20, 30, 60, 0.10);
}

.verified-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6s var(--ease-out);
}
.verified-canvas:hover .verified-bg { transform: scale(1.09); }

.verified-overlay-card {
    position: absolute;
    bottom: 48px;
    right: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    width: 420px;
    max-width: calc(100% - 48px);
    padding: 44px;
    border-radius: 40px;
    box-shadow: var(--shadow-float);
}

.card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.card-head h3 { font-size: 20px; font-weight: 700; }
.card-head .rating { font-weight: 800; display: inline-flex; align-items: center; gap: 5px; font-size: 15px; }
.card-head .rating i { color: var(--accent-yellow); fill: var(--accent-yellow); width: 16px; height: 16px; }

.jobs-text { font-size: 17px; font-weight: 500; margin-bottom: 28px; color: var(--text-secondary); }
.verification-list { display: flex; flex-direction: column; gap: 14px; }
.verification-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-primary); font-size: 15px; }
.verification-list li i {
    color: var(--accent-green);
    width: 20px;
    height: 20px;
    background: rgba(22, 185, 129, 0.12);
    border-radius: 50%;
    padding: 3px;
    box-sizing: content-box;
    flex-shrink: 0;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.master-how-it-works { margin-bottom: 140px; }

.steps-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 8px;
}

.step-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: 36px;
    padding: 44px 40px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.step-item::after {
    content: '';
    position: absolute;
    left: 40px;
    right: 40px;
    top: 0;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, var(--accent-purple), var(--bg-soft-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.step-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); }
.step-item:hover::after { transform: scaleX(1); }

.step-num {
    font-size: 88px;
    font-weight: 300;
    line-height: 1;
    color: var(--bg-soft-blue);
    margin-bottom: 26px;
    letter-spacing: -0.05em;
}
.step-item h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.step-item p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   APP STORE BADGES
   ========================================================================== */
.store-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 44px;
    perspective: 600px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 21, 42, 0.42);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    padding: 12px 26px 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    line-height: 1.15;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: default;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background-color 0.4s;
}
.store-badge::after {           /* subtle shine sweep */
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    animation: shineSweep 6s var(--ease-out) infinite;
}
.store-badge:nth-child(2)::after { animation-delay: 1.8s; }
@keyframes shineSweep {
    0%, 55% { left: -80%; }
    80%, 100% { left: 170%; }
}
.store-badge svg { width: 30px; height: 30px; flex-shrink: 0; color: #fff; }
.store-text { display: flex; flex-direction: column; }
.store-text em {
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #FF5A66;
}
.store-text strong { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.store-badge:hover {
    background: rgba(17, 21, 42, 0.58);
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

@keyframes glassFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(1.6deg); }
}

.bottom-right-glass {
    animation: glassFloat 7s ease-in-out infinite;
}

/* ==========================================================================
   3D MOTION LAYER
   ========================================================================== */
.bento-card, .step-item, .testimonial-card, .cta-card,
.value-grid > *, .contact-grid > *, .guarantee-grid > * {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ==========================================================================
   PRO CARD & BOOKING
   ========================================================================== */
.master-pro-booking { margin-bottom: 140px; }

.booking-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.booking-card {
    background: var(--bg-white);
    border-radius: 44px;
    padding: 56px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.booking-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }

.pro-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.pro-header h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 4px; }
.pro-role { color: var(--text-secondary); font-size: 16px; font-weight: 500; }
.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 185, 129, 0.12);
    color: var(--accent-green);
    font-size: 12px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
.pro-badge i { width: 14px; height: 14px; }

.pro-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.pro-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 13.5px;
    background: var(--bg-very-pale-blue);
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    color: var(--text-primary);
}
.pro-meta i { color: var(--accent-yellow); fill: var(--accent-yellow); width: 15px; height: 15px; }

.pro-availability { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-weight: 700; font-size: 15px; }
.avail-label { color: var(--text-secondary); font-weight: 500; }
.avail-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 185, 129, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(22, 185, 129, 0); }
}

.pro-price { font-size: 22px; font-weight: 800; margin-bottom: 36px; color: var(--accent-purple); }

.pro-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.booking-summary { display: flex; flex-direction: column; }

.booking-summary h2 { font-size: 26px; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em; }

.book-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(20, 30, 60, 0.07);
    font-size: 15px;
}
.book-row span { color: var(--text-secondary); font-weight: 500; }
.book-row strong { font-weight: 700; }
.book-row.book-total { border-bottom: none; margin-top: 6px; }
.book-row.book-total strong { font-size: 22px; color: var(--accent-purple); font-weight: 800; }

.booking-summary .btn-primary { margin-top: auto; padding-top: 18px; padding-bottom: 18px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.master-testimonial { margin-bottom: 140px; }

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: 36px;
    padding: 44px 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }

.stars { display: flex; gap: 3px; color: var(--accent-yellow); }
.stars i { width: 16px; height: 16px; fill: currentColor; }

.testimonial-card blockquote {
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    flex: 1;
}

.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-person img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-person strong { display: block; font-size: 15px; }
.testimonial-person span { font-size: 13px; color: var(--text-secondary); font-weight: 500; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.master-cta { margin-bottom: 140px; }

.cta-canvas {
    position: relative;
    width: 100%;
    min-height: 560px;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(20, 30, 60, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 24, 0.25) 0%, rgba(10, 12, 24, 0.55) 100%);
}

.cta-card {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 32px;
    max-width: 720px;
    color: #fff;
}

.cta-card h1 {
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 14px;
}
.cta-card p { font-size: 18px; opacity: 0.9; margin-bottom: 36px; }
/* ==========================================================================
   FOOTER
   ========================================================================== */
.master-footer {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding: 72px 8px 56px;
}

.footer-logo {
    width: 170px;
    height: auto;
    display: block;
    margin-bottom: 8px;
}
.footer-left > p { color: var(--text-secondary); font-weight: 500; margin-bottom: 20px; }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.25s var(--ease-out), color 0.2s, background-color 0.2s;
}
.social-icons a svg, .social-icons a i { width: 18px; height: 18px; flex: none; }
.social-icons a:hover { transform: translateY(-4px); color: var(--accent-purple); }

.footer-right { display: flex; gap: 90px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; min-width: 150px; }
.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.footer-col a { color: var(--text-secondary); font-weight: 600; font-size: 15px; width: fit-content; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--accent-purple); transform: translateX(3px); }

.footer-bottom { padding: 0 8px 40px; }
.footer-bottom .divider { height: 1px; background: rgba(20, 30, 60, 0.08); margin-bottom: 24px; }
.footer-bottom p { text-align: center; color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.footer-bottom .footer-legal { line-height: 2; font-size: 13.5px; }
.footer-bottom .footer-legal a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.footer-bottom .footer-legal a:hover { color: var(--accent-red); }

/* ==========================================================================
   INNER PAGES (legal / info)
   ========================================================================== */
.page-hero {
    text-align: center;
    padding: 72px 16px 48px;
}
.page-hero h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.035em; margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); font-size: 16px; }

.legal-card {
    max-width: 820px;
    margin: 0 auto 140px;
    background: var(--bg-white);
    border-radius: 40px;
    padding: clamp(32px, 5vw, 64px);
    box-shadow: var(--shadow-soft);
}

.legal-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 12px;
    letter-spacing: -0.02em;
    scroll-margin-top: 120px;
}
.legal-card h2:first-of-type { margin-top: 0; }
.legal-card p { margin-bottom: 14px; color: #3d4353; font-size: 15.5px; line-height: 1.7; }
.legal-card a { color: var(--accent-purple); font-weight: 700; text-decoration: underline; }
.legal-card ul { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-card ul li { color: #3d4353; font-size: 15.5px; line-height: 1.6; }
.legal-card strong { color: var(--text-primary); }

.toc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 44px;
    padding: 28px;
    background: var(--bg-very-pale-blue);
    border-radius: 28px;
}
.toc a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 9px 14px;
    border-radius: 14px;
    transition: color 0.2s, background-color 0.2s;
}
.toc a:hover { color: var(--accent-purple); background: var(--bg-white); }

/* Contact page */
.contact-grid {
    max-width: 1000px;
    margin: 0 auto 140px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.contact-info-card { display: flex; flex-direction: column; gap: 18px; }

.contact-chip {
    background: var(--bg-white);
    border-radius: 28px;
    padding: 26px 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.contact-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.contact-chip .icon-wrap { width: 52px; height: 52px; border-radius: 18px; background: var(--bg-lavender); color: var(--accent-purple); flex-shrink: 0; }
.contact-chip .icon-wrap i { width: 24px; height: 24px; }
.contact-chip strong { display: block; font-size: 16px; }
.contact-chip span { color: var(--text-secondary); font-size: 14px; font-weight: 500; }

.contact-form-card {
    background: var(--bg-white);
    border-radius: 40px;
    padding: 48px;
    box-shadow: var(--shadow-soft);
}
.contact-form-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.contact-form-card > p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.form-field input,
.form-field select,
.form-field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-page);
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    width: 100%;
    resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent-purple);
    background: var(--bg-white);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A4ACBA; }

.form-status {
    display: none;
    margin-top: 16px;
    background: rgba(22, 185, 129, 0.12);
    color: var(--accent-green);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: 18px;
}
.form-status.visible { display: block; }

/* Help / FAQ */
.faq-list {
    max-width: 820px;
    margin: 0 auto 140px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.faq-item details { border-radius: 28px; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 32px;
    font-weight: 700;
    font-size: 16.5px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-purple); }
.faq-item summary i { width: 20px; height: 20px; color: var(--text-secondary); flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.faq-item details[open] summary i { transform: rotate(45deg); }
.faq-item details[open] summary { color: var(--accent-purple); }
.faq-item .faq-body { padding: 0 32px 26px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* Guarantee page */
.guarantee-grid {
    max-width: 1000px;
    margin: 0 auto 140px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.guarantee-card {
    background: var(--bg-white);
    border-radius: 36px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.guarantee-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.guarantee-card .icon-wrap { margin-bottom: 22px; background: var(--bg-very-pale-blue); color: var(--accent-purple); }
.guarantee-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.guarantee-card p { color: var(--text-secondary); font-size: 15px; }

/* About page */
.about-story {
    max-width: 820px;
    margin: 0 auto 140px;
    background: var(--bg-white);
    border-radius: 40px;
    padding: clamp(32px, 5vw, 64px);
    box-shadow: var(--shadow-soft);
}
.about-story h2 { font-size: 22px; font-weight: 700; margin: 32px 0 10px; letter-spacing: -0.02em; }
.about-story h2:first-of-type { margin-top: 0; }
.about-story p { color: #3d4353; font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }

.value-grid {
    max-width: 1000px;
    margin: 0 auto 140px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.value-card {
    background: var(--bg-white);
    border-radius: 36px;
    padding: 40px 36px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.value-card .icon-wrap { margin-bottom: 22px; background: var(--bg-lavender); color: var(--accent-purple); }
.value-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); font-size: 14.5px; }

.stat-band {
    max-width: 1000px;
    margin: 0 auto 140px;
    background: var(--accent-purple);
    border-radius: 44px;
    padding: 64px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    color: #fff;
    text-align: center;
    box-shadow: 0 30px 60px rgba(48, 36, 125, 0.3);
}
.stat-band strong { display: block; font-size: clamp(38px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.stat-band span { font-size: 14px; font-weight: 600; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: perspective(900px) translateY(36px) rotateX(5deg);
    transform-origin: top center;
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: perspective(900px) translateY(0) rotateX(0deg);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .top-search-area { max-width: calc(100% - 80px); }
    .pill-dropdowns { gap: 24px; }
    .footer-right { gap: 56px; }
}

@media (max-width: 1024px) {
    body { font-size: 16px; }

    .hero-canvas { height: 640px; }
    .bottom-left-block { width: 330px; padding: 30px 32px 34px; }
    .bottom-left-block p { display: none; }
    .bottom-right-glass { width: 380px; padding: 30px 32px; }
    .glass-desc { display: none; }

    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .bento-ac, .bento-plumbing, .bento-pest, .bento-cleaning { grid-column: span 1; }
    .bento-cleaning { grid-row: span 2; }

    .booking-grid { grid-template-columns: 1fr; }

    .verified-overlay-card { right: 24px; bottom: 24px; padding: 34px; }

    .steps-layout, .testimonial-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-band { grid-template-columns: repeat(3, 1fr); padding: 48px 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .guarantee-grid { grid-template-columns: 1fr; }

    /* Simplify hero chrome on tablets: keep top search */
    .top-search-area { max-width: calc(100% - 40px); }
}

@media (max-width: 860px) {
    .main-nav, .header-cta .btn-primary { display: none; }
    .menu-toggle { display: flex; }

    .mobile-nav {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(17, 21, 42, 0.4);
        backdrop-filter: blur(6px);
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }
    .mobile-nav.open { opacity: 1; pointer-events: auto; }
    .mobile-nav-panel {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        background: var(--bg-white);
        border-radius: 32px 0 0 32px;
        padding: 28px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        overflow-y: auto;
    }
    .mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
    .mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
    .mobile-nav-head .brand { font-size: 20px; }
    .mobile-nav-head .brand-logo { width: 104px; }
    .mobile-nav-head .menu-toggle { box-shadow: none; }
    .mobile-nav-panel a.nav-link {
        padding: 16px 18px;
        border-radius: 18px;
        font-weight: 700;
        font-size: 16px;
        color: var(--text-primary);
        transition: background-color 0.2s;
    }
    .mobile-nav-panel a.nav-link:hover { background: var(--bg-very-pale-blue); }
    .mobile-nav-panel a.nav-link.active { background: var(--bg-very-pale-blue); color: var(--accent-purple); }
    .mobile-nav-panel .btn-primary { margin-top: 16px; justify-content: center; }
}

@media (max-width: 768px) {
    .page-wrapper { padding: 0 16px; }

    .hero-canvas { height: auto; min-height: 0; }
    .hero-image-clip {
        position: relative;
        inset: auto;
        top: 0; left: 0; right: 0; bottom: 0;
        border-radius: 0 0 32px 32px;
        height: 460px;
    }
    .hero-canvas { border-radius: 32px; background: var(--bg-page); box-shadow: none; }

    .top-search-area {
        top: 16px;
        max-width: calc(100% - 32px);
        gap: 12px;
    }
    .top-search-pill { padding: 16px 20px; border-radius: 0 0 28px 28px; }
    .top-search-pill::before, .top-search-pill::after { display: none; }
    .pill-dropdowns { gap: 16px; }
    .dropdown { gap: 10px; }
    .dropdown .icon-wrap { display: none; }

    .hero-text-content {
        top: 130px;
        bottom: auto;
        left: 20px;
        right: 20px;
        max-width: none;
        padding-right: 0;
    }
    .hero-text-content h1 { font-size: clamp(34px, 9vw, 44px); }
    .hero-text-content p { font-size: 14px; max-width: 480px; }

    .bottom-right-glass { display: none; }

    .bottom-left-block {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: -56px;
        margin-left: auto;
        border-radius: 32px;
        box-shadow: var(--shadow-float);
        z-index: 20;
        padding: 32px;
    }
    .bottom-left-block::after { content: none; }

    .section-spacing, .master-services, .master-verified, .master-how-it-works,
    .master-pro-booking, .master-testimonial, .master-cta { margin-bottom: 88px; }

    .section-title { margin-bottom: 32px; }

    .bento-grid { grid-auto-rows: 220px; gap: 18px; }
    .bento-card { border-radius: 28px; padding: 28px; }
    .bento-card h3 { font-size: 21px; }

    .verified-canvas { height: 480px; border-radius: 32px; }
    .verified-overlay-card { width: calc(100% - 32px); right: 16px; bottom: 16px; padding: 28px; border-radius: 28px; }

    .step-item { padding: 32px 28px; border-radius: 28px; }
    .step-num { font-size: 64px; margin-bottom: 18px; }

    .booking-card { padding: 32px 28px; border-radius: 32px; }
    .pro-header { flex-direction: column; }
    .pro-header h2 { font-size: 28px; }
    .pro-actions .btn-primary, .pro-actions .btn-secondary { flex: 1; justify-content: center; padding: 15px 18px; }

    .testimonial-card { padding: 32px 28px; border-radius: 28px; }

    .cta-canvas { min-height: 480px; border-radius: 32px; }
    .cta-card { padding: 64px 20px; }

    .master-footer { flex-direction: column; gap: 40px; padding: 48px 8px 40px; }
    .footer-right { flex-direction: column; gap: 32px; }
    .footer-col { gap: 12px; }

    .contact-form-card { padding: 32px 24px; border-radius: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .stat-band { grid-template-columns: 1fr; gap: 36px; border-radius: 32px; }
    .toc { grid-template-columns: 1fr; padding: 20px; }
    .faq-item summary { padding: 20px 22px; font-size: 15px; }
    .faq-item .faq-body { padding: 0 22px 20px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }

    .hero-image-clip { height: 420px; }
    .bottom-left-block { padding: 26px; margin-top: -44px; }
    .stats-container { flex-wrap: wrap; }

    .pill-dropdowns { gap: 10px; }
    .dropdown .text-wrap .label { display: none; }
    .dropdown .value { font-size: 12.5px; }
    .dropdown + .dropdown { border-left: 1px solid rgba(20, 30, 60, 0.08); padding-left: 10px; }

    .value-grid { grid-template-columns: 1fr; }
}
