/* Ottanelli — stili condivisi */
:root {
    --paper: #f7f2ea;
    --paper-2: #efe7db;
    --ink: #1e353c;
    --teal: #27414a;
    --muted: #5c6e74;
    --line: rgba(39, 65, 74, .14);
    --accent: #c17a4a;
    --accent-dark: #a35f35;
    --white: #fffcf7;
    --shadow: 0 24px 60px rgba(30, 53, 60, .12);
    --radius: 22px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: "Clash Display", sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font-family: inherit;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.serif {
    font-family: "Newsreader", Georgia, serif;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
}

h1, h2, .display {
    font-family: "Clash Display", sans-serif;
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    transition: .25s ease;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: #1a2f36;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--teal);
    padding-inline: 6px;
}

.btn-ghost:hover {
    gap: 14px;
}

.btn-light {
    background: var(--white);
    color: var(--teal);
}

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

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #f7f2ea;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    border-bottom-color: var(--line);
    background: #f7f2ea;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.logo img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--teal);
}

.nav-links a.is-active {
    color: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta .phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--teal);
    color: var(--white);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    transition: .25s ease;
}

.nav-cta .phone:hover {
    background: #1a2f36;
    transform: translateY(-1px);
}

.nav-cta .phone svg,
.nav-cta .phone i {
    width: auto;
    height: auto;
    font-size: 14px;
    flex-shrink: 0;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--teal);
    margin: 4px auto;
}


/* Contact */
.contact {
    padding: 0 0 96px;
}

.contact-box {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    background: var(--teal);
    color: var(--paper);
    border-radius: 36px;
    overflow: hidden;
}

.contact-copy {
    padding: 56px;
}

.contact-copy h2 {
    font-size: clamp(34px, 4vw, 52px);
    margin: 12px 0 16px;
}

.contact-copy p {
    color: rgba(247, 242, 234, .8);
    margin-bottom: 28px;
}

.contact-copy a {
    display: block;
    margin: 6px 0;
}

form {
    background: var(--white);
    color: var(--ink);
    padding: 40px;
}

.form-section-title {
    font-family: "Clash Display", sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0 0 12px;
}
.intents {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.intents label {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
}

.intents input {
    display: none;
}

.intents input:checked + span,
.intents label:has(input:checked) {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fields .full {
    grid-column: 1 / -1;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--ink);
    outline: none;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.privacy {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 12px 0 18px;
}

.form-ok {
    display: none;
    padding: 24px;
    background: var(--paper-2);
    border-radius: 16px;
    margin-top: 14px;
}

.form-err {
    display: none;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8e8e4;
    color: #8a3b2a;
    font-size: 14px;
    line-height: 1.4;
}

.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Entrance reveals */
.reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .75s cubic-bezier(.22, 1, .36, 1),
    transform .75s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal--left {
    transform: translate3d(-36px, 0, 0);
}

.reveal--right {
    transform: translate3d(36px, 12px, 0);
}

.reveal--up {
    transform: translate3d(0, 40px, 0);
}

.reveal--soft {
    transform: translate3d(0, 18px, 0);
}

.reveal--scale {
    transform: translate3d(0, 20px, 0) scale(.96);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.hero .reveal {
    transition-duration: .85s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

footer {
    background: #27414a;
    color: #fff;
    padding: 0;
    font-size: 15px;
    border-top: 0;
}

.foot-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding: 72px 0 40px;
    align-items: start;
}

.foot-brand .foot-logo {
    height: auto;
    width: min(280px, 100%);
    margin-bottom: 22px;
    display: block;
}

.foot-brand p {
    line-height: 1.85;
    letter-spacing: .04em;
    font-weight: 300;
    margin: 0;
    color: rgba(255, 255, 255, .92);
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 10px;
}

.foot-col a {
    color: #fff;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 400;
}

.foot-col a:hover {
    color: #e2b089;
}

.foot-meta {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px 32px;
    align-items: center;
    padding: 28px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.foot-badges {
    display: flex;
    align-items: center;
    gap: 14px;
}

.foot-badges img {
    height: 64px;
    width: auto;
    display: block;
}

.foot-badges img.realtor {
    height: 68px;
}

.foot-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.foot-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 13px;
    letter-spacing: .03em;
    transition: .2s ease;
    white-space: nowrap;
}

.foot-contacts a:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(226, 176, 137, .55);
    color: #e2b089;
}

.foot-contacts svg,
.foot-contacts i {
    width: auto;
    height: auto;
    font-size: 13px;
    flex-shrink: 0;
}

.foot-social {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.foot-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    display: grid;
    place-items: center;
    transition: .2s ease;
}

.foot-social a:hover {
    background: #e2b089;
    border-color: #e2b089;
    color: #27414a;
    transform: translateY(-2px);
}

.foot-social svg,
.foot-social i {
    font-size: 18px;
    line-height: 1;
}

.sub-footer {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
    letter-spacing: .02em;
}

.sub-footer a {
    color: #fff;
    font-weight: 600;
}

.sub-footer a:hover {
    color: #e2b089;
}

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(20, 40, 30, .28);
    transition: .25s ease;
}

.wa-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 34px rgba(20, 40, 30, .34);
}

