/* ==========================================================================
   Dolomiti House — Stylesheet
   Palette: cool ice-white, mist grey, deep alpine/slate blue, pine-sage
   ========================================================================== */

:root {
  --color-white: #fdfefe;        /* clean cool white — cards */
  --color-offwhite: #f4f7f9;     /* cool ice-white — main page background */
  --color-sand: #e2eaf1;         /* light blue-grey / mist — alternate section background */
  --color-sea: #3d6f92;          /* calm slate-alpine blue — buttons, links */
  --color-sea-dark: #274a66;     /* deep alpine / slate blue — headings, footer */
  --color-sea-light: #cfe1ec;    /* icy pale blue — accent text on dark */
  --color-sage: #7f9d95;         /* muted cool pine-sage — secondary accent */
  --color-sage-dark: #4a665f;    /* deep pine-sage — small accent text */
  --color-text: #252f36;         /* cool slate charcoal — body text */
  --color-text-soft: #4f5e64;    /* cool grey — secondary text */
  --color-border: #dbe3e8;       /* soft cool grey — borders */
  --whatsapp: #25d366;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --radius: 10px;
  --shadow-soft: 0 10px 30px rgba(39, 74, 102, 0.12);
  --shadow-card: 0 6px 20px rgba(39, 74, 102, 0.08);
  --container-width: 1180px;
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-offwhite);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-sea-dark);
  line-height: 1.15;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

/* ---------- Reusable ---------- */
.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--color-sea-light); }
.section-eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }

.section-lead {
  max-width: 620px;
  color: var(--color-text-soft);
  font-size: 1.05rem;
}
.section-lead.center { margin: 0 auto 56px; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-sea);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-sea-dark); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--color-white);
}
.btn-whatsapp:hover { background: #1eb958; }

.btn-outline-dark {
  background: transparent;
  color: var(--color-sea-dark);
  border-color: var(--color-sea-dark);
}
.btn-outline-dark:hover { background: var(--color-sea-dark); color: var(--color-white); }

.btn.large { padding: 17px 40px; font-size: 1rem; }

.wa-icon { width: 20px; height: 20px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Real photography — object-fit keeps crops consistent across tile sizes */
img.img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-sand);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(244, 247, 249, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 2px 18px rgba(39, 74, 102, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.logo span { font-weight: 500; color: var(--color-sage); }
.site-header.scrolled .logo { color: var(--color-sea-dark); }

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--color-white);
  font-weight: 400;
  position: relative;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--color-text); }

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.nav-cta::after { display: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-white);
  transition: color var(--transition);
}
.site-header.scrolled .lang-switch { color: var(--color-text); }
.lang-link {
  color: inherit;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.lang-link:hover { opacity: 1; }
.lang-link.active {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-sep { opacity: 0.4; font-size: 0.72rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--color-sea-dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-dolomiti-inverno.jpeg') center/cover no-repeat;
  background-color: var(--color-sea-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Darker, cooler blue-grey wash so the white hero text stays crisp on bright screens,
     with a soft central pool for extra contrast behind the text. */
  background:
    radial-gradient(ellipse 78% 62% at 50% 47%, rgba(11, 22, 36, 0.34) 0%, rgba(11, 22, 36, 0) 72%),
    linear-gradient(180deg, rgba(16, 32, 48, 0.58) 0%, rgba(16, 32, 48, 0.42) 42%, rgba(13, 27, 43, 0.66) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  padding: 0 24px;
  max-width: 780px;
  text-shadow: 0 1px 12px rgba(10, 20, 32, 0.35);
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--color-sea-light);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--color-white);
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.hero-support {
  font-size: 0.98rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 42px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-white);
  animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* ==========================================================================
   Rooms
   ========================================================================== */
.rooms { background: var(--color-white); }

/* Keep every "light" content section on the same crisp near-white so the
   alternating white / mist rhythm reads consistently down the page. */
.about,
.location { background: var(--color-white); }

.rooms-intro {
  max-width: 640px;
  margin: 0 auto 46px;
  text-align: center;
  color: var(--color-text-soft);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}
.room-card {
  background: var(--color-offwhite);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.room-card-image { height: 300px; }
.room-card-image .img-placeholder { height: 100%; min-height: 0; border-radius: 0; }
.room-card-image.split { display: flex; gap: 2px; }
.room-card-image.split .room-photo-btn {
  flex: 1;
  width: auto;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.room-card-image.split .room-photo-btn.view-photo { flex: 1.7; }
.room-card-image.split .room-photo-btn .img-placeholder { transition: transform 0.4s ease; }
.room-card-image.split .room-photo-btn:hover .img-placeholder { transform: scale(1.05); }

.rooms-grid.stacked { grid-template-columns: 1fr; gap: 30px; }
.rooms-grid.stacked .room-card-image { height: 280px; }

@media (max-width: 700px) {
  .rooms-grid.stacked .room-card-image.split { flex-wrap: wrap; height: auto; }
  .rooms-grid.stacked .room-card-image.split .room-photo-btn { flex: 1 1 33%; height: 130px; }
}
.room-card-body {
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.room-card-body h3 { font-size: 1.6rem; margin-bottom: 8px; }
.room-meta {
  font-size: 0.82rem;
  color: var(--color-sage-dark);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.room-desc { color: var(--color-text-soft); margin-bottom: 22px; flex: 1; }
.room-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-sea-dark);
  margin-bottom: 22px;
}
.room-price span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}
.room-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.room-cta-group .btn { flex: 1; min-width: 150px; padding: 12px 20px; font-size: 0.88rem; }

@media (max-width: 980px) {
  .rooms-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-highlights {
  margin: 32px auto 0;
  max-width: 480px;
  display: grid;
  gap: 12px;
}
.about-highlights li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text);
  font-size: 0.98rem;
}
.about-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-sage);
}

.house-rooms-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 820px;
  margin: 6px auto 0;
}
.house-rooms-text h3 { font-size: 1.4rem; margin-bottom: 8px; }
.house-rooms-text p { color: var(--color-text-soft); font-size: 0.96rem; }
@media (max-width: 700px) {
  .house-rooms-text { grid-template-columns: 1fr; gap: 22px; }
}

