/* ═══════════════════════════════════════════
   MPHOME · LUXURY COLLECTION
   style.css
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --verde:      #1a2e1a;
  --verde-deep: #111e11;
  --beige:      #f0e8d8;
  --beige-mid:  #e8dcc8;
  --oro:        #b8956a;
  --oro-light:  #d4a97a;
  --oro-pale:   #e8d5b8;
  --nero:       #0d0d0d;
  --bianco:     #fafaf8;
  --gray:       #888;

  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'Jost', system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 80px;
  --container: 1280px;
  --radius: 2px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--verde);
  background: var(--bianco);
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); border: none; background: none; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--verde-deep); }
::-webkit-scrollbar-thumb { background: var(--oro); border-radius: 2px; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ── Typography ── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.2rem;
}
.eyebrow--light { color: var(--oro-light); }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--verde);
  margin-bottom: 1.4rem;
}
.section-title em { font-style: italic; color: var(--oro); }
.section-title--light { color: var(--beige); }

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(240, 232, 216, 0.65);
  max-width: 480px;
  line-height: 1.7;
}
.section-subtitle--dark { color: rgba(26, 46, 26, 0.65); }

.section-header { margin-bottom: 4rem; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--oro);
  color: var(--bianco);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--oro);
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--oro);
}
.btn-primary.btn-sm { padding: 10px 24px; font-size: 0.7rem; }
.btn-primary.btn-xs { padding: 8px 18px; font-size: 0.65rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  color: var(--beige);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(240, 232, 216, 0.4);
  border-radius: var(--radius);
  transition: border-color 0.3s, color 0.3s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--beige);
  color: var(--beige);
}
.btn-ghost.btn-sm { padding: 10px 24px; font-size: 0.7rem; }

/* ── Section backgrounds ── */
.section-dark  { background: var(--verde); }
.section-light { background: var(--beige); }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.5s, backdrop-filter 0.5s, box-shadow 0.5s;
}
.navbar.scrolled {
  background: rgba(17, 30, 17, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(184, 149, 106, 0.15);
}

.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.75);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--oro);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--beige); }
.nav-link:hover::after { width: 100%; }

/* Villa Mediterranea badge */
.nav-link--villa { display: inline-flex; align-items: center; gap: 6px; }
.nav-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a2e1a;
  background: var(--oro);
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.4;
  position: relative;
  top: -1px;
  white-space: nowrap;
  animation: badge-pulse 2.8s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.mobile-link--villa { display: inline-flex; align-items: center; gap: 10px; }
.mobile-link--villa .nav-badge {
  font-size: 0.55rem;
  padding: 3px 8px;
  border-radius: 4px;
  top: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.5);
  padding: 2px 4px;
  border-radius: 1px;
  transition: color 0.2s;
  cursor: pointer;
}
.lang-btn.active,
.lang-btn:hover { color: var(--oro); }
.lang-sep { color: rgba(240, 232, 216, 0.3); font-size: 0.6rem; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 1px;
  background: var(--beige);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(17, 30, 17, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-link {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 300;
  color: var(--beige);
  letter-spacing: 0.05em;
}
.mobile-link:hover { color: var(--oro); }
.mobile-lang { display: flex; gap: 8px; margin-top: 8px; }

@media (max-width: 900px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 30, 17, 0.3) 0%,
    rgba(17, 30, 17, 0.15) 40%,
    rgba(17, 30, 17, 0.6) 85%,
    rgba(17, 30, 17, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}
.hero-eyebrow {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--beige);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.hero-word {
  display: block;
  transform: translateY(110%);
}
.hero-word--italic { font-style: italic; color: var(--oro-pale); }

.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(240, 232, 216, 0.8);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--oro));
  animation: scrollLine 2s ease-in-out infinite;
}
.hero-scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.5);
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════
   INTRO
════════════════════════════════════════ */
.intro-section {
  padding: 120px 0;
}
.intro-header {
  max-width: 680px;
  margin-bottom: 80px;
}
.intro-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(26, 46, 26, 0.75);
  margin-top: 1.5rem;
}
.intro-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 768px) {
  .intro-pillars { grid-template-columns: 1fr; gap: 32px; }
}

