/* =============================================================
   TICO POOLS — DESIGN SYSTEM
   Brand: Premium, approachable, tropical. Pura Vida philosophy.
   ============================================================= */

/* -------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
    /* Core palette */
    --lagoon: #17BEC6;              /* primary brand — water, trust */
    --lagoon-deep: #0E7C85;         /* primary hover / pressed */
    --lagoon-ink: #083B41;          /* deep teal for headings on warm bg */
    --lagoon-wash: #E6F8F9;         /* very light cyan tint */

    --sand: #F1E3C9;                /* warm secondary — tropical counterpoint */
    --sand-light: #FBF4E4;          /* section background */
    --sand-deep: #D9C3A0;           /* sand hover/emphasis */

    --sunset: #E87B55;              /* accent — urgency, founding-client banner */
    --sunset-deep: #C85F3A;

    /* Neutrals */
    --ink: #0F1922;                 /* primary text */
    --slate: #54616C;               /* secondary text */
    --smoke: #8A93A0;               /* tertiary / hints */
    --paper: #FBF8F1;               /* warm off-white body bg */
    --shell: #FFFFFF;               /* cards, surfaces */
    --mist: #EDE6D6;                /* borders, hairlines */
    --mist-cool: #E3E8EC;           /* cooler borders */

    /* Shape & shadow */
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.75rem;
    --radius-xl: 2.25rem;
    --radius-pill: 9999px;

    --shadow-soft: 0 1px 2px rgba(15, 25, 34, 0.04), 0 6px 20px -8px rgba(15, 25, 34, 0.08);
    --shadow-lift: 0 4px 10px -4px rgba(15, 25, 34, 0.08), 0 20px 50px -18px rgba(15, 25, 34, 0.2);
    --shadow-deep: 0 30px 80px -30px rgba(8, 59, 65, 0.35);

    /* Typography */
    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
}

/* -------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--lagoon); color: white; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--lagoon-deep); }

/* -------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------- */
.font-display {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-variation-settings: "SOFT" 50, "WONK" 0;
}

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
    font-optical-sizing: auto;
    font-variation-settings: "SOFT" 50, "WONK" 0;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lagoon-deep);
}

.eyebrow-sand {
    color: var(--sand-deep);
}

.eyebrow-ink { color: var(--ink); opacity: 0.6; }

.headline-xl {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.headline-lg {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.headline-md {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.lead {
    font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
    line-height: 1.55;
    color: var(--slate);
    font-weight: 400;
}

.pura-vida-script {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* -------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   ------------------------------------------------------------- */
.container-px { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .container-px { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1280px) { .container-px { padding-left: 3rem; padding-right: 3rem; } }

.container-max { max-width: 1240px; margin-left: auto; margin-right: auto; }
.container-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

.section {
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section-tight {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* -------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    line-height: 1;
    transition: transform 0.2s var(--ease-spring),
                background 0.2s ease,
                color 0.2s ease,
                box-shadow 0.25s ease,
                border-color 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg {
    padding: 1.125rem 1.875rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--ink);
    color: white;
    box-shadow: 0 8px 20px -8px rgba(15, 25, 34, 0.35);
}
.btn-primary:hover {
    background: var(--lagoon-deep);
    box-shadow: 0 12px 28px -10px rgba(14, 124, 133, 0.55);
}

.btn-lagoon {
    background: var(--lagoon);
    color: white;
    box-shadow: 0 8px 20px -8px rgba(23, 190, 198, 0.5);
}
.btn-lagoon:hover {
    background: var(--lagoon-deep);
    box-shadow: 0 12px 28px -10px rgba(14, 124, 133, 0.65);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--mist);
}
.btn-ghost:hover {
    background: var(--shell);
    border-color: var(--ink);
}

.btn-sand {
    background: var(--sand);
    color: var(--ink);
}
.btn-sand:hover { background: var(--sand-deep); }

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Tel button — ultra-visible */
.btn-tel {
    display: inline-flex;
    align-items: baseline;
    gap: 0.625rem;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.9375rem;
}
.btn-tel .tel-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--slate);
}
.btn-tel .tel-number {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.375rem;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--lagoon);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}
.btn-tel:hover .tel-number { color: var(--lagoon-deep); }

/* -------------------------------------------------------------
   6. NAV
   ------------------------------------------------------------- */
#navbar {
    background: transparent;
    padding: 0 0.5rem;
    transition: padding 0.42s var(--ease-spring);
}

#navInner {
    border: 1px solid rgba(237, 230, 214, 0.85);
    background: rgba(251, 248, 241, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: none;
    border-radius: 1rem;
    transform: translateY(0) scale(1);
    transition: max-width 0.42s var(--ease-spring),
                border-radius 0.42s var(--ease-spring),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.42s var(--ease-spring);
    will-change: transform, max-width;
}

#navbar.nav-top #navInner {
    border-color: transparent;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

#navbar.nav-floating {
    padding-top: 0.4rem;
}

