/* ==========================================================================
   KRIPA ENTERPRISES — Design System & Stylesheet
   --------------------------------------------------------------------------
   Brand palette (from brand guidelines):
     Jet Black      #142D3A   primary brand, headings, nav, footer
     Ocean Blue     #378EC1   primary actions, links, highlights
     Seaweed Green  #2AA886   booking accents, success indicators
     Alabaster Grey #E5E5E5   borders, subtle backgrounds, dividers
     Pacific Cyan   #349BA8   decorative accents, icons
     White          #FFFFFF   backgrounds, cards
     Black          #000000   high-contrast text

   Accessibility note: the raw brand Ocean Blue (#378EC1) and Seaweed Green
   (#2AA886) do not reach WCAG AA (4.5:1) against white when used as small
   text or as the fill behind white text. Where a brand colour must carry
   text, an accessible darker shade of the same hue is used
   (--ocean-strong #2B73A0, --green-strong #1A7D64). The raw brand values are
   still used for decorative fills, gradients and large elements.

   Shape system (documented rule, applied consistently):
     - Interactive controls (buttons, pills, icon chips) : full pill
     - Containers (cards, panels, media)                 : 18px
     - Small inputs / inline chips                       : 10px
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    /* Brand */
    --jet-black: #142D3A;
    --ocean-blue: #378EC1;
    --seaweed-green: #2AA886;
    --alabaster-grey: #E5E5E5;
    --pacific-cyan: #349BA8;
    --white: #FFFFFF;
    --black: #000000;

    /* Accessible derivatives */
    --ocean-strong: #2B73A0;
    --ocean-stronger: #22618A;
    --green-strong: #1A7D64;
    --cyan-strong: #2A7F8B;

    /* Surfaces & text */
    --bg: #FFFFFF;
    --bg-subtle: #F5F8FA;
    --bg-tint: #EEF4F8;
    --text: #142D3A;
    --text-muted: #4B5A65;
    --text-invert: #FFFFFF;
    --text-invert-muted: rgba(255, 255, 255, 0.74);
    --border: #E5E5E5;
    --border-strong: #D3DBE0;

    /* Shadows (tinted to background hue, never pure black) */
    --shadow-sm: 0 1px 2px rgba(20, 45, 58, 0.06);
    --shadow-md: 0 6px 18px -6px rgba(20, 45, 58, 0.16);
    --shadow-lg: 0 20px 45px -20px rgba(20, 45, 58, 0.28);

    /* Shape */
    --radius-container: 18px;
    --radius-small: 10px;
    --radius-pill: 999px;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;

    /* Type */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Layout */
    --container: 1200px;
    --header-height: 72px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.25s;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--ocean-strong);
    text-decoration: none;
}

a:hover {
    color: var(--ocean-stronger);
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
}

/* Anchor offset for sticky header */
:target,
[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--jet-black);
    color: var(--white);
    border-radius: 0 0 var(--radius-small) 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    color: var(--white);
}

:focus-visible {
    outline: 3px solid var(--ocean-strong);
    outline-offset: 2px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-5);
}

.section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-header {
    max-width: 46rem;
    margin-bottom: var(--space-7);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 60ch;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
    color: var(--jet-black);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
}

h3 {
    font-size: clamp(1.125rem, 1.8vw, 1.375rem);
}

h4 {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

p {
    color: var(--text-muted);
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ocean-strong);
    margin-bottom: var(--space-4);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: transform var(--dur) var(--ease-out),
                background-color var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-out),
                color var(--dur) var(--ease-out),
                box-shadow var(--dur) var(--ease-out);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

/* Primary action — Ocean Blue (accessible shade for white text) */
.btn-primary,
.btn-whatsapp {
    background-color: var(--ocean-strong);
    color: var(--white);
}

.btn-primary:hover,
.btn-whatsapp:hover {
    background-color: var(--ocean-stronger);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--jet-black);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--jet-black);
    color: var(--jet-black);
    background-color: var(--white);
}

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

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: var(--header-height);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--jet-black);
    font-weight: 800;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.logo img,
.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-small);
    object-fit: contain;
    background: var(--white);
}

.logo-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.logo-text small {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--text-muted);
}

