:root {
  --white: #FFFFFF;
  --stone: #F6F5F2;
  --stone-dark: #E8E4DC;
  --charcoal: #0B0C0E;
  --charcoal-soft: #16181C;
  --heading: #16181C;
  --text: #22252A;
  --muted: #5F646D;
  --gold: #B49D4A;
  --gold-dark: #968136;
  --border: #E2DDD3;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1220px;
  --radius: 10px;
  --shadow-soft: 0 16px 38px rgba(11, 12, 14, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--heading);
}

.tag-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

/* Bottoni */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 700;
}

.btn-primary:hover {
  background: #C6AE57;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(180, 157, 74, 0.28);
}

.btn-glass {
  background: rgba(11, 12, 14, 0.45);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-glass:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn-outline {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* BARRA DEL MENU SCURA CHE VA A SFUMARE */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0 28px;
  color: var(--white);
  background: linear-gradient(
    180deg,
    rgba(11, 12, 14, 0.92) 0%,
    rgba(11, 12, 14, 0.68) 55%,
    rgba(11, 12, 14, 0) 100%
  );
  transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.navbar.is-scrolled {
  background: rgba(11, 12, 14, 0.96);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: auto;
  height: 56px;
  max-width: 215px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
  transition: height 0.3s ease;
}

.navbar.is-scrolled .brand-logo-img {
  height: 46px;
}

.footer-logo-img {
  width: auto;
  height: 78px;
  max-width: 240px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.92;
  padding-bottom: 6px;
  white-space: nowrap;
  transition: opacity 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  text-shadow: 0 0 14px rgba(180, 157, 74, 0.35);
}

.nav-links a.active:hover::after {
  background: linear-gradient(90deg, var(--gold), #D4BE6A);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.wa-link:hover {
  border-color: var(--gold);
  background: rgba(180, 157, 74, 0.18);
}

.wa-ico {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.phone-ico {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.quote-ico {
  display: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.burger-btn {
  display: none;
  background: rgba(11, 12, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

/* HERO A TUTTA PAGINA CON VIDEO */
.fullscreen-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  background: var(--charcoal);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.fullscreen-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.fullscreen-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 12, 14, 0.55) 0%,
    rgba(11, 12, 14, 0.12) 45%,
    rgba(11, 12, 14, 0.86) 100%
  );
  pointer-events: none;
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  left: 10px;
  width: 100%;
  padding-bottom: 64px;
  color: var(--white);
}

.hero-grid-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.hero-overlay-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  max-width: 720px;
  margin-bottom: 14px;
}

.hero-overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 580px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sezioni Corpo */
.section { padding: 20px 0; }
.section-stone { background-color: var(--stone); }

.section-title-box {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-title-box h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 14px;
}

.section-title-box p {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

/* Sezione Camere con IFRAME Slideshow alla stessa altezza della colonna testo */
.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: stretch;
}

.slide-box-camere {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--stone-dark);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
}

.iframe-camere {
  width: 100%;
  flex: 1;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--muted);
  margin: 0 0 26px;
}

.comfort-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  padding: 20px 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.comfort-list li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.comfort-ico {
  width: 18px;
  height: 18px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* Griglia 2 Card (Servizi e Offerte) a larghezza piena come Maison Grace */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(11, 12, 14, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.info-card-media {
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: var(--stone-dark);
}

.iframe-card {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.info-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.info-card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 22px;
  flex: 1;
}

/* Fascia Maison Grace e Peschici con IFRAME Slideshow */
.dark-highlight {
  background: var(--charcoal-soft);
  border: 1px solid rgba(180, 157, 74, 0.28);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.dark-highlight.dark-highlight-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.dark-highlight h2 {
  color: var(--white);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.dark-highlight p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 22px;
  max-width: 580px;
}

.maison-frame-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(180, 157, 74, 0.35);
  background: var(--charcoal);
  height: 100%;
}

.maison-frame,
.peschici-frame {
  width: 100%;
  height: 290px;
  border: 0;
  display: block;
}

/* Recensioni */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.portal-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 12px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.portal-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.portal-item img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

/* Contatti: Mappa + Form stessa grandezza */
.booking-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}

.box-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.box-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.map-iframe {
  width: 100%;
  flex: 1;
  min-height: 470px;
  height: 100%;
  border: 0;
  border-radius: 8px;
  display: block;
}

.asp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-group.span-2 { grid-column: 1 / -1; }

.f-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--heading);
}

.date-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.date-input-wrap input { flex: 1; min-width: 0; }
.cal-trigger { width: 25px; height: 25px; cursor: pointer; flex-shrink: 0; }

.f-group input[type="text"],
.f-group input[type="number"],
.f-group input[type="email"],
.f-group select,
.f-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #CFCBC2;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--stone);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
}

.date-input-wrap input[readonly] {
  background-color: var(--stone);
  cursor: pointer;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--charcoal) !important;
  font-weight: 700;
}

