:root {
  --color-bg: #faf8f4;
  --color-text: #1c1b19;
  --color-gold: #8a7233;
  --color-gold-dark: #6b5826;
  --color-line: #ddd6c9;
  --color-muted: #5c574c;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(138, 115, 51, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(138, 115, 51, 0.06) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
}

.lang-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

.container {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  position: relative;
  z-index: 1;
}

.content {
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
}

.logo {
  width: min(380px, 80%);
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto 28px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 16px;
  color: var(--color-text);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-muted);
  margin: 0 0 8px;
  line-height: 1.6;
}

.text {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0 0 28px;
  line-height: 1.6;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-item:hover {
  color: var(--color-gold-dark);
}

.contact-item .icon {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.reserve-btn {
  display: inline-block;
  background: var(--color-gold);
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-bottom: 36px;
}

.reserve-btn:hover {
  background: var(--color-gold-dark);
  transform: translateY(-1px);
}

.social-block {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text);
  transition: fill 0.2s ease;
}

.social-icon:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
}

.social-icon:hover svg {
  fill: #fff;
}

.footer {
  width: 100%;
  text-align: center;
  padding: 18px;
  font-size: 0.75rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .lang-switcher {
    top: 12px;
    right: 12px;
  }
  .container {
    padding: 90px 16px 32px;
  }
  .reserve-btn {
    width: 100%;
    padding: 16px 0;
  }
  .contact-item {
    font-size: 0.9rem;
  }
}

/* Reservas en ventana emergente con el iframe de CoverManager */
html:has(.reserve-modal[open]) {
  overflow: hidden;
}

.reserve-modal {
  width: min(960px, calc(100vw - 48px));
  height: min(820px, calc(100vh - 48px));
  height: min(820px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #2f2f2f;
  color: var(--color-text);
  overflow: hidden;
}

.reserve-modal[open] {
  display: flex;
  flex-direction: column;
}

.reserve-modal::backdrop {
  background: rgba(28, 27, 25, 0.65);
}

.reserve-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 6px 8px 6px 16px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
}

.reserve-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.reserve-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.reserve-close:hover {
  color: var(--color-gold-dark);
}

.reserve-frame {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #2f2f2f; /* el módulo de CoverManager trae texto blanco y fondo transparente */
}

@media (max-width: 480px) {
  .reserve-modal {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
}
