/* ===================================================
   HOTEL ROMA PINETO — Modern One-Page Site 2026
   =================================================== */

/* --- Variables & Reset --- */
:root {
  --navy: #1a3a5c;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --teal: #2e7d8f;
  --teal-dark: #1d5e6e;
  --sand: #f5efe6;
  --white: #ffffff;
  --off-white: #fafaf8;
  --text: #2a2a2a;
  --text-light: #6b7280;
  --border: #e5e0d8;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);

  --nav-height: 72px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
.serif { font-family: var(--font-serif); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 54ch;
  line-height: 1.7;
}

.section-subtitle--white { color: rgba(255,255,255,0.82); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { position: relative; }

.py-section { padding: 5.5rem 0; }
.py-section--sm { padding: 3.5rem 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,0.4); }

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: #142d4a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,58,92,0.35); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* ===================================================
   NAVIGATION
   =================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

#navbar.scrolled .nav-logo img { filter: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  transition: all var(--transition);
}

#navbar.scrolled .nav-link { color: var(--text); }

.nav-link:hover { color: var(--gold); }

.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

#navbar.scrolled .nav-hamburger span { background: var(--navy); }

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 850;
  padding: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.35s ease;
}

.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-drawer .nav-link {
  display: block;
  padding: 0.9rem 0;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.nav-drawer .nav-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  padding: 0.9rem;
}

/* ===================================================
   HERO
   =================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 960px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/mare-acqua-1.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,58,92,0.72) 0%,
    rgba(26,58,92,0.38) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  max-width: 50ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll svg { animation: bounceDown 2s ease-in-out infinite; }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero-scroll-line { width: 1px; height: 36px; background: rgba(255,255,255,0.4); margin: 0 auto; }

/* ===================================================
   INTRO STRIP
   =================================================== */
#intro-strip {
  background: var(--navy);
  padding: 1.5rem 0;
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.strip-item svg { color: var(--gold); flex-shrink: 0; }

.strip-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.strip-item span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.1rem;
}

/* ===================================================
   HOTEL SECTION
   =================================================== */
#hotel {
  background: var(--off-white);
}

.hotel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hotel-image-stack {
  position: relative;
}

.hotel-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hotel-img-accent {
  position: absolute;
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  bottom: -1.5rem;
  right: -1.5rem;
}

.hotel-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hotel-stars svg { color: var(--gold); }
.hotel-stars span { font-size: 0.82rem; color: var(--text-light); font-weight: 600; }

.hotel-text {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hotel-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.feature-item svg { color: var(--teal); flex-shrink: 0; }

/* ===================================================
   SERVICES
   =================================================== */
#servizi {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
}

.service-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.service-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  line-height: 1.5;
}

/* ===================================================
   ROOMS
   =================================================== */
#camere {
  background: var(--navy);
  overflow: hidden;
}

.rooms-header {
  text-align: center;
  margin-bottom: 3rem;
}

.rooms-slider-wrap {
  position: relative;
  overflow: hidden;
}

.rooms-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  will-change: transform;
}

.room-card {
  flex: 0 0 calc(33.333% - 1rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform var(--transition);
}

.room-card:hover { transform: translateY(-4px); }

.room-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.room-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.room-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.room-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.rooms-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.rooms-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  background: rgba(255,255,255,0.05);
}

.rooms-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.rooms-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.rooms-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all var(--transition);
}

.rooms-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Room features list */
.rooms-features {
  margin-top: 3rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.rooms-features-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.rooms-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.rf-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
}

.rf-item svg { color: var(--gold); flex-shrink: 0; }

/* ===================================================
   BEACH / SPIAGGIA
   =================================================== */
#spiaggia {
  background: var(--sand);
  overflow: hidden;
}

.beach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 580px;
}

.beach-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 0;
}

.beach-distance {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.beach-distance-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--teal);
  line-height: 1;
  font-weight: 700;
}

.beach-distance-unit {
  font-size: 1.3rem;
  color: var(--teal);
  font-weight: 700;
}

.beach-distance-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-left: 0.25rem;
}

.beach-text {
  font-size: 1.02rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.beach-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.beach-hi {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.beach-hi svg { color: var(--teal); flex-shrink: 0; }

.beach-image-col {
  position: relative;
  overflow: hidden;
}

.beach-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.beach-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--sand) 0%, transparent 30%);
}

