/* =========================================================================
   Hotel La Rusticana - Giardini Naxos
   Design system & global styles
   Mobile-first, accessible, performance-minded. No external CSS frameworks.
   ========================================================================= */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand palette - drawn from the logo (terracotta red + olive) and the sea */
  --c-terracotta: #b5331f;      /* logo red - primary brand */
  --c-terracotta-dk: #8f2616;
  --c-olive: #8a8a3a;           /* logo "Hotel" olive */
  --c-sea: #1f7a8c;             /* Giardini Naxos sea */
  --c-sea-dk: #155d6b;
  --c-sand: #f3e9dc;            /* warm sand / cream background */
  --c-cream: #fbf7f1;
  --c-ink: #2a2320;             /* near-black warm text */
  --c-ink-soft: #5d534c;
  --c-line: #e4d8c8;
  --c-white: #ffffff;
  --c-gold: #c79a3e;

  /* Typography */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(42, 35, 32, 0.08);
  --shadow-md: 0 12px 40px rgba(42, 35, 32, 0.14);
  --header-h: 88px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------  Reset & base  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--c-sea-dk); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-terracotta); }

ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--c-ink);
  letter-spacing: 0.005em;
}

:focus-visible {
  outline: 3px solid var(--c-sea);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ----------  Layout helpers  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, var(--space-7)); }
.section--tint { background: var(--c-sand); }
.section--ink { background: var(--c-ink); color: #f0e9e0; }
.section--ink h2, .section--ink h3 { color: #fff; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-terracotta);
  color: #fff;
  padding: 0.7rem 1.2rem;
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ----------  Typographic blocks  ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: var(--space-2);
}
.section--ink .eyebrow { color: var(--c-gold); }

.section-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-bottom: var(--space-2);
}
.section-lead {
  max-width: 62ch;
  color: var(--c-ink-soft);
  font-size: 1.075rem;
}
.section--ink .section-lead { color: #d8cfc4; }

.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: center;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-terracotta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-terracotta-dk); color: #fff; box-shadow: var(--shadow-md); }

.btn--sea { background: var(--c-sea); color: #fff; box-shadow: var(--shadow-sm); }
.btn--sea:hover { background: var(--c-sea-dk); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

.btn--outline { background: transparent; color: var(--c-terracotta); border-color: var(--c-terracotta); }
.btn--outline:hover { background: var(--c-terracotta); color: #fff; }

.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; color: #fff; }

.btn--lg { padding: 1.1rem 2.3rem; font-size: 1rem; }

/* ====================================================================
   HEADER / NAVIGATION
   ==================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  /* iOS safe-area + small extra as REAL top space, so logo/menu never touch the notch.
     No fixed height: top/bottom padding + content define the height, so the padding
     actually pushes the bar down instead of being absorbed by a fixed height. */
  padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
  padding-bottom: 8px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
/* transparent over hero, solid on scroll */
.site-header.is-solid {
  background: rgba(251, 247, 241, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: var(--shadow-sm);
}

.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand img { height: 58px; width: auto; transition: filter 0.3s var(--ease); }
/* on the solid (light cream) header the yellow "Hotel" word lacks contrast:
   a subtle dark drop-shadow outlines it without changing its colour */
.site-header.is-solid .brand img {
  filter: drop-shadow(0 0 0.5px rgba(90,70,0,0.55)) drop-shadow(0 1px 1px rgba(0,0,0,0.18));
}
/* logo is dark/red - keep it readable on the transparent dark hero */
.site-header:not(.is-solid) .brand img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.4));
}

.nav { display: flex; align-items: center; gap: var(--space-3); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav__link {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--c-ink);
  position: relative;
  padding-block: 0.4rem;
}
.site-header:not(.is-solid) .nav__link { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--c-terracotta);
  transition: width 0.25s var(--ease);
}
.site-header:not(.is-solid) .nav__link::after { background: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__link:hover { color: var(--c-terracotta); }
.site-header:not(.is-solid) .nav__link:hover { color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 0.8rem; }

.lang-switch { display: flex; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; }
.lang-switch a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.55rem; border-radius: 6px; color: inherit; }
.lang-switch a img { width: 21px; height: 15px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); object-fit: cover; }
.lang-switch a[aria-current="true"] { background: var(--c-terracotta); color: #fff; }
.site-header:not(.is-solid) .lang-switch a { color: #fff; }
.site-header:not(.is-solid) .lang-switch a[aria-current="true"] { background: rgba(255,255,255,0.25); }

/* hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none; background: transparent;
  cursor: pointer; padding: 10px;
  z-index: 1100;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--c-ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span + span { margin-top: 6px; }
.site-header:not(.is-solid) .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
body.nav-open .site-header .nav-toggle span { background: var(--c-ink); }

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  min-height: 112svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero__slide.is-active { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,18,16,0.45) 0%, rgba(20,18,16,0.25) 40%, rgba(20,18,16,0.65) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.hero__eyebrow {
  font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  font-size: 0.8rem; color: #fff;
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: var(--space-2);
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--c-gold); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 600;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  max-width: 16ch;
}
.hero h1 .accent { color: var(--c-gold); font-style: italic; }
.hero__sub {
  margin-top: var(--space-3);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 46ch;
  color: #f3ece2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero__cta { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0.85;
}
.hero__scroll span {
  width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.6); border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: #fff; border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* quick info bar under hero */
.infobar { background: var(--c-terracotta); color: #fff; }
.infobar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.infobar__item {
  padding: 1.4rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.18);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.infobar__item:last-child { border-right: none; }
.infobar__item strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.infobar__item span { font-size: 0.82rem; letter-spacing: 0.04em; opacity: 0.92; }

/* ====================================================================
   ABOUT
   ==================================================================== */
.about__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.about__media .stamp {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--c-olive); color: #fff;
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-md); padding: 0.5rem;
}
.about__media .stamp b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.about__media .stamp span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.about__text p + p { margin-top: var(--space-2); }
.about__text .section-lead { color: var(--c-ink-soft); }
.about__sign {
  margin-top: var(--space-3);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.5rem; color: var(--c-terracotta);
}

/* ====================================================================
   FEATURES
   ==================================================================== */
.features__grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature__icon {
  width: 64px; height: 64px; margin: 0 auto var(--space-2);
  display: grid; place-content: center;
  border-radius: 50%;
  background: var(--c-sand);
  color: var(--c-terracotta);
}
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.95rem; color: var(--c-ink-soft); }