/* ==========================================================================
   House gallery (scrollable, opens lightbox)
   ========================================================================== */
.house-gallery { margin: 32px 0 0; }
.house-gallery-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.house-gallery-scroll::-webkit-scrollbar { height: 8px; }
.house-gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.house-gallery-scroll::-webkit-scrollbar-thumb { background: var(--color-sage); border-radius: 4px; }

.house-gallery-item {
  flex: 0 0 auto;
  width: 260px;
  height: 190px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.house-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.house-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .house-gallery-item { width: 200px; height: 150px; }
}

/* --------------------------------------------------------------------------
   House photo mosaic — one large image + tiles (apartment + Pinzolo).
   Every tile opens the shared lightbox; the extra photos are in the same
   list but hidden past the first five (the lightbox still cycles them all).
   -------------------------------------------------------------------------- */
.house-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 460px;
  margin-top: 44px;
}
.house-mosaic > .house-gallery-item {
  width: 100%;
  height: 100%;
}
.house-mosaic > .mosaic-lg {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.house-mosaic > .house-gallery-item:nth-child(n + 6) { display: none; }

.mosaic-last { position: relative; }
.mosaic-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 42, 60, 0.52);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  pointer-events: none;
}

@media (max-width: 760px) {
  .house-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 128px;
    height: auto;
  }
  .house-mosaic > .mosaic-lg { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 430px) {
  .house-mosaic { grid-auto-rows: 104px; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section { background: var(--color-white); }

.gallery-room-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-sea-dark);
  text-align: center;
  margin: 56px 0 24px;
}
.gallery-room-title:first-of-type { margin-top: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item .img-placeholder { height: 100%; min-height: 0; cursor: pointer; transition: transform 0.4s ease; }
.gallery-item:hover .img-placeholder { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  pointer-events: none;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 24, 28, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-image-wrap {
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-image {
  max-width: 90vw;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.lightbox-counter {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin-top: 2px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ==========================================================================
   Amenities
   ========================================================================== */
.amenities { background: var(--color-sand); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
  margin-top: 20px;
}

.amenity-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.amenity-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.amenity-icon svg {
  width: 34px;
  height: 34px;
  color: var(--color-sage-dark);
  stroke-width: 1.4;
}

.amenity-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-sea-dark);
}
.amenity-card p {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* ==========================================================================
   Location
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.location-text h2 { margin-bottom: 22px; font-size: clamp(2rem, 3.2vw, 2.6rem); }
.location-text p { color: var(--color-text-soft); margin-bottom: 18px; }
.location-text a {
  color: var(--color-sea);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.location-map .img-placeholder { height: 420px; box-shadow: var(--shadow-soft); }

.location-facts {
  display: flex;
  gap: 40px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.fact { display: flex; flex-direction: column; }
.fact-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  line-height: 1;
}
.fact-label {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.fact.fact-text { justify-content: flex-end; }
.fact.fact-text .fact-label {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-sage-dark);
  margin-top: 0;
}

.nearby-list { display: grid; gap: 14px; }
.nearby-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-sage);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
}
.nearby-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.nearby-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-sea-dark);
}
.nearby-time {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--color-sage-dark);
  white-space: nowrap;
}
.nearby-item p {
  font-size: 0.88rem;
  color: var(--color-text-soft);
  margin: 0;
}

/* ==========================================================================
   Nearby Local Tips
   ========================================================================== */
.nearby-section { background: var(--color-sand); }

