/* =========================================================================
   Salty Summer — Mallorca boat charter
   Identity: deep Mediterranean navy + warm sand + vivid sea-turquoise.
   Display face: Fraunces (characterful, maritime-classic). Body: Inter.
   Mobile-first. The "signature" is the turquoise waterline rule under section
   titles and the tilted price badge on cards — sun-on-water, not generic.
   ========================================================================= */

@import url('fonts.css');

:root {
    --navy: #0b2a3a; /* deep sea — kept as the dark anchor (footer, detail hero) */
    --navy-2: #103b51; /* lifted panels */
    /* Surfaces (the white-background re-layer). Page is white; these cool,
       barely-there blue-grays let pills / cards / alt bands separate from it. */
    --white: #ffffff; /* page background */
    --surface: #f3f7f9; /* light cards, spec pills, alt sections */
    --surface-2: #e4edf1; /* borders, media placeholders, table rules */
    /* Light text used ON the navy (footer, nav, detail hero). Kept as a near-
       white so it stays readable on dark. (Was --sand; alias preserved below.) */
    --paper: #eef4f6;
    --sand: var(--paper); /* back-compat alias for text-on-navy uses */
    --sand-deep: var(--surface-2); /* back-compat alias for old surface uses */
    /* Company colours: turquoise + sky blue (the bright-sea identity). */
    --turq: #14b8c4; /* vivid sea turquoise — primary accent */
    --turq-deep: #0e8f9b; /* darker turquoise for hover/links */
    --sky: #38a8e0; /* sky blue — secondary accent */
    --sky-deep: #1f87c2;
    --whatsapp: #25d366; /* WhatsApp brand green */
    --whatsapp-deep: #1da851;
    --warm-sand: #f6efe3; /* warm sand band (used for the Experiences section) */
    /* Ink + cool blue-gray neutrals (replacing the old warm grays). */
    --ink: #0d2533; /* body text */
    --ink-soft: #5b7180; /* muted blue-gray for secondary text */

    --maxw: 1140px;
    --gap: clamp(1rem, 3vw, 2rem);
    --radius: 14px;
    --shadow: 0 14px 40px -18px rgba(11, 42, 58, .22);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gap);
}

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--navy) 92%, transparent);
    backdrop-filter: blur(8px);
    color: var(--sand);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 64px;
    flex-wrap: wrap;
}

.site-header__brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: .5px;
    margin-right: auto;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.site-header__logo {
    height: 2rem;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    gap: clamp(.6rem, 2vw, 1.4rem);
    flex-wrap: wrap;
}
/* On desktop the wrapper is invisible to layout: nav + language pills sit
   directly on the bar as before. Mobile overrides this to a dropdown panel. */
.site-menu {
    display: contents;
}

.site-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--sand);
    opacity: .85;
    padding: .35rem 0;
    position: relative;
}

    .site-nav a:hover {
        opacity: 1;
    }

    .site-nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        background: var(--turq);
        transition: width .22s ease;
    }

    .site-nav a:hover::after,
    .site-nav a.is-active::after {
        width: 100%;
    }

    .site-nav a.is-active {
        opacity: 1;
    }

/* ---------- Language switcher ---------- */
.lang-switcher {
    display: flex;
    gap: .25rem;
}

.lang-switcher__form {
    margin: 0;
}

.lang-switcher__btn {
    font: inherit;
    font-size: .8rem;
    font-weight: 600;
    background: transparent;
    color: var(--sand);
    border: 1px solid color-mix(in srgb, var(--sand) 35%, transparent);
    border-radius: 999px;
    padding: .25rem .6rem;
    cursor: pointer;
    opacity: .8;
    transition: all .18s ease;
}

    .lang-switcher__btn:hover {
        opacity: 1;
        border-color: var(--turq);
    }

    .lang-switcher__btn.is-active {
        background: var(--turq);
        border-color: var(--turq);
        color: var(--navy);
        opacity: 1;
        cursor: default;
    }