/* ====================================================================
   ROOMS
   ==================================================================== */
/* flex (not grid) so an incomplete last row (e.g. 5 cards over 3 cols) stays centred, no lopsided gap */
.rooms__grid {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: center;
}
.rooms__grid > .room-card {
  flex: 1 1 300px;
  max-width: calc((100% - 2 * var(--space-3)) / 3);
}
.room-card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.room-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.07); }
.room-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(251,247,241,0.95); color: var(--c-terracotta);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 50px;
}
.room-card__body { padding: var(--space-3); display: flex; flex-direction: column; flex: 1; }
.room-card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.room-card p { font-size: 0.95rem; color: var(--c-ink-soft); margin-bottom: var(--space-2); }
.room-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  font-size: 0.85rem; color: var(--c-ink-soft);
  margin-bottom: var(--space-3); padding-top: var(--space-2);
  border-top: 1px solid var(--c-line);
}
.room-card__meta li { display: flex; align-items: center; gap: 0.4rem; }
.room-card__meta svg { width: 16px; height: 16px; color: var(--c-sea); flex-shrink: 0; }
.room-card__foot { margin-top: auto; }

/* ====================================================================
   GALLERY
   ==================================================================== */
.gallery__grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery__grid + .gallery__cat { margin-top: var(--space-5); }
.gallery__cat {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--c-terracotta-dk);
  margin-bottom: var(--space-3);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-line);
  display: flex; align-items: center; gap: 0.7rem;
}
.gallery__cat::before {
  content: ""; width: 28px; height: 2px; background: var(--c-terracotta);
}
.gallery__item {
  overflow: hidden; border-radius: var(--radius-sm);
  cursor: pointer; position: relative;
  border: none; padding: 0; background: var(--c-sand);
  aspect-ratio: 4 / 3;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(42,35,32,0); transition: background 0.3s var(--ease);
}
.gallery__item:hover::after { background: rgba(42,35,32,0.18); }
/* tall/wide modifiers neutralised: uniform grid, no gaps */
.gallery__item--tall, .gallery__item--wide { grid-row: auto; grid-column: auto; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(15,12,10,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff;
  border: none; cursor: pointer; width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.5rem; display: grid; place-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.28); }
.lightbox__close { top: 4vw; right: 4vw; }
.lightbox__nav--prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 2vw; top: 50%; transform: translateY(-50%); }

/* ====================================================================
   LOCATION
   ==================================================================== */
.location__grid {
  display: grid; gap: clamp(2rem,5vw,4rem);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.location__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.poi-list { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.poi {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2); background: var(--c-white);
  border-radius: var(--radius-sm); border: 1px solid var(--c-line);
}
.poi__dist {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--c-terracotta); min-width: 74px;
}
.poi__name strong { display: block; font-size: 1rem; }
.poi__name span { font-size: 0.85rem; color: var(--c-ink-soft); }