.flatpickr-day.today {
  border-color: var(--gold) !important;
}

.privacy-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.privacy-line select {
  width: auto;
  min-width: 74px;
  padding: 8px 10px;
}

.antispam-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
}

.antispam-badge {
  display: inline-block;
  background: var(--charcoal);
  color: var(--gold);
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-left: 6px;
}

.antispam-input {
  width: 110px !important;
  text-align: center;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  background: var(--white) !important;
  border: 1px solid var(--gold) !important;
}

.form-err {
  color: #B71C1C;
  font-size: 0.86rem;
  font-weight: 600;
}

.form-success-box {
  padding: 18px 20px;
  margin-bottom: 18px;
  background-color: #EDF7ED;
  border: 1px solid #4CAF50;
  border-left: 4px solid #2E7D32;
  border-radius: 6px;
  color: #1B5E20;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-success-box strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.form-loader-box {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--stone);
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-loader-box.is-active {
  display: flex;
}

.loader {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 3px solid var(--stone-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* EFFETTO FADE ALLO SCORRIMENTO SU TESTI E IMMAGINI */
.fade-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.12s; }
.fade-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-scroll { opacity: 1; transform: none; transition: none; }
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-heading {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
}

.footer-list a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-list a:hover { color: var(--gold); }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 0.84rem;
}

.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483647;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.confirm-modal {
  background: #ffffff;
  color: #1e293b;
  max-width: 440px;
  width: 100%;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.confirm-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border: 4px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: confirmSpin 0.9s linear infinite;
}

.confirm-modal h4 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #0f172a;
}

.confirm-modal p {
  margin: 0 0 16px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #475569;
}

.confirm-countdown {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 18px;
}

.confirm-btn-now {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 600;
}

.confirm-btn-now:hover {
  background: #e2e8f0;
}

.db-slider {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  display: block !important;
}

.db-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.db-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  z-index: 1;
}

.db-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2;
}

.slide-box-camere .db-slider,
.slide-box-camere .db-slides {
  min-height: 100%;
}

.info-card-media .db-slider,
.info-card-media .db-slides {
  min-height: 100%;
}

.info-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.maison-frame-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(180, 157, 74, 0.35);
  background: var(--charcoal);
  height: 100%;
}

.maison-frame-wrap .db-slider,
.maison-frame-wrap .db-slides {
  min-height: 290px;
}

.maison-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.db-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 12, 14, 0.65);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.db-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.db-prev { left: 14px; }
.db-next { right: 14px; }

.db-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 12, 14, 0.55);
}

.db-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.db-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

@keyframes confirmSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 1120px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.75rem; }
}

@media (max-width: 992px) {
  .feature-split,
  .booking-layout,
  .dark-highlight,
  .dark-highlight.dark-highlight-reverse,
  .footer-cols { grid-template-columns: 1fr; }
  .dark-highlight.dark-highlight-reverse .maison-frame-wrap { order: 2; }
  .cards-grid { grid-template-columns: 1fr; }
  .portals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dark-highlight { padding: 34px; }
  .slide-box-camere,
  .iframe-camere { height: 340px; min-height: 340px; }
}

@media (max-width: 920px) {
  .navbar-inner {
    display: grid !important;
    grid-template-columns: auto auto 1fr auto auto !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .nav-right {
    display: contents !important;
  }

  /* 1. Sinistra: Telefono e WhatsApp */
  .phone-link {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 7px 8px !important;
  }

  .whatsapp-link {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 7px 8px !important;
  }

  .phone-label,
  .wa-label,
  .quote-label {
    display: none !important;
  }

  /* 2. Centro: Logo */
  .brand {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    text-align: center !important;
  }

  /* 3. Destra: Icona Preventivo + Burger Menu */
  .quote-btn {
    grid-column: 4 !important;
    grid-row: 1 !important;
    padding: 7px 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .quote-ico {
    display: block !important;
  }

  .burger-btn {
    grid-column: 5 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    padding: 7px 10px !important;
  }

  /* Menu a tendina mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    grid-column: 1 / -1 !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 20px 24px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links li a::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .navbar-inner { gap: 6px !important; }
  .brand-logo-img, .navbar.is-scrolled .brand-logo-img { height: 38px !important; max-width: 135px !important; }
  .phone-link, .whatsapp-link, .quote-btn { padding: 6px 7px !important; }
  .burger-btn { padding: 6px 9px !important; font-size: 0.78rem !important; }

  .section { padding: 62px 0; }
  .fullscreen-hero { height: 85vh; min-height: 520px; }
  .cards-grid, .asp-form-grid, .comfort-list { grid-template-columns: 1fr; }
  .portals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box-card { padding: 22px; }
  .map-iframe { min-height: 300px; height: 300px; }
  .slide-box-camere,
  .iframe-camere { height: 240px; min-height: 240px; }
  .info-card-media { height: 240px; }
}