/* =========================================================
   ColEroticos — Luxury Spa Directory
   Design system: deep wine-black + champagne gold, editorial serif
   ========================================================= */

:root {
  /* Core palette */
  --bg:            #0b0708;   /* near-black, warm undertone */
  --bg-2:         #120b0d;   /* raised surface */
  --wine:         #2a0f16;   /* deep burgundy */
  --wine-2:       #451420;
  --surface:      rgba(255, 255, 255, 0.035);
  --surface-2:    rgba(255, 255, 255, 0.06);
  --border:       rgba(212, 175, 55, 0.14);
  --border-soft:  rgba(255, 255, 255, 0.08);

  /* Gold */
  --gold:         #d9b45b;
  --gold-bright:  #f3d888;
  --gold-deep:    #b8862f;
  --gold-grad:    linear-gradient(135deg, #f3d888 0%, #d9b45b 42%, #b8862f 100%);

  /* Rose accent (the "erótico" warmth) */
  --rose:         #d16b7c;
  --rose-deep:    #8b0e2c;

  /* Text */
  --text:         #f4efe9;
  --text-soft:    #c9bfb6;
  --text-mute:    #8c8078;

  /* Type */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 20px 60px -18px rgba(212, 175, 55, 0.28);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glow — no blur filters (GPU-safe), pure gradients */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(139, 14, 44, 0.22), transparent 70%),
    radial-gradient(50% 40% at 100% 10%, rgba(212, 175, 55, 0.10), transparent 70%),
    radial-gradient(70% 60% at 50% 120%, rgba(69, 20, 32, 0.35), transparent 75%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

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

.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 0.85rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--pad);
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad);
  color: #26160a;
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(212, 175, 55, 0.65); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 7, 8, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.01em; }
.brand b { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.94rem; font-weight: 500; color: var(--text-soft); transition: color 0.2s; position: relative; }
.nav-links a.btn-gold { color: #26160a; }        /* keep dark, legible text on the gold button */
.nav-links a.btn-gold:hover { color: #26160a; }
.nav-links a:not(.btn):hover { color: var(--gold-bright); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold-grad); transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,7,8,0.55) 0%, rgba(11,7,8,0.35) 40%, rgba(11,7,8,0.95) 100%),
    linear-gradient(90deg, rgba(42,15,22,0.6) 0%, transparent 60%);
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  margin: 1.2rem 0 1rem;
}
.hero h1 em { font-style: italic; }
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 2.4rem;
}

/* ---------- Search bar ---------- */
.searchbar {
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem;
  border-radius: 100px;
  background: rgba(18, 11, 13, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}
.searchbar .field { flex: 1; display: flex; align-items: center; gap: 0.5rem; padding: 0 0.6rem; min-width: 0; }
.searchbar .field + .field { border-left: 1px solid var(--border-soft); }
.searchbar svg { color: var(--gold); flex-shrink: 0; }
.searchbar input,
.searchbar select {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 0;
  outline: none;
  cursor: pointer;
}
.searchbar input { cursor: text; }
.searchbar input::placeholder { color: var(--text-mute); }
.searchbar select option { background: var(--bg-2); color: var(--text); }
.searchbar .btn { flex-shrink: 0; }

/* ---------- Section headers ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0.6rem 0 0.8rem; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Listing cards ---------- */
.listings { display: grid; gap: 1.6rem; }
.card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.8rem;
  padding: 1.4rem;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.card:hover::before { opacity: 1; }
.card-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11,7,8,0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--gold-bright);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: 100px;
}
.card-body { display: flex; flex-direction: column; padding: 0.4rem 0.6rem 0.4rem 0; min-width: 0; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.card h3 { font-size: 1.7rem; }
.card .loc { display: flex; align-items: center; gap: 0.35rem; color: var(--text-soft); font-size: 0.9rem; margin-top: 0.25rem; }
.card .loc svg { color: var(--gold); }
.card .price { text-align: right; flex-shrink: 0; }
.card .price .amount { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-bright); font-weight: 700; }
.card .price small { display: block; color: var(--text-mute); font-size: 0.75rem; }
.card .desc { color: var(--text-soft); font-size: 0.95rem; margin: 0.9rem 0 1rem; }
.card-meta { display: flex; align-items: center; gap: 1rem; margin-top: auto; flex-wrap: wrap; }
.hours { display: flex; align-items: center; gap: 0.35rem; color: var(--text-mute); font-size: 0.85rem; }
.pills { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 0.9rem 0; }
.pill {
  font-size: 0.78rem; padding: 0.35rem 0.75rem; border-radius: 100px;
  background: rgba(212,175,55,0.08); border: 1px solid var(--border);
  color: var(--gold); font-weight: 500;
}
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars svg { width: 16px; height: 16px; }
.stars .rating-num { font-size: 0.85rem; color: var(--text-soft); margin-left: 0.4rem; }
.star-full { color: var(--gold); }
.star-empty { color: rgba(255,255,255,0.18); }