.nearby-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 34px;
  margin-top: 10px;
}
.nearby-category-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-sea-dark);
  margin-bottom: 16px;
}

.nearby-cta { text-align: center; margin-top: 46px; }

/* ==========================================================================
   Discover the Dolomites
   ========================================================================== */
.dolomites { background: var(--color-white); }
.img-placeholder-fallback {
  height: 220px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--color-sea-light) 0%, var(--color-sand) 55%, var(--color-sage) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: var(--color-sea-dark);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dolomites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.dolomites-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-offwhite);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dolomites-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.dolomites-card .img-placeholder { height: 220px; border-radius: 0; }

.dolomites-card-body { padding: 26px; }
.dolomites-card-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.dolomites-card-body p { color: var(--color-text-soft); font-size: 0.94rem; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { background: var(--color-sand); }

.reviews-badge-wrap { text-align: center; margin: -6px 0 34px; }
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 20px 7px 7px;
  border-radius: 8px;
  background: #003580;
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
  color: #ffffff;
}
.reviews-badge-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: #ffffff;
  color: #003580;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.reviews-badge-brand {
  font-family: var(--font-heading);
  font-weight: 700;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.review-quote { margin-bottom: 22px; }
.review-quote p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  font-style: italic;
}
.review-quote p + p { margin-top: 14px; }
.review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-sea-dark);
}
.review-source {
  display: block;
  font-size: 0.76rem;
  color: var(--color-text-soft);
  margin-top: 2px;
}
.review-stars {
  color: var(--color-sage-dark);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   Booking CTA
   ========================================================================== */
.booking {
  background:
    linear-gradient(150deg, rgba(22,40,58,0.90) 0%, rgba(28,52,74,0.85) 55%, rgba(20,38,57,0.90) 120%),
    url('images/lago-montagna.jpeg') center/cover no-repeat;
  color: var(--color-white);
  text-align: center;
}
.booking-inner { max-width: 640px; margin: 0 auto; }
.booking h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}
.booking p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  font-size: 1.02rem;
}
.booking-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.booking-form { margin-top: 34px; }
.booking-fields {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.booking-field span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.booking-field input[type="date"],
.booking-field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  min-width: 190px;
  cursor: pointer;
}
.booking-field input[type="date"]:focus,
.booking-field select:focus {
  outline: 2px solid var(--color-sea-light);
  outline-offset: 2px;
}
.booking-form-error {
  color: #ffd7d7;
  font-size: 0.85rem;
  margin: -8px 0 18px;
}
.booking-form-error[hidden] { display: none; }

.booking-children-ages {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: -6px 0 22px;
}
.booking-children-ages[hidden] { display: none; }
.booking-children-ages .booking-field select { min-width: 100px; }

.booking-notes-field {
  max-width: 480px;
  margin: 0 auto 22px;
  text-align: left;
}
.booking-notes-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  width: 100%;
  resize: vertical;
  min-height: 70px;
}
.booking-notes-field textarea:focus {
  outline: 2px solid var(--color-sea-light);
  outline-offset: 2px;
}

.quote-disclaimer {
  max-width: 520px;
  margin: 0 auto 26px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   How Direct Booking Works
   ========================================================================== */
.steps { background: var(--color-white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}
.step { text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sea); /* same calm slate-blue as the primary buttons, for a coherent accent */
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--color-sea-dark); }
.step p { font-size: 0.9rem; color: var(--color-text-soft); }

@media (max-width: 980px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Business / Longer Stays
   ========================================================================== */
.business-section { background: var(--color-sand); text-align: center; }
.business-inner { max-width: 620px; margin: 0 auto; }
.business-section h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.business-section p { color: var(--color-text-soft); margin-bottom: 26px; }
/* This section sits on a light background, so the outline button needs the
   blue treatment (not the white-on-dark one) to stay legible and on-palette. */
.business-section .btn-outline {
  color: var(--color-sea);
  border-color: var(--color-sea);
}
.business-section .btn-outline:hover {
  background: var(--color-sea);
  color: var(--color-white);
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-sea-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 30px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 20px;
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 6px;
}
.footer-meta { text-align: right; font-size: 0.88rem; }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }
.footer-meta p { margin-bottom: 6px; }
.footer-copy { text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.62); }

/* ==========================================================================
   Fixed WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-map { order: -1; }
  .dolomites-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 760px) {
  section { padding: 70px 0; }

  .header-right { gap: 16px; }
  .lang-switch { font-size: 0.72rem; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--color-offwhite);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--color-text); font-size: 1.1rem; }
  .nav-cta { border-color: var(--color-sea); color: var(--color-sea); }

  .nav-toggle { display: flex; }

  .footer-inner { flex-direction: column; text-align: left; }
  .footer-meta { text-align: left; }

  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .location-facts { gap: 26px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .booking-buttons { flex-direction: column; width: 100%; }
  .booking-buttons .btn { width: 100%; }
}
