/*
#176f93*/

/* Font serviti in locale (niente chiamate a Google Fonts) */
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/work-sans-v24-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/work-sans-v24-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/work-sans-v24-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/work-sans-v24-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/work-sans-v24-latin-800.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/noto-sans-kr-v39-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/noto-sans-kr-v39-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/noto-sans-kr-v39-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/noto-sans-kr-v39-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans KR'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/noto-sans-kr-v39-latin-800.woff2') format('woff2'); }

:root{
  --white:#ffffff;
  --foam:#e4f4f8;
  --foam-2:#eef9fb;
  --aqua:#0a9bc4;
  --aqua-bright:#25c0e0;
  --aqua-deep:#0a6f8c;
  --teal:#176f93;
  --ink:#12303a;
  --coral:rgba(251, 215, 31, 1);
  --coral-deep:rgba(251, 215, 31, 1);
  --coral-soft:rgba(251, 215, 31, 1);
  --logo-yellow-soft:rgba(251, 215, 31, .78);
  --fidelity-red:#e53935;
  --sun:#ffc23d;
  --sun-soft:#ffe1a6;
  --line:#cde7ee;
  --light-blue:white; /* Celestino chiaro per i link del menu */
  --shadow: 0 14px 34px rgba(11,91,115,.10);
  --radius-lg: 32px;
  --radius-md: 20px;
  --maxw: 1120px;
  --font-display:'Work Sans', 'Noto Sans KR', sans-serif;
  --font-body:'Work Sans', 'Noto Sans KR', sans-serif;
  --font-mono:'Work Sans', 'Noto Sans KR', sans-serif;
}

html[lang="ar"]{
  --font-display:'Work Sans', sans-serif;
  --font-body:'Work Sans', sans-serif;
  --font-mono:'Work Sans', sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:white;
  color:var(--ink);
  font-family:var(--font-body);
  line-height:1.55;
  position:relative;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

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

html[dir="rtl"] body{ direction:rtl; text-align:right; }

a{ color:inherit; }

/* ---------- Layout shell ---------- */
.wrap{
  position:relative;
  z-index:1;
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding-inline:clamp(48px, 7vw, 88px);
}

header.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 22px 0 10px;
  /* Stessa sfumatura del footer, per un'identità visiva uniforme. */
  background: linear-gradient(90deg, var(--teal) 0%, var(--ink) 100%);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:20px;
  flex-wrap:wrap;
}

.brand {
  margin-left: 0;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

nav.main-nav{
  display:flex;
  align-items:center;
  gap:26px;
  margin-left:auto;
}

/* Link leggibili sullo sfondo sfumato del footer. */
nav.main-nav a {
  color: #cfe6ec;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  text-shadow: none;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--coral);
}

.lang-switch{ position:relative; }
.lang-switch select{
  appearance:none;
  -webkit-appearance:none;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.9rem;
  color:var(--white);
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.45);
  border-radius:999px;
  padding: 9px 34px 9px 16px;
  cursor:pointer;
}
.lang-switch select option{ color:var(--ink); background:var(--white); }
html[dir="rtl"] .lang-switch select{ padding:9px 16px 9px 34px; }
.lang-switch::after{
  content:"▾";
  position:absolute;
  right:14px; top:50%; transform:translateY(-50%);
  color:var(--white);
  pointer-events:none;
  font-size:.75rem;
}
html[dir="rtl"] .lang-switch::after{ right:auto; left:14px; }

/* ---------- BANNER PARALLAX ---------- */
.hero-banner {
  height: 90vh;
  min-height: 400px;
  position: relative;
  width: 100%;
  background-image:
    linear-gradient(180deg, rgba(0,37,99,.28) 0%, rgba(0,37,99,.18) 38%, rgba(0,37,99,.34) 100%),
    url('pictures/foto1.webp');
  background-color: transparent;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  z-index: 1;
}

/* Contenuto del Banner (Titolo e Logo) */
.banner-content {
  position: relative;
  height: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.title-intro .hero-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-body);
}

