/* Landing pública Manipura.
   Paleta: papel cálido, tinta espresso, oro del wordmark, laca de las uñas. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --paper: #F3EDE3;
  --paper-deep: #E7DDD0;
  --ink: #1E1612;
  --ink-soft: #5A4F46;
  --gold: #C6A15B;
  --gold-deep: #8C6E34;
  --lacquer: #B41E32;
  --card: #FFFDF9;
  --line: #D9CFC0;
  --header: #14100D;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.loading,
.gallery-loading {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ink-soft);
}

/* ── header ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
}

.nav-logo {
  min-width: 0;
  flex: 1;
}

.nav-logo img {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 22px;
}

.nav-links a {
  color: #E8DFD2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.nav-links a:hover { color: var(--gold); }

.hamburger { flex-shrink: 0; }

.hamburger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

@media (min-width: 900px) {
  .nav { padding: 12px 28px; }
  .nav-logo { flex: 0 0 auto; }
  .nav-logo img { height: 42px; max-width: none; }
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

.nav-drawer {
  display: none;
  background: var(--header);
  padding: 8px 16px 20px;
}

.nav-drawer.open { display: block; }

.nav-drawer a {
  display: block;
  color: #E8DFD2;
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid #2A2320;
  font-size: 16px;
}

@media (min-width: 900px) {
  .nav-drawer { display: none !important; }
}

/* ── hero ── */
.hero {
  position: relative;
  min-height: calc(100svh - 168px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #F7F1E8;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}

.hero-media .hero-desk { display: none; }

@media (min-width: 700px) {
  .hero-media .hero-mob { display: none; }
  .hero-media .hero-desk { display: block; }
  .hero { min-height: 86svh; }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,13,0.15) 0%, rgba(20,16,13,0.15) 40%, rgba(20,16,13,0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 28px 20px 28px;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 56px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 14px 0 12px;
}

.hero-place {
  font-size: 14px;
  color: #E4D8C6;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
}

@media (min-width: 900px) {
  .hero-copy {
    width: min(1120px, calc(100% - 56px));
    margin-inline: auto;
    padding: 48px 0 64px;
  }
}

/* ── sections ── */
.hero,
.section { scroll-margin-top: 72px; }

.section { padding: 64px 0; }
.section-alt { background: var(--paper-deep); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-lead {
  margin-top: 12px;
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: 16px;
}

.gold-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 14px 0 0;
}

/* ── about ── */
.about-grid {
  display: grid;
  gap: 28px;
}

.about-still {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-top: 16px;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 56px;
  }
}

/* ── packs ── */
.packs-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 760px) {
  .packs-grid { grid-template-columns: 1fr 1fr; }

  /* Misma fila de pie/botón en pack y bono, aunque el copy tenga distinta altura. */
  .packs-grid > .pack-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }

  .packs-grid > .pack-card .pack-card-content {
    flex: none;
  }

  .packs-grid > .pack-card .pack-footer {
    margin-top: 0;
  }
}

.pack-card,
.service-card,
.extra-item {
  --card-shift: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(30,22,18,0.04);
  position: relative;
  overflow: hidden;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

html.js .pack-card:not(.is-in),
html.js .service-card:not(.is-in),
html.js .extra-item:not(.is-in) {
  opacity: 0;
  transform: translateY(var(--card-shift));
}

.extra-item { min-height: 0; }

.pack-card.is-in,
.service-card.is-in,
.extra-item.is-in {
  opacity: 1;
  transform: none;
}

.pack-card::after,
.service-card::after,
.extra-item::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -40%;
  width: 42%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 252, 245, 0) 38%,
    rgba(255, 252, 245, 0.55) 50%,
    rgba(198, 161, 91, 0.18) 54%,
    transparent 68%
  );
  transform: translateX(-130%) rotate(8deg);
  pointer-events: none;
}

