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

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

:root {
  --bg:       #07070f;
  --surface:  rgba(255,255,255,0.04);
  --border:   rgba(255,255,255,0.1);
  --text:     #e8e4dc;
  --muted:    rgba(232,228,220,0.72);
  --teal:     #2dd4bf;
  --violet:   #a78bfa;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding: 120px 24px 100px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title-main {
  display: block;
}
.hero-title-secondary {
  display: block;
  font-size: 0.58em;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 100px;
  background: var(--teal);
  color: #07070f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 100px;
  border: 1px solid rgba(45,212,191,0.5);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--teal); background: rgba(45,212,191,0.08); }

.btn-secondary.btn-bisex {
  border-color: rgba(167,139,250,0.4);
  color: var(--violet);
}
.btn-secondary.btn-bisex:hover {
  border-color: var(--violet);
  background: rgba(167,139,250,0.06);
}

.btn-outline {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: var(--surface); }

/* ── Section shared ──────────────────────────────────── */
.section-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
}

/* ── Hero background — escritorio ───────────────────── */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #07070f;
  background-image:
    linear-gradient(to bottom, rgba(7,7,15,0) 0%, rgba(7,7,15,0.30) 55%, rgba(7,7,15,0.95) 95%, var(--bg) 100%),
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(7,7,15,0.45) 0%, transparent 70%),
    url('/static/img/hero-parejas.png');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  pointer-events: none;
  overflow: hidden;
}

/* Grano/noise para textura premium */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.038;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Siluetas abstractas SVG */
.hero-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-bg-art  { display: none; }
  .hero-bg::after { display: none; }
}

/* ── Mood strip — solo escritorio ────────────────────── */
.mood-strip {
  display: none;
}

/* ── Trust block ─────────────────────────────────────── */
.trust-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  background: var(--bg);
  padding: 40px 32px;
  text-align: center;
}
.trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--teal);
}
.trust-icon svg { width: 100%; height: 100%; }
.trust-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}
.trust-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Comunidades ─────────────────────────────────────── */
.comunidades-section {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.comunidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

/* ── Community cards ─────────────────────────────────── */
.com-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 32px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  background-size: cover;
  background-position: right center;
}
.com-card:hover { transform: translateY(-5px); }
.com-card-deco { display: none; }

.com-card-parejas {
  border-color: rgba(45,212,191,0.25);
  background-image:
    linear-gradient(to right, rgba(7,7,15,0.97) 30%, rgba(7,7,15,0.6) 65%, rgba(7,7,15,0.1) 100%),
    url('/static/img/card-parejas.png');
}
.com-card-parejas:hover { border-color: rgba(45,212,191,0.55); }

.com-card-bisex {
  border-color: rgba(167,139,250,0.25);
  background-image:
    linear-gradient(to right, rgba(7,7,15,0.97) 30%, rgba(7,7,15,0.6) 65%, rgba(7,7,15,0.1) 100%),
    url('/static/img/card-bisex.png');
}
.com-card-bisex:hover { border-color: rgba(167,139,250,0.55); }

.com-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.com-card-parejas .com-tag { color: var(--teal); }
.com-card-bisex .com-tag   { color: var(--violet); }

.com-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 14px;
}
.com-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}
.com-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.com-pill {
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border: 1px solid;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.com-card-parejas .com-pill { border-color: rgba(45,212,191,0.3); color: var(--teal); }
.com-card-bisex .com-pill   { border-color: rgba(167,139,250,0.3); color: var(--violet); }

.com-btn {
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: opacity 0.2s;
  color: #07070f;
}
.com-btn:hover { opacity: 0.88; }
.com-card-parejas .com-btn { background: var(--teal); }
.com-card-bisex .com-btn   { background: var(--violet); }

/* ── Verify block ────────────────────────────────────── */
.verify-block {
  background-image:
    linear-gradient(rgba(7,7,15,0.88), rgba(7,7,15,0.88)),
    url('/static/img/naked-04.jpg');
  background-size: cover;
  background-position: center 30%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.verify-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.verify-text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
}
.verify-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3.5vw, 28px);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  border: none;
  padding: 0;
}

/* ── Behind block ────────────────────────────────────── */
.behind-block {
  padding: 80px 24px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.behind-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-image: url('/static/img/luz-hector.jpg');
  background-size: cover;
  background-position: center 15%;
  margin: 0 auto 28px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 6px rgba(45,212,191,0.08);
}
.behind-text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ── Colaboradores ───────────────────────────────────── */
.colaboradores {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 24px;
  text-align: center;
}
.colab-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 36px;
}
.colab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.colab-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 24px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  cursor: pointer;
}
.colab-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.colab-logo {
  max-height: 56px;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.colab-card:hover .colab-logo { opacity: 1; }

.colab-dropdown-wrap { position: relative; }
.colab-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a28;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-width: 160px;
  z-index: 10;
}
.colab-dropdown.open { display: block; }
.colab-dropdown a {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.15s;
}
.colab-dropdown a:hover { background: rgba(255,255,255,0.06); }