.delfino-icon {
  margin-top: 80px;
  width: 300px;
  height: 300px;
  background-image: url('pictures/delfino2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.title-intro .title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.title-intro .title-main {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--teal);
}

.title-intro .accent {
  color: var(--logo-yellow-soft);
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  display: block;
}

@media (max-width: 860px) {
  .hero-banner { 
    height: 45vh; 
    background-attachment: scroll; 
  }
  .title-intro .hero-title {
    flex-direction: column;
    gap: 12px;
  }
  .title-intro .title-text {
    align-items: center;
    text-align: center;
  }
  .delfino-icon {
    width: 80px;
    height: 80px;
  }
}

/* ---------- Resto delle Sezioni ---------- */
.hero {
  position: relative;
  padding: 60px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-sub {
  font-size: 1.25rem;
  color: #3a5a63;
  max-width: 700px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--aqua);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,102,255,.25);
}
.btn-primary:hover {
  background: var(--aqua-deep);
  box-shadow: 0 16px 32px rgba(0,102,255,.32);
}
.btn-ghost {
  background: var(--white);
  color: var(--aqua-deep);
  border: 2px solid var(--aqua);
}
.btn-ghost:hover { background: var(--foam); border-color: var(--aqua-deep); }
::selection { background: var(--aqua); color: #fff; }

/* ---------- Services ---------- */
.section{ padding:44px 0; position:relative; z-index:1; }
.photo-feature-title{
  margin: 0 0 22px;
  color:var(--teal);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  max-width: 100%;
  text-align:center;
}
.photo-feature-grid{
  display:grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items:center;
}
.photo-feature-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 26px 0;
}
.feature-list{
  list-style:none;
  margin:0;
  padding:0;
}
.feature-list li{
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid rgba(14,100,129,.12);
}
.feature-list li:last-child{
  border-bottom:none;
}
.feature-list__icon{
  flex:0 0 auto;
  margin-top:2px;
  color:var(--teal);
}
.feature-list p{
  margin:0;
  color:#3a5a63;
  max-width: 40ch;
  font-size: 1.02rem;
  line-height:1.5;
}
.feature-list p strong{
  color:var(--ink);
}
.feature-note{
  margin: 16px 0 0;
  color:#8aa0a7;
  font-size: .84rem;
}
.photo-carousel{
  position:relative;
  width:100%;
  min-height:0;
  aspect-ratio:3 / 2;
  overflow:hidden;
  padding:18px 0;
  touch-action:pan-y;      /* lo scorrimento verticale resta alla pagina, l'orizzontale al carosello */
  -webkit-user-select:none;
  user-select:none;
}
.photo-carousel img{ -webkit-user-drag:none; }
.photo-carousel-slide{
  position:absolute;
  top:18px;
  bottom:18px;
  left:5%;
  width:90%;
  margin:0;
  opacity:0;
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 18px 38px rgba(11,91,115,.16);
  transform:scale(.8);
  transition:transform .6s ease, opacity .6s ease, filter .6s ease;
  pointer-events:none;
}
.photo-carousel-slide.is-active{
  opacity:1;
  z-index:3;
  transform:translateX(0) scale(1);
  pointer-events:auto;
}
.photo-carousel-slide.is-before,
.photo-carousel-slide.is-after{
  opacity:.55;
  z-index:2;
  filter:saturate(.82);
}
.photo-carousel-slide.is-before{ transform:translateX(-52%) scale(.9); }
.photo-carousel-slide.is-after{ transform:translateX(52%) scale(.9); }
.photo-carousel-slide.is-before::after,
.photo-carousel-slide.is-after::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(14,100,129,.18);
}
.photo-carousel img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.photo-carousel-caption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  margin:0;
  padding:34px 20px 16px;
  color:#fff;
  font-size:.95rem;
  font-weight:600;
  line-height:1.35;
  text-align:left;
  background:linear-gradient(to top, rgba(9,58,73,.82) 0%, rgba(9,58,73,.5) 55%, rgba(9,58,73,0) 100%);
  opacity:0;
  transform:translateY(8px);
  transition:opacity .5s ease, transform .5s ease;
  pointer-events:none;
}
.photo-carousel-slide.is-active .photo-carousel-caption{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .photo-carousel-slide,
  .photo-carousel-caption{ transition:none; }
}
.photo-carousel-btn{
  position:absolute;
  top:50%;
  z-index:2;
  width:42px;
  height:42px;
  transform:translateY(-50%);
  border:0;
  border-radius:50%;
  background:var(--white);
  border:1.5px solid var(--teal);
  box-shadow:0 6px 16px rgba(11,91,115,.16);
  color:var(--teal);
  font-size:1.9rem;
  line-height:1;
  cursor:pointer;
  opacity:.78;
  transition:opacity .18s ease, background-color .18s ease;
}
.photo-carousel-btn:hover,
.photo-carousel-btn:focus-visible{
  opacity:1;
  background:var(--sun-soft);
}
.photo-carousel-btn:focus-visible{
  outline:3px solid var(--sun);
  outline-offset:2px;
}
.photo-carousel-btn--prev{ left:14px; }
.photo-carousel-btn--next{ right:14px; }
@media (max-width: 860px){
  .photo-feature-grid{
    grid-template-columns: 1fr;
  }
  .photo-feature-copy{
    padding: 0;
  }
  .feature-list p{
    max-width: none;
  }
}
@media (max-width: 600px){
  header.site-header{
    position:relative;
  }
  .wrap{ padding-inline:20px; }
  /* Le sezioni azzerano il padding orizzontale via shorthand: lo ripristiniamo qui */
  .wrap.section,
  .home-page .wrap.section{ padding-inline:20px; }
  .title-intro{
    padding-right:20px;
    padding-left:20px;
  }
  .delfino-icon{
    width:110px;
    height:110px;
  }
  .photo-feature-title{
    font-size:1.5rem;
  }
  .photo-carousel{
    min-height:0;
    aspect-ratio:4 / 3;
    padding:12px 0;
  }
  .photo-carousel-slide{
    top:12px;
    bottom:12px;
    border-radius:20px;
  }
  .photo-carousel-slide.is-before{ transform:translateX(-54%) scale(.88); }
  .photo-carousel-slide.is-after{ transform:translateX(54%) scale(.88); }
  .photo-carousel-caption{
    padding:28px 14px 12px;
    font-size:.85rem;
  }
  .photo-carousel-btn{
    top:auto;
    bottom:20px;
    transform:none;
  }
  .photo-carousel-btn{
    width:38px;
    height:38px;
    font-size:1.6rem;
  }
  .photo-carousel-btn--prev{ left:10px; }
  .photo-carousel-btn--next{ right:10px; }
}
.section-title{
  font-family:var(--font-body);
  font-size:clamp(1.6rem, 2.6vw, 2.1rem);
  color:var(--teal);
  margin:0 0 10px;
  text-align:center;
}
.section-title::before,
.photo-feature-title::before{
  display:none;
}
.section-title-dove-siamo{
  margin-top: 96px;
  margin-bottom: 12px;
}
.programs-section .section-title{
  text-align:center;
}
.programs-section .section-title::before,
.home-service-highlights .section-title::before{
  margin-left:auto;
  margin-right:auto;
}
.programs-toggle{
  display:flex;
  justify-content:center;
  gap:6px;
  margin:6px auto 22px;
  padding:4px;
  background:var(--white);
  border:1.5px solid var(--aqua);
  border-radius:999px;
  width:max-content;
  max-width:100%;
}
.programs-toggle__btn{
  border:0;
  background:transparent;
  color:var(--teal);
  font:inherit;
  font-weight:600;
  padding:8px 22px;
  border-radius:999px;
  cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
.programs-toggle__btn:hover{
  background:rgba(10,155,196,.10);
}
.programs-toggle__btn.is-active{
  background:#bfe6f4;
  color:var(--teal);
  box-shadow:none;
}
.programs-section .cards.programs-list[hidden]{
  display:none;
}
.programs-section .cards.programs-list--washers{
  display:grid;
  grid-template-columns:minmax(0, 1fr) max-content max-content;
  column-gap:26px;
  width:min(100%, 40rem);
  margin-inline:auto;
}
.programs-section .cards.programs-list--washers .program-card{
  grid-column:1 / -1;
  grid-template-columns:subgrid;
  column-gap:26px;
}
.programs-section .cards.programs-list--dryers{
  display:grid;
  grid-template-columns:max-content max-content max-content;
  justify-content:center;
  column-gap:26px;
  width:auto;
  max-width:100%;
  margin-inline:auto;
}
.programs-section .cards.programs-list--dryers .program-card--dryer{
  grid-column:1 / -1;
  grid-template-columns:4.5rem 13.5rem minmax(0, 26rem);
  grid-template-columns:subgrid;
  column-gap:26px;
}
.programs-section .cards.programs-list--dryers .program-card--dryer span:nth-of-type(n){
  justify-self:start;
  white-space:normal;
  text-align:left;
}
@media (max-width:700px){
  .programs-section .cards.programs-list--washers{
    column-gap:14px;
  }
  .programs-section .cards.programs-list--dryers{
    grid-template-columns:1fr;
    column-gap:0;
    width:100%;
  }
  .programs-section .cards.programs-list--dryers .program-card--dryer{
    grid-template-columns:1fr;
    gap:4px;
  }
  .programs-section .cards.programs-list--dryers .program-card--dryer span:first-of-type{
    display:block;
  }
}
.section-sub{
  text-align:center;
  color:#4a6871;
  max-width:60ch;
  margin:0 auto 40px;
}
.section-sub-address{
  margin:0 0 50px;
  max-width:none;
}
.pricing-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding: 20px 0;
}
.pricing-copy--wide{
  width: 100%;
  max-width: none;
  margin: 0;
}
.pricing-eyebrow{
  margin:0 0 10px;
  color:var(--teal);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.84rem;
}
.pricing-title{
  max-width: none;
}
.pricing-lead{
  margin: 0 0 0px;
  color:#3a5a63;
  max-width: 52ch;
  font-size: 1.08rem;
}
.pricing-cta{
  background: var(--sun);
  color: #3a2a06;
  border: none;
  box-shadow: 0 10px 24px rgba(255,200,87,.45);
}
.pricing-cta:hover{
  transform: translateY(-2px);
}
.price-menu{
  width:100%;
  max-width:640px;
  display:grid;
  grid-template-columns:1fr;
  gap:30px;
  margin:0 auto 22px;
  text-align:left;
}
.price-menu__heading{
  margin:0 0 4px;
  color:var(--teal);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.8rem;
  text-align:center;
}
.price-menu__list{
  list-style:none;
  margin:0;
  padding:0;
}
.price-row{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:13px 0;
  border-bottom:1px solid rgba(23,50,58,.12);
}
.price-row:last-child{
  border-bottom:none;
}
.price-row__name{
  flex:0 0 auto;
  color:var(--ink);
  font-weight:600;
}
.price-row__dots{
  flex:1 1 auto;
  align-self:center;
  border-bottom:2px dotted rgba(23,50,58,.22);
  transform:translateY(-3px);
}
.price-row__detail {
  font-size: 0.85em; /* Rende il testo più piccolo */
  opacity: 0.7;      /* Rende il colore più chiaro/sfumato */
}
.price-row__price{
  flex:0 0 auto;
  color:var(--teal);
  font-weight:800;
  font-size:1.12rem;
}
.price-row__fidelity{
  flex:0 0 auto;
  color:var(--fidelity-red);
  font-weight:800;
  font-size:1.12rem;
}
.pricing-fidelity{
  color:var(--fidelity-red);
  font-weight:800;
}
.pricing-legend{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:8px 0 16px;
  color:#4a6871;
  font-size:.85rem;
  justify-content:center;
}
.pricing-legend > span:first-child{
  color:var(--teal);
  font-weight:800;
}
.pricing-card-note{
  margin:0;
  color:#4a6871;
  font-size:.92rem;
  text-align:center;
}
@media (max-width: 860px){
  .pricing-copy{
    align-items:center;
    text-align:center;
  }
  .pricing-title{
    max-width: 16ch;
  }
  .pricing-lead{
    max-width: 38ch;
  }
  .price-menu{
    gap:24px;
    text-align:left;
    max-width:520px;
  }
}
@media (max-width: 520px){
  .price-row{
    display:grid;
    grid-template-columns:1fr auto auto;
    align-items:baseline;
    gap:4px 10px;
  }
  .price-row__dots{
    display:none;
  }
  .price-row__name{
    grid-column:1;
    min-width:0;
  }
  .price-row__price,
  .price-row__fidelity{
    white-space:nowrap;
  }
  .price-row__price{ grid-column:2; }
  .price-row__fidelity{
    grid-column:3;
    margin-left:0;
  }
}
.cards{
  display:grid;
  margin-bottom: 2rem;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
.cards.programs-list{
  grid-template-columns:1fr;
  width:100%;
  max-width:none;
  margin-top:8px;
  margin-right:auto;
  margin-left:auto;
  gap:0;
}
.programs-list .program-card{
  display:grid;
  grid-template-columns:11rem max-content max-content 1fr;
  gap:14px 26px;
  align-items:center;
  padding:12px 0;
  border:0;
  border-bottom:1px solid rgba(23,50,58,.14);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  cursor:default;
  text-align:left;
}
.programs-list .program-card:hover{
  transform:none;
  border-color:var(--aqua);
  box-shadow:none;
  background:rgba(10,155,196,.05);
}
.programs-list .program-card h3{
  margin:0;
}
.programs-list .program-card span{
  color:#4a6871;
  font-size:.92rem;
}
.programs-list .program-card span:nth-of-type(2),
.programs-list .program-card span:nth-of-type(3){
  justify-self:end;
  white-space:nowrap;
}
@media (max-width:900px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .cards{ grid-template-columns:1fr; } }
@media (max-width:860px){ .cards.programs-list{ max-width:520px; } }
@media (max-width:700px){
  .programs-list .program-card{
    grid-template-columns:minmax(0, max-content) max-content max-content 1fr;
    gap:10px 14px;
  }
  .programs-list .program-card span{
    font-size:.82rem;
  }
}
.amenities-grid{ grid-template-columns:repeat(3, 1fr); margin-bottom:0; }
@media (max-width:900px){ .amenities-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .amenities-grid{ grid-template-columns:1fr; } }
.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:22px 18px;
  box-shadow:var(--shadow);
  text-align:center;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform:translateY(-4px);
  border-color:var(--aqua);
  box-shadow:0 20px 40px rgba(11,91,115,.16);
}
.card-icon{
  width:52px; height:52px; margin:0 auto 12px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--aqua), var(--aqua-bright));
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  box-shadow:0 8px 18px rgba(10,155,196,.35);
}
.card-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.card h3{
  font-family:var(--font-body);
  font-size:1.03rem;
  margin:0 0 8px;
  color:var(--teal);
}
.card p{ margin:0; color:#3a5a63; font-size:.92rem; line-height:1.45; }

/* ---------- Teaser / CTA band ---------- */
.teaser{
  background:linear-gradient(135deg, var(--foam), #f6fcfd);
  border-radius:var(--radius-lg);
  padding:44px 36px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
  text-align:center;
}
.teaser-section{
  padding-top: 18px;
  padding-bottom: 18px;
}
.review-banner-section{
  padding-top: 8px;
  padding-bottom: 24px;
}
.teaser h2{ font-family:var(--font-body); margin:0 0 8px; color:var(--teal); }
.teaser p{ margin:0 auto; color:#3a5a63; max-width:52ch; }

/* ---------- Footer ---------- */
footer.site-footer{
  position:relative; z-index:1;
  margin-top:56px;
  padding:48px 0 26px;
  background: linear-gradient(160deg, var(--ink), var(--teal));
  color:#cfe6ec;
  font-size:.92rem;
  border-radius:var(--radius-lg) var(--radius-lg) 0 0;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap:28px;
  padding-bottom:32px;
}
.footer-brand{
  display:flex;
  align-items:flex-start;
  gap:14px;
}
.footer-logo-badge{
  flex-shrink:0;
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.footer-logo-badge img{ width:34px; height:34px; object-fit:contain; }
.footer-brand strong{
  display:block;
  color:var(--white);
  font-family:var(--font-body);
  font-size:1.05rem;
  margin-bottom:4px;
}
.footer-brand p{ margin:0; color:#cfe6ec; line-height:1.5; }
.footer-col h3{
  margin:0 0 14px;
  color:var(--sun);
  font-family:var(--font-body);
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.footer-col p{ margin:0 0 8px; }
.footer-col a{
  color:#cfe6ec;
  text-decoration:none;
}
.footer-col a:hover{ color:var(--white); text-decoration:underline; }
.footer-nav{ display:flex; flex-direction:column; gap:8px; }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14);
  color:#9fc0c9;
  font-size:.85rem;
}
.footer-privacy-link{
  color:#cfe6ec;
  font-weight:600;
  text-decoration:none;
}
.footer-privacy-link:hover{ color:var(--white); text-decoration:underline; }

@media (max-width:860px){
  .footer-top{
    grid-template-columns:repeat(2, 1fr);
  }
  .footer-brand{ grid-column:1 / -1; }
}
@media (max-width:520px){
  .footer-top{ grid-template-columns:1fr; gap:26px; }
  .footer-bottom{ justify-content:center; text-align:center; }
}

.skip-link{
  position:fixed;
  inset-inline-start:16px;
  top:0;
  transform:translateY(-150%);
  background:var(--teal); color:#fff; padding:10px 16px; border-radius:8px; z-index:10;
}
.skip-link:focus{ top:16px; transform:translateY(0); }

/* ---------- Mappa Google Maps ---------- */
.map-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--white);
  line-height: 0; /* Rimuove lo spazio bianco extra sotto l'iframe */
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Segnaposto mostrato finché Google Maps non è autorizzato */
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  text-align: center;
  line-height: 1.5;
  background: var(--foam);
}

.map-placeholder p {
  margin: 0;
  max-width: 46ch;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
}

.map-placeholder[hidden] {
  display: none;
}

.reviews-sub{
  margin:2px 0 0;
  color:#4a6871;
  font-size:.92rem;
}

.reviews-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:column;
  gap: 18px;
  margin-bottom: 16px;
  text-align:center;
}

.reviews-eyebrow {
  margin: 0 0 2px;
  color: #3a5a63;
  font-size: .88rem;
}

.reviews-heading h2 {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-body);
}