#navbar.nav-floating #navInner {
    max-width: min(1040px, calc(100% - 1.25rem));
    border-radius: 9999px;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px -22px rgba(8, 59, 65, 0.4);
    transform: translateY(1px) scale(0.992);
}

@media (max-width: 767px) {
    #navbar.nav-floating #navInner {
        max-width: calc(100% - 0.5rem);
        transform: translateY(0) scale(1);
    }
}

.nav-link {
    position: relative;
    color: var(--ink);
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--lagoon-deep); }
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--lagoon);
    transform: translateX(-50%);
}

/* Mobile menu */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 59, 65, 0.32);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 40;
}

.mobile-menu-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(237, 230, 214, 0.7);
    background: rgba(251, 248, 241, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px -24px rgba(8, 59, 65, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 50;
}

.mobile-menu-panel .mobile-link {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    font-weight: 500;
    color: var(--ink);
    transition: background 0.15s ease;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease, background 0.15s ease;
}
.mobile-menu-panel .mobile-link:hover { background: var(--sand-light); }

.mobile-menu-panel .mobile-cta {
    margin-top: 0.75rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease, background 0.2s ease;
}

#navbar.menu-open .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }
#navbar.menu-open .mobile-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

#navbar.menu-open .mobile-menu-panel .mobile-link,
#navbar.menu-open .mobile-menu-panel .mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

#navbar.menu-open .mobile-menu-panel .mobile-link:nth-child(1) { transition-delay: 40ms; }
#navbar.menu-open .mobile-menu-panel .mobile-link:nth-child(2) { transition-delay: 70ms; }
#navbar.menu-open .mobile-menu-panel .mobile-link:nth-child(3) { transition-delay: 100ms; }
#navbar.menu-open .mobile-menu-panel .mobile-link:nth-child(4) { transition-delay: 130ms; }
#navbar.menu-open .mobile-menu-panel .mobile-link:nth-child(5) { transition-delay: 160ms; }
#navbar.menu-open .mobile-menu-panel .mobile-cta { transition-delay: 200ms; }

/* -------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .hero { padding-top: 7.5rem; padding-bottom: 4rem; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 4rem;
    }
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(180deg, #B7E8EC 0%, var(--lagoon) 50%, var(--lagoon-deep) 100%);
    box-shadow: var(--shadow-deep);
}
@media (min-width: 1024px) {
    .hero-visual { aspect-ratio: 4/5.5; }
}

.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 10%, rgba(255,255,255,0.25), transparent 50%),
        linear-gradient(180deg, rgba(8,59,65,0) 40%, rgba(8,59,65,0.55) 100%);
    pointer-events: none;
}

.hero-stamp {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
    gap: 0.75rem;
}

.hero-stamp-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    color: var(--ink);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
}

.hero-stamp-tag .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lagoon);
    box-shadow: 0 0 0 3px rgba(23, 190, 198, 0.25);
}

.hero-caption {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 3;
    color: white;
}

.hero-caption .script {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-caption .sub {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.95;
    max-width: 24ch;
}

/* Screen-reader only (Tailwind-compatible) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Before / after comparison sliders */
.ba-slider {
    --ba-pos: 50%;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    background: var(--mist);
    cursor: ew-resize;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
}
@media (min-width: 768px) {
    .ba-slider {
        aspect-ratio: 3 / 2;
    }
}
@media (min-width: 1280px) {
    .ba-slider {
        aspect-ratio: 16 / 10;
    }
}
.ba-slider:focus-visible {
    box-shadow: var(--shadow-soft), 0 0 0 3px rgba(23, 190, 198, 0.55);
}
.ba-slider .ba-after,
.ba-slider .ba-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}
.ba-slider .ba-after {
    z-index: 1;
}
.ba-slider .ba-before {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}
.ba-slider.ba-animate .ba-before {
    transition: clip-path 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ba-label {
    position: absolute;
    top: 0.85rem;
    z-index: 3;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 25, 34, 0.65);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    pointer-events: none;
}
.ba-label-before { left: 0.85rem; }
.ba-label-after  { right: 0.85rem; }
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-pos, 50%);
    width: 2px;
    margin-left: -1px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(15, 25, 34, 0.18), 0 0 18px rgba(0, 0, 0, 0.25);
    z-index: 4;
    pointer-events: none;
}
.ba-slider.ba-animate .ba-handle {
    transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ba-handle-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: white;
    box-shadow: 0 6px 18px rgba(15, 25, 34, 0.25), 0 0 0 1px rgba(15, 25, 34, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    color: var(--lagoon-deep);
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.ba-slider:hover .ba-handle-knob,
.ba-slider.ba-dragging .ba-handle-knob,
.ba-slider:focus-visible .ba-handle-knob {
    transform: translate(-50%, -50%) scale(1.08);
}
.ba-slider.ba-dragging {
    cursor: grabbing;
}
@media (prefers-reduced-motion: reduce) {
    .ba-slider.ba-animate .ba-before,
    .ba-slider.ba-animate .ba-handle,
    .ba-handle-knob {
        transition: none;
    }
}

/* Real job photos (in-page galleries & sidebars) */
.photo-card {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--mist);
}
/* Safety net: if a .photo-card has a non-photo sibling directly after it
   (e.g. a tier-card, stat grid, quote card) and no explicit margin utility
   is applied, enforce a minimum breathing gap so they never touch. */
.photo-card + *:not(.photo-card):not([class*="mt-"]) {
    margin-top: 2rem;
}
@media (min-width: 1024px) {
    .photo-card + *:not(.photo-card):not([class*="mt-"]) {
        margin-top: 2.5rem;
    }
}
.photo-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: min(22rem, 55vh);
}
@media (min-width: 768px) {
    .photo-card img {
        max-height: min(26rem, 50vh);
    }
}