.logo:hover {
    color: var(--jet-black);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding-block: 0.25rem;
    transition: color var(--dur) var(--ease-out);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--ocean-strong);
    transition: width var(--dur) var(--ease-out);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--jet-black);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

.header-cta {
    margin-left: var(--space-2);
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-small);
    cursor: pointer;
    color: var(--jet-black);
}

.hamburger svg {
    width: 22px;
    height: 22px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5.5rem);
    background:
        radial-gradient(1100px 520px at 88% -10%, rgba(55, 142, 193, 0.10), transparent 60%),
        radial-gradient(760px 420px at 4% 110%, rgba(42, 168, 134, 0.08), transparent 60%),
        var(--bg);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--space-5);
}

.hero-description {
    font-size: 1.125rem;
    max-width: 54ch;
    margin-bottom: var(--space-6);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hero-credibility {
    margin-top: var(--space-5);
    font-size: 0.9375rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-credibility::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--green-strong);
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.hero-highlights {
    position: absolute;
    left: -1.25rem;
    bottom: -1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 16rem;
}

.service-pill {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--jet-black);
}

.service-pill svg {
    width: 18px;
    height: 18px;
    color: var(--ocean-strong);
    flex-shrink: 0;
}

/* ---------- Services ---------- */
.services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-container);
    overflow: hidden;
    transition: transform var(--dur) var(--ease-out),
                box-shadow var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-out);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tint);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-media img {
    transform: scale(1.04);
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 45, 58, 0) 45%, rgba(20, 45, 58, 0.55) 100%);
}

.service-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--ocean-strong);
    box-shadow: var(--shadow-md);
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
    flex: 1;
}

.service-body h3 {
    margin: 0;
}

.service-body p {
    font-size: 0.9375rem;
    flex: 1;
}

/* ---------- How It Works ---------- */
.how-it-works {
    background: var(--bg-subtle);
    border-block: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-container);
    padding: var(--space-5);
    padding-top: calc(var(--space-5) + 0.75rem);
}

.step::before {
    content: "";
    position: absolute;
    top: 2.3rem;
    left: calc(100% + 0.25rem);
    right: -1.25rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}

.step:last-child::before {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: var(--green-strong);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-4);
}

.step h3 {
    font-size: 1.0625rem;
    margin-bottom: var(--space-2);
}

.step p {
    font-size: 0.9rem;
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-top: var(--space-7);
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--pacific-cyan);
    border-radius: var(--radius-container);
}

.notice svg {
    width: 22px;
    height: 22px;
    color: var(--cyan-strong);
    flex-shrink: 0;
    margin-top: 2px;
}

.notice p {
    margin: 0;
    color: var(--jet-black);
    font-weight: 500;
}

/* ---------- Why Choose ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: var(--space-5);
}

/* Image cell: gives the grid a visual anchor instead of four identical boxes. */
.benefit-visual {
    grid-row: span 2;
    position: relative;
    margin: 0;
    background: var(--jet-black);
    border-radius: var(--radius-container);
    overflow: hidden;
}

.benefit-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-visual figcaption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 3rem 1.25rem 1.25rem;
    background: linear-gradient(180deg, rgba(20, 45, 58, 0) 0%, rgba(20, 45, 58, 0.82) 55%, rgba(20, 45, 58, 0.94) 100%);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}

.benefit-visual figcaption svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.benefit-card {
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-container);
    transition: border-color var(--dur) var(--ease-out),
                transform var(--dur) var(--ease-out);
}

.benefit-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-small);
    background: var(--bg-tint);
    color: var(--ocean-strong);
    margin-bottom: var(--space-4);
}

.benefit-card:nth-of-type(2) .benefit-icon {
    background: rgba(42, 168, 134, 0.12);
    color: var(--green-strong);
}

.benefit-card:nth-of-type(3) .benefit-icon {
    background: rgba(52, 155, 168, 0.12);
    color: var(--cyan-strong);
}