.wa-float svg,
.wa-float i {
    font-size: 30px;
    line-height: 1;
}


/* Mobile condiviso */
@media (max-width: 980px) {
    .wrap {
        width: min(var(--max), calc(100% - 32px));
    }

    .quote-photo img,
    .enzo-photo img,
    .contact-portrait-frame img {
        width: 100%;
        max-width: 100%;
    }

    .foot-contacts a {
        white-space: normal;
        max-width: 100%;
    }

    .nav-links, .nav-cta .phone {
        display: none;
    }

    .burger {
        display: block;
    }

    .contact-box, .fields {
        grid-template-columns: 1fr;
    }

    .contact-copy, form {
        padding: 40px 24px 28px;
    }

    .foot-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0 28px;
    }

    .foot-meta {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 18px;
    }

    .foot-social {
        justify-content: flex-start;
    }

    header.open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 20px 24px 32px;
        border-bottom: 1px solid var(--line);
        align-items: flex-start;
        z-index: 50;
        box-shadow: 0 18px 40px rgba(30, 53, 60, .08);
    }
}


/* Ottanelli — stile generale */
/* Ottanelli — pagina Agenzia */
/* Page hero */
.page-hero {
    position: relative;
    padding: 48px 0 40px;
    overflow: hidden;
    background: radial-gradient(ellipse 70% 80% at 88% 40%, rgba(193, 122, 74, .14), transparent 55%),
    linear-gradient(180deg, #f3ebe0 0%, var(--paper) 55%, var(--paper) 100%);
}

.page-hero .wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
    align-items: center;
    max-width: var(--max);
}

.page-hero-copy {
    max-width: 560px;
}

.page-hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    margin: 18px 0 20px;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 400;
}

.page-hero .lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 48ch;
    font-weight: 400;
}

.page-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.page-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: clamp(340px, 48vw, 560px);
    pointer-events: none;
}

.page-hero-visual img {
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 48px rgba(30, 53, 60, .22));
    animation: duomoFloat 8s ease-in-out infinite;
    transform-origin: 50% 90%;
}

@keyframes duomoFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -14px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero-visual img {
        animation: none;
    }
}

/* Story */
.agency-story {
    padding: 24px 0 96px;
}

.story-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: start;
}

.story-layout > * {
    min-width: 0;
}

.story-copy p {
    font-size: 18px;
    color: var(--muted);
    max-width: 58ch;
    margin-bottom: 22px;
    line-height: 1.65;
}

.story-copy.home p {
    color: rgba(255, 255, 255, .82) !important;
}

.story-copy p strong {
    color: var(--ink);
    font-weight: 500;
}

.story-aside {
    position: sticky;
    top: 110px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
}

.story-aside .aside-label {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.story-aside h3 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -.03em;
    margin-bottom: 14px;
}

.story-aside p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 22px;
}

.aside-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.aside-meta div b {
    display: block;
    font-size: 20px;
    font-weight: 500;
}

.aside-meta div span {
    font-size: 13px;
    color: var(--muted);
}

/* Quote / Enzo */
.agency-quote {
    background: var(--teal);
    color: var(--paper);
    padding: 120px 0 96px;
    overflow-x: hidden;
}

