/* ================================================================
   CASA ALLA CROCE — Main Stylesheet
   Mid-century Modern Italian · Rustic Exterior · Elegant Interior
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  --terracotta:       #C26B4B;
  --terracotta-light: #D48068;
  --terracotta-pale:  #F0DDD5;
  --terracotta-dark:  #A5533A;
  --cream:            #F7F1E3;
  --cream-dark:       #EDE4D0;
  --cream-deeper:     #E0D5BE;
  --olive:            #4A5741;
  --olive-light:      #6B7D62;
  --olive-dark:       #353F2F;
  --olive-pale:       #E8EDE6;
  --gold:             #C4965A;
  --gold-light:       #D4AB7A;
  --gold-pale:        #F2E8D8;
  --gold-dark:        #A67B42;
  --text-dark:        #2A2520;
  --text-medium:      #5A4E45;
  --text-light:       #8A7E75;
  --white:            #FFFFFF;
  --shadow-color:     42, 37, 32;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  3.5rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --nav-height: 72px;

  --shadow-sm: 0 2px 10px rgba(var(--shadow-color), 0.08);
  --shadow-md: 0 6px 24px rgba(var(--shadow-color), 0.12);
  --shadow-lg: 0 12px 48px rgba(var(--shadow-color), 0.18);

  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 500;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h5 { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p { color: var(--text-medium); max-width: 66ch; }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

.section {
  padding: var(--space-xl) 0;
}

.section--cream    { background-color: var(--cream); }
.section--dark     { background-color: var(--olive-dark); color: var(--cream); }
.section--terracotta { background-color: var(--terracotta); color: var(--white); }
.section--olive    { background-color: var(--olive); color: var(--white); }
.section--cream-dark { background-color: var(--cream-dark); }

.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark h5, .section--dark p,
.section--terracotta h1, .section--terracotta h2, .section--terracotta h3,
.section--terracotta h4, .section--terracotta h5, .section--terracotta p,
.section--olive h1, .section--olive h2, .section--olive h3,
.section--olive h4, .section--olive h5, .section--olive p {
  color: inherit;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* ── Decorative Elements ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.section--dark .section-label,
.section--olive .section-label { color: var(--gold-light); }
.section--terracotta .section-label { color: var(--cream); opacity: 0.8; }

.divider {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-sm) auto;
}

.divider--left { margin-left: 0; }

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.nav--transparent { background-color: transparent; }
.nav--solid {
  background-color: var(--olive-dark);
  box-shadow: var(--shadow-md);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav__logo span { color: var(--gold-light); }

.nav__links {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.25rem;
}

.nav__link {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 241, 227, 0.8);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active { color: var(--cream); }

.nav__link:hover::after,
.nav__link.active::after { width: calc(100% - 1.5rem); }

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(247, 241, 227, 0.08);
  border: 1px solid rgba(247, 241, 227, 0.15);
  border-radius: 20px;
  padding: 0.25rem 0.5rem;
}

.lang-btn {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(247, 241, 227, 0.6);
  padding: 0.2rem 0.4rem;
  border-radius: 12px;
  transition: all var(--transition);
  cursor: pointer;
}

.lang-btn:hover { color: var(--cream); }
.lang-btn.active {
  color: var(--olive-dark);
  background-color: var(--gold-light);
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero Sections ─────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero--full { min-height: 100vh; }
.hero--page { min-height: 55vh; padding-top: var(--nav-height); }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg--home {
  background: linear-gradient(
    160deg,
    var(--olive-dark) 0%,
    #2d3f2a 30%,
    #3d4f35 55%,
    #4a3528 75%,
    var(--terracotta-dark) 100%
  );
}

.hero__bg--apartment {
  background: linear-gradient(
    135deg,
    #3d2d22 0%,
    var(--terracotta-dark) 40%,
    #5c4030 60%,
    var(--olive-dark) 100%
  );
}

.hero__bg--terrace {
  background: linear-gradient(
    160deg,
    #2a3d4a 0%,
    var(--olive-dark) 35%,
    var(--olive) 60%,
    #3d4f35 100%
  );
}

.hero__bg--location {
  background: linear-gradient(
    140deg,
    var(--olive-dark) 0%,
    #3a4d38 40%,
    var(--terracotta-dark) 80%,
    #6b4535 100%
  );
}

.hero__bg--booking {
  background: linear-gradient(
    150deg,
    var(--olive-dark) 0%,
    #2d3520 40%,
    var(--terracotta-dark) 100%
  );
}

.hero__bg--contact {
  background: linear-gradient(
    135deg,
    #2d2820 0%,
    var(--olive-dark) 50%,
    #3d4f35 100%
  );
}

/* Decorative geometric overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(196, 150, 90, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(194, 107, 75, 0.10) 0%, transparent 50%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.5) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-md);
  max-width: 900px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-heading);
  color: var(--cream);
  margin-bottom: var(--space-sm);
  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.25rem);
  color: rgba(247, 241, 227, 0.85);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 241, 227, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(247,241,227,0.5), transparent);
}

.hero__bg > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--terracotta);
  color: var(--white);
  border: 2px solid var(--terracotta);
}

.btn--primary:hover {
  background-color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--cream);
  border: 2px solid rgba(247, 241, 227, 0.6);
}

.btn--outline:hover {
  background-color: rgba(247, 241, 227, 0.1);
  border-color: var(--cream);
  transform: translateY(-2px);
}

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

.btn--gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--olive {
  background-color: var(--olive);
  color: var(--cream);
  border: 2px solid var(--olive);
}

.btn--olive:hover {
  background-color: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}

.btn--outline-dark:hover {
  background-color: var(--olive);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ── Feature Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card__body { padding: 1.75rem; }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--terracotta-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.card__icon svg { width: 24px; height: 24px; color: var(--terracotta); }

.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; }

/* Feature block (icon + text side by side) */
.feature-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--cream-deeper);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-block:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-sm);
}

