@font-face {
    font-family: "Fraunces";
    src: url("/assets/fonts/fraunces-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("/assets/fonts/fraunces-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/assets/fonts/source-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/assets/fonts/source-sans-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Maritime hospitality: warm sand first, soft sea accents — inviting, not icy */
    --bg: #F6F0E6;
    --bg-deep: #EBE3D4;
    --sand: #FBF7F0;
    --surface: #FFFCF7;
    --surface-soft: rgb(255 252 247 / 88%);
    --text: #2A3436;
    --heading: #1E5558;
    --link: #2A7F78;
    --cta: #2A7F78;
    --cta-text: #FFFFFF;
    --accent: #6BA8B0;
    --line: rgb(30 85 88 / 13%);
    --header: rgb(246 240 230 / 94%);
    --footer: #1A4548;
    --footer-text: #F6F0E6;
    --focus: #1A4F55;
    --shadow: 0 14px 40px rgb(26 79 85 / 12%);
    --shadow-soft: 0 5px 18px rgb(26 79 85 / 8%);
    --wa: #25D366;
    --wa-text: #FFFFFF;
    --header-h: 4.25rem;
    --radius: 1.05rem;
    /* Fraunces = soft editorial serif (coastal); Source Sans 3 = clear body on phones */
    --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --font-body: "Source Sans 3", "Avenir Next", "Segoe UI", Candara, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] {
        --bg: #12262C;
        --bg-deep: #0D1C21;
        --sand: #1A3036;
        --surface: #1A333A;
        --surface-soft: rgb(26 51 58 / 88%);
        --text: #E8F2F0;
        --heading: #F3F7F5;
        --link: #8FD0C8;
        --cta: #3FA89C;
        --cta-text: #06201E;
        --accent: #6FB8C0;
        --line: rgb(232 242 240 / 14%);
        --header: rgb(18 38 44 / 94%);
        --footer: #0B181C;
        --footer-text: #E8F2F0;
        --focus: #E8F2F0;
        --shadow: 0 14px 40px rgb(0 0 0 / 38%);
        --shadow-soft: 0 5px 18px rgb(0 0 0 / 28%);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #12262C;
    --bg-deep: #0D1C21;
    --sand: #1A3036;
    --surface: #1A333A;
    --surface-soft: rgb(26 51 58 / 88%);
    --text: #E8F2F0;
    --heading: #F3F7F5;
    --link: #8FD0C8;
    --cta: #3FA89C;
    --cta-text: #06201E;
    --accent: #6FB8C0;
    --line: rgb(232 242 240 / 14%);
    --header: rgb(18 38 44 / 94%);
    --footer: #0B181C;
    --footer-text: #E8F2F0;
    --focus: #E8F2F0;
    --shadow: 0 14px 40px rgb(0 0 0 / 38%);
    --shadow-soft: 0 5px 18px rgb(0 0 0 / 28%);
    color-scheme: dark;
}

:root[data-theme="light"] {
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 8.5rem;
}

body {
    margin: 0;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.65;
    text-align: center;
    background:
        radial-gradient(1100px 500px at 10% -12%, rgb(255 252 245 / 95%), transparent 58%),
        radial-gradient(820px 380px at 95% 0%, rgb(107 168 176 / 16%), transparent 48%),
        radial-gradient(640px 340px at 50% 110%, rgb(232 244 242 / 35%), transparent 55%),
        linear-gradient(180deg, var(--sand) 0%, var(--bg) 48%, var(--bg-deep) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); }

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

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

.skip {
    position: absolute;
    left: 0.75rem;
    top: -4rem;
    z-index: 80;
    background: var(--surface);
    color: var(--heading);
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    text-decoration: none;
    text-align: left;
    box-shadow: var(--shadow-soft);
}

.skip:focus { top: 0.75rem; }

.wrap {
    width: min(1120px, calc(100% - 1.5rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--header);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
    .site-header { backdrop-filter: blur(16px) saturate(1.08); }
}

.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

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

.brand {
    display: flex;
    line-height: 0;
    flex-shrink: 0;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgb(26 79 85 / 14%);
}

.site-title {
    margin: 0;
    padding: 0 1rem 0.55rem;
    text-align: center;
    color: var(--heading);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 4.2vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.15rem;
    margin: 0;
    padding: 0 1rem 0.85rem;
}

.site-nav a {
    color: var(--heading);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.3rem 0.05rem;
}

.site-nav a[aria-current="true"] {
    box-shadow: inset 0 -2px 0 var(--cta);
}

.header-tools {
    display: flex;
    gap: 0.4rem;
    margin-left: auto;
    flex-shrink: 0;
}

.tool-button,
.nav-toggle,
.disclosure-panel button,
.carousel-arrow,
.carousel-pause,
.carousel-dialog-close {
    font-family: var(--font-body);
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--line);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.tool-button,
.nav-toggle,
.carousel-arrow,
.carousel-pause,
.carousel-dialog-close {
    min-width: 2.75rem;
    min-height: 2.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
}

.nav-toggle { display: none; padding: 0; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

.disclosure { position: relative; }

.disclosure-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    z-index: 50;
    min-width: 12.5rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.disclosure-panel[hidden] { display: none; }

.disclosure-panel a,
.disclosure-panel button {
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0.55rem;
    color: var(--heading);
    padding: 0.65rem 0.75rem;
    min-height: 2.75rem;
}

.disclosure-panel a[aria-current="true"],
.disclosure-panel button[aria-checked="true"] {
    background: var(--bg);
    font-weight: 650;
}

.carousel {
    position: relative;
    background:
        linear-gradient(180deg, rgb(31 122 114 / 6%), transparent 45%),
        var(--bg-deep);
    padding: 0.85rem 0 0;
}

.carousel-viewport {
    width: min(100%, 52rem);
    margin-inline: auto;
    overflow: hidden;
    border-radius: 0;
}

.carousel-track {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    aspect-ratio: 16 / 9;
    background: var(--surface);
}

.carousel-open {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.carousel-open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem 1.1rem;
}

.carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.carousel-dots button {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(26 79 85 / 28%);
    color: transparent;
    font-size: 0;
    cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
    width: 1.35rem;
    background: var(--cta);
}

.carousel-dialog {
    border: 0;
    padding: 0;
    max-width: min(1100px, calc(100vw - 2rem));
    background: transparent;
}

.carousel-dialog::backdrop {
    background: rgb(10 28 32 / 78%);
}

.carousel-dialog img {
    width: 100%;
    height: auto;
    border-radius: 0.6rem;
    box-shadow: var(--shadow);
}

.carousel-dialog-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 2;
}

.intro {
    padding: clamp(1.8rem, 5vw, 3.2rem) 0 clamp(1.3rem, 3vw, 2rem);
}

.eyebrow {
    margin: 0 auto;
    color: var(--link);
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

h1, h2, h3 {
    color: var(--heading);
    font-family: var(--font-display);
    line-height: 1.18;
    font-weight: 600;
}

.lead {
    margin: 0.7rem auto 0;
    max-width: 34rem;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.4vw, 1.5rem);
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: var(--cta);
    color: var(--cta-text);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: 0 10px 24px rgb(31 122 114 / 28%);
}

.button-secondary {
    background: var(--surface-soft);
    color: var(--heading);
    box-shadow: inset 0 0 0 1.5px var(--heading), var(--shadow-soft);
}

.button:hover { filter: brightness(1.05); }

.emoji-icon {
    display: inline-block;
    line-height: 1;
    font-style: normal;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.button .emoji-icon { font-size: 1.15rem; }

.block { padding: clamp(1.5rem, 4vw, 2.8rem) 0; }

.block h2,
.legal h1 {
    margin: 0 auto 1rem;
    max-width: 22ch;
    font-size: clamp(1.65rem, 3.4vw, 2.3rem);
}

.prose {
    max-width: 40rem;
    margin-inline: auto;
}

.prose p { margin: 0 0 1rem; }
.prose ul {
    margin: 0 auto 1rem;
    padding-left: 1.2rem;
    text-align: left;
    display: inline-block;
}
.prose li { margin: 0.35rem 0; }
.prose h2 { margin-top: 1.6rem; }

.split {
    display: grid;
    gap: 1.8rem;
}

.services-split { align-items: stretch; }

.service-col {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-col h2 { max-width: none; }

.feature-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
    text-align: left;
}

.feature-list li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
    align-items: start;
    flex: 1;
    background:
        linear-gradient(165deg, var(--surface), var(--surface-soft));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.95rem 1rem;
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.1rem;
    font-size: 1.35rem;
    line-height: 1;
}

.feature-icon svg,
.nav-toggle svg,
.theme-icon svg,
.carousel-arrow svg,
.carousel-pause svg { display: block; }

.feature-body { display: block; margin-top: 0.25rem; }

.quiet {
    max-width: 36rem;
    margin: 0.4rem auto 0;
}

.address {
    font-size: 1.25rem;
    margin: 0 auto 0.4rem;
    max-width: 28rem;
}

.legal {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
    text-align: left;
}

.legal .prose { text-align: left; }

.site-footer {
    background:
        radial-gradient(700px 280px at 80% 0%, rgb(91 164 174 / 18%), transparent),
        var(--footer);
    color: var(--footer-text);
    padding: clamp(2.4rem, 5vw, 4rem) 0;
}

.site-footer a { color: var(--footer-text); }

.footer-top {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
}

.site-footer h2 {
    color: var(--footer-text);
    margin: 0 0 0.55rem;
    font-size: clamp(1.45rem, 3vw, 1.75rem);
}

.footer-name {
    margin: 0 0 1.25rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.footer-legal {
    margin: 0 auto 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    text-align: center;
}

.footer-legal div { margin: 0; }

.footer-legal dt {
    margin: 0 0 0.15rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
}

.footer-legal dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.footer-channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1.35rem;
}

.footer-channels a {
    text-decoration: none;
    border-bottom: 1px solid rgb(246 240 230 / 35%);
    padding-bottom: 0.1rem;
}

.footer-channels a:hover { border-bottom-color: currentColor; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    justify-content: center;
    margin: 0 0 0.75rem;
}
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgb(246 240 230 / 18%);
    text-align: center;
}
.footer-year {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: max(0.9rem, env(safe-area-inset-right));
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    z-index: 35;
    width: 3.45rem;
    height: 3.45rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wa);
    color: var(--wa-text);
    text-decoration: none;
    box-shadow: 0 10px 28px rgb(37 211 102 / 42%);
}