.pillar {
  border-top: 1px solid rgba(184, 149, 106, 0.3);
  padding-top: 32px;
}
.pillar-number {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 300;
  color: var(--oro-pale);
  line-height: 1;
  margin-bottom: 16px;
}
.pillar-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--verde);
  margin-bottom: 12px;
}
.pillar-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(26, 46, 26, 0.65);
}

/* ════════════════════════════════════════
   PROPERTIES
════════════════════════════════════════ */
.properties-section {
  padding-top: 120px;
  padding-bottom: 120px;
}
.properties-section .section-header {
  padding-left: 48px;
  padding-right: 48px;
  max-width: var(--container);
  margin: 0 auto 64px;
}
@media (max-width: 768px) {
  .properties-section .section-header { padding-left: 24px; padding-right: 24px; }
}

/* Featured cards — 3-column horizontal */
.properties-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 80px;
}
@media (max-width: 1024px) {
  .properties-featured { grid-template-columns: 1fr; }
}

.prop-card--featured {
  position: relative;
  overflow: hidden;
}
.prop-card--featured .prop-card-media {
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}
.prop-card--featured .prop-card-media img {
  transition: transform 0.8s var(--ease-out), opacity 0.8s ease;
}
.prop-card--featured:hover .prop-card-media img {
  transform: scale(1.05);
}
.prop-card--featured .prop-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,30,17,0.85) 0%, rgba(17,30,17,0.1) 55%, transparent 100%);
}

.prop-card--featured .prop-card-body {
  padding: 32px;
  background: rgba(17, 30, 17, 0.92);
  border-top: 1px solid rgba(184, 149, 106, 0.15);
}

.prop-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--oro);
  border: 1px solid rgba(184, 149, 106, 0.35);
  padding: 4px 12px;
  border-radius: 1px;
  margin-bottom: 12px;
}
.prop-name {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--beige);
  line-height: 1.2;
  margin-bottom: 10px;
}
.prop-meta {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(240, 232, 216, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.prop-meta-sep { color: var(--oro); }
.prop-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(240, 232, 216, 0.65);
  margin-bottom: 20px;
}
.prop-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Suites grid — 3 or 6 cols */
.suites-header {
  text-align: center;
  margin-bottom: 48px;
}
.suites-header .eyebrow { justify-content: center; display: flex; }
.suites-note {
  font-size: 0.85rem;
  color: rgba(240, 232, 216, 0.5);
  font-weight: 300;
  margin-top: 8px;
}

.suites-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
@media (max-width: 1200px) { .suites-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .suites-grid { grid-template-columns: repeat(2, 1fr); } }

.suite-card {
  position: relative;
  overflow: hidden;
}
.suite-card-media {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .suite-card-media { aspect-ratio: 1 / 1; } }

.suite-card-media img {
  transition: transform 0.7s var(--ease-out), opacity 0.8s ease;
}
.suite-card:hover .suite-card-media img { transform: scale(1.08); }

.suite-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,30,17,0.92) 0%, rgba(17,30,17,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transform: translateY(60px);
  transition: transform 0.4s var(--ease-out);
}
.suite-card:hover .suite-card-overlay { transform: translateY(0); }

.suite-parent {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 6px;
}
.suite-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--beige);
  margin-bottom: 6px;
}
.suite-meta {
  font-size: 0.75rem;
  color: rgba(240, 232, 216, 0.55);
  margin-bottom: 14px;
}

/* ════════════════════════════════════════
   BOOKING ENGINE
════════════════════════════════════════ */
.booking-section {
  padding: 120px 0;
}

.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.progress-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(26, 46, 26, 0.3);
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
}
.progress-step.active .progress-dot,
.progress-step.done .progress-dot {
  background: var(--oro);
  border-color: var(--oro);
}
.progress-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 46, 26, 0.4);
  transition: color 0.3s;
}
.progress-step.active .progress-label { color: var(--oro); font-weight: 500; }
.progress-step.done  .progress-label { color: rgba(26, 46, 26, 0.65); }
.progress-line {
  flex: 1;
  height: 1px;
  background: rgba(26, 46, 26, 0.15);
  min-width: 40px;
  margin-bottom: 18px;
}

/* Steps */
.booking-step {
  display: none;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeSlide 0.4s var(--ease-out);
}
.booking-step.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--verde);
  margin-bottom: 32px;
  text-align: center;
}