/* ---------- Hamburger toggle (hidden on desktop) ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background: var(--sand);
    border-radius: 2px;
    transition: transform .22s ease, opacity .22s ease;
}
/* Animate bars into an X when open */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile header: transparent bar, everything in the hamburger ---------- */
@media (max-width: 640px) {
    /* Default (scrolled) state: transparent header, only the hamburger shows,
       so more of the page is visible as you read. */
    .site-header {
        background: transparent;
        backdrop-filter: none;
        transition: background .25s ease;
    }
        /* At the very top of the page, OR whenever the menu is open: branded bar
       with navy background + title, so the open menu looks grounded. */
        .site-header.at-top,
        .site-header.menu-open {
            background: color-mix(in srgb, var(--navy) 92%, transparent);
            backdrop-filter: blur(8px);
        }

    .site-header__inner {
        flex-wrap: wrap;
        gap: .5rem;
        min-height: 52px;
    }
    /* Brand: visible at the top or when the menu is open; faded out once
       scrolled. We toggle opacity/visibility (not display) so the brand keeps
       its box and the header never reflows — that reflow was causing a visible
       "jump" when closing the menu. The hamburger's margin-left:auto pins it
       right regardless, so the brand box can stay in place. */
    .site-header__brand {
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .site-header.at-top .site-header__brand,
    .site-header.menu-open .site-header__brand {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    /* Hamburger bars: dark when scrolled (legible over the light page),
       light at the top where they sit on the navy branded bar. */
    .nav-toggle__bar {
        background: var(--navy);
        box-shadow: 0 1px 3px rgba(255, 255, 255, .5);
        transition: background .25s ease, box-shadow .25s ease;
    }

    .site-header.at-top .nav-toggle__bar,
    .site-header.menu-open .nav-toggle__bar {
        background: var(--sand);
        box-shadow: none;
    }

    /* The header bar must allow the absolutely-positioned panel to anchor to it. */
    .site-header__inner {
        position: relative;
    }

    /* The dropdown panel OVERLAYS the page (absolute, anchored under the bar)
       rather than participating in header height. This is the key fix: an
       in-flow panel expanding to 80vh was changing the sticky header's height
       and shoving the whole page down/up as it animated — that snap was the
       "vibration." As an overlay, open/close moves nothing below it. */
    .site-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .2s ease;
    }

        .site-menu.is-open {
            max-height: 80vh;
            opacity: 1;
        }
        /* Panel background appears only when open. It sits flush under the now-navy
       bar so the two read as one continuous surface. */
        .site-menu.is-open {
            background: color-mix(in srgb, var(--navy) 92%, transparent);
            backdrop-filter: blur(10px);
            border-radius: 0 0 var(--radius) var(--radius);
            box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
        }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

        .site-nav a {
            padding: .95rem 1.1rem;
            border-bottom: 1px solid color-mix(in srgb, var(--sand) 15%, transparent);
            opacity: .92;
        }

            .site-nav a::after {
                display: none;
            }

    /* Language pills sit at the bottom of the open panel, centered */
    .site-menu .lang-switcher {
        justify-content: center;
        padding: .9rem 1.1rem 1.1rem;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-weight: 600;
    font-size: .98rem;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .15s ease, background .2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn--primary {
    background: var(--turq);
    color: var(--navy);
}

    .btn--primary:hover {
        background: var(--turq-deep);
        color: var(--white);
    }

.btn--ghost {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}

    .btn--ghost:hover {
        background: var(--navy);
        color: var(--white);
    }

.btn--whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

    .btn--whatsapp:hover {
        background: var(--whatsapp-deep);
    }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: var(--sand);
    background-color: var(--navy); /* shown while the photo loads — no blank flash */
    /* Bright midday sea/sand photo: pale sand + bright water are high-luminance, so
       white text needs some dark tint to stay readable. Two stacked gradients over
       the photo: (1) a diagonal brand tint, (2) a softer vertical wash weighted to the
       LEFT/BOTTOM where the headline sits. These alphas are tuned BRIGHT — raise them
       if text contrast is too weak on your specific image; lower further to brighten. */
    background: linear-gradient(100deg, color-mix(in srgb, var(--navy) 50%, transparent) 0%, color-mix(in srgb, var(--navy) 22%, transparent) 45%, color-mix(in srgb, var(--turq-deep) 15%, transparent) 100%), linear-gradient(to top, rgba(11,42,58,.34) 0%, rgba(11,42,58,.08) 55%, rgba(11,42,58,.02) 100%), url('../images/hero.jpg');
    background-size: cover;
    background-position: center 65%; /* favour the lower part (sand/waterline) */
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 80% -10%, color-mix(in srgb, var(--turq) 30%, transparent), transparent 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    padding-block: clamp(4rem, 12vw, 8rem);
    max-width: 760px;
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .78rem;
    font-weight: 600;
    color: var(--turq);
    margin: 0 0 1rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    line-height: 1.05;
    font-weight: 600;
    margin: 0 0 1rem;
    text-shadow: 0 2px 20px rgba(11,42,58,.65), 0 1px 3px rgba(11,42,58,.5); /* legibility over brighter photo */
}

.hero__subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    opacity: .9;
    margin: 0 0 2rem;
    max-width: 48ch;
    text-shadow: 0 1px 14px rgba(11,42,58,.6), 0 1px 3px rgba(11,42,58,.45);
}

/* ---------- Sections ---------- */
.section {
    padding-block: clamp(3rem, 8vw, 5.5rem);
}

.section--alt {
    background: var(--surface);
}
/* Experiences gets a warm sand band to break up the white page. */
.experiences {
    background: var(--warm-sand);
}

.section__head {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 2.5rem;
}

.section__head--left {
    text-align: left;
    margin-inline: 0;
    max-width: none;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.15;
    margin: 0 0 .6rem;
    position: relative;
    display: inline-block;
}
    /* signature: turquoise waterline under titles */
    .section__title::after {
        content: "";
        display: block;
        height: 3px;
        width: 56px;
        margin-top: .55rem;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--turq), transparent);
    }