/* ---------- Join / CTA band ---------- */
.join {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  background:
    linear-gradient(135deg, rgba(69,20,32,0.85), rgba(11,7,8,0.9)),
    url("https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?w=1400&q=80") center/cover;
  border: 1px solid var(--border);
}
.join-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.join h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); margin: 0.8rem 0 1rem; }
.join p { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 2rem; }
.stats { display: flex; gap: 2.5rem; margin-bottom: 2rem; }
.stat .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; }
.stat .lbl { color: var(--text-soft); font-size: 0.9rem; }
.join-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.benefits { list-style: none; display: grid; gap: 1rem; }
.benefits li { display: flex; align-items: center; gap: 0.8rem; color: var(--text-soft); font-size: 1.02rem; }
.benefits .check {
  display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; background: rgba(212,175,55,0.14); color: var(--gold-bright);
  border: 1px solid var(--border);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 70px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.footer h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer p { color: var(--text-mute); font-size: 0.92rem; }
.footer ul { list-style: none; display: grid; gap: 0.7rem; }
.footer ul a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold-bright); }
.socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-soft); color: var(--text-soft);
  transition: all 0.25s;
}
.socials a:hover { color: var(--gold-bright); border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--border-soft); margin-top: 3rem; padding-top: 1.8rem;
  color: var(--text-mute); font-size: 0.85rem;
}
.footer-bottom .links { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Spa detail page
   ========================================================= */
.detail-hero { padding-top: 110px; }
.detail-card {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 1.6rem; align-items: center;
  padding: 1.4rem; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
}
.detail-card .thumb { width: 100%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; }
.detail-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-card h1 { font-size: 2.4rem; }
.detail-card .loc { color: var(--text-soft); display: flex; align-items: center; gap: 0.4rem; margin: 0.4rem 0; }
.detail-card .visit { color: var(--gold); font-size: 0.9rem; }
.detail-actions { text-align: right; display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-end; }

.gallery { margin: 2rem 0; }
.gallery-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; border: 1px solid var(--border-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.8rem; margin-top: 0.8rem; }
.gallery-thumbs img {
  width: 110px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm);
  cursor: pointer; opacity: 0.55; border: 1px solid var(--border-soft); transition: opacity 0.25s, border-color 0.25s;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--gold); }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 2rem 0; }
.panel {
  padding: 1.8rem; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
}
.panel h2 { font-size: 1.5rem; color: var(--gold-bright); margin-bottom: 1.2rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--border-soft); }
.price-row:last-child { border-bottom: 0; }
.price-row .name { font-family: var(--serif); font-size: 1.15rem; }
.price-row .dur { color: var(--text-mute); font-size: 0.85rem; margin-left: 0.6rem; }
.price-row .val { color: var(--gold-bright); font-weight: 600; }
.sched-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--border-soft); }
.sched-row:last-child { border-bottom: 0; }
.sched-row .hrs { color: var(--text-soft); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem; }
.member { border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 3/4; border: 1px solid var(--border-soft); }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.member:hover img { transform: scale(1.05); }
.member-info { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(0deg, rgba(11,7,8,0.92), transparent); }
.member-info .name { font-family: var(--serif); font-size: 1.15rem; }
.member-info .role { color: var(--gold); font-size: 0.82rem; }

.contact-list { display: grid; gap: 1.1rem; }
.contact-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-item .ic { color: var(--gold); margin-top: 2px; }
.contact-item .k { font-size: 0.78rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item .v { color: var(--text); }

.map-box {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-soft);
  min-height: 320px; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(212,175,55,0.10), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 22px),
    var(--wine);
}
.map-box .pin { color: var(--gold-bright); }
.map-box h3 { color: var(--gold-bright); margin: 0.6rem 0 0.3rem; }
.map-box p { color: var(--text-soft); }

.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.review {
  padding: 1.6rem; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
}
.review-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.review-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review-head .name { font-weight: 600; }
.review-head .date { color: var(--text-mute); font-size: 0.82rem; }
.review p { color: var(--text-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem;
    position: absolute; top: 76px; left: 0; right: 0; padding: 1.2rem 24px 1.6rem;
    background: rgba(11,7,8,0.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border-soft);
  }
  .nav-links.open a { padding: 0.6rem 0; }
  .nav-toggle { display: block; }
  .searchbar { flex-direction: column; border-radius: var(--r-lg); }
  .searchbar .field + .field { border-left: 0; border-top: 1px solid var(--border-soft); }
  .searchbar .btn { width: 100%; }
  .card { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 16/10; }
  .join-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .detail-card { grid-template-columns: 1fr; text-align: center; }
  .detail-actions { align-items: center; }
  .detail-grid, .reviews-grid { grid-template-columns: 1fr; }
  .gallery-main { aspect-ratio: 16/10; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.6rem; }
  .section { padding: 70px 0; }
}