/* Property selector grid */
.prop-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 768px) { .prop-selector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .prop-selector-grid { grid-template-columns: 1fr; } }

.prop-selector-card {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(26, 46, 26, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.prop-selector-card:hover { border-color: var(--oro); }
.prop-selector-card:hover img { transform: scale(1.05); }
.prop-selector-card.selected {
  border-color: var(--oro);
  box-shadow: 0 0 0 1px var(--oro);
}
.prop-selector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.prop-selector-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 12px 12px;
  background: linear-gradient(to top, rgba(17,30,17,0.88) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.prop-selector-overlay strong {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 400;
  color: var(--beige);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.prop-selector-overlay span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,232,216,0.65);
}
.prop-selector-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  background: var(--oro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s;
}
.prop-selector-card.selected .prop-selector-check {
  opacity: 1;
  transform: scale(1);
}

/* Dates form */
.dates-form { margin-bottom: 32px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 46, 26, 0.6);
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 46, 26, 0.18);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--verde);
  background: var(--bianco);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--oro); }
.form-input::placeholder { color: rgba(26, 46, 26, 0.35); }

/* Guests counter */
.guests-counter {
  display: flex;
  align-items: center;
  gap: 20px;
}
.counter-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(26, 46, 26, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--verde);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.counter-btn:hover { border-color: var(--oro); background: rgba(184,149,106,0.08); }

#guests-count {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 300;
  color: var(--verde);
  min-width: 32px;
  text-align: center;
}

.nights-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(184, 149, 106, 0.08);
  border: 1px solid rgba(184, 149, 106, 0.2);
  border-radius: var(--radius);
  height: 52px;
}
.nights-count {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 300;
  color: var(--oro);
  line-height: 1;
}
.nights-display span:last-child {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 46, 26, 0.5);
}

.availability-status {
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  min-height: 0;
  transition: all 0.3s;
}
.availability-status.ok {
  background: rgba(26, 100, 26, 0.08);
  color: #2d6a2d;
  border: 1px solid rgba(26, 100, 26, 0.2);
}
.availability-status.error {
  background: rgba(180, 30, 30, 0.08);
  color: #8b2020;
  border: 1px solid rgba(180, 30, 30, 0.2);
}
.availability-status.loading { color: var(--gray); }

/* Rate cards */
.rate-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 600px) { .rate-options { grid-template-columns: 1fr; } }

.rate-card { cursor: pointer; display: block; }
.rate-card input[type="radio"] { display: none; }
.rate-card-inner {
  padding: 24px;
  border: 1px solid rgba(26, 46, 26, 0.15);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.rate-card:hover .rate-card-inner { border-color: var(--oro); }
.rate-card input:checked + .rate-card-inner {
  border-color: var(--oro);
  box-shadow: 0 0 0 1px var(--oro);
}
.rate-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rate-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--verde);
  flex: 1;
}
.rate-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oro);
  border: 1px solid var(--oro);
  padding: 2px 8px;
  border-radius: 1px;
}
.rate-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--oro);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s;
}
.rate-card input:checked + .rate-card-inner .rate-check {
  opacity: 1; transform: scale(1);
}
.rate-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(26, 46, 26, 0.6);
  line-height: 1.6;
  margin-bottom: 6px;
}
.rate-price {
  font-size: 0.75rem;
  color: var(--oro);
  font-style: italic;
}

/* Booking summary */
.booking-summary {
  background: rgba(26, 46, 26, 0.04);
  border: 1px solid rgba(26, 46, 26, 0.1);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 46, 26, 0.07);
  font-size: 0.9rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: rgba(26, 46, 26, 0.55); font-weight: 300; }
.summary-row .value { font-weight: 500; color: var(--verde); font-family: var(--font-title); font-size: 1.05rem; }
.summary-row.total .label,
.summary-row.total .value { color: var(--verde); font-weight: 600; font-size: 1.1rem; }

.booking-notice {
  font-size: 0.8rem;
  color: rgba(26, 46, 26, 0.5);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.btn-pay {
  background: var(--verde);
  border-color: var(--verde);
  min-width: 220px;
  justify-content: center;
}
.btn-pay:hover {
  background: transparent;
  color: var(--verde);
}

.booking-error {
  color: #8b2020;
  font-size: 0.82rem;
  text-align: center;
  margin-top: 12px;
  min-height: 20px;
}

/* Step footer */
.step-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
}