.section__head:not(.section__head--left) .section__title::after {
    margin-inline: auto;
}

.section__intro {
    color: var(--ink-soft);
    font-size: 1.05rem;
    margin: 0;
}

/* Homepage contact section */
#contact, #fleet, #experiences, #about {
    scroll-margin-top: 80px; /* clear the sticky header on anchor jump */
}

.contact-section__locations {
    margin-top: 3rem;
}

.section__subtitle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0 0 1.5rem;
    text-align: center;
}

.section__subtitle--left {
    text-align: left;
}

/* ---------- Page head (inner pages) ---------- */
.page-head {
    background: var(--navy);
    color: var(--sand);
    padding-block: clamp(2.5rem, 7vw, 4rem);
}

.page-head__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 .5rem;
}

.page-head__intro {
    opacity: .85;
    margin: 0;
    max-width: 55ch;
}

/* ---------- About ---------- */
.about__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

@media (min-width: 820px) {
    .about__inner {
        grid-template-columns: 1.1fr 1fr;
    }
}

.about__text {
    max-width: 60ch;
}

.about__body {
    font-size: 1.08rem;
    margin: 0 0 1rem;
}

    .about__body:last-child {
        margin-bottom: 0;
    }

.about__media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------- Boat grid + cards ---------- */
.boat-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .boat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 980px) {
    .boat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.boat-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .boat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 50px -20px rgba(11,42,58,.5);
    }

.boat-card__media {
    position: relative;
    aspect-ratio: 3/2;
    background: var(--sand-deep);
}

    .boat-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.boat-card__price {
    position: absolute;
    bottom: .8rem;
    left: .8rem;
    background: var(--turq);
    color: var(--navy);
    font-weight: 600;
    font-size: .9rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(11,42,58,.25);
}

.boat-card__body {
    padding: 1.2rem 1.3rem 1.5rem;
}

.boat-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 .3rem;
}

.boat-card__nick {
    font-style: italic;
    font-weight: 500;
    color: var(--turq-deep);
    font-size: .95rem;
}

.boat-card__desc {
    color: var(--ink-soft);
    font-size: .95rem;
    margin: 0 0 .9rem;
}

