/* ================================================================
   PERFIL CSS — SANTIAGO SCORTS | PREMIUM REDESIGN 2025
   Tema claro, editorial, premium
================================================================ */

body { padding-top: 76px; }

/* ================================================================
   WRAPPER
================================================================ */
.perfil-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ================================================================
   TOP — Fotos + Info
================================================================ */
.perfil-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
  align-items: start;
}

/* ---- Fotos ---- */
.perfil-photos { display: flex; flex-direction: column; gap: 10px; }

.photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.photos-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform .45s var(--ease);
}
.photos-grid img:hover { transform: scale(1.04); }

.photos-dots { display: flex; justify-content: center; gap: 6px; padding-top: 6px; }
.photos-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-md);
}
.photos-dot.active { background: var(--fucsia); }

/* ---- Info ---- */
.perfil-info { display: flex; flex-direction: column; gap: 14px; }

.perfil-info h1 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

/* WhatsApp CTA */
.wa-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all .25s var(--ease);
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
}
.wa-btn-main:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.42);
}
.wa-btn-main svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* Reservations box */
.reservations-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.res-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--fucsia);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.reservations-box p { font-size: 12px; color: var(--text-secondary); line-height: 1.55; }
.reservations-box .res-label {
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 3px;
}

/* Details table */
.details-table {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.detail-row {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }

.detail-key {
  width: 110px;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.detail-val {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

/* Habits */
.habits-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.habits-title {
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

/* Escort Rates */
.rates-card {
  background: var(--bg-white);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rates-title {
  background: var(--fucsia);
  color: #fff;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.rates-table { width: 100%; border-collapse: collapse; }
.rates-table th {
  background: rgba(255,255,255,0.05);
  padding: 9px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-align: left;
  font-weight: 700;
}
.rates-table th:not(:first-child) { text-align: center; color: var(--fucsia); }
.rates-table td {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.rates-table td:not(:first-child) {
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 14px;
}
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr:hover td { background: rgba(255,255,255,0.03); }

/* ================================================================
   PHOTO CAROUSEL
================================================================ */
.perfil-carousel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(22,9,40,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(230,0,126,0.70); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--fucsia);
  transform: scale(1.25);
}

/* carousel-track height is automatic via aspect-ratio: 3/4 */

/* ================================================================
   ABOUT ME
================================================================ */
.about-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.about-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.about-header h2 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text-primary);
  font-weight: 500;
}
.about-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.verified-badge {
  background: #1a7a3a;
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.price-badge {
  background: var(--bg-raised);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
}
.about-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
  font-weight: 300;
}
.about-section p:last-child { margin-bottom: 0; }

/* ================================================================
   SERVICES
================================================================ */
.services-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.services-section h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 20px;
}
.svc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  font-weight: 400;
}
.svc-check {
  color: var(--fucsia);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ================================================================
   TRANSPORTATION NOTICE
================================================================ */
.transport-notice {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.transport-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.transport-icon svg { width: 16px; height: 16px; stroke: var(--text-primary); }
.transport-text strong {
  color: var(--text-primary);
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}
.transport-text p { font-size: 12px; color: var(--text-secondary); line-height: 1.65; }

/* ================================================================
   RECOMMENDED
================================================================ */
.recommended-section { margin-bottom: 20px; }
.recommended-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.rec-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.rec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rec-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.rec-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(22,9,40,0.88) 0%, transparent 100%);
  padding: 24px 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.rec-name { color: #fff; font-size: 13px; font-weight: 600; }
.rec-verified {
  background: #1a7a3a;
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ================================================================
   WHATSAPP FLOAT (on profile pages)
================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.40);
  z-index: 400;
  transition: all .3s var(--ease-spring);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }

.whatsapp-tooltip {
  position: fixed;
  bottom: 36px; right: 94px;
  background: var(--blue-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 399;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  animation: fadeSlideIn .5s var(--ease) both;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--blue-dark);
}

/* ================================================================
   LIGHTBOX
================================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,13,46,0.97);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute;
  top: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.16); }

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .perfil-top { grid-template-columns: 1fr; }
  .recommended-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { padding-top: 68px; }
  .perfil-wrapper { padding: 24px 16px 60px; }
  .photos-grid img { height: 260px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
  .photos-grid { grid-template-columns: 1fr; }
  .photos-grid img { height: 280px; }
  .perfil-info h1 { font-size: 22px; }
  .recommended-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