.quote-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: end;
}

.quote-photo {
    position: relative;
    border-radius: 220px 28px 28px 28px;
    min-height: 480px;
    background: linear-gradient(180deg, #335660, #1a2f36);
    overflow: hidden;
}

.quote-photo img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 122%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28));
    pointer-events: none;
}

.agency-quote .eyebrow {
    color: #e2b089;
}

.agency-quote blockquote {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.35;
    margin: 18px 0 28px;
}

.quote-sign {
    margin-top: 8px;
}

.quote-sign strong {
    display: block;
    font-size: 18px;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.quote-sign span {
    display: block;
    color: rgba(247, 242, 234, .72);
    font-size: 15px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.chip {
    border: 1px solid rgba(247, 242, 234, .22);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Promise band */
.promise {
    padding: 80px 0;
}

.promise-box {
    background: linear-gradient(120deg, rgba(30, 53, 60, .88), rgba(39, 65, 74, .72)),
    url("../assets/interior.png") center / cover no-repeat;
    border-radius: 36px;
    padding: 64px 56px;
    color: var(--paper);
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 32px;
    align-items: center;
}

.promise-box h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    margin: 12px 0 14px;
    max-width: 18ch;
}

.promise-box p {
    color: rgba(247, 242, 234, .82);
    max-width: 48ch;
    font-size: 17px;
}

.promise-box .eyebrow {
    color: #e2b089;
}


@media (max-width: 960px) {
    .page-hero .wrap,
    .story-layout,
    .quote-grid,
    .promise-box,
    .promise-box.firenze {
        grid-template-columns: 1fr;
    }

    .page-hero-visual {
        min-height: 280px;
        order: -1;
        margin: 0 auto -12px;
    }

    .page-hero-visual img {
        width: min(72%, 340px);
    }

    .story-aside {
        position: static;
    }

    .quote-photo {
        min-height: 380px;
        border-radius: 28px;
    }

    .quote-photo img {
        width: 100%;
        max-width: 100%;
    }

    .promise-box,
    .promise-box.firenze {
        padding: 40px 24px 28px;
        gap: 20px;
    }
}

/* Ottanelli — homepage */
/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0 28px;
}

.hero h1 {
    font-size: clamp(42px, 5.6vw, 76px);
    margin: 18px 0 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 400;
}

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 52ch;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.hero-meta b {
    display: block;
    font-size: 22px;
    font-family: "Clash Display", sans-serif;
    font-weight: 500;
}

.hero-meta span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    align-self: center;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 0;
    max-height: 620px;
    border-radius: 28px;
    overflow: hidden;
    background: #1a2f36;
}

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

/* Enzo */
.enzo {
    background: var(--teal);
    color: var(--paper);
    padding: 120px 0 96px;
    overflow-x: hidden;
}

.enzo-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: end;
}

.enzo-photo {
    position: relative;
    border-radius: 220px 28px 28px 28px;
    min-height: 480px;
    background: linear-gradient(180deg, #335660, #1a2f36);
    overflow: hidden;
}

.enzo-photo img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 122%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28));
    pointer-events: none;
}

.enzo .eyebrow {
    color: #e2b089;
}

.enzo h2 {
    font-size: clamp(34px, 4vw, 54px);
    margin: 14px 0 22px;
}

.enzo blockquote {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.35;
    margin: 28px 0;
}

.enzo p {
    color: rgba(247, 242, 234, .82);
    max-width: 58ch;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.chip {
    border: 1px solid rgba(247, 242, 234, .22);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Programma */
.programma {
    padding: 96px 0;
}

.sec-head {
    max-width: 720px;
    margin-bottom: 42px;
}

.sec-head h2 {
    font-size: clamp(34px, 4.4vw, 56px);
    margin: 12px 0 16px;
}

.sec-head p {
    color: var(--muted);
    font-size: 18px;
}

.programma .sec-head {
    max-width: 760px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    border: 1px solid var(--line);
}

.icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, #efe7db, #f7f2ea);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--teal);
}

.icon i {
    font-size: 20px;
    line-height: 1;
}

.service:hover .icon {
    color: var(--accent);
    border-color: rgba(193, 122, 74, .28);
    background: linear-gradient(145deg, #f3e4d6, #faf6f0);
}

.service h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.service p {
    color: var(--muted);
    font-size: 15px;
}

/* Stories */
.stories {
    padding: 0 0 96px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 16px;
}

.story {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 420px;
    color: var(--white);
}

.story img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(20, 32, 36, .82));
}