.boat-card__specs {
    list-style: none;
    display: flex;
    gap: .5rem;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .82rem;
    color: var(--navy);
}

    .boat-card__specs li {
        background: var(--surface);
        padding: .25rem .5rem;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        white-space: nowrap;
        flex: 0 1 auto;
        min-width: 0;
    }

.spec-icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    fill: var(--turq-deep); /* inherits the card palette */
    display: block;
    position: relative;
    top: -1px; /* optical alignment with text */
}

.boat-card__cta {
    font-weight: 600;
    color: var(--turq-deep);
    font-size: .92rem;
}

/* ---------- Offer banner ---------- */
.offer-banner {
    background: var(--turq);
    color: var(--navy);
}

.offer-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-block: 1.5rem;
}

.offer-banner__headline {
    font-family: var(--font-display);
    margin: 0 0 .25rem;
    font-size: 1.4rem;
}

.offer-banner__body {
    margin: 0;
    opacity: .95;
}

/* ---------- Experiences ---------- */
.exp-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .exp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.exp-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--turq);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.exp-card__media {
    aspect-ratio: 3/2;
    background: var(--surface-2);
}

    .exp-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.exp-card__body {
    padding: 1.6rem;
}

.exp-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 .5rem;
}

.exp-card__desc {
    color: var(--ink-soft);
    margin: 0;
    font-size: .95rem;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    margin: 0;
}

.testimonial__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    margin: 0 0 1rem;
    quotes: "“" "”";
}

    .testimonial__quote::before {
        content: open-quote;
        color: var(--turq);
        font-size: 1.6em;
        line-height: 0;
    }

.testimonial__author {
    display: flex;
    flex-direction: column;
}

.testimonial__name {
    font-weight: 600;
}

/* ---------- Boat detail ---------- */
.detail-hero {
    background: var(--navy);
    color: var(--sand);
    padding-block: 2.5rem;
}

.back-link {
    color: var(--turq);
    font-weight: 600;
    font-size: .9rem;
}

.detail-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem,5vw,2.8rem);
    margin: .8rem 0 .3rem;
}

.detail-hero__nick {
    font-style: italic;
    color: var(--turq);
    font-size: .7em;
}

.detail-hero__loc {
    opacity: .85;
    margin: 0;
}

.detail-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .detail-grid {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }
}

.detail-gallery {
    display: grid;
    gap: .8rem;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .detail-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-gallery__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--sand-deep);
}

    .detail-gallery__img:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 16/9;
    }

.detail-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 84px;
}

.detail-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
}

.detail-block__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.spec-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .5rem 1rem;
    margin: 0;
}

.spec-note {
    margin: 1rem 0 0;
    font-size: .9rem;
    color: var(--turq-deep);
    font-weight: 600;
}

