:root {
  --verde-oliva: #6b7a4f;
  --verde-oliva-dark: #4f5a36;
  --terracota: #c8805f;
  --terracota-dark: #a85f3f;
  --crema: #f5efe0;
  --crema-soft: #faf6ec;
  --marron-tierra: #5c4a36;
  --texto: #3a2f24;
  --texto-soft: #6b5d4f;
  --sombra: 0 8px 24px rgba(92, 74, 54, 0.12);
  --sombra-hover: 0 12px 32px rgba(92, 74, 54, 0.18);
  --transicion: 220ms ease;
  --radio: 10px;
  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texto);
  background: var(--crema-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--marron-tierra);
  line-height: 1.25;
  font-weight: 600;
}

a { color: var(--terracota-dark); text-decoration: none; transition: color var(--transicion); }
a:hover { color: var(--verde-oliva-dark); }

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

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

section { padding: 80px 0; }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--texto-soft);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 224, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(92, 74, 54, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 84px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}
.brand-name {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  color: var(--marron-tierra);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--texto);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--terracota-dark); }

/* Dropdown "El entorno" (header) — oculto salvo hover / foco / clic */
.site-header .nav-dropdown {
  position: relative;
}
.site-header .nav-dropdown .nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.site-header .nav-dropdown > .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding-top: 12px;
  z-index: 200;
}
.site-header .dropdown-content > a {
  display: block;
  padding: 10px 16px;
  font-size: 0.92rem;
  white-space: nowrap;
  background: var(--crema);
  border-left: 1px solid rgba(92, 74, 54, 0.12);
  border-right: 1px solid rgba(92, 74, 54, 0.12);
}
.site-header .dropdown-content > a:first-child {
  border-top: 1px solid rgba(92, 74, 54, 0.12);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.site-header .dropdown-content > a:last-child {
  border-bottom: 1px solid rgba(92, 74, 54, 0.12);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.site-header .dropdown-content > a:hover {
  background: white;
}
/* Mostrar solo al pasar el ratón, navegar con teclado o pulsar en "El entorno" */
.site-header .nav-dropdown:hover > .dropdown-content,
.site-header .nav-dropdown:focus-within > .dropdown-content,
.site-header .nav-dropdown.open > .dropdown-content {
  display: block;
}
.lang-switch {
  display: flex;
  gap: 4px;
  border-left: 1px solid rgba(92, 74, 54, 0.2);
  padding-left: 16px;
}
.lang-switch a {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--texto-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-switch a .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(92, 74, 54, 0.25);
  flex: none;
}
.lang-switch a .flag-es {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Crect width='18' height='12' fill='%23AA151B'/%3E%3Crect y='3' width='18' height='6' fill='%23F1BF00'/%3E%3C/svg%3E");
}
.lang-switch a .flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Crect width='18' height='12' fill='%23012169'/%3E%3Cpath d='M0,0 L18,12 M18,0 L0,12' stroke='%23fff' stroke-width='2.2'/%3E%3Cpath d='M0,0 L18,12 M18,0 L0,12' stroke='%23C8102E' stroke-width='0.8'/%3E%3Cpath d='M9,0 v12 M0,6 h18' stroke='%23fff' stroke-width='3.6'/%3E%3Cpath d='M9,0 v12 M0,6 h18' stroke='%23C8102E' stroke-width='2'/%3E%3C/svg%3E");
}
.lang-switch a .flag-gl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Crect width='18' height='12' fill='%23fff'/%3E%3Cg transform='rotate(24 9 6)'%3E%3Crect x='-5' y='4' width='28' height='4' fill='%2300A9E0'/%3E%3C/g%3E%3C/svg%3E");
}
.lang-switch a.active {
  background: var(--verde-oliva);
  color: var(--crema);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--marron-tierra);
  transition: var(--transicion);
}

/* HERO */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
  color: var(--texto);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image: url("img/panoramica/vista-panoramica.webp");
  background-size: cover;
  background-position: center;
  filter: blur(1px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 239, 224, 0.7) 0%, rgba(245, 239, 224, 0.92) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--texto-soft);
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Contenido expandible de la sección inicio */
.inicio-full {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(107, 122, 79, 0.25);
}
.inicio-full[hidden] { display: none; }