.pack-card.is-gleam::after,
.service-card.is-gleam::after,
.extra-item.is-gleam::after {
  animation: lacquer-gleam 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lacquer-gleam {
  to { transform: translateX(420%) rotate(8deg); }
}

@media (hover: hover) and (pointer: fine) {
  .pack-card.is-in:hover,
  .service-card.is-in:hover,
  .extra-item.is-in:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 18px 36px -18px rgba(30, 22, 18, 0.28);
  }

  .pack-card.is-in:hover::after,
  .service-card.is-in:hover::after,
  .extra-item.is-in:hover::after {
    animation: lacquer-gleam 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.pack-card:active,
.service-card:active,
.extra-item:active {
  transform: translateY(-2px) scale(0.992);
}

.pack-card-title,
.service-card h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 8px;
}

.pack-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pack-card:has(.pack-discount-badge) .pack-card-title {
  padding-right: 56px;
}

.pack-description,
.service-description {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 12px;
}

.pack-services-list,
.service-includes {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 8px 0 16px;
}

.pack-service-item,
.service-includes li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
  color: var(--ink);
}

.pack-service-item::before,
.service-includes li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.pack-plus {
  display: block;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 4px 0 4px 16px;
}

.pack-footer,
.service-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.pack-card .pack-footer {
  gap: 0;
}

.pack-pricing,
.service-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  min-height: 28px;
}

.duration,
.pack-duration {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.price,
.pack-final-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-deep);
}

.pack-original-price {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: line-through;
  margin-right: 8px;
}

.pack-discount-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--lacquer);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.btn-book-service,
.btn-book-pack {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-book-service:hover,
.btn-book-pack:hover,
.btn-gold:hover {
  background: #d4b36c;
}

.btn-book-service:active,
.btn-book-pack:active {
  transform: scale(0.98);
}

.pack-card--gift .pack-pricing {
  align-items: flex-end;
}

/* ── accordion ── */
.service-category { margin-top: 14px; }

.category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
}

.category-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.category-description {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 2px;
}

.category-count {
  display: none;
}

.chevron {
  color: var(--gold-deep);
  transition: transform 0.25s ease;
}

.service-category.open .chevron { transform: rotate(45deg); }

.category-body {
  max-height: 0;
  overflow: clip;
  padding: 0;
}

.service-category.open .category-body {
  max-height: 8000px;
  overflow: visible;
  padding-top: 14px;
}

.service-grid,
.extras-grid {
  display: grid;
  gap: 14px;
}

.extra-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
}

.extra-price { color: var(--gold-deep); font-weight: 600; }

@media (min-width: 900px) {
  .category-header {
    background: transparent;
    border: 0;
    pointer-events: none;
    padding: 8px 0 4px;
    min-height: 0;
    justify-content: flex-start;
  }
  .category-count,
  .chevron { display: none; }
  .category-name { font-size: 36px; }
  .category-body {
    max-height: none !important;
    overflow: visible !important;
    padding-top: 18px !important;
  }
  .service-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .service-grid.grid-3,
  .service-grid.grid-3-3,
  .service-grid.grid-auto { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── gallery ── */
.gallery-frame {
  margin-top: 28px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 5;
}

@media (min-width: 700px) {
  .gallery-frame { aspect-ratio: 16 / 10; }
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-slide.active { opacity: 1; }

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.gallery-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(20,16,13,0.55);
  color: #fff;
  font-size: 18px;
}

.gallery-count,
.gallery-counter {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  background: rgba(20,16,13,0.45);
  padding: 6px 10px;
  border-radius: 999px;
}

.gallery-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.gallery-dot.active { background: var(--gold); }

/* ── contact ── */
.contact-grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.hours, .contact-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.contact-item { grid-template-columns: 1fr; }
.contact-item a { color: var(--gold-deep); text-decoration: none; font-weight: 600; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
}

.map-wrap iframe { width: 100%; height: 320px; border: 0; }

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.cta-row a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: center;
  padding: 0 8px;
}

.cta-row a.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ── footer ── */
.footer {
  background: var(--header);
  color: #D8CFC3;
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 28px;
  font-weight: 500;
}

.footer a { color: #D8CFC3; text-decoration: none; }
.footer ul { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #2C2622;
  font-size: 12px;
}

.category-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 4px;
}

.packs-subtitle {
  color: var(--ink-soft);
  margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .gallery-slide { transition: none; }
  .pack-card,
  .service-card,
  .extra-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pack-card::after,
  .service-card::after,
  .extra-item::after { display: none; animation: none; }
}