/* ── Image Placeholders ────────────────────────────────────────── */
.img-placeholder {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--cream-dark);
}

.img-placeholder::before {
  content: attr(data-label);
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  z-index: 1;
}

.img-ph--hero       { min-height: 480px; background: linear-gradient(135deg, var(--terracotta-dark), var(--olive-dark)); }
.img-ph--landscape  { min-height: 340px; background: linear-gradient(160deg, var(--olive) 0%, #6b9d5a 50%, var(--olive-dark) 100%); }
.img-ph--interior   { min-height: 300px; background: linear-gradient(140deg, #8B6B52 0%, var(--terracotta) 50%, #C4965A 100%); }
.img-ph--terrace    { min-height: 400px; background: linear-gradient(170deg, #6B8A9E 0%, var(--olive-light) 60%, var(--olive-dark) 100%); }
.img-ph--room       { min-height: 280px; background: linear-gradient(135deg, #7A5A48 0%, #A87A5E 50%, #C4965A 100%); }
.img-ph--square     { aspect-ratio: 1; min-height: 260px; background: linear-gradient(145deg, var(--olive-dark), var(--terracotta-dark)); }
.img-ph--wide       { min-height: 420px; background: linear-gradient(155deg, var(--olive-dark) 0%, var(--olive) 40%, #5E6E55 100%); }
.img-ph--portrait   { aspect-ratio: 3/4; min-height: 380px; background: linear-gradient(160deg, var(--terracotta-dark), var(--olive-dark)); }

/* Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery--2col { grid-template-columns: 1fr 1fr; }
.gallery--masonry { grid-template-rows: auto; }

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

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}

.gallery__item:hover::after { background: rgba(0,0,0,0.2); }

.gallery__item--span2 { grid-column: span 2; }
.gallery__item--tall  { grid-row: span 2; }

/* ── About / Intro Section ─────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.intro-grid--reverse .intro-grid__text { order: 2; }
.intro-grid--reverse .intro-grid__image { order: 1; }

.intro-grid__text h2 { margin-bottom: var(--space-sm); }
.intro-grid__text p { margin-bottom: var(--space-sm); }

/* ── Stats Row ─────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-right: 1px solid rgba(247, 241, 227, 0.15);
}

.stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 241, 227, 0.65);
}

/* ── Amenities ─────────────────────────────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-medium);
  border: 1px solid var(--cream-deeper);
  transition: border-color var(--transition);
}

.amenity-item:hover { border-color: var(--gold-light); }

.amenity-item svg {
  width: 18px;
  height: 18px;
  color: var(--olive);
  flex-shrink: 0;
}

/* ── Quote / Testimonial ───────────────────────────────────────── */
.blockquote {
  position: relative;
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
}

.blockquote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 10rem;
  line-height: 0;
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.15;
}

.blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto var(--space-sm);
}

.blockquote cite {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ── Location / Distance Table ─────────────────────────────────── */
.distances {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.distance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  background: rgba(247, 241, 227, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.distance-item__place {
  font-size: 0.9rem;
  color: rgba(247, 241, 227, 0.85);
}

.distance-item__time {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* ── Map Placeholder ───────────────────────────────────────────── */
.map-container {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--olive-pale);
  position: relative;
}

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

/* ── Booking Calendar ──────────────────────────────────────────── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-lg);
  align-items: start;
}

.calendar-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.calendar-header h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.calendar-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--cream-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-medium);
  background: var(--cream);
}

.calendar-nav-btn:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
}

.calendars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.calendar-month { }

.calendar-month__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.25rem;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.35rem 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  color: var(--text-medium);
}

.calendar-day:hover:not(.calendar-day--booked):not(.calendar-day--past):not(.calendar-day--empty) {
  background: var(--olive-pale);
  color: var(--olive-dark);
}

.calendar-day--empty { cursor: default; }

.calendar-day--past {
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.4;
}

.calendar-day--booked {
  background: var(--terracotta-pale);
  color: var(--terracotta-dark);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.7;
}

.calendar-day--checkin {
  background: var(--olive);
  color: var(--white);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.calendar-day--checkout {
  background: var(--olive);
  color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.calendar-day--in-range {
  background: var(--olive-pale);
  color: var(--olive-dark);
  border-radius: 0;
}

.calendar-day--today {
  font-weight: 700;
  color: var(--terracotta);
}

.calendar-legend {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--cream-dark);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-medium);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.legend-dot--available { background: var(--olive-pale); border: 1px solid var(--olive-light); }
.legend-dot--booked    { background: var(--terracotta-pale); border: 1px solid var(--terracotta-light); }
.legend-dot--selected  { background: var(--olive); }

/* Booking Form Card */
.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.booking-summary {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: var(--space-sm);
}

.booking-summary__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.booking-summary__date {
  text-align: center;
}

.booking-summary__date label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.25rem;
}

.booking-summary__date span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.price-breakdown {
  border-top: 1px solid var(--cream-deeper);
  padding-top: var(--space-sm);
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-medium);
  padding: 0.25rem 0;
}

.price-row--total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  border-top: 1px solid var(--cream-deeper);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

/* ── Pricing Table ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  border: 2px solid var(--cream-deeper);
  transition: all var(--transition);
}

.pricing-card:hover,
.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  transform: translateY(-4px);
}

.pricing-card__season {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
}

.pricing-card__price sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 0.4rem;
}

.pricing-card__period {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.pricing-card__dates {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: var(--space-sm);
}

/* ── Forms ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--cream);
  border: 1px solid var(--cream-deeper);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(74, 87, 65, 0.12);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

.form-success {
  background: var(--olive-pale);
  border: 1px solid var(--olive-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  display: none;
}

.form-success.visible { display: block; }

/* ── Policies ──────────────────────────────────────────────────── */
.policies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.policy-item {
  padding: var(--space-sm) 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.policy-item h5 {
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
  color: var(--olive-dark);
}

.policy-item p {
  font-size: 0.85rem;
  max-width: none;
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--cream-deeper);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--olive); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--cream-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--transition);
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ── Contact Info ──────────────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--olive-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--olive);
}

.contact-info-item h5 {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.contact-info-item a:hover { color: var(--terracotta); }

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background-color: var(--olive-dark);
  color: var(--cream);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(247, 241, 227, 0.12);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
  display: block;
}

.footer__logo span { color: var(--gold-light); }

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(247, 241, 227, 0.6);
  margin-bottom: var(--space-sm);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 227, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 241, 227, 0.6);
  transition: all var(--transition);
}

.footer__social-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.footer__social-link svg { width: 16px; height: 16px; }

.footer__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

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

.footer__link {
  font-size: 0.875rem;
  color: rgba(247, 241, 227, 0.65);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  font-size: 0.78rem;
  color: rgba(247, 241, 227, 0.4);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ── Scroll Animations ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Notifications ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--olive-dark);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast--success { border-left: 4px solid var(--olive-light); }
.toast--error   { border-left: 4px solid var(--terracotta); }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-form-card { position: static; }
  .calendars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats  { grid-template-columns: 1fr 1fr; }
  .stat   { border-right: none; border-bottom: 1px solid rgba(247,241,227,0.15); }
  .stat:nth-child(2n) { border-right: none; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .policies { grid-template-columns: 1fr; }
  .distances { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-xl: 4rem; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: var(--olive-dark);
    padding: var(--space-md);
    gap: 0.25rem;
    align-items: flex-start;
    z-index: 999;
  }
  .nav__link { font-size: 1rem; padding: 0.75rem 0; width: 100%; }
  .nav__mobile-toggle { display: flex; }
  .nav__right { flex-direction: row-reverse; }

  .hero--full  { min-height: 90vh; }
  .hero--page  { min-height: 45vh; }
  .hero__content { padding: var(--space-lg) var(--space-sm); }

  .intro-grid,
  .intro-grid--reverse { grid-template-columns: 1fr; }
  .intro-grid--reverse .intro-grid__text { order: 1; }
  .intro-grid--reverse .intro-grid__image { order: 2; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--span2 { grid-column: span 1; }
  .amenities-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

/* Nav compression at mid-widths for perfect vertical centering */
@media (max-width: 960px) and (min-width: 769px) {
  .nav__link {
    font-size: 0.72rem;
    padding: 0.35rem 0.45rem;
    letter-spacing: 0.04em;
  }
  .lang-switcher { padding: 0.2rem 0.35rem; }
  .lang-btn { padding: 0.15rem 0.3rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .gallery { grid-template-columns: 1fr; }
  .lang-switcher { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ── Cookie Banner ─────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: var(--cream);
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 -4px 24px rgba(42,37,32,0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookie-banner.cookie-banner--visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-banner__text p {
  font-size: 0.85rem;
  color: var(--text-medium);
  max-width: 60ch;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-manage-link {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
  transition: color var(--transition);
}
.cookie-manage-link:hover { color: var(--terracotta); }

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(42,37,32,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#cookie-modal.cookie-modal--visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal__box {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

.cookie-modal__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-deeper);
}

.cookie-toggle-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.cookie-toggle-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.cookie-always-on {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  white-space: nowrap;
}

.cookie-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch__track {
  position: absolute; inset: 0;
  background: var(--cream-deeper);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-switch__track::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--terracotta); }
.cookie-switch input:checked + .cookie-switch__track::before { transform: translateX(20px); }

.cookie-modal__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cookie-banner__inner { padding: 1rem; gap: 1rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; min-width: 120px; }
}
