/* ==========================================================================
   CHILL Spa — Estilos
   Paleta: madera oscura + dorado/bronce (fiel al logotipo) + acento crema
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* Madera */
  --wood-950: #140d07;
  --wood-900: #201206;
  --wood-800: #331c0d;
  --wood-700: #4a2a14;
  --wood-600: #63391b;

  /* Dorado / bronce */
  --gold-200: #fbe9bc;
  --gold-300: #f3d68f;
  --gold-400: #e9c06c;
  --gold-500: #d4a447;
  --gold-600: #b3823a;
  --gold-700: #8a632c;

  /* Crema / beige */
  --cream-100: #faf4e6;
  --cream-200: #f0e4c8;
  --cream-300: #ddcba3;

  --ink: #211205;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-deep: 0 20px 50px rgba(10, 5, 1, 0.45);
  --radius-lg: 22px;
  --radius-md: 14px;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream-100);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

.wood-texture {
  background-color: var(--wood-900);
  background-image:
    radial-gradient(ellipse at 20% -10%, rgba(212, 164, 71, 0.16), transparent 55%),
    repeating-linear-gradient(100deg, rgba(0,0,0,0.14) 0px, rgba(0,0,0,0.14) 2px, transparent 2px, transparent 5px),
    linear-gradient(160deg, var(--wood-800), var(--wood-950) 75%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold-500);
  margin: 0 0 4px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold-500);
  opacity: .6;
}
.eyebrow--light { color: var(--gold-300); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 0 0 16px;
  color: var(--ink);
}
.section-title--light { color: var(--cream-100); }

.section-sub {
  max-width: 620px;
  color: #5a4530;
  font-weight: 300;
  font-size: 1.05rem;
}
.section-sub--light { color: var(--cream-300); }

.section-head {
  text-align: center;
  margin: 0 auto 52px;
  max-width: 700px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: .3px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--wood-950);
  box-shadow: 0 10px 30px rgba(212, 164, 71, 0.35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(212, 164, 71, 0.5); }

.btn--outline {
  background: transparent;
  border-color: rgba(240, 228, 200, 0.5);
  color: var(--cream-100);
}
.btn--outline:hover { background: rgba(240, 228, 200, 0.1); border-color: var(--gold-400); }

.btn--dark {
  background: var(--wood-900);
  color: var(--gold-300);
  box-shadow: 0 10px 26px rgba(20, 13, 7, 0.3);
}
.btn--dark:hover { transform: translateY(-2px); background: var(--wood-950); }

.btn--sm { padding: 11px 22px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header.is-scrolled {
  background: rgba(20, 13, 7, 0.92);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(10, 5, 1, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  color: var(--gold-300);
}
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212,164,71,.5);
}
.brand span { font-size: 1.15rem; letter-spacing: .5px; }
.brand small { display: block; font-family: var(--font-sans); font-size: .6rem; letter-spacing: 3px; color: var(--cream-300); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  color: var(--cream-200);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .3px;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--gold-300);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { top: 0; transform: rotate(45deg); background: var(--gold-300); }
.nav-toggle.is-active span::after { top: 0; transform: rotate(-45deg); background: var(--gold-300); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 20px 90px;
}
.hero__glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 640px;
  max-width: 90vw;
  background: radial-gradient(circle, rgba(233, 192, 108, 0.35), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
.hero__content { position: relative; z-index: 2; max-width: 780px; }
.hero__logo {
  width: 150px; height: 150px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 1px solid rgba(212, 164, 71, 0.55);
  box-shadow: 0 0 0 8px rgba(212,164,71,0.08), 0 20px 60px rgba(0,0,0,.5);
  object-fit: cover;
}
.hero__eyebrow {
  font-family: var(--font-script);
  color: var(--gold-400);
  font-size: 1.9rem;
  display: block;
  margin-bottom: 6px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--cream-100);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.2;
  margin: 0 0 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-400);
}
.hero p {
  color: var(--cream-300);
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: var(--cream-300);
  opacity: .7;
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold-400), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Sobre CHILL Spa
   ========================================================================== */

