@import url("https://fonts.googleapis.com/css2?family=Droid+Sans:wght@400;700&family=Droid+Serif:wght@400;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --teal: #2d9cad;
  --teal-dark: #238897;
  --charcoal: #222629;
  --footer: #363c3c;
  --text: #737f85;
  --heading: #46535a;
  --light: #f7f7f7;
  --line: #dfe4e5;
  --content: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Droid Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.content-width { width: min(var(--content), calc(100% - 44px)); margin-inline: auto; }

/* Header */
.site-header { height: 115px; background: #fff; position: relative; z-index: 50; }
.header-inner { width: min(var(--content), calc(100% - 44px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.site-logo { width: 222px; flex: 0 0 auto; }
.site-logo img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 48px; height: 100%; font-family: Montserrat, Arial, sans-serif; font-size: 15px; font-weight: 600; color: #252d31; }
.desktop-nav > a, .nav-dropdown > button { height: 100%; display: flex; align-items: center; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; white-space: nowrap; transition: color .18s ease; }
.desktop-nav > a:hover, .desktop-nav > a.active, .nav-dropdown > button:hover, .nav-dropdown > button.active { color: var(--teal); }
.nav-dropdown { height: 100%; position: relative; }
.nav-dropdown button span { margin-left: 5px; font-size: 14px; }
.dropdown-panel { position: absolute; top: 88px; right: 0; width: 310px; padding: 9px 0; background: #fff; border-top: 3px solid var(--teal); box-shadow: 0 11px 28px rgba(20, 29, 32, .18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: block; padding: 10px 18px; border-bottom: 1px solid #edf0f1; font-family: "Droid Sans", Arial, sans-serif; font-weight: 400; font-size: 13px; color: #5b666b; }
.dropdown-panel a:last-child { border-bottom: 0; }
.dropdown-panel a:hover { color: var(--teal); background: #f6f9f9; }
.mobile-nav { display: none; }

/* Home */
.home-hero { position: relative; width: 100%; aspect-ratio: 2000 / 979; max-height: 660px; min-height: 500px; border-top: 7px solid var(--teal); background: url("/assets/images/fondo2.jpg") center center / cover no-repeat; }
.hero-message { position: absolute; top: 32%; left: max(calc((100vw - var(--content)) / 2), 7.5vw); width: 400px; padding: 22px 21px 29px; border-radius: 10px; background: rgba(22, 28, 30, .91); color: #fff; box-shadow: 0 8px 28px rgba(0, 0, 0, .12); }
.hero-message h1 { margin-bottom: 12px; font-family: Montserrat, Arial, sans-serif; font-size: 29px; line-height: 1.2; font-weight: 400; letter-spacing: .01em; }
.hero-message p { margin-bottom: 18px; color: #f1f1f1; font-size: 15px; line-height: 1.62; }
.teal-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 24px; border: 0; border-radius: 4px; background: var(--teal); color: #fff; font-family: Montserrat, Arial, sans-serif; font-size: 13px; transition: background .18s ease, transform .18s ease; }
.teal-button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.accreditation-band { min-height: 65px; padding: 12px 20px; display: flex; align-items: center; justify-content: center; background: var(--charcoal); color: #fff; text-align: center; }
.accreditation-band p { margin: 0; font-size: 25px; line-height: 1.4; }
.services-section { padding: 53px 0 61px; background: var(--light); }
.services-section h2 { margin-bottom: 31px; color: var(--heading); font-family: "Droid Serif", Georgia, serif; font-size: 37px; line-height: 1.2; font-weight: 400; text-align: center; }
.service-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 29px; }
.service-card { overflow: hidden; border: 1px solid #dce2e3; border-radius: 3px; background: #eef3f3; transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(46, 62, 66, .12); }
.service-card img { width: 100%; aspect-ratio: 270 / 170; object-fit: cover; }
.service-card > div { min-height: 105px; padding: 10px 14px 14px; }
.service-card h3 { margin-bottom: 2px; color: #5b6468; font-size: 19px; line-height: 1.35; font-weight: 400; }
.service-card p { margin: 0; color: #7a858a; font-size: 14px; line-height: 1.7; }

/* Inner pages */
.page-heading { padding: 37px 0 35px; background: var(--charcoal); color: #fff; border-top: 7px solid var(--teal); }
.page-heading h1 { margin-bottom: 4px; font-family: "Droid Serif", Georgia, serif; font-size: 36px; line-height: 1.25; font-weight: 400; }
.page-heading > div > p { margin-bottom: 12px; color: #cdd4d6; font-size: 14px; }
.page-heading nav { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #aeb8bc; }
.page-heading nav a { color: var(--teal); }
.page-heading nav b { font-weight: 400; }
.page-content { padding: 63px 0 75px; background: #fff; }
.text-page, .location-layout { color: #69767b; }
.text-page .lead, .package-list-section .lead { margin-bottom: 40px; color: #566268; font-family: "Droid Serif", Georgia, serif; font-size: 22px; line-height: 1.7; }
.text-page h2, .location-copy h2, .contact-panel h2 { margin: 36px 0 13px; color: #455159; font-family: "Droid Serif", Georgia, serif; font-size: 27px; font-weight: 400; }
.text-page h3, .location-copy h3 { margin: 29px 0 9px; color: #455159; font-size: 18px; }
.text-page p, .text-page li, .location-copy p, .contact-panel p { font-size: 16px; line-height: 1.8; }
.text-page a, .location-layout a { color: var(--teal); }
.text-page ul { padding-left: 22px; }
.narrow-page { max-width: 850px; }
.location-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: start; }
.location-copy h2 { margin-top: 0; }
.location-copy .teal-button { margin-top: 12px; color: #fff; }
.contact-panel { padding: 28px 31px; border-top: 4px solid var(--teal); background: #f2f5f5; }
.contact-panel h2 { margin-top: 0; }
.hours-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.hours-grid article { min-height: 210px; padding: 29px 31px; border-right: 1px solid var(--line); background: #fafafa; }
.hours-grid article:last-child { border-right: 0; }
.hours-grid h3 { margin-bottom: 20px; color: #4c595f; font-family: "Droid Serif", Georgia, serif; font-size: 21px; font-weight: 400; }
.hours-grid p { margin-bottom: 12px; font-size: 14px; }
.hours-grid strong { color: var(--teal); font-size: 16px; }
.package-list-section { background: #f7f7f7; }
.package-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.package-list article { min-height: 176px; padding: 25px 27px; display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; border: 1px solid #dce2e3; border-top: 4px solid var(--teal); background: #fff; }
.package-list h2 { margin-bottom: 11px; color: #4c585d; font-family: "Droid Serif", Georgia, serif; font-size: 22px; line-height: 1.35; font-weight: 400; }
.package-list p { margin: 0; font-size: 14px; line-height: 1.7; }
.package-list strong { flex: 0 0 auto; color: var(--teal); font-family: Montserrat, Arial, sans-serif; font-size: 25px; }
.note { margin: 24px 0 0; font-size: 12px; color: #8a9498; }
.information-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 55px; }
.information-grid article { padding: 25px 0; border-top: 1px solid var(--line); }
.information-grid h2 { margin: 0 0 9px; font-size: 23px; }
.information-grid p { margin: 0; }
.notice-box { margin-top: 45px; padding: 25px 28px; border-left: 5px solid var(--teal); background: #f2f6f6; }
.notice-box strong { color: #4b585d; font-size: 18px; }
.notice-box p { margin: 4px 0 0; }
.charter-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: start; }
.charter-layout article h2:first-of-type { margin-top: 30px; }
.download-panel { position: sticky; top: 25px; padding: 28px 30px; border-top: 4px solid var(--teal); background: #f2f5f5; }
.download-panel h2 { margin-top: 0; }
.download-panel a { padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #d7dede; color: #536066; font-size: 14px; }
.download-panel a span { color: var(--teal); font-size: 11px; font-weight: 700; }
.insurance-number { margin-top: 28px; padding: 30px; border-left: 5px solid var(--teal); background: #f2f5f5; color: #455159; font-family: Montserrat, Arial, sans-serif; font-size: 26px; font-weight: 600; }

/* Footer */
.site-footer { min-height: 390px; padding: 78px 0 70px; background: var(--footer); color: #adb7b9; }
.footer-inner { width: min(var(--content), calc(100% - 44px)); margin: auto; display: grid; grid-template-columns: 1.15fr .85fr 1.15fr .65fr; gap: 46px; align-items: start; }
.footer-contacts { font-size: 13px; }
.footer-contacts p { margin-bottom: 24px; display: grid; grid-template-columns: 19px 1fr; gap: 12px; align-items: start; }
.footer-contacts p span { color: #111718; font-size: 18px; line-height: 1.3; }
.footer-contacts strong { color: #c9d0d1; font-size: 13px; line-height: 1.75; }
.footer-contacts a { color: var(--teal); }
.footer-service h2 { margin: 0 0 12px; color: #c9d0d1; font-family: "Droid Serif", Georgia, serif; font-size: 22px; font-weight: 400; }
.footer-service p { font-size: 14px; }
.footer-link { display: inline-block; margin-top: 15px; padding-bottom: 3px; border-bottom: 1px solid var(--teal); color: var(--teal); font-size: 13px; }
.footer-transparency h2 { margin: 0 0 12px; color: #c9d0d1; font-family: "Droid Serif", Georgia, serif; font-size: 22px; font-weight: 400; }
.footer-transparency a { display: block; width: fit-content; margin-bottom: 9px; color: #adb7b9; font-size: 12px; line-height: 1.35; }
.footer-transparency a:hover, .footer-transparency a:focus-visible { color: var(--teal); }
.powered-by { text-align: center; justify-self: end; }
.powered-by > span { display: block; margin-bottom: 13px; color: #aab4b6; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.powered-by a { display: block; }
.powered-by img { width: 184px; height: auto; margin: auto; }

/* Cookie notice */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; min-height: 74px; padding: 14px 22px; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(255, 255, 255, .98); box-shadow: 0 -4px 18px rgba(0, 0, 0, .08); color: #222; font-size: 13px; }
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { margin: 0; }
.cookie-bar > div { display: flex; align-items: center; gap: 9px; }
.cookie-bar button { padding: 7px 13px; border: 0; background: #111; color: #fff; cursor: pointer; }
.cookie-bar a { padding: 4px 3px; font-weight: 700; text-decoration: underline; }

/* Avviso chiusura per ferie: attivo via JavaScript dal 6 al 23 agosto 2026 */
body.holiday-notice-open { overflow: hidden; }
.holiday-notice {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 26, 28, .72);
  backdrop-filter: blur(3px);
}
.holiday-notice__dialog {
  position: relative;
  width: min(530px, 100%);
  padding: 43px 46px 40px;
  border-top: 6px solid var(--teal);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .32);
  color: #606d72;
  text-align: center;
}
.holiday-notice__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--teal);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.holiday-notice__dialog h2 {
  margin-bottom: 17px;
  color: #404d53;
  font-family: "Droid Serif", Georgia, serif;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 400;
}
.holiday-notice__dialog p {
  margin-bottom: 27px;
  color: #606d72;
  font-size: 18px;
  line-height: 1.7;
}
.holiday-notice__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6f7b80;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.holiday-notice__confirm {
  min-width: 132px;
  min-height: 43px;
  padding: 9px 25px;
  border: 0;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.holiday-notice__confirm:hover { background: var(--teal-dark); transform: translateY(-1px); }
.holiday-notice__close:focus-visible,
.holiday-notice__confirm:focus-visible { outline: 3px solid rgba(45, 156, 173, .35); outline-offset: 3px; }

@media (max-width: 940px) {
  .desktop-nav { gap: 23px; font-size: 13px; }
  .site-logo { width: 195px; }
  .hero-message { left: 6vw; top: 28%; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .location-layout, .charter-layout { grid-template-columns: 1fr; gap: 40px; }
  .download-panel { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .powered-by { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .powered-by img { margin: 0; }
}

@media (max-width: 720px) {
  .content-width, .header-inner, .footer-inner { width: min(100% - 34px, var(--content)); }
  .site-header { height: 91px; }
  .site-logo { width: 188px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { width: 43px; height: 43px; padding: 10px 8px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid #dfe4e5; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { height: 2px; width: 25px; background: #344248; }
  .mobile-panel { position: absolute; top: 52px; right: 0; width: min(310px, calc(100vw - 34px)); padding: 8px 0; background: #fff; border-top: 3px solid var(--teal); box-shadow: 0 11px 28px rgba(20, 29, 32, .2); }
  .mobile-panel a, .mobile-panel strong { display: block; padding: 9px 16px; border-bottom: 1px solid #edf0f1; font-size: 13px; font-weight: 400; }
  .mobile-panel strong { color: #354248; font-weight: 700; }
  .mobile-panel .sub-link { padding-left: 28px; color: #667277; font-size: 12px; }
  .home-hero { min-height: 510px; max-height: none; aspect-ratio: auto; background-position: 53% center; }
  .hero-message { top: auto; left: 17px; right: 17px; bottom: 28px; width: auto; padding: 20px 19px 24px; }
  .hero-message h1 { font-size: 25px; }
  .hero-message p { font-size: 14px; }
  .accreditation-band { min-height: 73px; }
  .accreditation-band p { font-size: 19px; }
  .services-section { padding: 42px 0 51px; }
  .services-section h2 { font-size: 32px; }
  .service-cards { grid-template-columns: 1fr; gap: 19px; }
  .service-card { max-width: 360px; width: 100%; margin: auto; }
  .page-heading { padding: 31px 0; }
  .page-heading h1 { font-size: 31px; }
  .page-content { padding: 45px 0 56px; }
  .text-page .lead, .package-list-section .lead { font-size: 19px; }
  .hours-grid, .package-list, .information-grid { grid-template-columns: 1fr; }
  .hours-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .hours-grid article:last-child { border-bottom: 0; }
  .package-list article { min-height: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .powered-by { grid-column: auto; }
  .site-footer { padding: 55px 0 84px; }
  .cookie-bar { padding: 12px 16px; flex-direction: column; text-align: center; gap: 7px; }
  .holiday-notice { padding: 17px; }
  .holiday-notice__dialog { padding: 39px 24px 31px; }
  .holiday-notice__dialog h2 { font-size: 27px; }
  .holiday-notice__dialog p { font-size: 16px; line-height: 1.65; }
}

@media (max-width: 430px) {
  .site-logo { width: 171px; }
  .home-hero { min-height: 480px; }
  .package-list article { flex-direction: column; gap: 16px; }
  .powered-by img { width: 158px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