/* ====================================================================
   REVIEWS
   ==================================================================== */
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.score-badge {
  display: flex; align-items: center; gap: var(--space-2);
  background: var(--c-sea); color: #fff; padding: 0.9rem 1.4rem; border-radius: var(--radius);
}
.score-badge b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.score-badge span { font-size: 0.85rem; line-height: 1.3; }
.reviews__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(3, 1fr); }
.review {
  background: var(--c-white); border-radius: var(--radius);
  padding: var(--space-3); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.review__stars { color: var(--c-gold); letter-spacing: 0.1em; }
.review__text { font-style: italic; color: var(--c-ink); flex: 1; }
.review__author { display: flex; align-items: center; gap: 0.8rem; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-sand); color: var(--c-terracotta);
  display: grid; place-content: center; font-weight: 700; font-family: var(--font-display); font-size: 1.2rem;
}
.review__author b { display: block; font-size: 0.95rem; }
.review__author span { font-size: 0.8rem; color: var(--c-ink-soft); }

/* ====================================================================
   SERVIZI ESCLUSIVI - image cards with title overlay (like casevacanze)
   ==================================================================== */
.exservices__grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(4, 1fr);
}
.exservice {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  min-height: 380px; color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.exservice:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: #fff; }
.exservice img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; transition: transform 0.6s var(--ease);
}
.exservice:hover img { transform: scale(1.07); }
.exservice::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.25) 50%, rgba(20,18,16,0.1) 100%);
}
.exservice__body {
  position: relative; z-index: 2;
  height: 100%; min-height: inherit;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-3);
}
.exservice h3 {
  color: #fff; font-size: 1.5rem; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.exservice__tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--c-terracotta); color: #fff;
  padding: 0.3rem 0.7rem; border-radius: 50px; margin-bottom: 0.7rem;
}

/* ====================================================================
   APARTMENTS (Altre soluzioni di alloggio) - circular images like old site
   ==================================================================== */
.apartments__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.apartment {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; color: var(--c-ink);
  flex: 0 1 360px;
}
.apartment h3 {
  order: -1; /* title above the image, as in the original layout */
  font-size: 1.9rem; margin-bottom: var(--space-3);
}
.apartment__media {
  width: clamp(220px, 30vw, 340px); aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease);
}
.apartment:hover .apartment__media { transform: translateY(-6px); }
.apartment__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.apartment:hover .apartment__media img { transform: scale(1.06); }

/* ====================================================================
   CTA BANNER
   ==================================================================== */
.cta-banner {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background-color: #2a2320;
}
/* real <img> background - robust everywhere, including file:// */
.cta-banner__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(20,18,16,0.6), rgba(20,18,16,0.6));
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.cta-banner p { color: #f0e9e0; max-width: 50ch; margin: var(--space-2) auto var(--space-4); }
.cta-banner__btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer { background: var(--c-ink); color: #cabfb4; padding-block: var(--space-6) var(--space-3); font-size: 0.95rem; }
.footer__grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand img { height: 66px; filter: brightness(0) invert(1); margin-bottom: var(--space-2); }
.footer__brand p { max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: var(--space-2); letter-spacing: 0.02em; }
.footer ul { display: grid; gap: 0.6rem; }
.footer a { color: #cabfb4; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--c-gold); flex-shrink: 0; margin-top: 3px; }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 0.5rem var(--space-3);
  justify-content: space-between; align-items: center;
  padding-top: var(--space-3); font-size: 0.82rem; color: #9b9189;
}
.footer__legal .codes { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ====================================================================
   PAGE HEADER (interior pages)
   ==================================================================== */
.page-hero {
  position: relative; min-height: 52vh; display: flex; align-items: flex-end;
  color: #fff; padding-bottom: var(--space-5); margin-top: 0;
}
.page-hero { background-color: #2a2320; overflow: hidden; }
.page-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,18,16,0.35), rgba(20,18,16,0.7));
}
.page-hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.85rem; color: #e7ddd2; margin-bottom: var(--space-1); }
.breadcrumb a { color: #e7ddd2; }
.breadcrumb a:hover { color: #fff; }

/* prose for legal/text pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.8rem; margin-top: var(--space-4); margin-bottom: var(--space-2); color: var(--c-terracotta-dk); }
.prose h3 { font-size: 1.3rem; margin-top: var(--space-3); margin-bottom: var(--space-1); }
.prose p { margin-bottom: var(--space-2); color: var(--c-ink-soft); }
.prose ul { list-style: none; display: grid; gap: 0.5rem; margin-bottom: var(--space-2); }
.prose ul li { padding-left: 1.5rem; position: relative; color: var(--c-ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--c-olive); border-radius: 50%; }
.prose strong { color: var(--c-ink); }
.info-card {
  background: var(--c-sand); border-radius: var(--radius);
  padding: var(--space-3); margin: var(--space-3) 0;
  border-left: 4px solid var(--c-terracotta);
}

/* contact page */
.contact__grid { display: grid; gap: clamp(2rem,5vw,3.5rem); grid-template-columns: 1fr 1.2fr; align-items: start; }
.contact__cards { display: grid; gap: var(--space-2); }
/* 2×2 layout when contact details stand alone (no form column) */
.contact__cards--grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 640px) { .contact__cards--grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; gap: var(--space-2); align-items: flex-start;
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: var(--space-3);
}
.contact-card__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: var(--c-sand); color: var(--c-terracotta);
  display: grid; place-content: center;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.contact-card a, .contact-card p { color: var(--c-ink-soft); font-size: 0.98rem; }
.contact-card a:hover { color: var(--c-terracotta); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* form */
.form { display: grid; gap: var(--space-2); }
.form__row { display: grid; gap: var(--space-2); grid-template-columns: 1fr 1fr; }
.form label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  background: var(--c-white); color: var(--c-ink); transition: border-color 0.2s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--c-sea); box-shadow: 0 0 0 3px rgba(31,122,140,0.15); }
.form textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.8rem; color: var(--c-ink-soft); }