.about {
  padding: 110px 0;
  background: var(--cream-100);
  overflow: hidden;
}
.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(212,164,71,.25), transparent 55%),
    linear-gradient(150deg, var(--wood-700), var(--wood-950));
  box-shadow: var(--shadow-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,164,71,.25);
}
.about__art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__art-ring {
  position: relative;
  z-index: 1;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(212, 164, 71, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__art-ring::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(212, 164, 71, 0.28);
}
.about__art .icon-stones { width: 68px; height: 68px; color: var(--gold-400); }
.about__badge {
  position: absolute;
  bottom: -26px; right: -26px;
  background: var(--gold-500);
  color: var(--wood-950);
  border-radius: 50%;
  width: 118px; height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
  line-height: 1.15;
}
.about__badge strong { font-size: 1.5rem; }
.about__badge small { font-family: var(--font-sans); font-size: .6rem; letter-spacing: 1px; font-weight: 600; text-transform: uppercase; }

.about__text p { color: #5a4530; font-weight: 300; font-size: 1.05rem; margin-bottom: 18px; }

.about__features {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.about__feature .icon-wrap {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__feature svg { width: 22px; height: 22px; color: var(--wood-950); }
.about__feature h3 { margin: 0 0 4px; font-family: var(--font-serif); font-size: 1.05rem; }
.about__feature p { margin: 0; color: #6b5640; font-size: .92rem; font-weight: 300; }

/* ==========================================================================
   Servicios
   ========================================================================== */

.services {
  padding: 110px 0;
  position: relative;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}
.service-card {
  background: linear-gradient(165deg, var(--wood-700), var(--wood-950));
  border: 1px solid rgba(212, 164, 71, 0.22);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: -60%; right: -30%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212,164,71,.16), transparent 65%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
  border-color: rgba(212, 164, 71, 0.55);
}
.service-card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(212, 164, 71, 0.12);
  border: 1px solid rgba(212, 164, 71, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon svg { width: 30px; height: 30px; color: var(--gold-400); }
.service-card h3 {
  font-family: var(--font-serif);
  color: var(--cream-100);
  font-size: 1.25rem;
  margin: 0;
}
.service-card p {
  color: var(--cream-300);
  font-weight: 300;
  font-size: .93rem;
  margin: 0;
  flex-grow: 1;
}
.service-card .btn { margin-top: 6px; align-self: flex-start; }

/* ==========================================================================
   Ubicación
   ========================================================================== */

.location {
  padding: 110px 0;
  background: var(--cream-100);
}
.location .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.location__card {
  background: linear-gradient(160deg, var(--wood-700), var(--wood-950));
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(212,164,71,.22);
}
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.info-row svg { width: 24px; height: 24px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.info-row h3 {
  margin: 0 0 4px;
  color: var(--cream-100);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.info-row p { margin: 0; color: var(--cream-300); font-weight: 300; font-size: .95rem; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours-table td {
  padding: 7px 0;
  color: var(--cream-300);
  font-size: .92rem;
  font-weight: 300;
  border-bottom: 1px solid rgba(212,164,71,.12);
}
.hours-table td:last-child { text-align: right; color: var(--gold-300); font-weight: 500; }
.hours-table tr.is-today td { color: var(--cream-100); font-weight: 600; }
.hours-table tr.is-today td:last-child { color: var(--gold-400); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 24px;
}
.status-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
}
.status-badge.is-open { background: rgba(120, 180, 100, .15); color: #a9d99a; }
.status-badge.is-open::before { background: #7ed957; box-shadow: 0 0 8px #7ed957; }
.status-badge.is-closed { background: rgba(212, 100, 80, .15); color: #e2a897; }
.status-badge.is-closed::before { background: #e0715a; }

.location__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 6px solid var(--wood-900);
  aspect-ratio: 4/5;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: sepia(.15) saturate(1.05); }

/* ==========================================================================
   Redes sociales
   ========================================================================== */

.social {
  padding: 100px 0 110px;
}
.social__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.social-card {
  background: linear-gradient(160deg, var(--wood-700), var(--wood-950));
  border: 1px solid rgba(212,164,71,.22);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: transform .3s ease, border-color .3s ease;
}
.social-card:hover { transform: translateY(-5px); border-color: rgba(212,164,71,.55); }
.social-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-card__icon svg { width: 30px; height: 30px; color: var(--wood-950); }
.social-card h3 { margin: 0 0 2px; font-family: var(--font-serif); color: var(--cream-100); font-size: 1.2rem; }
.social-card p { margin: 0; color: var(--gold-300); font-weight: 500; font-size: .9rem; }
.social-card span.tag { display: block; color: var(--cream-300); font-weight: 300; font-size: .85rem; margin-top: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 70px 0 30px;
  color: var(--cream-300);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(212,164,71,.18);
}
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer__brand img { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(212,164,71,.4); }
.footer__brand span { font-family: var(--font-serif); color: var(--gold-300); font-size: 1.2rem; }
.footer p.tagline { font-weight: 300; font-size: .92rem; max-width: 280px; }

.footer h4 {
  color: var(--cream-100);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin: 0 0 18px;
}
.footer ul li { margin-bottom: 12px; font-size: .9rem; font-weight: 300; }
.footer ul li a:hover { color: var(--gold-400); }
.footer .social-icons { display: flex; gap: 12px; margin-top: 6px; }
.footer .social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212,164,71,.4);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.footer .social-icons a:hover { background: rgba(212,164,71,.15); transform: translateY(-3px); }
.footer .social-icons svg { width: 17px; height: 17px; color: var(--gold-300); }

.footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  color: var(--cream-300);
  opacity: .75;
}

/* ==========================================================================
   Botón flotante WhatsApp
   ========================================================================== */

.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  animation: floatPulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; color: var(--wood-950); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 0 0 rgba(212,164,71,.5); }
  50% { box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 0 12px rgba(212,164,71,0); }
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .about .container,
  .location .container { grid-template-columns: 1fr; }
  .about__art { max-width: 420px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--wood-950);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.4);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-links a { font-size: 1.05rem; }
}

@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__logo { width: 120px; height: 120px; }
  .about, .services, .location, .social { padding: 80px 0; }
  .location__card { padding: 28px; }
  .footer__bottom { flex-direction: column; }
}
