:root {
  color-scheme: light;
  --navy: #0d2848;
  --text: #1b3249;
  --muted: #4a5d6c;
  --blue: #16618f;
  --orange: #fdab63;
  --brand-orange: #fc7d18;
  --paper: #f7f8f4;
  --line: #d9e1e3;
  --white: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); }
a { color: inherit; }
:focus-visible { outline: 3px solid #237dad; outline-offset: 4px; }
.skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.header { background: #fff; border-bottom: 1px solid #e3e8e8; }
.nav-row { min-height: 89px; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.brand { display: flex; flex: none; align-items: center; }
.brand img { display: block; width: 194px; height: auto; }
nav { display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; }
nav a { text-decoration: none; font-size: .93rem; font-weight: 650; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: .95rem; font-weight: 750; line-height: 1.25; text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s; }
.button-nav { color: var(--navy); border-color: #cddae2; }
.button-nav:hover, .button-outline:hover { background: #e9f1f5; border-color: #94adbc; }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: #18416a; }
#whatsapp-form .button-primary { background: #25D366; color: var(--navy); }
#whatsapp-form .button-primary:hover { background: #1da851; }
.button-outline { border-color: #c4d2da; color: var(--navy); }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: #dbeaf2; }
.phone { display: inline-block; width: 12px; height: 16px; border: 2px solid currentColor; border-radius: 3px; position: relative; flex: none; }
.phone::after { content: ""; width: 4px; height: 1px; background: currentColor; position: absolute; bottom: 2px; left: 2px; }
.hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(30px, 5vw, 84px); padding-block: 62px 66px; }
.eyebrow { margin: 0 0 17px; display: flex; align-items: center; gap: 9px; color: #2b5b76; font-size: .76rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; line-height: 1.4; }
.eyebrow span { width: 20px; height: 3px; background: #e88235; border-radius: 3px; flex: none; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.06; font-family: "Manrope", "DM Sans", system-ui, sans-serif; }
h1 { font-size: clamp(3.1rem, 6.5vw, 6.25rem); letter-spacing: -.075em; line-height: .98; font-weight: 800; }
h1 em { color: #16618f; font-style: normal; }
.lead { font-size: clamp(1.04rem, 1.5vw, 1.24rem); max-width: 37ch; line-height: 1.55; margin: 24px 0 29px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; height: clamp(380px, 39vw, 555px); background: #e0e7e7; border-radius: 17px; margin: 0; overflow: hidden; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; right: 18px; bottom: 18px; padding: 11px 15px; border-radius: 6px; background: #fff; color: var(--navy); font-size: .85rem; font-weight: 750; display: flex; align-items: center; gap: 9px; }
.pin { display: inline-block; width: 12px; height: 12px; border: 2px solid #16618f; border-radius: 55% 55% 55% 0; transform: rotate(-45deg); }
.pin::after { content: ""; display: block; margin: 2px; width: 4px; height: 4px; background: #16618f; border-radius: 50%; }
.services { background: #eaf1f5; border-block: 1px solid #dce7ed; padding: 52px 0 68px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.059em; font-weight: 800; }
.section-head p, .area p:not(.eyebrow), .contact p:not(.eyebrow), .hospitality p:not(.eyebrow) { color: var(--muted); line-height: 1.62; max-width: 43ch; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service { background: #fff; border: 1px solid #dbe5ec; padding: 24px; border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.service-image { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.service h3 { font-size: clamp(1.26rem, 2vw, 1.72rem); letter-spacing: -.035em; }
.service p { margin: 11px 0 22px; color: var(--muted); line-height: 1.55; max-width: 32ch; }
.service a { margin-top: auto; color: #145980; font-size: .92rem; font-weight: 750; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.service a span { display: inline-block; margin-left: 4px; }
.hospitality { background: var(--navy); color: white; padding-block: 76px; }
.hospitality-grid, .area, .contact-grid { display: grid; grid-template-columns: 1fr .84fr; align-items: center; gap: clamp(32px, 6vw, 100px); }
.hospitality h2 { color: #fff; }
.hospitality .eyebrow { color: #bedbec; }
.hospitality p:not(.eyebrow) { color: #d7e5ee; margin: 16px 0 23px; }
.hospitality-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid #4b6077; }
.hospitality-list li { border-bottom: 1px solid #4b6077; padding: 18px 0; display: flex; gap: 12px; align-items: center; font-weight: 650; }
.hospitality-list span { color: #ffb87f; }
.area { padding-block: 75px; }
.area p:not(.eyebrow), .contact p:not(.eyebrow) { margin-top: 15px; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 9px 13px; background: #fff; border: 1px solid #d5dfe5; border-radius: 6px; font-size: .91rem; font-weight: 650; }
.contact { background: #eaf1f5; padding-block: 65px; }
.contact-grid { align-items: start; }
.number { display: block; width: fit-content; margin-top: 24px; font-size: clamp(1.4rem, 4vw, 2.55rem); font-weight: 800; letter-spacing: -.035em; color: var(--navy); text-decoration: none; }
.number:hover { text-decoration: underline; text-underline-offset: 5px; }
.number span { font-size: .65em; }
.direct-link { display: inline-block; margin-top: 12px; font-weight: 750; color: #145980; text-underline-offset: 4px; }
form { display: grid; gap: 7px; border: 1px solid #dbe5ec; background: #fff; border-radius: 12px; padding: 25px; }
label { font-size: .91rem; font-weight: 750; }
label span { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; min-width: 0; padding: 10px 11px; font: inherit; color: var(--navy); background: #f8fafb; border: 1px solid #afbfcb; border-radius: 6px; margin-bottom: 7px; }
textarea { resize: vertical; }
form .button { width: 100%; }
.contact .form-help { font-size: .82rem; margin-top: 2px !important; }
footer { background: white; }
.pre-footer { background: var(--navy); color: white; padding-block: 42px; }
.pre-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.pre-footer h2 { color: white; font-size: 1.3rem; letter-spacing: -.025em; margin-bottom: 14px; }
.pre-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pre-footer a, .pre-footer address { color: #e1edf5; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.pre-footer address { font-style: normal; margin-bottom: 10px; }
.pre-footer a { text-decoration: none; }
.pre-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pre-footer a:focus-visible { outline-color: var(--brand-orange); }
.social-list a { display: inline-flex; gap: 10px; align-items: center; }
.footer-row { min-height: 106px; padding-block: 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
footer p { color: var(--muted); font-size: .84rem; margin: 5px 0 0; line-height: 1.5; }
.footer-business { grid-column: 2; text-align: center; }
.back-to-top { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; color: var(--navy); border: 1px solid var(--line); border-radius: 7px; text-decoration: none; }
.back-to-top { grid-column: 3; justify-self: end; padding-inline: 14px; gap: 9px; font-size: .87rem; font-weight: 750; }
.back-to-top span { width: 8px; height: 8px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateY(2px) rotate(45deg); }
.back-to-top:hover { background: #eaf1f5; }
.mobile-actions { display: none; }
section[id], article[id] { scroll-margin-top: 14px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 30px; }
  .button { font-size: .88rem; padding-inline: 13px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .nav-row { min-height: 72px; }
  .brand img { width: 157px; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 40px 42px; }
  h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .desktop-break { display: none; }
  .hero-visual { height: clamp(255px, 59vw, 420px); }
  .lead { margin-block: 15px 20px; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .service-grid, .hospitality-grid, .area, .contact-grid { grid-template-columns: 1fr; }
  .services, .hospitality, .area, .contact { padding-block: 42px; }
}
@media (max-width: 550px) {
  .nav-row { gap: 8px; }
  .brand img { width: min(43vw, 172px); }
  .button-nav { min-height: 42px; gap: 7px; padding-inline: 10px; }
  .hero-visual figcaption { right: 10px; bottom: 10px; }
  .pre-footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .pre-footer-grid > section + section { border-top: 1px solid #4b6077; padding-top: 21px; }
  .footer-row { grid-template-columns: minmax(0, 1fr); }
  .footer-business, .back-to-top { grid-column: 1; }
  footer { padding-bottom: calc(91px + env(safe-area-inset-bottom)); }
  .mobile-actions { position: fixed; z-index: 5; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .mobile-actions a { min-height: 44px; border-radius: 7px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 750; background: var(--navy); color: white; }
  .mobile-actions a + a { background: #25D366; color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.arrow { display: inline-block; width: 11px; height: 11px; position: relative; flex: none; }
.arrow::before { content: ""; position: absolute; inset: 1px 1px auto auto; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; width: 11px; height: 1.5px; top: 5px; left: 0; background: currentColor; transform: rotate(-45deg); }

.privacy-page { max-width: 880px; padding-block: clamp(30px, 6vw, 72px); }
.privacy-intro { margin-bottom: 28px; }
.privacy-intro h1 { font-size: clamp(2.6rem, 8vw, 5rem); }
.privacy-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.privacy-date { font-size: .88rem; }
.privacy-content { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: clamp(19px, 5vw, 46px); }
.privacy-content section + section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.privacy-content h2 { font-size: clamp(1.23rem, 3.5vw, 1.6rem); letter-spacing: -.025em; }
.privacy-content p, .privacy-content li { line-height: 1.65; }
.privacy-content p:last-child, .privacy-content ul:last-child { margin-bottom: 0; }
.privacy-content ul { padding-inline-start: 1.35rem; }
.privacy-content li + li { margin-top: 8px; }
.privacy-content a, .form-help a, .footer-business a { color: #145980; text-underline-offset: 3px; overflow-wrap: anywhere; }

nav .booking-nav-link { color: #145980; font-weight: 800; }
nav .booking-nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.booking-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(32px, 6vw, 86px); padding-block: clamp(36px, 6vw, 80px); }
.booking-intro h1 { font-size: clamp(3rem, 5.4vw, 5.5rem); }
.booking-aside { padding: 20px; max-width: 38ch; border: 1px solid var(--line); border-radius: 10px; background: #eaf1f5; }
.booking-aside h2 { font-size: 1.3rem; letter-spacing: -.025em; }
.booking-aside p { margin: 8px 0; color: var(--muted); line-height: 1.5; }
.booking-aside a, .booking-note a, .booking-fallback { color: #145980; font-weight: 650; text-underline-offset: 3px; }
.booking-form { gap: 14px; padding: clamp(18px, 3vw, 32px); }
.booking-form h2 { font-size: clamp(1.55rem, 3.3vw, 2.2rem); letter-spacing: -.04em; }
.booking-form-header p, .booking-note, .booking-status { margin: 5px 0 0; color: var(--muted); font-size: .89rem; line-height: 1.5; }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; }
.booking-form label { display: block; margin-bottom: 5px; }
.booking-form input, .booking-form select, .booking-form textarea { margin-bottom: 0; min-height: 44px; }
.booking-submit { background: var(--navy); color: #fff; }
.booking-submit:hover { background: #18416a; }
.booking-submit:disabled { cursor: wait; opacity: .7; }
.booking-whatsapp { color: #124531; border-color: #70a990; }
.booking-status:empty { display: none; }
@media (max-width: 1000px) {
  .nav-row nav { gap: clamp(12px, 2vw, 24px); }
}
@media (max-width: 800px) {
  .booking-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .booking-fields { grid-template-columns: 1fr; }
}

nav .offer-nav-link { color: #145980; font-weight: 800; }
nav .offer-nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.offer-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 84px); align-items: center; padding-block: clamp(36px, 6vw, 82px); }
.offer-hero h1 { font-size: clamp(2.5rem, 5.1vw, 5.1rem); }
.offer-hero .lead { margin-bottom: 18px; }
.offer-price { margin: 0; color: var(--navy); font-size: clamp(3rem, 7vw, 5.7rem); font-weight: 850; letter-spacing: -.06em; line-height: 1.02; }
.offer-price small { color: var(--blue); font-size: .38em; letter-spacing: 0; }
.offer-installation { margin: 10px 0 20px; font-weight: 700; }
.offer-product { margin: 0; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.offer-product img { width: 100%; height: clamp(220px, 34vw, 410px); display: block; object-fit: contain; padding: 18px; }
.offer-product figcaption { padding: 12px 18px; color: var(--navy); background: #eaf1f5; font-weight: 750; }
.offer-session { background: var(--navy); color: #fff; }
.offer-session-row { padding-block: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; }
.offer-session-row p { margin: 3px 0 0; color: #d7e5ee; font-size: .87rem; }
.offer-session time { padding: 4px 14px; border-radius: 6px; color: var(--navy); background: var(--brand-orange); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.offer-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 67px); padding-block: clamp(36px, 6vw, 72px); }
.offer-details h2, .offer-contact h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.offer-list { padding-inline-start: 1.2rem; line-height: 1.55; }
.offer-list li { padding-left: 3px; margin-bottom: 9px; }
.offer-list li::marker { color: var(--blue); }
.offer-details p { color: var(--muted); line-height: 1.6; }
.offer-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
.offer-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: white; }
.offer-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.offer-gallery figcaption { padding: 9px 12px; font-size: .9rem; font-weight: 650; }
.offer-contact { color: white; background: var(--navy); }
.offer-contact-row { padding-block: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.offer-contact h2 { color: white; }
.offer-contact p { max-width: 56ch; color: #d7e5ee; margin: 10px 0 0; line-height: 1.55; }
@media (max-width: 800px) {
  .offer-hero, .offer-details { grid-template-columns: 1fr; }
}

.offer-product-ferroli img { height: auto; max-height: 510px; padding: 0; background: #eaf1f5; }

.home-header .brand img { width: 212px; }
@media (max-width: 800px) {
  .home-header .brand img { width: 172px; }
}
@media (max-width: 550px) {
  .home-header .brand img { width: min(47vw, 188px); }
}

.nav-row nav[hidden], .menu-toggle[hidden] { display: none; }
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex: none;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: #eaf1f5; }
.menu-toggle-icon { position: relative; width: 20px; height: 2px; background: currentColor; }
.menu-toggle-icon::before, .menu-toggle-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
}
.menu-toggle-icon::before { transform: translateY(-6px); }
.menu-toggle-icon::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .nav-row:has(#menu-principale) { flex-wrap: wrap; gap: 0 12px; padding-block: 10px; }
  .nav-row .menu-toggle { order: 2; }
  .nav-row #menu-principale {
    order: 3;
    flex: 0 0 100%;
    display: grid;
    gap: 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
  }
  .nav-row #menu-principale[hidden] { display: none; }
  .nav-row #menu-principale a { display: flex; align-items: center; min-height: 44px; padding-inline: 10px; }
  .nav-row #menu-principale a:hover { background: #eaf1f5; }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-row nav { gap: 16px; }
}