/* ── Chicos de Oro card ──────────────────────────────── */
:root { --gold: #c9a84c; }

.com-card-chicos {
  border-color: rgba(201,168,76,0.25);
  background-image:
    linear-gradient(to right, rgba(7,7,15,0.97) 30%, rgba(7,7,15,0.55) 65%, rgba(7,7,15,0.05) 100%),
    url('/static/img/card-chicos.png');
}
.com-card-chicos:hover { border-color: rgba(201,168,76,0.55); }
.com-card-chicos .com-tag  { color: var(--gold); }
.com-card-chicos .com-pill { border-color: rgba(201,168,76,0.3); color: var(--gold); }

.com-btn-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 100px;
  border: 1px solid rgba(201,168,76,0.25);
  color: rgba(201,168,76,0.5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: default;
}

/* ── Newsletter ───────────────────────────────────────── */
.newsletter-block {
  padding: 80px 24px 100px;
  text-align: center;
  border-top: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(7,7,15,0.90), rgba(7,7,15,0.90)),
    url('/static/img/naked-05.jpg');
  background-size: cover;
  background-position: center 30%;
}
.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 14px;
}
.newsletter-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.newsletter-form { width: 100%; }
.newsletter-row {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.3); }
.newsletter-btn {
  padding: 14px 24px;
  border-radius: 100px;
  border: none;
  background: var(--teal);
  color: #07070f;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.newsletter-btn:hover { opacity: 0.88; }
.newsletter-ok {
  margin-top: 16px;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .newsletter-row { flex-direction: column; }
  .newsletter-btn { width: 100%; }
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: rgba(232,228,220,0.2);
  letter-spacing: 1px;
}
.footer-legal {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.footer-legal a {
  color: rgba(232,228,220,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(232,228,220,0.5); }
.footer-legal span { color: rgba(232,228,220,0.15); }

/* ── Animaciones de entrada ──────────────────────────── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-delay-1 { transition-delay: 0.12s; }
.anim-delay-2 { transition-delay: 0.24s; }

/* En escritorio siempre visibles */
@media (min-width: 769px) {
  .anim-fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; }
  .comunidades-section { padding: 60px 20px; }
  .trust-item { padding: 32px 20px; }
  .verify-block { padding: 60px 20px; background-image: none; background: var(--surface); }
  .behind-block { padding: 60px 20px; }
  .newsletter-block { padding: 60px 20px 80px; background-image: none; background: var(--bg); }

  /* Hero bg en móvil: misma silueta que en escritorio, posicionada a la izquierda */
  .hero-bg { display: none; }
  .hero {
    background-image:
      linear-gradient(to bottom, rgba(7,7,15,0.15) 0%, rgba(7,7,15,0.55) 60%, rgba(7,7,15,1) 100%),
      url('/static/img/hero-parejas.png');
    background-size: cover;
    background-position: 18% center;
    background-repeat: no-repeat;
    padding-top: 140px;
    padding-bottom: 80px;
    max-width: 100%;
  }

  /* Grupos: quitar background images en móvil */
  .grupo-hero-parejas,
  .grupo-hero-bisex,
  .grupo-hero-qs {
    background-image: none;
    background: linear-gradient(180deg, rgba(7,7,15,0) 0%, var(--bg) 100%);
  }
}

/* ── Escritorio (>=1024px) — estructura coherente ───── */
@media (min-width: 1024px) {

  /* Hero-bg fixed solo detrás del hero, no de todo el body */
  .hero-bg { height: 100vh; }

  /* HERO */
  .hero {
    max-width: 1000px;
    padding: 140px 24px 110px;
  }
  .hero-sub {
    max-width: 620px;
    margin: 0 auto 32px;
  }

  /* TRUST (3 iconos en fila, siempre) */
  .trust-block {
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg);
    position: relative;
    z-index: 1;
  }
  .trust-item { padding: 56px 40px; }

  /* COMUNIDADES (3 cards en fila) */
  .comunidades-section {
    max-width: none;
    padding: 100px 40px;
    background: var(--bg);
    position: relative;
    z-index: 1;
  }
  .comunidades-section > .section-eyebrow,
  .comunidades-section > .section-title {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
  .comunidades-grid {
    max-width: 1180px;
    margin: 40px auto 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* VERIFY (fondo con foto naked-04) */
  .verify-block { padding: 110px 40px; }
  .verify-inner { max-width: 820px; }

  /* BEHIND (Luz y Héctor) */
  .behind-block {
    max-width: none;
    padding: 100px 40px;
    background: var(--bg);
    position: relative;
    z-index: 1;
  }
  .behind-block > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* COLABORADORES */
  .colaboradores {
    padding: 90px 40px;
    position: relative;
    z-index: 1;
  }

  /* NEWSLETTER */
  .newsletter-block {
    padding: 110px 40px 130px;
    position: relative;
    z-index: 1;
  }
  .newsletter-inner { max-width: 720px; margin: 0 auto; }

  /* FOOTER */
  .footer {
    background: var(--bg);
    position: relative;
    z-index: 1;
  }
}