/* Overlay testo sulle card "Trattative concluse" (homepage) */
.story .story-copy {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.story .story-copy span {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e2b089;
}

.story .story-copy h3 {
    font-family: "Clash Display", sans-serif;
    font-size: 28px;
    font-weight: 500;
    margin: 8px 0 10px;
    letter-spacing: -.03em;
}

.story .story-copy p {
    font-size: 15px;
}

/* Reviews */
.reviews {
    padding: 0 0 96px;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--line);
}

.review q {
    font-family: "Newsreader", serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.35;
    display: block;
    margin-bottom: 22px;
}

.review b {
    display: block;
}

.review span {
    color: var(--muted);
    font-size: 13px;
}


/* Valutazione a step */
.valutazione {
    position: relative;
    background: var(--teal);
    color: var(--paper);
    padding: 96px 0;
    overflow: hidden;
}

.valutazione::before {
    content: "";
    position: absolute;
    right: -4%;
    bottom: -12%;
    width: min(480px, 55vw);
    aspect-ratio: 4 / 3;
    background: url("../assets/programma-casa.png?v=2") center / contain no-repeat;
    opacity: .28;
    pointer-events: none;
    animation: valFloat 9s ease-in-out infinite;
    transform-origin: center;
}

@keyframes valFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-6deg) scale(1);
    }
    50% {
        transform: translate3d(-18px, -22px, 0) rotate(-2deg) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .valutazione::before,
    .val-mark img {
        animation: none;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.valutazione .wrap {
    position: relative;
    z-index: 1;
}

.valutazione .sec-head {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 42px;
}

.valutazione .sec-head .eyebrow {
    justify-content: center;
    color: #e2b089;
}

.valutazione .sec-head h2 {
    color: var(--paper);
}

.valutazione .sec-head p {
    color: rgba(247, 242, 234, .78);
}

.val-box {
    position: relative;
    background: var(--white);
    color: var(--ink);
    border-radius: 36px;
    padding: 56px 48px 48px;
    max-width: 760px;
    margin-inline: auto;
    box-shadow: var(--shadow);
}

.val-mark {
    position: absolute;
    left: 18px;
    top: -34px;
    width: 84px;
    height: 64px;
    display: grid;
    place-items: center;
    background: transparent;
    pointer-events: none;
}

.val-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .28));
    animation: valMarkFloat 5.5s ease-in-out infinite;
}

@keyframes valMarkFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


.val-progress {
    display: flex;
    gap: 8px;
    margin: 18px 0 28px;
}

.val-progress span {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: var(--paper-2);
    transition: background .25s ease;
}

.val-progress span.on {
    background: var(--accent);
}

.val-step-label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.val-box h3 {
    font-family: "Clash Display", sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 22px;
}

.val-step {
    display: none;
}

.val-step.active {
    display: block;
}

.val-choices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.val-choices label {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: .2s ease;
    background: var(--paper);
}

.val-choices input {
    display: none;
}

.val-choices label:has(input:checked) {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.val-choices label:hover {
    border-color: var(--teal);
}

.val-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.val-fields .full {
    grid-column: 1 / -1;
}

.val-fields label.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}

.val-fields select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6e74' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.val-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.val-nav .btn-ghost {
    color: var(--muted);
}

.val-nav .btn-primary {
    background: var(--accent);
    margin-left: auto;
}

.val-nav .btn-primary:hover {
    background: var(--accent-dark);
}

.val-nav .btn[hidden] {
    display: none !important;
}

.val-done {
    display: none;
    text-align: center;
    padding: 24px 8px;
}

.val-done h3 {
    margin-bottom: 12px;
}

.val-done p {
    color: var(--muted);
    max-width: 42ch;
    margin-inline: auto;
}

.val-done .btn-primary {
    background: var(--accent);
}