/* Founder portrait — full frame visible (no tight cover crop) */
.photo-card--founder {
    background: var(--mist);
}
.photo-card--founder img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(36rem, 78vh);
    /* Show full photo — no cover crop; scales down to fit width + max-height */
    object-fit: contain;
    object-position: center center;
}

/* -------------------------------------------------------------
   8. BANNERS / STRIPS
   ------------------------------------------------------------- */
.launch-banner {
    background: linear-gradient(135deg, var(--sunset) 0%, #D96842 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 20px 50px -24px rgba(232, 123, 85, 0.6);
    position: relative;
    overflow: hidden;
}

.launch-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
        radial-gradient(circle at 10% 120%, rgba(255, 255, 255, 0.12), transparent 50%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .launch-banner {
        grid-template-columns: auto 1fr auto;
        gap: 1.5rem;
        padding: 1.25rem 1.75rem;
    }
}

.launch-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.launch-pill .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
    50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

.trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate);
}
@media (min-width: 640px) {
    .trust-strip {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 1.25rem;
    }
}

.trust-strip .dot-sep {
    display: none;
}
@media (min-width: 640px) {
    .trust-strip .dot-sep {
        display: block;
        width: 3px; height: 3px; border-radius: 50%;
        background: var(--mist);
    }
}

.trust-strip i { color: var(--lagoon); }

/* -------------------------------------------------------------
   9. CARDS
   ------------------------------------------------------------- */
.card {
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: var(--lagoon);
}

.card-flat {
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.card-sand {
    background: var(--sand-light);
    border: 1px solid var(--mist);
}

.card-dark {
    background: var(--ink);
    color: white;
    border: none;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-pill);
    background: var(--lagoon-wash);
    color: var(--lagoon-deep);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 0.45rem 0.85rem;
    background: var(--sand-light);
    border: 1px solid var(--mist);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
}

.price-tag .from {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate);
}

/* -------------------------------------------------------------
   10. PRICING TIERS
   ------------------------------------------------------------- */
.tier-card {
    position: relative;
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.tier-card.featured {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.tier-card.featured .tier-price,
.tier-card.featured h3 { color: white; }

.tier-card.featured .tier-meta { color: rgba(255, 255, 255, 0.7); }

.tier-card.featured ul li { color: rgba(255, 255, 255, 0.85); }
.tier-card.featured ul li i { color: var(--lagoon); }

.tier-badge {
    position: absolute;
    top: -0.75rem;
    right: 1.5rem;
    background: var(--lagoon);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 20px -10px rgba(14, 124, 133, 0.6);
}

.tier-price {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.tier-price .from {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.5rem;
}

.tier-price .per {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate);
    margin-left: 0.25rem;
}

.tier-meta {
    font-size: 0.8125rem;
    color: var(--slate);
}

.tier-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tier-list li {
    display: flex;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--ink);
    line-height: 1.45;
}

.tier-list li i {
    flex-shrink: 0;
    color: var(--lagoon-deep);
    font-size: 0.875rem;
    margin-top: 0.2rem;
}

/* -------------------------------------------------------------
   11. STEP / PROCESS CARDS
   ------------------------------------------------------------- */
.step {
    position: relative;
    padding: 1.5rem 1.75rem;
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
}

.step-num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--lagoon);
    margin-bottom: 0.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--slate);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* -------------------------------------------------------------
   12. PROMISE / GUARANTEE CARDS
   ------------------------------------------------------------- */