/* One tinted cell keeps the grid from reading as four identical panels. */
.benefit-card:nth-of-type(4) {
    background: linear-gradient(155deg, rgba(55, 142, 193, 0.12), rgba(42, 168, 134, 0.14));
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-card h3 {
    margin-bottom: var(--space-2);
}

.benefit-card p {
    font-size: 0.9375rem;
}

/* ---------- Booking information ---------- */
.booking-info {
    background: var(--bg-subtle);
    border-block: 1px solid var(--border);
}

.info-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-container);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
}

.info-panel-head {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: rgba(55, 142, 193, 0.12);
    color: var(--ocean-strong);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-panel-head h2 {
    font-size: clamp(1.375rem, 2.6vw, 1.875rem);
}

.info-list {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.info-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--text);
}

.info-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-strong);
}

.info-panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.policy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    color: var(--jet-black);
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color var(--dur) var(--ease-out),
                background-color var(--dur) var(--ease-out);
}

.policy-link svg {
    width: 18px;
    height: 18px;
    color: var(--ocean-strong);
}

.policy-link:hover {
    border-color: var(--ocean-strong);
    background: var(--bg-tint);
    color: var(--jet-black);
}

/* ---------- FAQ ----------
   Two-column layout: a sticky "questions?" panel beside a numbered
   accordion. The accent is locked to the ocean-strong tone, which keeps AA
   contrast on white (5.2:1) and on the tinted open row (4.7:1). */
.faq {
    --faq-index-col: 2.25rem;
    --faq-row-pad: var(--space-5);
    --faq-text-indent: calc(var(--faq-row-pad) + var(--faq-index-col) + var(--space-3));

    background: var(--bg-tint);
    border-bottom: 1px solid var(--border);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: var(--space-6);
    align-items: start;
}

/* Aside */
.faq-aside {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.faq-aside-figure {
    margin: 0;
    background: var(--bg-subtle);
}

/* 5:4 keeps the sticky card (image + note + contacts) inside a short
   viewport, so the contact pills are never clipped while it is stuck. */
.faq-aside-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.faq-aside-body {
    padding: var(--space-5);
}

.faq-aside-lead {
    font-size: 0.9375rem;
    margin-bottom: var(--space-4);
}

.faq-aside-contact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.faq-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--jet-black);
    overflow-wrap: anywhere;
    transition: border-color var(--dur) var(--ease-out),
                background-color var(--dur) var(--ease-out),
                color var(--dur) var(--ease-out),
                transform var(--dur) var(--ease-out);
}

.faq-contact-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--ocean-strong);
}

.faq-contact-link:hover {
    border-color: var(--ocean-strong);
    background: var(--bg-tint);
    color: var(--ocean-stronger);
}

.faq-contact-link:active {
    transform: translateY(1px);
}

.faq-contact-link strong {
    font-weight: 700;
}

/* Grouping wrapper for the accordion rows. The frame, radius and clipping
   come from .faq-panel, the divider lines from .faq-item. */
.faq-list {
    display: flex;
    flex-direction: column;
}

/* Accordion */
.faq-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-container);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: background-color var(--dur) var(--ease-out);
}

.faq-item:last-child {
    border-bottom: 0;
}

/* Open row: tinted background plus an accent rail on the leading edge. */
.faq-item.is-open {
    background: var(--bg-tint);
    box-shadow: inset 3px 0 0 var(--ocean-strong);
}

.faq-question-wrap {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.faq-question {
    display: grid;
    grid-template-columns: var(--faq-index-col) minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    padding: 1.25rem var(--faq-row-pad);
    background: none;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--jet-black);
    cursor: pointer;
    transition: background-color var(--dur) var(--ease-out);
}

.faq-question:hover {
    background: var(--bg-subtle);
}

.faq-question:focus-visible {
    outline: 2px solid var(--ocean-strong);
    outline-offset: -2px;
}

.faq-question:hover .faq-question-text {
    color: var(--ocean-strong);
}

.faq-index {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: var(--ocean-strong);
}

.faq-question-text {
    transition: color var(--dur) var(--ease-out);
}

.faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    background: var(--bg-tint);
    color: var(--ocean-strong);
    transition: background-color var(--dur) var(--ease-out),
                color var(--dur) var(--ease-out);
}

.faq-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform var(--dur) var(--ease-out);
}