.inicio-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.inicio-text p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--texto);
  margin-bottom: 24px;
}
.inicio-text p:first-child {
  font-size: 1.2rem;
  color: var(--texto-soft);
  font-style: italic;
}

/* Placeholders de imagen en la sección inicio */
.inicio-img-placeholder {
  width: 100%;
  max-width: 760px;
  margin: 32px auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radio);
  background: linear-gradient(135deg, var(--verde-oliva) 0%, var(--verde-oliva-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sombra);
  border: 2px dashed rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.inicio-img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='1'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 16l5-5 4 4 3-3 6 6'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3C/svg%3E");
  background-size: 48px;
  background-repeat: repeat;
  opacity: 0.4;
}
.inicio-img-placeholder span {
  position: relative;
  z-index: 1;
  color: white;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radio);
  backdrop-filter: blur(2px);
}

/* Fotos reales en la página Sobre la finca */
.inicio-photo {
  margin: 32px auto;
  max-width: 760px;
}
.inicio-photo img {
  width: 100%;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radio);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transicion);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--terracota);
  color: white;
}
.btn-primary:hover {
  background: var(--terracota-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--sombra-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--verde-oliva-dark);
  border-color: var(--verde-oliva);
}
.btn-secondary:hover {
  background: var(--verde-oliva);
  color: white;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--marron-tierra);
}
.btn-ghost:hover {
  background: white;
}

/* Placeholder image style */
.placeholder {
  background: linear-gradient(135deg, var(--crema) 0%, #ede2cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-oliva);
  position: relative;
  overflow: hidden;
}
.placeholder svg {
  width: 50%;
  max-width: 120px;
  height: auto;
  opacity: 0.4;
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--texto-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(245, 239, 224, 0.8);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ROOMS */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.room-card {
  background: white;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--transicion), box-shadow var(--transicion);
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}
.room-card-link {
  display: block;
  line-height: 0;
}
.room-card-link:hover {
  opacity: 0.92;
}
.room-card h3 a {
  color: var(--marron-tierra);
}
.room-card h3 a:hover {
  color: var(--terracota-dark);
}

/* Room page hero text */
.room-hero .hero-content h1,
.room-hero .hero-content p {
  color: white;
}
.room-card .placeholder {
  aspect-ratio: 4 / 3;
}
.room-card .room-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 3px solid var(--terracota);
}
.room-card .room-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.room-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.room-card p {
  color: var(--texto-soft);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex: 1;
}
.room-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(107, 122, 79, 0.15);
  color: var(--verde-oliva-dark);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 12px;
}

/* PACKS */
.rooms-section {
  background: var(--crema);
}
.packs-section {
  background: var(--crema-soft);
}

/* LOCATION */
.location-section {
  background: var(--crema);
}
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.pack-card {
  background: white;
  border-radius: var(--radio);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--sombra);
  transition: transform var(--transicion), box-shadow var(--transicion);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pack-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
}
.pack-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(107, 122, 79, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-oliva);
}
.pack-icon svg {
  width: 32px;
  height: 32px;
}
/* Iconos sólidos das tarxetas de servizos (features-section) */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--verde-oliva);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
}
.pack-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.pack-card p {
  color: var(--texto-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}
.pack-card .btn {
  margin-top: 8px;
}
.pack-card .season-dates {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 2;
  color: var(--verde-oliva-dark);
  background: rgba(107, 122, 79, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
}
.pack-card .price {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terracota-dark);
  line-height: 1.1;
}
.pack-card .price span {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--texto-soft);
}
.pack-card .group-contact {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pack-card .group-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--verde-oliva-dark);
  background: rgba(107, 122, 79, 0.12);
  padding: 8px 14px;
  border-radius: 8px;
}
.pack-card .group-contact a:hover {
  background: var(--verde-oliva);
  color: white;
}
.pack-card .group-contact svg {
  width: 16px;
  height: 16px;
}

/* COMING SOON */
.coming-soon-section {
  background: var(--crema);
}
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.coming-soon-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.coming-soon-card-link:hover .coming-soon-card {
  border-color: var(--verde-oliva);
  background: rgba(255, 255, 255, 0.8);
}
.coming-soon-card {
  background: rgba(255, 255, 255, 0.5);
  border: 2px dashed rgba(107, 122, 79, 0.35);
  border-radius: var(--radio);
  padding: 36px 24px;
  text-align: center;
  transition: border-color var(--transicion), background var(--transicion);
}
.coming-soon-card svg {
  width: 48px;
  height: 48px;
  color: var(--verde-oliva);
  opacity: 0.6;
  margin-bottom: 12px;
}
.coming-soon-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--texto-soft);
}
.coming-soon-card .badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--terracota-dark);
  background: rgba(200, 128, 95, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
}

