/* ==========================================================================
   Surf Freestyle Morocco — main stylesheet
   Palette, type and photography from the original site, rebuilt as a
   multi-page system. No dark patterns, no layout shift, no third parties.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --primary: #0a4a5c;
    --primary-light: #1a6a7e;
    --primary-dark: #073845;
    --secondary: #2ec4b6;
    --secondary-ink: #10635d;
    --accent: #f4a261;
    --accent-dark: #d9822b;
    --sand: #f5e6d3;
    --sand-light: #faf3e8;
    --cream: #fefcf8;
    --dark: #142c33;
    --text: #1a2e35;
    --text-light: #56707a;
    --line: #e2e8ea;
    --white: #fff;

    --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --shadow-sm: 0 2px 8px rgba(10, 45, 55, 0.06);
    --shadow-soft: 0 14px 40px rgba(10, 45, 55, 0.08);
    --shadow-heavy: 0 28px 70px rgba(10, 45, 55, 0.18);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --shell: 1180px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section-y: clamp(3.5rem, 8vw, 6.5rem);

    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --header-h: 74px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

img { height: auto; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
    color: var(--dark);
    text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--secondary-ink); }

ul, ol { margin: 0 0 1em; padding-left: 1.1em; }
li + li { margin-top: 0.35em; }

strong { font-weight: 600; color: var(--dark); }

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.5rem 0;
}

::selection { background: var(--secondary); color: var(--dark); }

:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 200;
    background: var(--dark);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
    transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. Layout ---------- */
.shell {
    width: min(100% - (2 * var(--gutter)), var(--shell));
    margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--light { background: var(--white); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand-light); }
.section--deep {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.86);
}
.section--deep h1,
.section--deep h2,
.section--deep h3,
.section--deep h4 { color: #fff; }
.section--deep a { color: var(--sand); }

.section-head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
    margin-inline: auto;
    text-align: center;
}
.section-head p {
    color: var(--text-light);
    font-size: 1.08rem;
    margin-bottom: 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--secondary-ink);
    margin-bottom: 0.9rem;
}
.kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.section-head--center .kicker::before { display: none; }

.highlight {
    color: var(--primary-light);
    font-style: italic;
}
.section--deep .highlight { color: var(--sand); }

.lead {
    font-size: clamp(1.06rem, 1.6vw, 1.2rem);
    color: var(--text-light);
}

.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.9rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}
.split--flip .split__media { order: -1; }

.split__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.stack > * + * { margin-top: 1rem; }

/* ---------- 4. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.55rem;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
                box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 74, 92, 0.24);
}
.btn--primary:hover { background: var(--primary-dark); color: #fff; }

.btn--accent {
    background: var(--accent);
    color: #2b1a06;
    box-shadow: 0 10px 24px rgba(217, 130, 43, 0.28);
}
.btn--accent:hover { background: #f7b276; color: #2b1a06; }

.btn--wa {
    background: #128c7e;
    color: #fff;
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.24);
}
.btn--wa:hover { background: #0e7266; color: #fff; }

.btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

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

.btn--block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.text-link svg { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 252, 248, 0.92);
    backdrop-filter: blur(12px) saturate(1.2);
    border-bottom: 1px solid rgba(10, 74, 92, 0.08);
    transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.header.is-scrolled {
    box-shadow: 0 8px 30px rgba(10, 45, 55, 0.08);
    background: rgba(254, 252, 248, 0.98);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.brand span { color: var(--primary-light); }
.brand svg { width: 30px; height: 30px; color: var(--primary); }

.nav {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.6vw, 1.4rem);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(0.35rem, 1.2vw, 1.1rem);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__list > li { margin: 0; }

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.35rem;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    position: relative;
}
.nav__link svg { width: 14px; height: 14px; opacity: 0.7; }
.nav__link::after {
    content: "";
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0.3rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--primary); font-weight: 600; }

/* dropdown */
.nav__item { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 248px;
    padding: 0.55rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-heavy);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dropdown li { margin: 0; }