.faq-question[aria-expanded="true"] .faq-toggle {
    background: var(--ocean-strong);
    color: var(--white);
}

/* The plus turns into a close mark when the row is open. */
.faq-question[aria-expanded="true"] .faq-toggle svg {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--faq-row-pad) 1.5rem var(--faq-text-indent);
    max-width: 72ch;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p {
    margin: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-6);
    align-items: start;
}

.contact-card,
.contact-cta {
    border: 1px solid var(--border);
    border-radius: var(--radius-container);
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    background: var(--white);
}

.contact-card h3 {
    margin-bottom: var(--space-5);
}

.contact-list {
    display: grid;
    gap: var(--space-4);
}

.contact-row {
    display: grid;
    gap: 0.25rem;
}

.contact-row dt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-row dt svg {
    width: 16px;
    height: 16px;
    color: var(--ocean-strong);
}

.contact-row dd {
    margin: 0;
    margin-left: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    word-break: break-word;
}

.contact-row dd a {
    font-weight: 500;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-5);
    font-weight: 600;
    font-size: 0.9rem;
}

.map-link svg {
    width: 18px;
    height: 18px;
}

.contact-cta {
    background: var(--jet-black);
    border-color: var(--jet-black);
    color: var(--white);
}

.contact-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-small);
    background: rgba(55, 142, 193, 0.18);
    color: #9FD3F0;
    margin-bottom: var(--space-4);
}

.contact-cta-icon svg {
    width: 26px;
    height: 26px;
}

.contact-cta h3 {
    color: var(--white);
    margin-bottom: var(--space-3);
}

.contact-cta p {
    color: var(--text-invert-muted);
    margin-bottom: var(--space-5);
}

.contact-benefits {
    display: grid;
    gap: 0.625rem;
    margin-bottom: var(--space-5);
}

.contact-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--white);
}

.contact-benefits svg {
    width: 18px;
    height: 18px;
    color: #6FD6B4;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ---------- Final CTA ---------- */
.final-cta {
    position: relative;
    isolation: isolate;
    background: var(--jet-black);
    color: var(--white);
    overflow: hidden;
}

/* Decorative destination photograph. It is loaded lazily and sits under a
   heavy scrim, so the headline keeps a high contrast ratio whatever the
   image happens to contain. */
.final-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.final-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 340px at 15% 0%, rgba(42, 168, 134, 0.20), transparent 60%),
        radial-gradient(700px 340px at 90% 100%, rgba(55, 142, 193, 0.24), transparent 60%),
        linear-gradient(180deg, rgba(20, 45, 58, 0.90) 0%, rgba(20, 45, 58, 0.80) 50%, rgba(20, 45, 58, 0.92) 100%);
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.final-cta h2 {
    color: var(--white);
    max-width: 20ch;
}

.final-cta p {
    color: var(--text-invert-muted);
    max-width: 52ch;
    font-size: 1.0625rem;
}

.final-cta .btn-whatsapp {
    margin-top: var(--space-2);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--jet-black);
    color: var(--text-invert);
    padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: var(--space-6);
    padding-bottom: var(--space-7);
}

.footer-column h2 {
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.footer-column ul {
    display: grid;
    gap: 0.625rem;
}

.footer-column a,
.footer-contact span {
    color: var(--text-invert-muted);
    font-size: 0.9375rem;
    transition: color var(--dur) var(--ease-out);
}

.footer-column a:hover {
    color: #9FD3F0;
}

.footer-brand p {
    color: var(--text-invert-muted);
    font-size: 0.9375rem;
    margin-top: var(--space-4);
    max-width: 34ch;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--white);
}

.footer-logo .logo-text small {
    color: var(--text-invert-muted);
}

.footer-logo img {
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-decoration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-5);
    color: rgba(159, 211, 240, 0.75);
}

.footer-decoration svg {
    width: 18px;
    height: 18px;
}

