@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --bg-primary: #000;
  --bg-secondary: #111;
  --bg-card: #1A1A1A;
  --gold: #D4AF37;
  --gold-light: #F5E6A3;
  --text-primary: #FAFAFA;
  --text-secondary: #888;
  --border: #2A2A2A;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
}

img { max-width: 100%; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,.95);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.header-nav { display: flex; gap: 2rem; align-items: center; }
.header-nav a { color: var(--text-secondary); font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.header-nav a:hover { color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 4px;
  height: 604px;
  overflow: hidden;
}

.hero-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-item:first-child { grid-row: 1 / 3; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
}

.hero-overlay h1 {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  line-height: 1.1;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

/* Encabezado editorial de sección (Destacadas / Explorar) */
.section-head { padding: 3.5rem 2rem 1.5rem; }
.section-kicker {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section-head-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
}
.section-head-sub {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-top: .4rem;
}

/* Banda destacada: fondo sutil dorado que la separa del resto */
.feat {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(212,175,55,.06), transparent 70%);
  border-bottom: 1px solid var(--border);
}

/* Cards destacadas: más presencia + marco dorado + corona */
.grid--feat {
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}
.card--feat {
  outline: 1px solid rgba(212,175,55,.5);
  outline-offset: -1px;
  box-shadow: 0 4px 24px rgba(212,175,55,.12);
}
.card--feat:hover {
  box-shadow: 0 10px 40px rgba(212,175,55,.28);
}
.card--feat::before {
  content: "✦ Destacada";
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  background: var(--gold);
  color: #000;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  padding: 0 2rem 3rem;
}

/* Grid de espacios fijos (3 columnas): tarjetas compradas + "Tu Espacio Aquí" */
.grid--slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card--empty {
  border: 1px dashed rgba(212, 175, 55, .35);
  background: rgba(212, 175, 55, .03);
}

.card--empty:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, .12);
}

.card-empty-inner {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  padding: 1rem;
}

.card-empty-plus {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
}

.card-empty-inner h3 { font-size: 1.05rem; font-weight: 600; }
.card-empty-inner p { color: var(--text-secondary); font-size: .8rem; }

.card {
  position: relative;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, .15);
}

.card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 100%);
}

.card-body h3 { font-size: 1.1rem; font-weight: 600; }
.card-body p { color: var(--text-secondary); font-size: .85rem; margin-top: .25rem; }

.card-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: #000;
  padding: .25rem .75rem;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
}

.categories-nav {
  display: flex; justify-content: center; gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem;
}

.cat-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: .75rem 2rem;
  font-family: var(--font-body);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .3s;
}

.cat-btn:hover, .cat-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

.profile-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
}

.profile-hero img { width: 100%; height: 100%; object-fit: cover; }

.profile-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(to top, #000 0%, transparent 100%);
}

.profile-info h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
}

.profile-meta { color: var(--text-secondary); margin-top: .5rem; display: flex; gap: 1rem; }

.profile-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.profile-bio p { color: var(--text-secondary); line-height: 1.7; margin-top: 1rem; }

.profile-social { display: flex; gap: 1rem; margin-top: 1.5rem; }

.profile-social a {
  padding: .5rem 1.5rem;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: .85rem;
  transition: all .3s;
}

.profile-social a:hover { border-color: var(--gold); color: var(--gold); }