.dropdown a {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.94rem;
    color: var(--text);
    text-decoration: none;
}
.dropdown a:hover { background: var(--sand-light); color: var(--primary); }
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.lang {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    background: #fff;
}
.lang a {
    padding: 0.28rem 0.6rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 999px;
}
.lang a[aria-current="true"] { background: var(--primary); color: #fff; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--dark);
    cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: clamp(560px, 82vh, 780px);
    padding-block: clamp(4rem, 12vh, 8rem) clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    overflow: hidden;
    background: var(--primary-dark);
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(6, 32, 40, 0.92) 0%, rgba(6, 32, 40, 0.55) 42%, rgba(6, 32, 40, 0.12) 78%),
        linear-gradient(to right, rgba(6, 32, 40, 0.6), rgba(6, 32, 40, 0) 65%);
}
.hero__inner { width: 100%; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 .highlight { color: var(--accent); }
.hero__lead {
    max-width: 56ch;
    font-size: clamp(1.02rem, 1.6vw, 1.22rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
}
.hero .btn-row { margin-bottom: 2.4rem; }

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}
.hero__facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
}
.hero__facts svg { width: 18px; height: 18px; color: var(--secondary); }

/* inner page hero */
.page-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3.2rem, 7vw, 5.5rem) clamp(2.6rem, 6vw, 4.2rem);
    background: var(--primary);
    color: rgba(255, 255, 255, 0.86);
    overflow: hidden;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.42;
}
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(7, 56, 69, 0.94) 12%, rgba(7, 56, 69, 0.72) 55%, rgba(7, 56, 69, 0.5));
}
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { max-width: 62ch; font-size: clamp(1rem, 1.4vw, 1.14rem); }
.page-hero .btn-row { margin-top: 1.8rem; }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.3rem;
    padding: 0;
    list-style: none;
}
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; }
.crumbs a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; opacity: 0.45; }

/* ---------- 7. Cards ---------- */
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(10, 74, 92, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand);
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }

.card__badge {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 44, 51, 0.72);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.card__badge svg { width: 14px; height: 14px; color: var(--secondary); }

.card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.35rem 1.4rem 1.5rem;
    flex: 1;
}
.card__body h3 { margin-bottom: 0.15rem; }
.card__body p {
    color: var(--text-light);
    font-size: 0.96rem;
    margin-bottom: 0;
}
.card__body .text-link { margin-top: auto; padding-top: 1rem; }

.card__price {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
}

/* feature */
.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--sand-light);
    color: var(--primary);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin-bottom: 0.2rem; }
.feature p { font-size: 0.94rem; color: var(--text-light); margin: 0; }

/* stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    overflow: hidden;
}
.stats > div {
    background: var(--primary);
    padding: clamp(1.2rem, 3vw, 1.9rem);
    text-align: center;
}
.stats strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    line-height: 1.1;
}
.stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }

/* ---------- 8. Pricing ---------- */
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.price-table caption {
    caption-side: top;
    text-align: left;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-light);
    padding-bottom: 0.7rem;
}
.price-table th,
.price-table td {
    padding: 0.95rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.price-table thead th {
    background: var(--sand-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #fbfdfd; }
.price-table .group-row td {
    background: var(--sand-light);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}
.price-table .amount {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.price-table .note { font-size: 0.85rem; color: var(--text-light); }

.price-note {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ---------- 9. Quote / review ---------- */
.quote {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(10, 74, 92, 0.08);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.quote__stars { color: var(--accent-dark); letter-spacing: 0.12em; font-size: 0.95rem; }
.quote p { font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.5; color: var(--dark); }
.quote footer { font-size: 0.88rem; color: var(--text-light); margin-top: auto; }

.review-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.2rem);
    background: #fff;
    border: 1px solid rgba(10, 74, 92, 0.08);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 3.5vw, 2.2rem);
    box-shadow: var(--shadow-soft);
}
.review-banner__score {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--sand-light);
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.review-banner__score small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text-light); }

/* ---------- 10. FAQ ---------- */
.faq {
    display: grid;
    gap: 0.75rem;
    max-width: 820px;
}
.faq details {
    background: #fff;
    border: 1px solid rgba(10, 74, 92, 0.1);
    border-radius: 14px;
    padding: 0 1.2rem;
    box-shadow: var(--shadow-sm);
}
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq__answer {
    padding: 0 0 1.15rem;
    color: var(--text-light);
    font-size: 0.97rem;
}
.faq details[open] { box-shadow: var(--shadow-soft); }

/* ---------- 11. Forms ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid rgba(10, 74, 92, 0.08);
    border-radius: 14px;
}
.contact-list svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.contact-list strong { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); font-weight: 700; }
.contact-list a { text-decoration: none; font-weight: 500; color: var(--dark); word-break: break-word; }
.contact-list a:hover { color: var(--secondary-ink); }

.form-card {
    background: #fff;
    border: 1px solid rgba(10, 74, 92, 0.08);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 3.5vw, 2.2rem);
    box-shadow: var(--shadow-soft);
}
.form-card h2, .form-card h3 { margin-bottom: 0.35rem; }
.form-card > p { color: var(--text-light); font-size: 0.94rem; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1rem;
    margin-top: 1.4rem;
}
.field { display: grid; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-light);
}
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    border: 1px solid #cfdadd;
    border-radius: 10px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.22);
}
.form-note { margin-top: 0.85rem; font-size: 0.8rem; color: var(--text-light); }
.form-status { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; color: var(--secondary-ink); }
.form-status[hidden] { display: none; }

/* ---------- 12. CTA band ---------- */
.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.6rem);
    background: var(--primary);
    color: rgba(255, 255, 255, 0.84);
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 1.6rem;
    align-items: center;
}
.cta-band::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.35), transparent 65%);
    z-index: -1;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { margin: 0; max-width: 52ch; }