/* ════════════════════════════════════════
   VILLA MEDITERRANEA
════════════════════════════════════════ */
.med-section { background: var(--verde); }

/* ── Hero slideshow ── */
.med-hero {
  position: relative;
  height: 100vh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.med-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.med-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,30,17,0.85) 0%, rgba(17,30,17,0.3) 50%, transparent 100%);
}
.med-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px 64px;
}
.med-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--beige);
  margin: 0.4rem 0 0.6rem;
  letter-spacing: 0.04em;
}
.med-location {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oro);
  margin: 0;
}

/* ── Body ── */
.med-body {
  padding: 80px 0 100px;
  background: var(--verde);
}

/* Intro text */
.med-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(240,232,216,0.75);
  line-height: 1.9;
  letter-spacing: 0.03em;
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

/* Features grid */
.med-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid rgba(184,149,106,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 72px;
}
.med-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  background: rgba(240,232,216,0.03);
  border-right: 1px solid rgba(184,149,106,0.12);
  text-align: center;
  transition: background 0.2s;
}
.med-feat:last-child { border-right: none; }
.med-feat:nth-child(4) { border-right: none; }
.med-feat svg { color: var(--oro); flex-shrink: 0; }
.med-feat span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,232,216,0.7);
  line-height: 1.5;
}
.med-feat:hover { background: rgba(184,149,106,0.06); }

/* Second row: remove right border on last of each row */
.med-feat:nth-child(8) { border-right: none; }

/* Floor descriptions */
.med-floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.med-floor {
  display: flex;
  gap: 20px;
  padding: 32px;
  border: 1px solid rgba(184,149,106,0.18);
  border-radius: var(--radius);
  background: rgba(240,232,216,0.03);
}
.med-floor-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro);
  border: 1px solid rgba(184,149,106,0.3);
  border-radius: 50%;
}
.med-floor-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--beige);
  margin: 0 0 10px;
  letter-spacing: 0.06em;
}
.med-floor-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(240,232,216,0.65);
  line-height: 1.8;
  letter-spacing: 0.03em;
  margin: 0;
}