/* ====================================================================
   SCROLL REVEAL
   ==================================================================== */
/* Reveal only animates when JS is active; without JS content stays fully visible (no hidden content, no a11y/SEO risk). */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .rooms__grid > .room-card { max-width: calc((100% - var(--space-3)) / 2); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .exservices__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  /* taller header bar on mobile: more vertical breathing room for logo + hamburger,
     well separated from the top (safe-area) */
  .site-header {
    padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
    padding-bottom: 16px;
  }

  /* mobile nav drawer */
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--c-cream);
    flex-direction: column; align-items: flex-start;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem) var(--space-4) var(--space-4);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    gap: var(--space-3); overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: var(--space-2); width: 100%; }
  .nav__link { color: var(--c-ink) !important; font-size: 1.15rem; text-shadow: none !important; }
  .nav__link::after { background: var(--c-terracotta) !important; }
  .nav__actions { flex-direction: column; align-items: flex-start; width: 100%; gap: var(--space-2); }
  .nav__actions .btn { width: 100%; justify-content: center; }
  .lang-switch a { color: var(--c-ink) !important; }
  /* dim backdrop */
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999;
  }

  .infobar__grid { grid-template-columns: repeat(2, 1fr); }
  .infobar__item:nth-child(2) { border-right: none; }
  .infobar__item:nth-child(1), .infobar__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.18); }

  .about__grid, .location__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; }
  .about__media img { aspect-ratio: 4/3; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .reviews__grid, .features__grid { grid-template-columns: 1fr; }
  .exservices__grid { grid-template-columns: 1fr; }
  .exservice { min-height: 300px; }
  .rooms__grid > .room-card, .room-card { max-width: 420px; margin-inline: auto; width: 100%; flex-basis: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .about__media .stamp { width: 100px; height: 100px; }
  .about__media .stamp b { font-size: 1.9rem; }
}

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq__list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq__item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--c-terracotta);
}
.faq__item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "+";
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--c-terracotta);
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}
.faq__item[open] > summary::after { transform: rotate(45deg); }
.faq__item > summary:hover { color: var(--c-terracotta); }
.faq__answer {
  padding: 0 1.4rem 1.25rem;
}
.faq__answer p {
  margin: 0;
  color: var(--c-ink-soft);
  line-height: 1.7;
  font-size: 1rem;
}
@media (max-width: 560px) {
  .faq__item > summary { font-size: 1.15rem; padding: 1rem 1.1rem; }
  .faq__answer { padding: 0 1.1rem 1.1rem; }
}

/* =========================================================================
   Map consent (click-to-load, GDPR)
   ========================================================================= */
.map-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--c-sand);
  background-image: linear-gradient(rgba(43,35,32,0.45), rgba(43,35,32,0.45)), url("assets/img/location/taormina.jpg");
  background-size: cover;
  background-position: center;
}
.map-consent__inner {
  max-width: 440px;
  padding: 2rem 1.5rem;
  color: #fff;
}
.map-consent__text {
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.map-consent__alt { margin: 1rem 0 0.4rem; }
.map-consent__alt a { color: #fff; font-weight: 600; text-decoration: underline; }
.map-consent__note { font-size: 0.8rem; margin: 0.6rem 0 0; color: rgba(255,255,255,0.85); }
.map-consent__note a { color: #fff; text-decoration: underline; }

/* Privacy note under contact actions */
.privacy-note {
  max-width: 640px;
  margin: 1.4rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
}

/* Legal links inline in footer bottom row */
.footer__legal-links { font-size: 0.85rem; margin: 0.3rem 0; }
.footer__legal-links a { color: inherit; opacity: 0.85; }
.footer__legal-links a:hover { opacity: 1; color: var(--c-terracotta); }