.val-done .btn-primary:hover {
    background: var(--accent-dark);
}


@media (max-width: 980px) {
    .hero, .enzo-grid, .staging-box, .story-grid, .service-grid, .path-grid, .review-grid, .val-fields, .val-choices {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 24px;
        gap: 20px;
    }

    .hero-visual {
        min-height: 0;
        aspect-ratio: 16 / 10;
        max-height: none;
    }

    .enzo-photo {
        min-height: 380px;
        border-radius: 28px;
    }

    .enzo-photo img {
        width: 100%;
        max-width: 100%;
    }

    .staging-box, .val-box {
        padding: 40px 24px 28px;
    }

    .val-mark {
        width: 68px;
        height: 52px;
        left: 14px;
        top: -26px;
    }

    .valutazione::before {
        width: min(320px, 72vw);
        opacity: .2;
    }
}

/* Modifiche limitate a Home Staging e Contatti. */
.section-photo {
    margin: 0;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden;
    background: var(--paper-2);
}

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

.hs-story .story-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 56px;
    align-items: center;
}

.hs-story .story-copy {
    min-width: 0;
}

.hs-story-photo {
    aspect-ratio: 4 / 5;
}

/*
.contacts-hero { background: var(--teal); color: var(--paper); padding: 64px 0 56px; overflow-x: hidden; }
.contacts-hero .wrap { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 72px; align-items: center; }
.contacts-hero .page-hero-copy { min-width: 0; max-width: none; }
.contacts-hero h1 { font-size: clamp(44px,5.7vw,76px); }
.contacts-hero h1 em, .contacts-hero .eyebrow { color: #e2b089; }
.contacts-hero .lead { color: rgba(247,242,234,.82); }
.contacts-hero .contact-person-label { margin-top: 28px; }
.contacts-hero .contact-person-description { font-size: 16px; margin-top: 12px; }
.contacts-hero .btn-primary { background: var(--white); color: var(--teal); }
.contact-portrait { min-width: 0; padding-top: 96px; }
*/
.contact-portrait-frame {
    position: relative;
    width: 100%;
    min-height: 420px;
    border-radius: 220px 28px 28px 28px;
    background: linear-gradient(180deg, #335660, #1a2f36);
    overflow: hidden;
    transform: translateY(40px);
}

.contact-portrait-frame img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28));
}

.contact-static-photo {
    aspect-ratio: 1;
}

.contacts-intro .staging-box h3 {
    font-size: 23px;
    margin: 24px 0 10px;
}

.contacts-intro .staging-box p {
    line-height: 1.65;
    color: var(--muted);
}

.contacts-intro .staging-box .lead {
    margin-bottom: 20px;
    font-size: 18px;
}

@media (max-width: 980px) {
    .hs-story .story-layout, .contacts-hero .wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hs-story-photo {
        aspect-ratio: 4 / 3;
    }

    .contacts-hero {
        padding: 44px 0;
    }

    .contact-portrait {
        width: min(100%, 480px);
        margin: 0 auto;
        padding-top: 80px;
    }

    .contact-portrait-frame {
        min-height: 400px;
    }
}

@media (max-width: 600px) {
    .hs-story {
        padding-bottom: 48px;
    }

    .contact-portrait {
        width: min(100%, 350px);
        padding-top: 70px;
    }

    .contact-portrait-frame {
        min-height: 320px;
        border-radius: 160px 24px 24px 24px;
    }

    .contact-portrait-frame img {
        width: 100%;
        max-width: 100%;
    }
}

/* Ottanelli — pagina Programma Casa */
/* Hero */
.page-hero {
    position: relative;
    padding: 56px 0 48px;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 70% at 90% 30%, rgba(193, 122, 74, .12), transparent 55%),
    linear-gradient(180deg, #f3ebe0 0%, var(--paper) 60%);
}

.page-hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(42px, 6.2vw, 78px);
    margin: 16px 0 20px;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 400;
}

.page-hero .lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 48ch;
    margin-bottom: 14px;
}

.page-hero .lead + .lead {
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.page-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    pointer-events: none;
}