/* ---------- 13. Footer ---------- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding-block: clamp(2.8rem, 6vw, 4.5rem) 1.6rem;
    font-size: 0.94rem;
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(1.6rem, 4vw, 3rem);
    padding-bottom: 2.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer .brand { color: #fff; font-size: 1.25rem; }
.footer .brand span { color: var(--secondary); }
.footer .brand svg { color: var(--secondary); }
.footer__about { margin-top: 1rem; max-width: 34ch; }
.footer h3 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer li { margin: 0; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.footer__social a:hover { background: var(--secondary); color: var(--dark); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    justify-content: space-between;
    padding-top: 1.4rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- 14. Floating actions ---------- */
.floating {
    position: fixed;
    right: clamp(0.9rem, 2vw, 1.6rem);
    bottom: clamp(0.9rem, 2vw, 1.6rem);
    display: grid;
    gap: 0.6rem;
    z-index: 90;
}
.floating a {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s var(--ease);
}
.floating a:hover { transform: scale(1.08); color: #fff; }
.floating svg { width: 26px; height: 26px; }
.floating .wa { background: #25d366; color: #06301c; }
.floating .ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b 45%, #6228d7); }

/* ---------- 15. Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- 16. Small screens ---------- */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
    .nav,
    .header__actions .btn { display: none; }
    .nav-toggle { display: inline-flex; }

    .nav.is-open {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.8rem var(--gutter) 1.4rem;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-heavy);
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
    }
    .nav.is-open .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav.is-open .nav__link {
        display: flex;
        justify-content: space-between;
        padding: 0.95rem 0.2rem;
        font-size: 1.02rem;
        border-bottom: 1px solid var(--line);
    }
    .nav.is-open .nav__link::after { display: none; }
    .nav.is-open .nav__item { display: block; }
    .nav.is-open .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--sand);
        border-radius: 0;
        padding: 0.2rem 0 0.2rem 0.9rem;
        margin: 0.2rem 0 0.6rem;
        min-width: 0;
    }
    .nav.is-open .header__actions {
        display: flex;
        justify-content: space-between;
        padding-top: 1rem;
    }
    .nav.is-open .header__actions .btn { display: inline-flex; }

    .header__actions .lang { display: flex; }
}

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--flip .split__media { order: 0; }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .review-banner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 680px) {
    :root { --header-h: 66px; }
    body { font-size: 1rem; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .hero { min-height: 0; padding-block: 5.5rem 2.6rem; }
    .hero h1 { max-width: none; }
    .hero__facts { font-size: 0.82rem; gap: 0.45rem 1rem; }
    .footer__grid { grid-template-columns: 1fr; }
    .price-table { display: block; overflow-x: auto; white-space: nowrap; }
    .price-table th, .price-table td { padding: 0.8rem 0.85rem; }
    .floating a { width: 48px; height: 48px; }
    .floating svg { width: 24px; height: 24px; }
    .card__body { padding: 1.2rem; }
}

@media print {
    .header, .floating, .footer__social, .cta-band, .form-card { display: none !important; }
    body { background: #fff; }
    a { color: inherit; text-decoration: none; }
    .section { padding-block: 1rem; }
}