/* CTA */
.med-cta { text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .med-features { grid-template-columns: repeat(2, 1fr); }
  .med-feat:nth-child(2n) { border-right: none; }
  .med-feat:nth-child(4) { border-right: none; }
  .med-floors { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .med-body { padding: 56px 0 72px; }
  .med-intro { font-size: 0.95rem; margin-bottom: 48px; }
  .med-features { grid-template-columns: repeat(2, 1fr); margin-bottom: 48px; }
  .med-floor { padding: 24px; }
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-section { padding: 120px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-image { order: -1; height: 300px; }
}

.contact-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(26, 46, 26, 0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(184, 149, 106, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro);
  flex-shrink: 0;
}
.contact-item strong { font-weight: 500; font-size: 0.85rem; color: var(--verde); }
.contact-item p { font-size: 0.85rem; color: rgba(26,46,26,0.6); font-weight: 300; }
.contact-item a { color: rgba(26,46,26,0.6); transition: color 0.2s; }
.contact-item a:hover { color: var(--oro); }

.contact-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.whatsapp-btn-inline { background: #25D366; border-color: #25D366; }
.whatsapp-btn-inline:hover { color: #25D366; }

.contact-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
}
.contact-image img { height: 100%; transition: transform 0.7s var(--ease-out); }
.contact-image:hover img { transform: scale(1.03); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--verde-deep);
  padding: 48px 0;
  border-top: 1px solid rgba(184, 149, 106, 0.15);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo img { height: 36px; width: auto; object-fit: contain; }
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--oro); }
.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal span,
.footer-legal a {
  font-size: 0.65rem;
  color: rgba(240, 232, 216, 0.3);
  letter-spacing: 0.08em;
}
.footer-legal a:hover { color: var(--oro); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.footer-social a {
  color: rgba(240, 232, 216, 0.45);
  transition: color 0.2s;
  line-height: 0;
}
.footer-social a:hover { color: var(--oro); }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-legal { justify-content: center; }
}

/* ════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 900;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ════════════════════════════════════════
   GALLERY MODAL
════════════════════════════════════════ */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.gallery-modal.open {
  opacity: 1;
  pointer-events: all;
}
.gallery-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2.5rem;
  color: var(--beige);
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.gallery-close:hover { opacity: 1; }
.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  color: var(--beige);
  cursor: pointer;
  padding: 16px 24px;
  opacity: 0.5;
  transition: opacity 0.2s;
  line-height: 1;
}
.gallery-nav:hover { opacity: 1; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-track {
  width: 85vw;
  max-width: 1000px;
  max-height: 80vh;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-track img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.gallery-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(240, 232, 216, 0.5);
}

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--verde);
  color: var(--beige);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  border: 1px solid rgba(184, 149, 106, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  z-index: 3000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error { background: #5a1a1a; border-color: rgba(220,100,100,0.3); }

/* ════════════════════════════════════════
   SCROLL REVEAL UTILITY
════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   SLIDESHOW
════════════════════════════════════════ */
.slideshow-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dot indicators on featured cards */
.slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.slideshow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(240, 232, 216, 0.4);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.slideshow-dot.active {
  background: var(--oro);
  transform: scale(1.4);
}

/* Suite card buttons side by side */
.suite-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.suite-card { cursor: pointer; }

/* ════════════════════════════════════════
   DETAIL MODAL
════════════════════════════════════════ */
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.detail-modal.open {
  opacity: 1;
  pointer-events: all;
}
.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 10, 0.75);
  cursor: pointer;
}
.detail-panel {
  position: relative;
  z-index: 1;
  width: 94vw;
  max-width: 1120px;
  max-height: 90vh;
  background: var(--bianco);
  border-radius: 2px;
  overflow: hidden;
  transform: translateY(28px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.detail-modal.open .detail-panel {
  transform: translateY(0) scale(1);
}

.detail-close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 20;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(240, 232, 216, 0.9);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.detail-close:hover { background: var(--beige-mid); }

/* Two-column scroll layout */
.detail-scroll {
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
  height: 90vh;
  max-height: 90vh;
}
@media (max-width: 768px) {
  .detail-scroll {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Gallery column */
.detail-gallery-col {
  overflow-y: auto;
  background: var(--verde-deep);
}
.detail-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.detail-gallery-grid img {
  height: 190px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.3s;
  display: block;
}
.detail-gallery-grid img:hover { opacity: 0.82; transform: scale(1.01); }
.detail-gallery-grid img:first-child {
  grid-column: 1 / -1;
  height: 300px;
}
@media (max-width: 768px) {
  .detail-gallery-col { max-height: 50vw; }
  .detail-gallery-grid img { height: 120px; }
  .detail-gallery-grid img:first-child { height: 200px; }
}

/* Info column */
.detail-info-col {
  padding: 44px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bianco);
}
@media (max-width: 768px) {
  .detail-info-col { padding: 28px 24px; }
}

.detail-header { margin-bottom: 20px; }
.detail-header .prop-badge { margin-bottom: 14px; }

.detail-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--verde);
  line-height: 1.15;
  margin: 12px 0 8px;
}
.detail-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gray);
  font-weight: 400;
}
.detail-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(26, 46, 26, 0.72);
  margin-bottom: 28px;
  border-top: 1px solid rgba(184, 149, 106, 0.2);
  padding-top: 20px;
}

/* Features grid */
.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 32px;
}
.detail-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(26, 46, 26, 0.7);
  line-height: 1.3;
}
.detail-feature-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(184, 149, 106, 0.1);
  border: 1px solid rgba(184, 149, 106, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro);
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.detail-book-btn {
  flex: 1;
  justify-content: center;
}
.detail-gallery-btn {
  color: var(--verde);
  border-color: rgba(26, 46, 26, 0.25);
}
.detail-gallery-btn:hover { border-color: var(--verde); color: var(--verde); }

/* Flatpickr overrides */
.flatpickr-calendar {
  border: 1px solid rgba(184, 149, 106, 0.3) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12) !important;
  font-family: var(--font-body) !important;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--oro) !important;
  border-color: var(--oro) !important;
}
.flatpickr-day.inRange {
  background: rgba(184, 149, 106, 0.15) !important;
  border-color: rgba(184, 149, 106, 0.1) !important;
}
.flatpickr-day:hover {
  background: rgba(184, 149, 106, 0.1) !important;
}