.page-hero-visual img {
    width: min(100%, 420px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 40px rgba(30, 53, 60, .2));
    animation: markFloat 7s ease-in-out infinite;
    border-radius: 24px;
}

@keyframes markFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(-4deg);
    }
    50% {
        transform: translate3d(-8px, -16px, 0) rotate(0deg);
    }
}

/* Intro band */
.intro-band {
    padding: 0 0 72px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.intro-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
}

.intro-item .n {
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--accent);
    text-transform: uppercase;
}

.intro-item h3 {
    font-size: 24px;
    margin: 12px 0 10px;
}

.intro-item p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

/* Services detail */
.services-detail {
    padding: 24px 0 40px;
}

.sec-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.sec-head h2 {
    font-size: clamp(34px, 4.4vw, 56px);
    margin: 12px 0 16px;
}

.sec-head p {
    color: var(--muted);
    font-size: 15px;
}

.service-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 48px 0;
    border-top: 1px solid var(--line);
    align-items: start;
}

.service-block:last-child {
    border-bottom: 1px solid var(--line);
}

.service-head .icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--paper-2);
    color: var(--teal);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.service-head h3 {
    font-size: clamp(28px, 3vw, 36px);
    margin-bottom: 12px;
}

.service-head .why {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.45;
}

.service-body ul {
    list-style: none;
    display: grid;
    gap: 14px;
}

.service-body li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    max-width: 62ch;
}

.service-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 8px;
    height: 1px;
    background: var(--accent);
}

.service-body .note {
    margin-top: 22px;
    padding: 20px 22px;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.55;
    max-width: 62ch;
}

/* Promise — solo override background/spaziatura pagina; griglia definita sopra */
.promise {
    padding: 72px 0;
}

.promise-box.firenze {
    background: linear-gradient(120deg, rgba(30, 53, 60, .9), rgba(39, 65, 74, .78)),
    url("../assets/agenzia-cta.jpg") center / cover no-repeat;
}

.promise-box .eyebrow {
    color: #e2b089;
}

.promise-box h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    margin: 12px 0 14px;
    max-width: 18ch;
}

.promise-box p {
    color: rgba(247, 242, 234, .82);
    max-width: 48ch;
    font-size: 15px;
}


@media (max-width: 960px) {
    .page-hero .wrap,
    .intro-grid,
    .service-block,
    .promise-box,
    .promise-box.firenze {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .page-hero-visual {
        min-height: 220px;
        order: -1;
    }

    .page-hero-visual img {
        width: min(70%, 280px);
    }

    .promise-box,
    .promise-box.firenze {
        padding: 40px 24px 28px;
        gap: 20px;
    }

    .promise-box .btn,
    .promise-box.firenze .btn {
        justify-self: start;
    }
}


.paths {
    padding: 28px 0 80px;
}

.paths-head {
    margin-bottom: 32px;
    max-width: 850px;
}

.paths-head > p:last-child {
    color: var(--muted);
    font-size: 17px;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.path {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.path:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.path .n {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--accent);
}

.path h3 {
    font-family: "Clash Display", sans-serif;
    font-size: 32px;
    font-weight: 500;
    margin: 14px 0 14px;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.path p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.path .go {
    margin-top: 18px;
    font-size: 13px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.path-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 16px;
    margin-top: 8px;
}

.path-actions:empty {
    display: none;
}

.path-actions > a {
    display: inline-block;
}

.path-actions > a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.path--featured {
    background: var(--teal);
    color: var(--paper);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.path--featured .n, .path--featured .go {
    color: #e2b089;
}

.path--featured p {
    color: rgba(247, 242, 234, .78);
}

.path--featured:hover {
    background: #1a2f36;
    box-shadow: 0 28px 60px rgba(30, 53, 60, .22);
}

.path-grid--services .path h3 {
    font-size: 27px;
}

.path a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
    border-radius: 2px;
}

.staging {
    padding: 96px 0;
}

.staging-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    background: var(--paper-2);
    border-radius: 36px;
    padding: 48px;
}

.staging-box > div {
    min-width: 0;
}

.ba {
    --ba-position: 52%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
    user-select: none;
    isolation: isolate;
    background: var(--paper-2);
}

.ba > img, .ba-before img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.ba-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 calc(100% - var(--ba-position)) 0 0);
    pointer-events: none;
}