/* Beach gallery strip */
.beach-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.beach-gallery-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition), filter var(--transition);
}

.beach-gallery-strip img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* ===================================================
   FAMILY SECTION
   =================================================== */
#famiglia {
  position: relative;
  overflow: hidden;
}

.famiglia-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hotel-offerta-vacanza.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.famiglia-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.88) 0%, rgba(46,125,143,0.75) 100%);
}

.famiglia-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 0;
}

.famiglia-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.famiglia-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.famiglia-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.famiglia-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  color: var(--white);
  text-align: center;
  min-width: 160px;
}

.famiglia-card svg { color: var(--gold); margin: 0 auto 0.75rem; }
.famiglia-card strong { display: block; font-size: 0.9rem; font-weight: 700; }
.famiglia-card small { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* ===================================================
   GALLERY
   =================================================== */
#gallery {
  background: var(--white);
}

.gallery-header { text-align: center; margin-bottom: 2.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item:nth-child(9) { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(26,58,92,0.25);
}

.gallery-zoom {
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#lightbox.open { display: flex; }

.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
  z-index: 1001;
}
.lb-close:hover { opacity: 1; }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 1001;
}
.lb-nav:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* ===================================================
   PREVENTIVO / QUOTE
   =================================================== */
#preventivo {
  background: var(--off-white);
}

.preventivo-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.preventivo-info { padding-top: 1rem; }

.preventivo-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}

.contact-item-text a, .contact-item-text span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}

.contact-item-text a:hover { color: var(--teal); }

/* Form */
.preventivo-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,125,143,0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success svg { color: var(--teal); margin: 0 auto 1rem; }
.form-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-light); font-size: 0.9rem; }

/* ===================================================
   CONTATTI / FOOTER
   =================================================== */
#contatti {
  background: var(--navy);
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-contact-item span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }

/* ===================================================
   MOBILE FIXED CTA
   =================================================== */
#mobile-cta {
  display: none;
  position: fixed;
  right: 10px;
  bottom: 1.15rem;
  z-index: 900;
  pointer-events: none;
  width: max-content;
}

.mobile-cta-menu {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
  margin-bottom: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}

#mobile-cta.open .mobile-cta-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.78rem 1.08rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 14px 34px rgba(16,30,45,0.2), 0 2px 8px rgba(16,30,45,0.12);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.mobile-cta-btn svg {
  flex: 0 0 auto;
}

.mobile-cta-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  padding: 0;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.88);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(16,30,45,0.34), 0 0 0 5px rgba(26,58,92,0.14);
  cursor: pointer;
  margin-left: auto;
  pointer-events: auto;
  transition: transform var(--transition), background var(--transition);
}

.mobile-cta-toggle:hover,
.mobile-cta-toggle:focus-visible {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.mcta-whatsapp {
  background: #25d366;
  color: var(--white);
}

.mcta-call {
  background: var(--teal);
  color: var(--white);
}

.mcta-quote {
  background: var(--gold);
  color: var(--navy);
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================================================
   RESPONSIVE — TABLET (≤ 900px)
   =================================================== */
@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: block; }

  .hotel-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hotel-img-accent { display: none; }
  .hotel-img-main { height: 360px; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

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

  .beach-layout { grid-template-columns: 1fr; }
  .beach-text-col { padding: 3rem 0; }
  .beach-image-col { height: 380px; }
  .beach-img-main { min-height: 380px; }
  .beach-img-overlay { background: linear-gradient(to bottom, var(--sand) 0%, transparent 30%); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .gallery-item:nth-child(9) { grid-column: span 1; }

  .preventivo-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

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

  #mobile-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

/* ===================================================
   RESPONSIVE — MOBILE (≤ 600px)
   =================================================== */
@media (max-width: 600px) {
  :root { --nav-height: 62px; }

  .py-section { padding: 3.5rem 0; }

  body { padding-bottom: 0; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .intro-strip-inner { gap: 1.5rem; }
  .strip-item:nth-child(3) { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .service-card { padding: 1.25rem 1rem; }

  .room-card { flex: 0 0 calc(90% - 0.5rem); }

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

  .beach-distance-num { font-size: 3.5rem; }

  .familia-cards { flex-direction: column; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .beach-gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .beach-gallery-strip img { height: 130px; }
}

/* ===================================================
   UTILS
   =================================================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none; }
