/* ============ VARIABLES ============ */
:root {
  --gold: #D4AF37;
  --gold-light: #e8cd6f;
  --black: #000000;
  --black-soft: #0d0d0d;
  --charcoal: #161616;
  --silver: #C0C0C0;
  --white: #f7f5f0;
  --jade: #5ec9b5; /* acento para la categoría Masajes */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --radius: 10px;
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}

a { text-decoration: none; color: inherit; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,175,55,0.3); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(212,175,55,0.1); }

.btn-ghost {
  background: transparent;
  color: var(--silver);
}
.btn-ghost:hover { color: var(--gold); }

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

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

.brand-logo { height: 52px; width: auto; }

.main-nav {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}

.main-nav a {
  color: var(--silver);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: block;
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(212,175,55,0.15), transparent 60%),
    linear-gradient(180deg, var(--black-soft), var(--black));
  padding: 110px 0 90px;
  text-align: center;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--gold); font-style: italic; }

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--silver);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--black-soft); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}
.section-title p { color: var(--silver); font-size: 0.95rem; }

/* ============ PERFILES DESTACADOS (carrusel) ============ */
.featured-section {
  background: radial-gradient(ellipse at top, rgba(212,175,55,0.07), transparent 60%);
}

.featured-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 20px;
  flex: 1;
  /* Oculta la barra de scroll nativa; el swipe/drag sigue funcionando. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.featured-track::-webkit-scrollbar { display: none; }

.featured-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 22vw, 210px);
  scroll-snap-align: start;
  cursor: pointer;
  text-decoration: none;
}

.featured-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.featured-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.featured-card:hover .featured-photo {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(212,175,55,0.35);
  border-color: var(--gold);
}
.featured-card:hover .featured-photo img { transform: scale(1.06); }

.featured-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 45%, transparent 70%);
  pointer-events: none;
}

.featured-tier {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.featured-tier[data-tier="elite"] { border-color: var(--gold); color: var(--gold); }
.featured-tier[data-tier="premium"] { border-color: var(--silver); color: var(--silver); }
.featured-tier[data-tier="golden"] { border-color: var(--gold-light); color: var(--gold-light); }
.featured-tier[data-tier="masajes"] { border-color: var(--jade); color: var(--jade); }

.featured-region {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  border: 1px solid var(--silver);
  color: var(--silver);
}

.featured-verified {
  position: absolute;
  top: 42px;
  right: 10px;
  z-index: 2;
  background: rgba(64,156,255,0.95);
  color: var(--white);
  font-size: 0.72rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-online {
  position: absolute;
  bottom: 62px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: var(--white);
  opacity: 0.9;
}
.featured-online .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc71; box-shadow: 0 0 6px #3ddc71; }

.featured-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px;
}
.featured-name { font-weight: 700; font-size: 0.98rem; color: var(--white); }
.featured-name .age { font-weight: 400; color: rgba(247,245,240,0.75); }
.featured-loc { color: var(--gold-light); font-size: 0.74rem; margin-top: 2px; }

.carousel-arrow {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(0,0,0,0.5);
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.carousel-arrow:hover { background: rgba(212,175,55,0.15); border-color: var(--gold); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(192,192,192,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
}

/* ============ GRILLA PERFILES (rectangulos) ============ */
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-chip {
  background: transparent;
  border: 1px solid rgba(192,192,192,0.3);
  color: var(--silver);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

/* ============ BLOQUES POR CATEGORÍA (Elite / Premium / Golden) ============ */
.tier-block { margin-bottom: 48px; }
.tier-block:last-child { margin-bottom: 0; }

.tier-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212,175,55,0.15);
  padding-bottom: 12px;
}
.tier-heading h3 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tier-heading p { color: var(--silver); font-size: 0.85rem; }

.tier-icon { font-size: 1.1rem; }

.tier-block[data-tier="elite"] .tier-icon,
.tier-block[data-tier="elite"] h3 { color: var(--gold); }
.tier-block[data-tier="premium"] .tier-icon,
.tier-block[data-tier="premium"] h3 { color: var(--silver); }
.tier-block[data-tier="golden"] .tier-icon,
.tier-block[data-tier="golden"] h3 { color: var(--gold-light); }
.tier-block[data-tier="masajes"] .tier-icon,
.tier-block[data-tier="masajes"] h3 { color: var(--jade); }

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--charcoal);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.profile-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #1a1a1a;
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-tier-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.profile-tier-badge[data-tier="elite"] { border-color: var(--gold); color: var(--gold); }
.profile-tier-badge[data-tier="premium"] { border-color: var(--silver); color: var(--silver); }
.profile-tier-badge[data-tier="golden"] { border-color: var(--gold-light); color: var(--gold-light); }
.profile-tier-badge[data-tier="masajes"] { border-color: var(--jade); color: var(--jade); }

.profile-verified-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(64,156,255,0.95);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.profile-region-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.65);
  border: 1px solid var(--silver);
  color: var(--silver);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.profile-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-name .age { color: var(--silver); font-weight: 400; }

.profile-loc {
  color: var(--silver);
  font-size: 0.78rem;
  margin: 4px 0 12px;
}

.profile-view-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  margin-top: auto;
}
.profile-view-btn:hover { background: var(--gold); color: var(--black); }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(120deg, #1a1a1a, #0a0a0a);
  border-top: 1px solid rgba(212,175,55,0.25);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  padding: 56px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band-inner h2 { font-size: 1.8rem; margin-bottom: 6px; }
.cta-band-inner p { color: var(--silver); }

/* ============ FOOTER ============ */
.site-footer { background: var(--black-soft); padding-top: 64px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { height: 60px; margin-bottom: 14px; }
.footer-brand p { color: var(--silver); font-size: 0.85rem; max-width: 280px; }

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--silver);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { color: rgba(192,192,192,0.6); font-size: 0.78rem; }
.footer-bottom-links { margin-bottom: 8px; }
.footer-bottom-links a { color: var(--silver); font-size: 0.78rem; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--charcoal);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
  padding: 36px 30px 30px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 1.4rem;
  cursor: pointer;
}
.modal-close:hover { color: var(--gold); }

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.modal-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--silver);
  padding: 10px 0;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.modal-tab.active { color: var(--gold); border-color: var(--gold); }

.modal-form { display: none; flex-direction: column; gap: 16px; }
.modal-form.active { display: flex; }

.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--silver);
}
.modal-form input {
  background: var(--black);
  border: 1px solid rgba(192,192,192,0.25);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.modal-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .profiles-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cta-band-inner { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============ UTILIDADES DE ESPACIADO ============ */
/* Reemplazan estilos inline (style="...") en el HTML generado por JS, para
   poder sacar 'unsafe-inline' del style-src del CSP. */
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-28 { margin-bottom: 28px; }
.my-12 { margin: 12px 0; }
.my-14 { margin: 14px 0; }
.text-muted { color: var(--silver); }
.text-center-pad { text-align: center; padding: 60px 0; }
.inline-block { display: inline-block; }
.flex-col-gap24 { display: flex; flex-direction: column; gap: 24px; }
.grid-col-full { grid-column: 1 / -1; }
.icon-lg { font-size: 1.2rem; }
.opacity-80 { opacity: 0.8; }
