:root {
  --rosa: #D9485A;
  --rosa-hover: #B8354A;
  --rosa-claro: #FCEFF0;
  --turquesa: #2E9C8C;
  --mostaza: #E9B949;
  --lavanda: #7A8FD1;
  --marron: #6B4A3A;
  --texto: #2E2320;
  --texto-2: #5E4B45;
  --texto-3: #8A6F66;
  --borde: #F1E4E1;
  --mapa-fondo: #F4EFEC;
  --mapa-rejilla: #EAE2DE;

  --serif: 'Young Serif', Georgia, serif;
  --sans: 'Figtree', system-ui, sans-serif;
  --script: 'Caveat', cursive;

  --pad-x: 64px;
  --pad-y: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--texto);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rosa); text-decoration: none; }
a:hover { color: var(--rosa-hover); }

h1, h2, p { margin: 0; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  color: var(--texto);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

[id] { scroll-margin-top: 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--borde); }

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.logo-main { font-family: var(--serif); font-size: 26px; color: var(--rosa); }
.logo-sub { font-family: var(--script); font-weight: 600; font-size: 22px; color: var(--marron); }

.nav {
  display: flex;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
}
.nav a { color: var(--texto); }
.nav a:hover { color: var(--rosa); }

.site-header .header-call { display: none; }

.nav-mobile { display: none; }

.btn-num { display: none; }

/* Botones */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
}
.btn-primary {
  background: var(--rosa);
  color: #fff;
  padding: 15px 26px;
}
.btn-primary:hover { background: var(--rosa-hover); color: #fff; }
.btn-outline {
  border: 1.5px solid var(--rosa);
  color: var(--rosa);
  padding: 14px 26px;
}
.btn-outline:hover { border-color: var(--rosa-hover); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--turquesa);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.05;
  color: var(--texto);
  text-wrap: pretty;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--texto-2);
  max-width: 440px;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1360 / 831;
  object-fit: cover;
  border-radius: 18px;
}

/* Qué encontrarás */
.productos { background: var(--rosa-claro); }

.productos .wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-dot { width: 10px; height: 10px; border-radius: 50%; }
.card-title { font-weight: 700; font-size: 19px; }
.card-text { color: var(--texto-2); font-size: 16px; line-height: 1.5; }

.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.photos img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
}
.photos .pijama { object-position: center 30%; }

/* Ven a vernos */
.visita {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}

.visita-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-block { display: flex; flex-direction: column; gap: 6px; }
.info-block.horario { gap: 10px; }

.info-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rosa);
}

.info-value { font-size: 18px; line-height: 1.5; font-style: normal; }
.info-value a { color: var(--texto); }
.info-value a:hover { color: var(--rosa-hover); }

.horario-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  border-bottom: 1px solid var(--borde);
  padding-bottom: 10px;
}
.horario-row:last-child { border-bottom: 0; padding-bottom: 0; }
.horario-row > span:first-child { white-space: nowrap; }
.horario-row > span:last-child { color: var(--texto-2); text-align: right; }
.nowrap { white-space: nowrap; }

.map {
  min-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--mapa-fondo);
  background-image:
    linear-gradient(var(--mapa-rejilla) 1px, transparent 1px),
    linear-gradient(90deg, var(--mapa-rejilla) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

/* Footer */
.site-footer { border-top: 1px solid var(--borde); }

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 15px;
  color: var(--texto-3);
}
.site-footer a { color: var(--texto-3); }
.site-footer a:hover { color: var(--rosa-hover); }

/* Responsive: tablet y móvil comparten estructura (diseño móvil 3a) */
@media (max-width: 900px) {
  :root { --pad-x: 24px; --pad-y: 56px; }

  [id] { scroll-margin-top: 84px; }

  h2 { font-size: 32px; }

  /* Header fijo con botón de llamar */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
  }
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .logo { gap: 6px; }
  .logo-main { font-size: 22px; }
  .logo-sub { font-size: 19px; }
  .nav { display: none; }
  .site-header .header-call {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }

  /* Nav en fila aparte con scroll horizontal */
  .nav-mobile {
    display: flex;
    gap: 24px;
    height: 48px;
    padding: 0 var(--pad-x);
    border-bottom: 1px solid var(--borde);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    font-size: 15px;
    font-weight: 500;
  }
  .nav-mobile::-webkit-scrollbar { display: none; }
  .nav-mobile a {
    display: flex;
    align-items: center;
    color: var(--texto);
  }
  .nav-mobile a:hover { color: var(--rosa); }

  /* Hero: foto primero */
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }
  .hero-img { order: -1; border-radius: 16px; }
  .hero-text { gap: 20px; }
  .hero h1 { font-size: 40px; line-height: 1.08; }
  .hero-lead { font-size: 17px; max-width: none; }

  /* Qué encontrarás */
  .productos .wrap { gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { border-radius: 14px; padding: 18px; gap: 8px; }
  .card-title { font-size: 17px; }
  .card-text { font-size: 14px; line-height: 1.45; }
  .photos { grid-template-columns: 1fr; gap: 24px; }
  .photos img { height: 420px; border-radius: 14px; }
  .photos .pijama { height: 480px; }

  /* Ven a vernos: título, mapa y luego los datos */
  .visita {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .visita-info { display: contents; }
  .visita h2 { order: 0; }
  .map { order: 1; min-height: 0; height: 320px; border-radius: 16px; }
  .map iframe { min-height: 0; }
  .info-block { order: 2; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; --pad-y: 40px; }

  h2 { font-size: 30px; }

  .hero h1 { font-size: 38px; }
  .eyebrow { font-size: 13px; }

  /* Botones a ancho completo, apilados */
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 20px;
  }
  .btn-num { display: inline; white-space: pre; }

  .photos img { height: 280px; }
  .photos .pijama { height: 340px; }

  .map { height: 240px; }

  .info-label { font-size: 12px; }
  .info-value { font-size: 17px; }
  .horario-row { font-size: 16px; }
  .horario-row > span:first-child { font-weight: 600; }
  .horario-row--stack { flex-direction: column; gap: 2px; }
  .horario-row--stack > span:last-child { text-align: left; }

  /* Footer en columna */
  .site-footer .wrap {
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
    padding-bottom: 32px;
    font-size: 14px;
  }
}