/* LOCATION */
.location-section {
  background: var(--crema);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.map-placeholder {
  background: linear-gradient(135deg, #e8e0c8 0%, #d8d0b8 100%);
  border-radius: var(--radio);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--marron-tierra);
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.map-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.5;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 18px;
}
.contact-info dl {
  margin-top: 20px;
}
.contact-info dt {
  font-weight: 600;
  color: var(--marron-tierra);
  margin-top: 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-info dd {
  color: var(--texto-soft);
  margin-top: 2px;
}

/* RESERVATION */
.reservation-section {
  position: relative;
  background: linear-gradient(180deg, var(--verde-oliva) 0%, var(--verde-oliva-dark) 100%);
  color: var(--crema);
  overflow: hidden;
}
.reservation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/booking-bg.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  pointer-events: none;
}
.reservation-section .container { position: relative; z-index: 1; }
.reservation-section h2 { color: white; }
.reservation-section .section-subtitle { color: rgba(245, 239, 224, 0.85); }
.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.reservation-grid h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 32px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--marron-tierra);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(92, 74, 54, 0.25);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--texto);
  background: white;
  transition: border-color var(--transicion);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--verde-oliva);
  box-shadow: 0 0 0 3px rgba(107, 122, 79, 0.15);
}
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(107, 122, 79, 0.15);
  color: var(--verde-oliva-dark);
  border: 1px solid rgba(107, 122, 79, 0.3);
}
.form-status.error {
  display: block;
  background: rgba(178, 38, 30, 0.08);
  color: #8f1d17;
  border: 1px solid rgba(178, 38, 30, 0.35);
}
.platform-cta {
  text-align: center;
}
.platform-cta p {
  color: rgba(245, 239, 224, 0.85);
  margin-bottom: 20px;
}
.platform-cta .btn {
  background: white;
  color: var(--verde-oliva-dark);
}
.platform-cta .btn:hover {
  background: var(--crema);
  transform: translateY(-2px);
}
.platform-cta .note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(245, 239, 224, 0.6);
}

/* FOOTER */
.site-footer {
  background: var(--marron-tierra);
  color: rgba(245, 239, 224, 0.85);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand img {
  height: 64px;
  margin-bottom: 12px;
  border-radius: 6px;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--crema);
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-family: system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a { color: rgba(245, 239, 224, 0.7); }
.footer-col a:hover { color: var(--crema); }
.footer-col .contact-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-subheading {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: rgba(245, 239, 224, 0.9);
  font-weight: 600;
}
.footer-sublist {
  list-style: none;
  margin-top: 4px;
  padding-left: 12px;
  border-left: 1px solid rgba(245, 239, 224, 0.2);
}
.footer-sublist li { margin-bottom: 6px; }
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

/* Oculta perfiles de prueba hasta configurar las cuentas sociales oficiales. */
a[href="https://prueba.com"] {
  display: none !important;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 239, 224, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 239, 224, 0.85);
  transition: background var(--transicion), transform var(--transicion);
}
.social-links a:hover {
  background: var(--terracota);
  color: white;
  transform: translateY(-2px);
}
.social-links svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 224, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 239, 224, 0.5);
}