/* Tarifa destacada */
.profile-rate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.profile-rate span { color: var(--text-secondary); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.profile-rate strong { color: var(--gold); font-size: 1.6rem; font-family: var(--font-display); }
.profile-rate small { color: var(--text-secondary); font-size: .8rem; font-weight: 400; }

/* Botones de contacto */
.profile-contact { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.profile-contact-btn {
  flex: 1;
  min-width: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.profile-contact-btn .btn-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* WhatsApp: verde de marca, como en todas las páginas */
.profile-contact-btn--wa { background: #25D366; color: #fff; border: none; }
.profile-contact-btn--wa:hover { background: #1ebe5a; }

/* Llamar: sólido neutro, secundario al WhatsApp */
.profile-contact-btn--call {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.profile-contact-btn--call:hover { background: var(--gold); color: #000; }

.profile-contact-btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.profile-contact-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Ficha de datos */
.profile-specs { list-style: none; margin: 1rem 0 0; padding: 0; }
.profile-specs li {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.profile-specs li span { color: var(--text-secondary); }
.profile-specs li strong { color: var(--text-primary); font-weight: 500; }

/* Chips de servicios / idiomas */
.profile-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.profile-chips .chip {
  padding: .35rem .9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--text-secondary);
}

.profile-report {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.profile-report a {
  color: var(--text-secondary);
  font-size: .85rem;
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s, color .2s;
}
.profile-report a:hover { opacity: 1; color: #e66; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  cursor: pointer;
  transition: opacity .3s;
}

.gallery-grid img:hover { opacity: .8; }

.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.95);
  justify-content: center; align-items: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--text-primary);
  font-size: 2rem; cursor: pointer;
}

/* ===== Footer legal ===== */
.footer {
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: .85rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

/* Franja 1: links legales */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-links a {
  color: var(--text-secondary);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--gold); }

/* Franja 2: descargo + copyright */
.footer-disclaimer {
  padding: 2rem 0;
  text-align: center;
  line-height: 1.7;
}
.footer-disclaimer p { margin: 0 auto .75rem; max-width: 780px; font-size: .8rem; }
.footer-brand {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 1.5rem;
}
.footer-legal-line { font-size: .78rem; margin-top: .5rem; }

/* Badges +18 / RTA */
.footer-badges {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}
.footer-badge {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .35rem .75rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-decoration: none;
}
a.footer-badge:hover { color: var(--gold); border-color: var(--gold); }

/* Franja 3: banda anti-trata */
.footer-stop {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer-stop-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-stop-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.footer-stop-icon svg { display: block; }
.footer-stop-icon img { display: block; filter: blur(1px); }
.footer-stop-text { font-size: .82rem; line-height: 1.6; }
.footer-stop-title {
  font-family: var(--font-display, "Playfair Display", serif);
  font-weight: 900;
  letter-spacing: 1.5px;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 .5rem;
  text-transform: uppercase;
}
.footer-stop-text a { color: #E11414; }
.footer-stop-text strong { color: var(--text-primary); }
.footer-stop-text a { color: var(--gold); text-decoration: underline; }

@media (max-width: 600px) {
  .footer-stop-inner { flex-direction: column; text-align: center; }
  .footer-links { gap: .4rem 1rem; }
}

/* ===== Páginas legales ===== */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: .5rem;
}
.legal .legal-updated { color: var(--text-secondary); font-size: .8rem; margin-bottom: 2.5rem; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 .75rem;
  color: var(--gold);
}
.legal p, .legal li { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.legal ul { padding-left: 1.5rem; }
.legal strong { color: var(--text-primary); }

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  max-width: 350px;
}

.plan-card h3 { font-family: var(--font-display); font-size: 1.3rem; }
.plan-price { font-size: 2rem; color: var(--gold); margin: 1rem 0; font-weight: 700; }
.plan-features { list-style: none; color: var(--text-secondary); margin-bottom: 1.5rem; }
.plan-features li { padding: .5rem 0; border-bottom: 1px solid var(--border); }

/* ── Grid de paquetes (pay-per-day) ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  align-items: stretch;
}

.plans-grid .plan-card {
  max-width: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-perday { color: var(--text-secondary); font-size: .85rem; margin-top: -.5rem; }
.plan-save {
  display: inline-block;
  margin-bottom: 1rem;
  background: rgba(212, 175, 55, .12);
  color: var(--gold);
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: 2px;
}
.plan-card .btn { margin-top: auto; }

/* Paquete recomendado */
.plan-card--featured {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(212, 175, 55, .15);
}
.plan-badge-top {
  position: absolute;
  top: -.75rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #000;
  padding: .25rem .9rem;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 2px; white-space: nowrap;
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .plans-grid { grid-template-columns: 1fr; }
}

/* ── Reafirmación de responsabilidad al contratar ── */
.plans-consent {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}

.plans-consent-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: .75rem;
}

.plans-consent label {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  cursor: pointer;
}

.plans-consent input {
  margin-top: .2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.plans-consent span {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.55;
}

/* Intentó pagar sin tildar: el borde no alcanza como única señal. */
.plans-consent.is-missing {
  border-color: var(--gold);
  background: rgba(212, 175, 55, .07);
}

.plans-consent.is-missing::after {
  content: 'Tenés que aceptar esta declaración para contratar.';
  display: block;
  margin-top: .6rem;
  padding-left: 1.85rem;
  color: var(--gold);
  font-size: .85rem;
}

/* ── Pago por horas ── */
.hours-card {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.hours-card h3 { font-family: var(--font-display); font-size: 1.3rem; }
.hours-card > p {
  color: var(--text-secondary);
  font-size: .9rem;
  margin: .5rem 0 1.5rem;
}

.hours-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.hours-option {
  padding: 1rem .5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color .3s, color .3s, background-color .3s;
}

.hours-option small {
  display: block;
  margin-top: .25rem;
  font-size: .7rem;
  color: var(--text-secondary);
}

.hours-option:hover { border-color: var(--gold); color: var(--gold); }
.hours-option:hover small,
.hours-option[aria-pressed="true"] small { color: inherit; opacity: .8; }

.hours-option[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(212, 175, 55, .12);
  color: var(--gold);
  font-weight: 600;
}

.hours-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.hours-total-label { color: var(--text-secondary); font-size: .9rem; }
.hours-total-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  transition: opacity .3s;
}
.hours-total-amount.is-updating { opacity: .35; }

.hours-note {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: .8rem;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .hours-options { grid-template-columns: repeat(2, 1fr); }
  .hours-card .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hours-option, .hours-total-amount { transition: none; }
}

.btn {
  padding: .75rem 2rem;
  border: none;
  font-family: var(--font-body);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .3s;
}

.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Filter Bar ── */
.filter-bar {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  padding: 1.5rem 0; max-width: 1200px; margin: 0 auto;
}

.filter-search {
  flex: 1; min-width: 200px; position: relative;
}

.filter-search input {
  width: 100%; padding: .65rem 1rem .65rem 2.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary);
  font-family: var(--font-body); font-size: .9rem; outline: none;
  transition: border-color .2s;
}

.filter-search input:focus { border-color: var(--gold); }

.filter-search .search-icon {
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  color: var(--text-secondary); font-size: .9rem; pointer-events: none;
}

.filter-group {
  display: flex; gap: .5rem; align-items: center;
}

.filter-group label {
  font-size: .8rem; color: var(--text-secondary); white-space: nowrap;
}

.filter-group input,
.filter-group select {
  padding: .55rem .75rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary);
  font-family: var(--font-body); font-size: .85rem; outline: none;
  max-width: 90px;
}

.filter-group select { max-width: 150px; cursor: pointer; }

.filter-group input:focus,
.filter-group select:focus { border-color: var(--gold); }

/* Fade transition when filtering */
.grid.filtering .card { opacity: .3; transition: opacity .2s; }
.grid .card { transition: opacity .2s; }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 200px 150px 150px; height: auto; }
  .hero-item:first-child { grid-row: auto; }
  .hero-overlay h1 { font-size: 2rem; }
  .header { padding: 1rem; flex-direction: column; gap: 1rem; }
  .header-nav { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .profile-content { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); padding: 0 1rem 2rem; gap: 1rem; }
  .grid--slots { grid-template-columns: repeat(2, 1fr); }
}