.dotted-route {
    flex: 1;
    max-width: 90px;
    height: 2px;
    background-image: radial-gradient(circle, rgba(159, 211, 240, 0.6) 1.5px, transparent 1.5px);
    background-size: 9px 2px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.footer-contact svg {
    width: 17px;
    height: 17px;
    color: var(--pacific-cyan);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-block: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    color: var(--text-invert-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom a {
    color: #9FD3F0;
    font-weight: 600;
}

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

/* ---------- WhatsApp floating action button ---------- */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-pill);
    background: var(--green-strong);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform var(--dur) var(--ease-out),
                background-color var(--dur) var(--ease-out);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    background: #176F58;
    color: var(--white);
}

/* ---------- Policy pages ---------- */
.policy-page {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background: var(--bg);
}

.policy-content {
    max-width: 48rem;
    margin-inline: auto;
}

.policy-content > h1 {
    font-size: clamp(1.875rem, 3.6vw, 2.75rem);
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
    border-bottom: 2px solid var(--border);
}

.policy-content h2 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-top: var(--space-7);
    margin-bottom: var(--space-3);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
}

.policy-content p {
    margin-bottom: var(--space-4);
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.policy-content ul {
    display: grid;
    gap: var(--space-3);
    margin: var(--space-4) 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.policy-content ul li {
    color: var(--text-muted);
    font-size: 1.0625rem;
    padding-left: 0.25rem;
}

.policy-content ul li::marker {
    color: var(--ocean-strong);
}

.policy-content strong {
    color: var(--jet-black);
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
}

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

@media (max-width: 1100px) {
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* The visual turns into a full-width banner so no cell is left empty. */
    .benefit-visual {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 13 / 5;
    }

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

    .step::before {
        display: none;
    }
}

@media (max-width: 980px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-7);
    }

    .hero-visual {
        order: -1;
    }

    .hero-highlights {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: none;
        margin-top: var(--space-4);
    }

    .hero-image {
        aspect-ratio: 16 / 9;
    }

    .faq-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .faq-aside {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
}

/* Mobile navigation */
@media (max-width: 900px) {
    .hamburger {
        display: inline-flex;
    }

    .nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: var(--space-4) var(--space-5) var(--space-5);
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--dur) var(--ease-out),
                    transform var(--dur) var(--ease-out),
                    visibility var(--dur);
        max-height: calc(100dvh - var(--header-height));
        overflow-y: auto;
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 0.875rem 0.75rem;
        font-size: 1.0625rem;
        border-radius: var(--radius-small);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: var(--bg-subtle);
    }

    .header-cta {
        margin: var(--space-3) 0 0;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .container {
        padding-inline: var(--space-4);
    }

    .services-grid,
    .benefits-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .benefit-visual {
        grid-column: auto;
        aspect-ratio: 16 / 9;
    }

    .faq {
        --faq-index-col: 1.75rem;
        --faq-row-pad: var(--space-4);
    }

    .faq-aside-figure img {
        aspect-ratio: 16 / 9;
    }

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

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

    .hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Entrance motion (subtle, progressive, reduced-motion aware)
   ========================================================================== */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ answers are display:none while closed, so this replays on every open. */
@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    /* Hero entrance */
    .hero-text > * {
        animation: riseIn 0.7s var(--ease-out) both;
    }
    .hero-text > *:nth-child(1) { animation-delay: 0.04s; }
    .hero-text > *:nth-child(2) { animation-delay: 0.10s; }
    .hero-text > *:nth-child(3) { animation-delay: 0.16s; }
    .hero-text > *:nth-child(4) { animation-delay: 0.22s; }
    .hero-text > *:nth-child(5) { animation-delay: 0.28s; }

    .hero-visual {
        animation: riseIn 0.85s var(--ease-out) both;
        animation-delay: 0.18s;
    }

    /* Scroll-linked reveal for below-the-fold content.
       Uses the native View Timeline where supported; content is never
       hidden in browsers that do not support it. */
    @supports (animation-timeline: view()) {
        .section-header,
        .service-card,
        .step,
        .benefit-card,
        .benefit-visual,
        .info-panel,
        .faq-panel,
        .faq-aside,
        .contact-card,
        .contact-cta {
            animation: riseIn linear both;
            animation-timeline: view();
            animation-range: entry 5% entry 45%;
        }
    }

    /* Each answer slides in as its row is expanded. */
    .faq-answer {
        animation: faqReveal 0.22s var(--ease-out) both;
    }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@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;
    }
}
