:root {
  --color-primary: #c54d78;
  --color-primary-dark: #ad3f67;
  --color-secondary: #6a5a56;
  --color-text: #4c403d;
  --color-muted: #7e6d68;
  --color-bg: #fffaf8;
  --color-surface: #ffffff;
  --color-line: #ecd8d9;
  --shadow-soft: 0 18px 40px rgba(131, 91, 98, 0.10);
  --shadow-card: 0 10px 24px rgba(104, 72, 78, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container-width: 1180px;
  --section-space: 92px;
  --transition: .32s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background: linear-gradient(to bottom, #fffdfc 0%, #fff8f6 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin: 0 auto;
}
.narrow { max-width: 860px; }
.text-center { text-align: center; }
.section { padding: var(--section-space) 0; position: relative; }

.ornament-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(197,77,120,.06) 0, rgba(197,77,120,.03) 26%, transparent 27%);
  opacity: .35;
  pointer-events: none;
}
.ornament-right::after,
.ornament-left::after,
.ornament-center::after,
.ornament-center-soft::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,77,120,.05), rgba(197,77,120,0) 62%);
  pointer-events: none;
}
.ornament-right::after { right: -120px; top: 28px; }
.ornament-left::after { left: -180px; bottom: -120px; }
.ornament-center::after { left: 50%; transform: translateX(-50%); top: 80px; }
.ornament-center-soft::after { left: 50%; transform: translateX(-50%); top: 10px; opacity: .65; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 250, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(213, 181, 187, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Playfair Display', serif;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 600;
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--color-secondary);
  font-size: .97rem;
  transition: color var(--transition), opacity var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--color-primary-dark); }
.nav-cta { margin-left: 10px; }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  background: var(--color-primary-dark);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, #cf5d85 0%, var(--color-primary) 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(197, 77, 120, 0.24);
}
.btn-primary:hover { background: linear-gradient(180deg, #c95780 0%, var(--color-primary-dark) 100%); }
.btn-outline {
  color: var(--color-primary-dark);
  border-color: #e8c8d2;
  background: rgba(255,255,255,.9);
}
.btn-outline:hover {
  background: #fff7fa;
  box-shadow: var(--shadow-card);
}

.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.hero-home,
.hero-experience {
  min-height: clamp(460px, 70vh, 760px);
  display: grid;
  place-items: center;
}
.hero-room {
  min-height: 560px;
  display: flex;
  align-items: center;
  background-position: center right;
  background-size: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-content-center {
  text-align: center;
  max-width: 860px;
}
.hero-content h1,
.hero-room-copy h1,
.experience-copy h2,
.section-heading h2,
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -.02em;
}
.hero-content h1,
.hero-room-copy h1 { font-size: clamp(3rem, 6vw, 5.35rem); margin: 0 0 16px; }
.hero-content p {
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,.9);
}
.hero-symbol {
  width: 90px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.14));
}
.hero-overlay-soft {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.03), rgba(0,0,0,.10));
}
.hero-room-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-room-copy {
  max-width: 520px;
  padding: 100px 0;
}
.hero-room-copy h1 { color: var(--color-primary-dark); }
.hero-room-copy p {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.section-ornament {
  width: 70px;
  margin: 0 auto 22px;
  opacity: .72;
}
.intro-lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.45;
  margin: 0 0 10px;
}
.intro-copy {
  color: var(--color-muted);
  font-size: 1.18rem;
  line-height: 1.9;
  margin: 0 auto;
  max-width: 760px;
}
.section-heading { margin-bottom: 32px; position: relative; z-index: 1; }
.section-heading h2 {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  margin: 0;
  color: var(--color-primary-dark);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.room-card {
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(236, 216, 217, .75);
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.room-card img {
  width: 100%;
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
}
.room-card-body { padding: 22px 24px 28px; }
.room-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
}
.room-card p {
  color: var(--color-muted);
  line-height: 1.75;
  margin: 0 0 22px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.amenity-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(236, 216, 217, .7);
  border-radius: 16px;
  box-shadow: 0 10px 18px rgba(108, 76, 82, .04);
  min-height: 156px;
  padding: 28px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.amenity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.amenity-card img { width: 44px; height: 44px; object-fit: contain; }
.amenity-card h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--color-text);
}

.gallery-grid {
  display: grid;
  gap: 18px;
}
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid img {
  border-radius: 10px;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.section-divider {
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,77,120,.34), transparent);
  margin: 0 auto 34px;
}
.cta-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--color-primary-dark);
  margin: 0 0 26px;
}

.banners-stack {
  display: grid;
  gap: 22px;
}
.experience-banner {
  min-height: 420px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  position: relative;
  box-shadow: var(--shadow-card);
}
.experience-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 36px 30px;
  max-width: 760px;
}
.experience-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  margin: 0 0 10px;
}
.experience-copy p {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.8;
  color: rgba(255,255,255,.9);
}