.spec-list dt {
    color: var(--ink-soft);
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

    .spec-list dt .spec-icon {
        width: 1.1em;
        height: 1.1em;
        fill: var(--turq-deep);
        flex-shrink: 0;
    }

.spec-list dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

    .price-table th, .price-table td {
        padding: .55rem .4rem;
        text-align: center;
        border-bottom: 1px solid var(--sand-deep);
        vertical-align: top;
    }

    .price-table thead th {
        color: var(--turq-deep);
        font-weight: 600;
    }

    .price-table tbody th {
        text-align: left;
        color: var(--ink-soft);
        font-weight: 500;
    }

.price-table__dur {
    display: block;
    font-weight: 600;
    color: var(--navy);
}

.price-table__time {
    display: block;
    font-size: .78rem;
    color: var(--ink-soft);
    margin-top: .1rem;
}

.price-table td {
    font-weight: 600;
}

.detail-cta {
    text-align: center;
}

.detail-desc {
    max-width: 70ch;
    margin-top: 2rem;
    font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;
}

@media (min-width: 820px) {
    .contact-grid {
        grid-template-columns: 1.6fr 1fr;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

    .field label {
        font-weight: 600;
        font-size: .92rem;
    }

    .field input, .field textarea, .field select {
        width: 100%;
        max-width: 100%;
        font: inherit;
        padding: .7rem .9rem;
        border: 1.5px solid var(--sand-deep);
        border-radius: 10px;
        background: var(--white);
        resize: vertical;
    }

    .field select {
        cursor: pointer;
    }

        .field input:focus, .field textarea:focus, .field select:focus {
            outline: 2px solid var(--turq);
            border-color: var(--turq);
        }

.field__error {
    color: #c0392b;
    font-size: .85rem;
}

/* Consent checkbox */
.field--check {
    gap: .3rem;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-weight: 400;
    font-size: .92rem;
    cursor: pointer;
    line-height: 1.4;
}

    .check input[type="checkbox"] {
        width: 1.15rem;
        height: 1.15rem;
        margin-top: .1rem;
        flex-shrink: 0;
        accent-color: var(--turq);
        cursor: pointer;
    }

    .check a {
        color: var(--turq-deep);
    }

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: .9rem 1.1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: .95rem;
}

.alert--success {
    background: color-mix(in srgb, var(--turq) 18%, white);
    color: var(--turq-deep);
}

.alert--error {
    background: #fbe9e7;
    color: #c0392b;
}

    .alert--error:empty {
        display: none;
    }

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    color: var(--turq-deep);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.link-icon {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
    flex-shrink: 0;
}

/* icon inside buttons (WhatsApp) — white to match button text, sits left of label */
.btn-icon {
    width: 1.15em;
    height: 1.15em;
    fill: currentColor;
    flex-shrink: 0;
    vertical-align: -2px;
    margin-right: .5rem;
}

.btn--whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Locations (Contact page) ---------- */
.locations-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.location-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.location-card__map {
    aspect-ratio: 16 / 10;
    background: var(--sand-deep);
}

    .location-card__map iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

.location-card__body {
    padding: 1.1rem 1.3rem 1.4rem;
}

.location-card__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 .35rem;
    color: var(--navy);
}

.location-card__address {
    margin: 0 0 .8rem;
    color: var(--ink-soft);
}

.location-card__link {
    color: var(--turq-deep);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: var(--paper);
    padding-block: 3rem 1.5rem;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1.4fr;
    }
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.site-footer__logo {
    width: auto;
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: .8rem;
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
}

.site-footer__tagline {
    margin: 0;
    opacity: .8;
    font-size: .92rem;
    max-width: 34ch;
}

.site-footer__heading {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .7;
    margin: 0 0 .2rem;
    font-weight: 600;
}

.site-footer__col a {
    color: var(--paper);
    opacity: .85;
    text-decoration: none;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    .site-footer__col a:hover {
        opacity: 1;
        color: var(--turq);
    }

.site-footer__ig .link-icon {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
}

.site-footer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent);
}

    .site-footer__bar p {
        margin: 0;
        opacity: .75;
        font-size: .85rem;
    }

.site-footer__legal {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: center;
}

    .site-footer__legal a {
        color: var(--paper);
        opacity: .75;
        text-decoration: none;
        font-size: .85rem;
    }

        .site-footer__legal a:hover {
            opacity: 1;
            color: var(--turq);
        }

.site-footer__cookie-btn {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    color: var(--paper);
    opacity: .75;
    font-size: .85rem;
    font-family: inherit;
}

    .site-footer__cookie-btn:hover {
        opacity: 1;
        color: var(--turq);
    }

/* Legal pages */
.legal-page__body {
    max-width: 70ch;
}

    .legal-page__body p {
        margin: 0 0 1rem;
        line-height: 1.7;
    }

    .legal-page__body h2 {
        font-family: var(--font-display);
        margin: 2rem 0 .8rem;
    }

        .legal-page__body h2:first-child {
            margin-top: 0;
        }

    .legal-page__body ul {
        margin: 0 0 1rem;
        padding-left: 1.3rem;
        line-height: 1.7;
    }

    .legal-page__body li {
        margin-bottom: .4rem;
    }

    .legal-page__body a {
        color: var(--turq-deep);
    }

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: var(--navy);
    color: var(--paper);
    box-shadow: 0 -8px 24px -10px rgba(0,0,0,.5);
}

    .cookie-banner[hidden] {
        display: none;
    }