/* WHATSAPP floating */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--transicion);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; color: white; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .kitchen-grid, .location-grid, .reservation-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .nav {
    position: fixed;
    top: 72px;
    right: 0;
    background: var(--crema);
    flex-direction: column;
    width: 240px;
    height: calc(100vh - 72px);
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transicion), visibility 0s var(--transicion);
    box-shadow: -8px 0 24px rgba(0,0,0,0.1);
    align-items: flex-start;
    gap: 16px;
    visibility: hidden;
    pointer-events: none;
  }
  .nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--transicion), visibility 0s 0s;
  }
  .nav-toggle { display: flex; flex: none; }
  /* En móvil o brand non cabe: reducir logo e nome para que non monte sobre o botón */
  .site-header .container { gap: 12px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { height: 52px; }
  .brand-name { font-size: 1.2rem; }
  /* Dropdown en móvil: oculto hasta pulsar en "El entorno", submenu estático e indentado */
  .site-header .nav-dropdown { width: 100%; }
  .site-header .nav-dropdown > .dropdown-content {
    display: none;
    position: static;
    padding-top: 8px;
    padding-left: 12px;
    min-width: 0;
  }
  .site-header .nav-dropdown:hover > .dropdown-content,
  .site-header .nav-dropdown:focus-within > .dropdown-content,
  .site-header .nav-dropdown.open > .dropdown-content {
    display: block;
  }
  .site-header .dropdown-content > a {
    border: none;
    background: transparent;
    padding: 6px 0;
  }
  .site-header .dropdown-content > a:first-child,
  .site-header .dropdown-content > a:last-child {
    border: none;
    border-radius: 0;
  }
  .lang-switch {
    border-left: none;
    padding-left: 0;
    margin-top: 8px;
    border-top: 1px solid rgba(92, 74, 54, 0.15);
    padding-top: 16px;
    width: 100%;
  }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
  /* En móvil o recadro escuro do hero ocupaba todo o ancho: estreitalo e con menos padding */
  .room-hero .hero-content {
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1.25rem !important;
  }
}

/* Páginas del entorno (catedrales, fuente, recreativa) */
.entorno-content {
  max-width: 820px;
}
.entorno-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.entorno-content .lead {
  font-size: 1.15rem;
  color: var(--texto-soft);
  font-style: italic;
}

/* Descripción das habitacións: mesma separación de parágrafos que no entorno */
.description-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.description-section p:last-child {
  margin-bottom: 0;
}
.entorno-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0 12px;
}
.entorno-photo {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radio);
  background: linear-gradient(135deg, var(--verde-oliva) 0%, var(--verde-oliva-dark) 100%);
  border: 2px dashed rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sombra);
  overflow: hidden;
}
.entorno-photo span {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radio);
}
.entorno-content .entorno-photo {
  margin: 28px 0;
  aspect-ratio: 16 / 10;
}
.entorno-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.entorno-gallery .entorno-photo {
  margin: 0;
}
.entorno-closing {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-oliva-dark);
  margin: 28px 0 8px;
}
.gallery-note {
  font-size: 0.85rem;
  color: var(--texto-soft);
  background: rgba(107, 122, 79, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 28px;
}
.gallery-note code {
  font-size: 0.8rem;
  background: rgba(92, 74, 54, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .entorno-gallery { grid-template-columns: 1fr; }
}

/* Carrusel reutilizable: <div class="carousel" data-carousel> con
   .carousel-viewport > .carousel-track > .carousel-slide… + botones
   [data-prev]/[data-next], [data-dots] y [data-counter]. */
.carousel {
  position: relative;
  margin: 32px 0 12px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.carousel-track {
  display: flex;
  transition: transform 350ms ease;
}
/* Galerías a ancho casi completo para mostrar las fotos más grandes */
.gallery-wide {
  max-width: var(--max-w);
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  background: #201d18;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}
/* Fotos de entorno (fuente): a una columna y más altas */
.entorno-content .entorno-photo {
  margin: 28px 0;
  aspect-ratio: 16 / 10;
}
.entorno-content .entorno-photo img {
  cursor: zoom-in;
}
/* Lightbox: ver la foto a tamaño completo */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 17, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  border-radius: var(--radio);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--marron-tierra);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sombra);
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lightbox-prev,
.lightbox.single .lightbox-next,
.lightbox.single .lightbox-caption {
  display: none;
}
@media (max-width: 720px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
/* FAQ con <details>: accesible y sin JS */
.faq-section {
  padding-top: 40px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.faq-item {
  background: white;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--marron-tierra);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--terracota-dark);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  padding: 0 20px 18px;
  color: var(--texto-soft);
  margin: 0;
}
.carousel-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: var(--radio);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-placeholder span {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radio);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--marron-tierra);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sombra);
  transition: background var(--transicion), transform var(--transicion);
  z-index: 2;
}
.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.06);
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}
.carousel-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 70%;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(92, 74, 54, 0.25);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active {
  background: var(--verde-oliva-dark);
}
.carousel-counter {
  font-size: 0.85rem;
  color: var(--texto-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.carousel.is-single .carousel-btn,
.carousel.is-single .carousel-meta {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