.promise {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.promise:hover { border-color: var(--lagoon); }

.promise-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-pill);
    background: var(--lagoon-wash);
    color: var(--lagoon-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.promise h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.promise p {
    font-size: 0.9375rem;
    color: var(--slate);
    line-height: 1.5;
}

/* -------------------------------------------------------------
   13. FOUNDER SECTION
   ------------------------------------------------------------- */
.founder {
    position: relative;
    background: linear-gradient(160deg, var(--sand-light) 0%, var(--paper) 100%);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
}

.founder::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(23, 190, 198, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.founder-quote {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.015em;
}

.founder-quote em {
    font-style: italic;
    color: var(--lagoon-deep);
}

.signature {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.signature-name {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--ink);
    line-height: 1;
}

.signature-role {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    margin-top: 0.25rem;
}

/* -------------------------------------------------------------
   14. FAQ
   ------------------------------------------------------------- */
.faq-item {
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover { border-color: var(--lagoon); }

.faq-item .faq-trigger {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ink);
}

.faq-item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.faq-icon-wrap {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-pill);
    background: var(--sand-light);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-item:hover .faq-icon-wrap,
.faq-item.active .faq-icon-wrap {
    background: var(--lagoon);
    color: white;
}

.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease; }
.faq-answer-inner { overflow: hidden; min-height: 0; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }

.faq-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--slate);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* -------------------------------------------------------------
   15. FORMS
   ------------------------------------------------------------- */
.field { display: block; }
.field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.5rem;
}

.field-input,
.field-textarea,
.field-select {
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.field-input::placeholder,
.field-textarea::placeholder { color: var(--smoke); font-weight: 400; }

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
    border-color: var(--lagoon);
    background: var(--shell);
    box-shadow: 0 0 0 4px rgba(23, 190, 198, 0.15);
}

.field-textarea { resize: vertical; min-height: 120px; line-height: 1.55; }

.field-select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2354616C'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.06l3.71-3.83a.75.75 0 1 1 1.08 1.04l-4.25 4.39a.75.75 0 0 1-1.08 0L5.21 8.27a.75.75 0 0 1 .02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.125rem;
    padding-right: 2.75rem;
}

.form-card {
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-lift);
}

.quick-callback {
    background: var(--sand-light);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    padding: 1rem 1.125rem;
}

/* -------------------------------------------------------------
   16. MISC
   ------------------------------------------------------------- */
.divider {
    height: 1px;
    background: var(--mist);
    border: none;
    margin: 0;
}

.floating-cta-group {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    opacity: 0;
    transform: translateY(14px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 40;
}

.floating-cta-group.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-cta-btn {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lift);
    transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}
.floating-cta-btn.call { background: var(--lagoon); }
.floating-cta-btn.call:hover { background: var(--lagoon-deep); transform: scale(1.05); }
.floating-cta-btn.sms { background: var(--ink); }
.floating-cta-btn.sms:hover { background: var(--lagoon-deep); transform: scale(1.05); }

/* -------------------------------------------------------------
   17. DECORATIVE
   ------------------------------------------------------------- */
.wave-divider {
    display: block;
    width: 100%;
    height: auto;
    color: var(--paper);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
}
.chip i { color: var(--lagoon); font-size: 0.75rem; }

.chip-lagoon {
    background: var(--lagoon-wash);
    border-color: transparent;
    color: var(--lagoon-deep);
    font-weight: 600;
}

.suburb-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    background: var(--shell);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.suburb-tile:hover {
    background: var(--lagoon-wash);
    border-color: var(--lagoon);
    transform: translateY(-1px);
}
.suburb-tile i { color: var(--lagoon); font-size: 0.75rem; }

/* -------------------------------------------------------------
   18. SCROLL REVEAL
   ------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* -------------------------------------------------------------
   19. UTILITY
   ------------------------------------------------------------- */
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

.no-scroll { overflow: hidden; }

/* -------------------------------------------------------------
   20. UTILITY OVERRIDES
   Tailwind v4 places utilities inside an @layer, which ranks them
   below un-layered rules even when specificity would normally win.
   These explicit overrides make the common "override heading colour
   on dark sections" pattern work as expected.
   ------------------------------------------------------------- */
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 { color: #ffffff; }