.cookie-banner__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cookie-banner__text {
    flex: 1 1 320px;
}

    .cookie-banner__text strong {
        display: block;
        margin-bottom: .2rem;
    }

    .cookie-banner__text p {
        margin: 0;
        font-size: .9rem;
        opacity: .9;
    }

    .cookie-banner__text a {
        color: var(--turq);
    }

.cookie-banner__actions {
    display: flex;
    gap: .7rem;
    flex-shrink: 0;
}

.btn--ghost-dark {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent);
    color: var(--paper);
}

    .btn--ghost-dark:hover {
        background: color-mix(in srgb, var(--paper) 12%, transparent);
    }

/* Map consent placeholder (shown when maps are blocked) */
.location-card__map {
    position: relative;
}

.map-consent {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    text-align: center;
    padding: 1.2rem;
    background: var(--surface);
    color: var(--ink-soft);
}

    .map-consent[hidden] {
        display: none;
    }

    .map-consent p {
        margin: 0;
        font-size: .9rem;
        max-width: 30ch;
    }

.site-footer a {
    color: var(--turq);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-fab {
    position: fixed;
    right: 1.1rem;
    bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 8px 24px -6px rgba(0,0,0,.4);
    transition: transform .15s ease, background .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fab-icon {
    width: 1.6em;
    height: 1.6em;
    fill: currentColor;
    flex-shrink: 0;
}

.whatsapp-fab:hover {
    transform: scale(1.05);
    background: var(--whatsapp-deep);
}

/* Scroll-to-top button — sits above the WhatsApp FAB, same circular style */
.scroll-top {
    position: fixed;
    right: 1.1rem;
    bottom: calc(1.1rem + 56px + .8rem + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    border: 0;
    cursor: pointer;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,.4);
    transition: transform .15s ease, opacity .25s ease, background .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .scroll-top[hidden] {
        display: none;
    }

.scroll-top__icon {
    width: 1.3em;
    height: 1.3em;
    fill: currentColor;
}

.scroll-top:hover {
    transform: translateY(-2px);
    background: var(--navy-2);
}

/* ---------- Accessibility / motion ---------- */
:focus-visible {
    outline: 3px solid var(--turq);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---- FAQ accordion --------------------------------------------------------- */
.faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.faq__item {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s ease;
}

    .faq__item[open] {
        border-color: var(--turq);
    }

.faq__q {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
    /* Hide the default disclosure triangle across browsers */
    .faq__q::marker,
    .faq__q::-webkit-details-marker {
        display: none;
    }

    .faq__q::after {
        content: "+";
        font-size: 1.4rem;
        color: var(--turq-deep);
        line-height: 1;
        transition: transform .2s ease;
    }

.faq__item[open] .faq__q::after {
    transform: rotate(45deg);
}

.faq__a {
    padding: 0 1.25rem 1.15rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ---- Footer developer credit ---------------------------------------------- */
.site-footer__credit {
    margin: .35rem 0 0;
    font-size: .8rem;
    opacity: .7;
}

    .site-footer__credit a {
        color: inherit;
        text-decoration: underline;
    }

        .site-footer__credit a:hover {
            color: var(--turq);
        }

/* ---- 404 page -------------------------------------------------------------- */
.notfound {
    text-align: center;
    padding: clamp(3rem, 10vw, 7rem) 0;
}

.notfound__inner {
    max-width: 560px;
    margin: 0 auto;
}

.notfound__code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 14vw, 7rem);
    line-height: 1;
    color: var(--turq);
    margin: 0 0 .5rem;
}

.notfound__title {
    font-family: var(--font-display);
    color: var(--navy);
    margin: 0 0 1rem;
}

.notfound__text {
    color: var(--ink-soft);
    font-size: 1.1rem;
    margin: 0 0 2rem;
}

.notfound__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Testimonials source label (Reviews from Google) ---------------------- */
.testimonials__source {
    color: var(--ink-soft);
    font-size: .95rem;
    margin-top: .35rem;
}