.whatsapp-float svg {
    display: block;
    width: 1.7rem;
    height: 1.7rem;
}

.whatsapp-float:hover { filter: brightness(1.05); }

body.nav-open .whatsapp-float { visibility: hidden; }

@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
    .wrap { width: min(1120px, calc(100% - 2rem)); }
    .carousel {
        padding: 1.1rem 1rem 0;
    }
    .carousel-viewport {
        width: min(100%, 48rem);
        border-radius: var(--radius);
        box-shadow: var(--shadow-soft);
    }
    .carousel-slide {
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 899px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: fixed;
        z-index: 30;
        inset: 0 0 0 0;
        top: calc(var(--header-h) + 3.2rem);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.3rem;
        margin: 0;
        padding: 1.2rem 1.25rem 2rem;
        background: var(--bg);
        overflow: auto;
        text-align: left;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { font-size: 1.25rem; padding: 0.7rem 0; }
    body.nav-open { overflow: hidden; }
    .carousel {
        padding-top: 0.35rem;
    }
    .carousel-viewport {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    .carousel-slide { aspect-ratio: 4 / 3; }
    .feature-list li { grid-template-columns: 2.1rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .carousel-track { scroll-behavior: auto; }
}

@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        transition: opacity 220ms ease, transform 220ms ease;
    }
    .js .reveal:not(.is-visible) {
        opacity: 0;
        transform: translateY(10px);
    }
    .whatsapp-float {
        transition: transform 180ms ease, filter 180ms ease;
    }
    .whatsapp-float:hover { transform: translateY(-2px); }
}