.ba::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-position);
    width: 2px;
    transform: translateX(-50%);
    background: var(--white);
    pointer-events: none;
    z-index: 1;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: var(--ba-position);
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
    pointer-events: none;
    box-shadow: var(--shadow);
    font-size: 16px;
    color: var(--teal);
    z-index: 3;
}

.ba-label {
    position: absolute;
    top: 16px;
    background: var(--white);
    color: var(--ink);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 2;
}

.ba-label.before {
    left: 16px;
}

.ba-label.after {
    right: 16px;
}

.ba input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    touch-action: pan-y;
}

.ba:focus-within {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

@media (max-width: 980px) {
    .path-grid, .staging-box {
        grid-template-columns: 1fr;
    }

    .staging-box {
        padding: 40px 24px 28px;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .paths {
        padding-bottom: 48px;
    }

    .path {
        padding: 24px;
    }

    .path h3 {
        font-size: 29px;
    }

    .staging {
        padding: 48px 0;
    }

    .staging-box {
        padding: 28px 18px;
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .path {
        transition: none;
    }

    .path:hover {
        transform: none;
    }
}


/* Foto a sinistra, testo a destra: solo la seconda sezione di Valutazione. */
.valuation-story .story-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.valuation-story .story-copy {
    min-width: 0;
}

.valuation-photo {
    margin: 0;
    min-width: 0;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--paper-2);
}

.valuation-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 980px) {
    .valuation-story .story-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .valuation-photo {
        aspect-ratio: 4 / 3;
    }

    .valuation-story .story-copy {
        grid-row: 1;
    }
}




/* Recensioni: schede statiche, senza dipendenze o widget esterni.*/
#recensioni .sec-head {
    max-width: 850px;
    margin-bottom: 20px;
}

#recensioni .reviews-note {
    max-width: 65ch;
    font-size: 14px;
    line-height: 1.6;
}

#recensioni .review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#recensioni .review {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 40px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(30, 53, 60, .035);
}

#recensioni .review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

#recensioni .review-symbol {
    font-size: 50px;
    line-height: .8;
    color: var(--accent);
}

#recensioni .review-stars {
    color: var(--accent);
    letter-spacing: .16em;
    font-size: 17px;
    white-space: nowrap;
}

#recensioni blockquote {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
    color: var(--ink);
}

#recensioni figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

#recensioni .review-avatar {
    flex: 0 0 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--teal);
    font-size: 14px;
    font-weight: 500;
}

#recensioni figcaption b {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}

#recensioni .review-caption {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 760px) {
    #recensioni .review-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    #recensioni {
        padding-bottom: 56px;
    }
}

/* Legal pages */
.legal-page { padding-bottom: 72px; }
.legal-hero { padding: 56px 0 28px; max-width: 760px; }
.legal-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  margin: 14px 0 16px;
}
.legal-hero .lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 54ch;
}
.legal-updated {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}
.legal-body {
  display: grid;
  gap: 16px;
  max-width: 820px;
  padding-bottom: 40px;
}
.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.legal-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 14px;
}
.legal-card h3 {
  font-size: 18px;
  margin: 18px 0 10px;
}
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.legal-card ul {
  margin: 10px 0 0;
  padding-left: 1.15em;
  display: grid;
  gap: 8px;
}
.legal-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-card strong { color: var(--ink); font-weight: 500; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
}
.cookie-banner.is-open { display: block; }
.cookie-banner__panel {
  width: min(920px, 100%);
  margin: 0 auto;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(30, 53, 60, .18);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 18px 24px;
  align-items: end;
}
.cookie-banner__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.cookie-banner__copy h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.cookie-banner__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 62ch;
}
.cookie-banner__copy a { color: var(--accent); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.cookie-banner__actions .btn { padding: 12px 16px; font-size: 13px; }
.cookie-banner__actions .btn-light {
  background: var(--paper-2);
  color: var(--teal);
}
.cookie-prefs {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.cookie-pref {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.cookie-pref input { margin-top: 3px; }
@media (max-width: 800px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner__panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1 1 auto; justify-content: center; }
}