.reviews-link {
  color: var(--teal);
  background:var(--foam);
  border:1.5px solid var(--teal);
  font-weight: 600;
  font-size: .84rem;
  padding: 8px 14px;
  white-space: nowrap;
}
.reviews-link:hover{
  color:var(--teal);
  background:var(--sun-soft);
  border-color:var(--teal);
}
.teaser-instructions-link,
.teaser-instructions-link:hover {
  background: #facc6e;
  color: #3a2a06;
  border: 2px solid var(--teal);
  box-shadow: 0 10px 24px rgba(255,200,87,.45);
}

.reviews-marquee {
  overflow: hidden;
  padding: 4px 0 12px;
}

.reviews-track,
.reviews-copy {
  display: flex;
  gap: 0;
  width: max-content;
}

.reviews-track {
  animation: reviews-scroll 100s linear infinite;
}

.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track {
  animation-play-state: paused;
}

.review-card {
  display: flex;
  flex-direction: column;
  width: min(340px, calc(100vw - 64px));
  padding: 6px 30px;
  border: none;
  border-left: 1px solid rgba(23, 50, 58, .16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.reviews-track > .review-card:first-child {
  border-left: none;
}

.review-card p::before {
  content: "\201C";
}

.review-card p::after {
  content: "\201D";
}

.review-meta {
  order: -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  color: var(--teal);
  font-size: .9rem;
}

.review-stars {
  color: var(--sun);
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card p {
  order: 1;
  margin: 4px 0 14px;
  color: #3a5a63;
  font-style: italic;
  line-height: 1.55;
  flex: 1 1 auto;
}

@keyframes reviews-scroll {
  to { transform: translateX(-50%); }
}

/* Il nastro delle recensioni deve scorrere sempre nello stesso verso: in RTL
   (arabo) il flusso invertito faceva uscire le card e scorreva solo il vuoto.
   Teniamo il layout del nastro in LTR e rimettiamo il testo in RTL solo nel
   paragrafo della recensione. */
.reviews-marquee,
.reviews-track,
.reviews-copy {
  direction: ltr;
}
.reviews-track,
.reviews-copy {
  flex-direction: row;
}
html[dir="rtl"] .review-card p {
  direction: rtl;
  text-align: right;
}

@media (max-width: 600px) {
  .map-container iframe {
    height: 300px; /* Riduce leggermente l'altezza su schermi piccoli */
  }

  .reviews-heading {
    align-items: center;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
  .reviews-marquee { overflow-x: auto; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:900;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  transition:transform .18s ease;
}
.whatsapp-float:hover{ transform:translateY(-3px); }
.whatsapp-float:focus-visible{ outline:3px solid var(--sun); outline-offset:3px; }

/* ---------- Home: hero e presentazione del brand ---------- */
.home-page .wrap{ width:100%; max-width:1250px; }
.home-page header.site-header{
  position:absolute;
  padding:0;
  min-height:78px;
  display:flex;
  align-items:center;
  background:var(--white);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-bottom:1px solid var(--foam);
  box-shadow:0 4px 14px rgba(23,50,58,.08);
}
.home-page .header-row{
  width:100%;
  min-height:78px;
  flex-wrap:nowrap;
  gap:28px;
}
.home-page .brand{ color:var(--teal); font-size:1.2rem; gap:9px; }
.home-page .brand-logo{ width:38px; height:38px; }
.home-page nav.main-nav{ gap:22px; }
.home-page nav.main-nav a{
  color:var(--teal);
  font-size:.96rem;
  padding:8px 14px;
  background:var(--foam);
  border:1.5px solid var(--teal);
  border-radius:999px;
  transition:background-color .2s, border-color .2s, color .2s;
}
.home-page nav.main-nav a:hover{
  color:var(--teal);
  background:var(--sun-soft);
  border-color:var(--teal);
}
.home-page nav.main-nav a.active{
  color:var(--teal);
  background:var(--sun-soft);
  border-color:var(--teal);
}
.home-page nav.main-nav a.active:hover{ background:var(--sun-soft); border-color:var(--teal); }
.home-page .lang-switch select{
  color:var(--teal);
  background:var(--foam);
  border-color:var(--teal);
  transition:background-color .2s, border-color .2s;
}
.home-page .lang-switch select:hover{ background:var(--sun-soft); border-color:var(--teal); }
.home-page .lang-switch::after{ color:var(--teal); }

.home-page .hero-banner{
  height:calc(100vh - 178px);
  min-height:380px;
  max-height:950px;
  isolation:isolate;
  background:none;
}
.home-page .hero-banner::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:-7%;
  background-image:linear-gradient(180deg, rgba(14,100,129,.4) 0%, rgba(14,100,129,.14) 32%, rgba(14,100,129,.44) 100%), url('pictures/foto1.webp');
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
  transform:translate3d(0, var(--hero-parallax-offset, 0px), 0) scale(1.04);
  will-change:transform;
}
.home-page .hero-banner::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:64px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 64' preserveAspectRatio='none'%3E%3Cpath d='M0,34 C240,64 460,6 700,32 C940,58 1160,4 1400,30 L1400,64 L0,64 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat;
  background-size:100% 100%;
  pointer-events:none;
}
.hero-bubbles{
  position:absolute;
  pointer-events:none;
}
.hero-bubbles--a{
  top:16%; left:9%;
  width:70px; height:320px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 320'%3E%3Ccircle cx='10' cy='300' r='5' fill='white' fill-opacity='.6'/%3E%3Ccircle cx='40' cy='230' r='9' fill='white' fill-opacity='.4'/%3E%3Ccircle cx='16' cy='150' r='4' fill='white' fill-opacity='.55'/%3E%3Ccircle cx='52' cy='80' r='7' fill='white' fill-opacity='.4'/%3E%3Ccircle cx='22' cy='24' r='3' fill='white' fill-opacity='.5'/%3E%3C/svg%3E") no-repeat;
}
.hero-bubbles--b{
  top:10%; right:12%;
  width:60px; height:260px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 260'%3E%3Ccircle cx='42' cy='230' r='6' fill='%23ffc857' fill-opacity='.75'/%3E%3Ccircle cx='16' cy='150' r='4' fill='white' fill-opacity='.55'/%3E%3Ccircle cx='38' cy='70' r='8' fill='white' fill-opacity='.4'/%3E%3C/svg%3E") no-repeat;
}
.brand-panel{
  position:relative;
  z-index:2;
  width:min(calc(100% - 40px), 1120px);
  margin:-162px auto 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  transform:translateY(-30px);
}
.brand-panel__badge{
  position:relative;
  width:220px;
  height:220px;
  border-radius:50%;
  overflow:hidden;
  background:var(--white);
  box-shadow:0 22px 50px rgba(23,50,58,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.brand-panel__logo{
  position:relative;
  width:182px;
  height:182px;
  object-fit:contain;
}
.brand-panel__copy{ margin-top:16px; }
.brand-panel .title-main{
  margin:0;
  color:var(--teal);
  background:none;
  -webkit-background-clip:initial;
  background-clip:initial;
  -webkit-text-fill-color:currentcolor;
  font-size:clamp(2.15rem, 4.2vw, 4.1rem);
  font-weight:800;
  line-height:1.03;
  letter-spacing:-.045em;
}
.brand-panel .accent{
  margin:10px 0 0;
  color:var(--logo-yellow-soft);
  font-size:clamp(1.15rem, 2.25vw, 2rem);
  font-weight:800;
  line-height:1.15;
}
.home-page .section{ padding:52px 0; }
.home-service-highlights__heading{
  max-width:1050px;
  margin:0 auto 34px;
  text-align:center;
}
.home-service-highlights .section-title{
  font-size:clamp(1.5rem, 3vw, 2.7rem);
  line-height:1.12;
  text-align:center;
  white-space:nowrap;
}
.home-service-highlights .section-sub{
  margin:0 auto;
  text-align:center;
  font-size:1.04rem;
}
.home-service-highlights__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}
.service-highlight{
  padding:6px 30px;
  text-align:center;
  position:relative;
}
.service-highlight + .service-highlight::before{
  content:"";
  position:absolute;
  left:-9px;
  top:6px;
  bottom:6px;
  width:1px;
  background:rgba(14,100,129,.16);
}
.service-highlight:hover{ transform:none; box-shadow:none; }
.service-highlight__icon{
  display:grid;
  width:52px;
  height:52px;
  place-items:center;
  margin:0 auto 18px;
  border-radius:50%;
  background:var(--foam);
  border:1px solid rgba(23,111,147,.18);
  color:var(--teal);
  box-shadow:none;
}
.service-highlight__icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-highlight h3{ margin:0 0 10px; color:var(--teal); font-size:1.2rem; }
.service-highlight p{ margin:0 auto; max-width:34ch; color:#4a6871; line-height:1.6; }

@media (max-width:860px){
  .home-page .hero-banner{ height:calc(100svh - 140px); min-height:300px; max-height:560px; }
  .home-page .hero-banner::before{ transform:scale(1.02); will-change:auto; }
  .home-page .hero-banner::after{ height:48px; }
  .hero-bubbles{ display:none; }
  .brand-panel{ margin-top:-128px; transform:translateY(-24px); }
  .brand-panel__badge{ width:174px; height:174px; }
  .brand-panel__logo{ width:144px; height:144px; }
  .home-page .section{ padding-block:40px; }
  .section-title-dove-siamo{ margin-top:72px; }
  .home-service-highlights__grid{ grid-template-columns:1fr; gap:8px; }
  .service-highlight{ min-height:0; padding:22px 24px; }
  .service-highlight + .service-highlight::before{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    width:auto;
    height:1px;
  }
  .service-highlight__icon{ margin-bottom:12px; }
}
@media (max-width:700px){
  .home-page header.site-header{ position:relative; min-height:0; }
  .home-page .header-row{
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:8px 14px;
    padding-top:11px;
    padding-bottom:11px;
  }
  .home-page .brand{ min-width:0; font-size:1rem; }
  .home-page .brand-logo{ width:32px; height:32px; }
  .home-page nav.main-nav{ grid-column:1 / -1; grid-row:2; margin-left:0; gap:20px; }
  .home-page nav.main-nav a{ font-size:.9rem; }
  .home-page .lang-switch{ align-self:center; }
  .home-page .lang-switch select{ font-size:.8rem; padding:7px 28px 7px 11px; }
  .home-page .lang-switch::after{ right:11px; }
  .home-page header.site-header{
    background:var(--white);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    border-bottom:1px solid var(--foam);
  }
  .home-page .hero-banner{ height:calc(100svh - 250px); min-height:260px; max-height:660px; }
  .home-page .hero-banner::after{ height:36px; }
  .brand-panel{ width:calc(100% - 96px); margin-top:-100px; transform:translateY(-18px); }
  .brand-panel__badge{ width:137px; height:137px; }
  .brand-panel__logo{ width:113px; height:113px; }
  .brand-panel .title-main{ font-size:clamp(2rem, 10vw, 2.7rem); }
  .brand-panel .accent{ margin-top:7px; font-size:1.15rem; }
  .home-page .section{ padding-block:34px; }
  .section-title-dove-siamo{ margin-top:60px; }
  .home-service-highlights .section-title{ white-space:normal; }
  .service-highlight{ padding:24px; }
}
@media (prefers-reduced-motion: reduce){
  .home-page .hero-banner::before,
  .service-highlight{ transform:none; transition:none; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:950;
  max-width:640px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  padding:18px 20px;
  border-radius:18px;
  background:var(--ink);
  color:#eaf6f8;
  box-shadow:0 16px 40px rgba(0,0,0,.28);
}
.cookie-banner p{ margin:0; flex:1 1 260px; font-size:.88rem; line-height:1.5; }
.cookie-banner-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
}
.cookie-banner-actions a{
  color:#eaf6f8;
  font-size:.85rem;
  text-decoration:underline;
  white-space:nowrap;
}
.cookie-banner-actions .btn{
  padding:9px 18px;
  font-size:.88rem;
  white-space:nowrap;
}
.cookie-banner[hidden]{ display:none; }
@media (max-width:480px){
  .whatsapp-float{ width:50px; height:50px; right:14px; bottom:14px; }
  .cookie-banner{ left:32px; right:32px; padding:16px; }
}

/* Riga legale nel footer (dati societari) */
.footer-bottom-inner { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.footer-legal { opacity: .8; font-size: .78rem; line-height: 1.5; }