/* —— Meteo —— */
.weather-meta {
    margin: 0 0 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--heading);
    opacity: 0.85;
}

.weather-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(7.5rem, 1fr);
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.35rem 0.15rem 0.85rem;
    -webkit-overflow-scrolling: touch;
}

.weather-day {
    scroll-snap-align: start;
    background: linear-gradient(180deg, var(--surface), var(--sand));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 0.95rem 0.7rem 1rem;
    text-align: center;
    min-width: 7.5rem;
}

.weather-weekday {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--heading);
    text-transform: capitalize;
}

.weather-icon {
    margin: 0.55rem 0 0.35rem;
    color: var(--accent);
}

.weather-icon svg { margin-inline: auto; display: block; }

.weather-temps {
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.weather-max { color: var(--heading); }
.weather-min { color: var(--text); opacity: 0.7; }

.weather-rain,
.weather-wind {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
}

.weather-attribution {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* —— Mappa —— */
.map-frame {
    position: relative;
    margin-top: 1rem;
    aspect-ratio: 16 / 10;
    min-height: 16rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 30% 20%, rgb(107 168 176 / 22%), transparent 45%),
        linear-gradient(160deg, var(--sand), var(--bg-deep));
    box-shadow: var(--shadow-soft);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.25rem;
    text-align: center;
}

.map-pin { font-size: 1.8rem; line-height: 1; }
.map-address {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    color: var(--heading);
    max-width: 28ch;
}
.map-note {
    margin: 0;
    max-width: 42ch;
    font-size: 0.92rem;
    opacity: 0.85;
}
.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 0.4rem;
}

.map-frame.is-loaded .map-placeholder { display: none; }

/* —— Cookie banner —— */
.cookie-root[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    z-index: 70;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: 52rem;
    margin-inline: auto;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem 1.1rem;
}

.cookie-banner-inner {
    display: grid;
    gap: 0.9rem;
}

.cookie-copy h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.cookie-copy p { margin: 0; font-size: 0.98rem; }

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.cookie-x {
    margin-left: auto;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--sand);
    color: var(--heading);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-dialog {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
    max-width: min(28rem, calc(100vw - 2rem));
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}

.cookie-dialog::backdrop {
    background: rgb(15 28 37 / 45%);
}

.cookie-dialog-inner {
    margin: 0;
    padding: 1.2rem 1.25rem 1.35rem;
    display: grid;
    gap: 0.9rem;
}

.cookie-dialog-inner h2 {
    margin: 0;
    font-size: 1.25rem;
}

.cookie-category {
    margin: 0;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) - 0.2rem);
    background: var(--sand);
}

.cookie-category legend {
    padding: 0 0.35rem;
    font-weight: 600;
    color: var(--heading);
}

.cookie-category p {
    margin: 0.2rem 0 0.65rem;
    font-size: 0.92rem;
}

.cookie-switch {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    font-family: var(--font-body);
}

.cookie-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-pref {
    appearance: none;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

body.cookie-open .whatsapp-float { bottom: 7.5rem; }

@media (min-width: 700px) {
    .cookie-banner-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (max-width: 699px) {
    .map-frame { aspect-ratio: 4 / 3; }
    .cookie-x { margin-left: 0; }
}