/* ================= FOOTER PREMIUM REWORK ================= */

.site-footer {
  position: relative;
  padding: 64px 0 22px;
  border-top: 1px solid rgba(236, 216, 217, .55);
  background:
    radial-gradient(circle at 50% 20%, rgba(191, 78, 121, 0.055), transparent 34%),
    linear-gradient(to bottom, #fffdfc, #fff8f6);
}

/* Estructura general */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* ================= CONTACTO ================= */

.footer-contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
  align-items: start;
}

.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6f5d59;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: all .25s ease;
}

.footer-contact-list a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

.footer-contact-list img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Ubicación más estética */
.footer-contact-list a:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 360px;
  font-size: 1.02rem;
}

/* ================= TARJETA CENTRAL RESERVA ================= */

.footer-reservation {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 78, 121, 0.13);
  border-radius: 28px;
  padding: 28px 30px 30px;
  box-shadow: 0 22px 60px rgba(118, 74, 77, 0.09);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-reservation .brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.footer-reservation .brand-footer img {
  width: 74px;
  height: auto;
}

.footer-reservation .brand-footer span {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ================= CLOUDBEDS ================= */

.cloudbeds-widget {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  text-align: left;
}

/* Forzar limpieza interna del widget */
.cloudbeds-widget form,
.cloudbeds-widget table,
.cloudbeds-widget div {
  max-width: 100% !important;
}

/* Labels */
.cloudbeds-widget label,
.cloudbeds-widget .label {
  display: block !important;
  margin: 0 0 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  color: #6f5d59 !important;
  text-align: left !important;
}

/* Inputs calendario */
.cloudbeds-widget input,
.cloudbeds-widget select {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid rgba(191, 78, 121, .24) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #4a3d3a !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  padding: 0 14px !important;
  box-shadow: 0 8px 20px rgba(191, 78, 121, .07) !important;
  outline: none !important;
}

.cloudbeds-widget input:focus,
.cloudbeds-widget select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(191, 78, 121, .13) !important;
}

/* Botón GO */
.cloudbeds-widget button,
.cloudbeds-widget input[type="submit"],
.cloudbeds-widget .submit,
.cloudbeds-widget [type="button"] {
  width: 100% !important;
  min-height: 46px !important;
  margin-top: 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--color-primary), #d85a8a) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .95rem !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 14px 28px rgba(191, 78, 121, .27) !important;
  transition: all .25s ease !important;
}

.cloudbeds-widget button:hover,
.cloudbeds-widget input[type="submit"]:hover,
.cloudbeds-widget .submit:hover,
.cloudbeds-widget [type="button"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 34px rgba(191, 78, 121, .34) !important;
}

/* Icono calendario */
.cloudbeds-widget img,
.cloudbeds-widget svg {
  max-width: 20px !important;
  height: auto !important;
}

/* ================= MAPA ================= */

.footer-map {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(118, 74, 77, 0.11);
  border: 1px solid rgba(191, 78, 121, .10);
  background: #fff;
}

.footer-map iframe,
.footer-map img {
  display: block;
  width: 100% !important;
  height: 260px !important;
  border: 0 !important;
  object-fit: cover;
}

/* ================= COPYRIGHT ================= */

.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(191, 78, 121, .10);
}

.footer-bottom p {
  margin: 0;
  font-size: .95rem;
  color: #8d7a76;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-contact-list {
    max-width: 520px;
    margin: 0 auto;
  }

  .footer-reservation {
    max-width: 390px;
    margin: 0 auto;
  }

  .footer-map {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 46px 0 20px;
  }

  .footer-contact-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-contact-list a {
    justify-content: flex-start;
  }

  .footer-contact-list a:nth-child(5) {
    max-width: 100%;
  }

  .footer-reservation {
    padding: 24px 22px 26px;
    border-radius: 24px;
  }

  .footer-reservation .brand-footer span {
    font-size: 1.32rem;
  }

  .footer-map iframe,
  .footer-map img {
    height: 240px !important;
  }

  .footer-bottom p {
    font-size: .82rem;
    line-height: 1.45;
  }
}

/* ================= GALERÍA LIFESTYLE ================= */

.gallery-grid-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

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

/* tamaños tipo editorial */
.gallery-item-lg {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

/* overlay elegante */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
}

.gallery-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

/* hover premium */
.gallery-item:hover img {
  transform: scale(1.08);
}

/* ================= RESPONSIVE ================= */

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

  .gallery-item-lg,
  .gallery-item-wide {
    grid-column: auto;
    grid-row: auto;
  }
}

.cloudbeds-widget {
  display: inline-block;
}

/* Opcional: si el botón se ve raro */
.cloudbeds-widget iframe {
  border: none;
}