/* ============================================================
   IBIZA TOP SCORTS — Portal Stylesheet
   Manual de Estilos · Julio 2026
   ============================================================ */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700;800&display=swap");

/* --- Webfont OPTIAmway --- */
@font-face {
  font-family: 'OPTIAmway';
  src: url('/webfonts_OPTIAmway/OPTIAmway.ttf.woff') format('woff'),
       url('/webfonts_OPTIAmway/OPTIAmway.ttf.svg#OPTIAmway') format('svg'),
       url('/webfonts_OPTIAmway/OPTIAmway.ttf.eot'),
       url('/webfonts_OPTIAmway/OPTIAmway.ttf.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   1. VARIABLES CSS
   ============================================================ */
:root {
  /* Paleta de colores */
  --color-white:   #FFFFFF;
  --color-white50: rgba(255,255,255,0.50);
  --color-gold:    #D1B292;
  --color-black:   #000000;
  --color-black1:  #1F1F1F;
  --color-grey:    #525353;
  --color-grey50:  rgba(82,83,83,0.50);
  --color-grey1:   #8F8F8F;
  --color-grey2:   #D9D9D9;
  --color-red:     #A80B24;

  /* Layout */
  --header-height: 130px;
  --sidebar-width: 280px;

  /* Imágenes de marca */
  --image-logo: url('/imagenes/high-class-girl-hero.jpg');

  /* Breakpoint extra */
  --bs-breakpoint-xxxl: 1900px;

  /* Watermark */
  --wm-text: "IBIZA TOP SCORTS\AMODELS & EVENTS\ABOUTIQUE AGENCY";
}

/* ============================================================
   2. RESET Y BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Lato, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--color-black);
  background-color: var(--color-white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--color-gold);
}

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

h1, h2, h3 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 0;
}

p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

/* ============================================================
   3. LAYOUT PRINCIPAL
   ============================================================ */
.sitewrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-container {
  display: flex;
  flex: 1;
  padding-top: var(--header-height);
}

/* ============================================================
   4. HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-grey2);
  transition: background 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrapper-menu-btn {
  flex: 0 0 auto;
}

.wrapper-logo {
  flex: 1;
}

.wrapper-logo .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.wrapper-logo .logo {
  height: 90px;
  width: 90px;
  object-fit: contain;
}

.brand-name {
  font-family: 'OPTIAmway', Lato, sans-serif;
  font-size: 48px;
  font-weight: normal;
  letter-spacing: 3px;
  white-space: nowrap;
}

.brand-black {
  color: var(--color-black);
}

.brand-gold {
  color: var(--color-gold);
}

.wrapper-contacts-btn {
  flex: 0 0 auto;
}

/* Hamburger button */
.colorlib-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.colorlib-nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: var(--color-black);
}

/* Contacts button */
.btn {
  display: inline-block;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 30px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  /* Liquid Glass effect */
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-gold);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.btn:hover {
  background: rgba(209, 178, 146, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-gold);
  box-shadow:
    0 2px 8px rgba(209, 178, 146, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold {
  background: rgba(209, 178, 146, 0.35);
  color: var(--color-black);
  border-color: rgba(209, 178, 146, 0.5);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(209, 178, 146, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(209, 178, 146, 0.1);
}

.btn-gold:hover {
  background: rgba(209, 178, 146, 0.5);
  border-color: rgba(209, 178, 146, 0.6);
  color: var(--color-black);
  transform: translateY(-1px);
  box-shadow:
    0 2px 8px rgba(209, 178, 146, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(209, 178, 146, 0.15);
}

.btn-gold-lite {
  border: 1px solid rgba(209, 178, 146, 0.4);
  color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
}

.btn-gold-lite:hover {
  background: rgba(209, 178, 146, 0.2);
  border-color: rgba(209, 178, 146, 0.5);
  color: var(--color-gold);
  transform: translateY(-1px);
}

/* Contacts button — Liquid Crystal Gold */
.btn-contacts-desktop {
  color: var(--color-red);
  background: linear-gradient(
    135deg,
    rgba(209, 178, 146, 0.70) 0%,
    rgba(209, 178, 146, 0.50) 40%,
    rgba(209, 178, 146, 0.65) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(24px) saturate(200%) brightness(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.1);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 6px 16px rgba(209, 178, 146, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(209, 178, 146, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.btn-contacts-desktop:hover {
  color: var(--color-red);
  background: linear-gradient(
    135deg,
    rgba(209, 178, 146, 0.85) 0%,
    rgba(209, 178, 146, 0.65) 40%,
    rgba(209, 178, 146, 0.80) 100%
  );
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
  box-shadow:
    0 2px 8px rgba(209, 178, 146, 0.30),
    0 10px 28px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(209, 178, 146, 0.20);
}

.btn-contacts-desktop:active {
  transform: translateY(0);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.10),
    inset 0 2px 4px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.40);
}

/* ============================================================
   5. SIDEBAR
   ============================================================ */
#sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: relative;
}

#navigation {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height));
  background: var(--color-gold);
  overflow-y: auto;
  z-index: 900;
  padding: 30px 20px;
}

/* Scrollbar sutil */
#navigation::-webkit-scrollbar {
  width: 4px;
}
#navigation::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 2px;
}

/* Menú principal */
.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu li {
  margin-bottom: 2px;
}

.main-menu > li > a,
.main-menu > li > .menu-toggle {
  display: block;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-red);
  padding: 10px 5px;
  cursor: pointer;
  transition: color 0.3s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: Lato, sans-serif;
}

.main-menu > li > a:hover,
.main-menu > li > .menu-toggle:hover {
  color: var(--color-white);
}

/* Acordeón: submenú de ciudades */
.submenu {
  list-style: none;
  padding: 0 0 0 15px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.submenu.open {
  max-height: 600px;
}

.submenu li a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black1);
  padding: 6px 5px;
  transition: color 0.3s;
}

.submenu li a:hover {
  color: var(--color-white);
}

.submenu li a.active {
  color: var(--color-white);
  font-weight: 700;
}

/* Flecha del acordeón */
.menu-toggle::after {
  content: "▾";
  float: right;
  transition: transform 0.3s;
}

.menu-toggle.open::after {
  transform: rotate(180deg);
}

/* ============================================================
   6. CONTENIDO PRINCIPAL
   ============================================================ */
#content {
  flex: 1;
  min-width: 0;
}

.main-content {
  max-width: 100%;
}

/* ============================================================
   7. BANNER HERO DE CIUDAD
   ============================================================ */
.city-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  max-height: 900px;
  overflow: hidden;
}

.city-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Overlay oscuro sobre la imagen */
.city-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.50) 100%
  );
}

.city-img-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.city-img-text > div {
  transform: translateY(20px);
}

.city-img-text > div {
  max-width: 700px;
}

.city-img-text-big {
  font-family: 'OPTIAmway', Lato, sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: normal;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: 2px;
}

.city-img-text-small {
  font-size: clamp(16px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.city-img-text .announcement {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: 30px;
}

.city-img-text .btn {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.city-img-text .btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  box-shadow:
    0 2px 8px rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

/* ============================================================
   8. BREADCRUMB
   ============================================================ */
.breadcrumb-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.breadcrumb {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--color-grey1);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 10px;
  color: var(--color-grey1);
}

.breadcrumb-item a {
  color: var(--color-grey1);
}

.breadcrumb-item a:hover {
  color: var(--color-gold);
}

.breadcrumb-item.active {
  color: var(--color-black);
  font-weight: 400;
}

/* ============================================================
   9. SECCIÓN DE CONTENIDO — H1 + TEXTO SEO
   ============================================================ */
.content-section {
  padding: 30px 40px;
}

.cityname {
  font-family: 'OPTIAmway', Lato, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 2px;
}

.seo-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.seo-intro p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-grey);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 40px 0 30px;
  color: var(--color-black);
}

/* ============================================================
   10. GRID DE TARJETAS DE MODELO
   ============================================================ */
.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .models-grid {
    gap: 24px;
    padding: 0 40px;
  }
}

@media (min-width: 1200px) {
  .models-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1900px) {
  .models-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   11. TARJETA DE MODELO — Componente central
   ============================================================ */
.model {
  border: 1px solid var(--color-grey2);
  background: var(--color-white);
  transition: border-color 0.3s;
}

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

.model a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Contenedor relativo para overlay */
.dws {
  position: relative;
  overflow: hidden;
}

/* Imagen */
.blocimg {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  cursor: pointer;
}

.blocimg img {
  width: 100%;
  display: block;
  transition: filter 0.5s, opacity 0.5s, transform 0.5s;
}

/* ─── Watermark ─── */
.blocimg::after {
  content: var(--wm-text, "IBIZA TOP SCORTS\AMODELS & EVENTS\ABOUTIQUE AGENCY");
  white-space: pre;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  font-size: clamp(11px, 2.5vw, 16px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 2;
}

/* ─── Overlay hover (recuadro + datos) ─── */
.bloctext {
  position: absolute;
  inset: 10px;
  padding-bottom: 5px;
  display: flex;
  align-items: flex-end;
  transition: background 0.5s;
  z-index: 3;
}

/* Datos de la modelo (ocultos por defecto) */
.bloctext .text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.5s;
  padding: 8px;
}

/* ─── Recuadro animado: pseudo-elementos ─── */
.bloctext::before,
.bloctext::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
  pointer-events: none;
}

/* ::before = bordes TOP y BOTTOM */
.bloctext::before {
  border-top: 1px solid rgb(223, 223, 223);
  border-bottom: 1px solid rgb(223, 223, 223);
  transform: scale(0, 1);
}

/* ::after = bordes LEFT y RIGHT */
.bloctext::after {
  border-left: 1px solid rgb(223, 223, 223);
  border-right: 1px solid rgb(223, 223, 223);
  transform: scale(1, 0);
}

/* ─── Hover effects ─── */
.dws:hover .blocimg img {
  filter: blur(1px);
  opacity: 0.8;
  transform: scale(1.03);
}

.dws:hover .bloctext {
  background: rgba(0, 0, 0, 0.30);
}

.dws:hover .bloctext .text {
  opacity: 1;
}

.dws:hover .bloctext::before,
.dws:hover .bloctext::after {
  transform: scale(1, 1);
}

/* ─── Nombre y ciudad debajo de la imagen ─── */
.model-name {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding-top: 0.5rem;
  color: var(--color-black);
}

.model-city {
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  padding-bottom: 1rem;
  color: var(--color-grey1);
}

/* Modelo no disponible */
.model--unavailable {
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================================
   12. SECCIÓN SEO FONDO OSCURO
   ============================================================ */
.paragraph-dark {
  background: var(--color-grey);
  color: var(--color-white);
  padding: 60px 40px;
  margin: 40px 0;
}

.paragraph-dark .container-text {
  max-width: 900px;
  margin: 0 auto;
}

.paragraph-dark p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: 24px;
  text-align: justify;
}

.paragraph-dark p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   13. SECCIÓN TRAVEL COMPANIONS
   ============================================================ */
.travel-section {
  padding: 40px 20px;
}

.travel-section .section-title {
  margin-bottom: 10px;
}

.travel-section .section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--color-grey1);
  font-weight: 300;
  margin-bottom: 30px;
}

/* ============================================================
   14. PERFIL INDIVIDUAL DE MODELO
   ============================================================ */
.profile-section {
  padding: 30px 40px;
}

.profile-header {
  text-align: center;
  margin-bottom: 40px;
}

.profile-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 5px;
}

.profile-header .profile-city {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-grey1);
}

/* Galería de fotos */
.profile-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .profile-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contenedor protegido para cada foto del perfil */
.photo-shield {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-grey2);
  cursor: pointer;
}

/* Overlay transparente que impide clic derecho sobre la imagen real */
.photo-shield::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Watermark sobre cada foto del perfil */
.photo-shield::after {
  content: var(--wm-text, "IBIZA TOP SCORTS\AMODELS & EVENTS\ABOUTIQUE AGENCY");
  white-space: pre;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  font-size: clamp(9px, 2vw, 14px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 4;
}

.profile-gallery img {
  width: 100%;
  display: block;
  transition: opacity 0.3s;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.photo-shield:hover img {
  opacity: 0.85;
}

/* ─── Protección anti-copia global ─── */
.blocimg img,
.profile-gallery img,
.lightbox img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

/* Tabla de datos */
.profile-stats {
  max-width: 600px;
  margin: 0 auto 40px;
}

.profile-stats table {
  width: 100%;
  border-collapse: collapse;
}

.profile-stats td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-grey2);
  font-size: 16px;
}

.profile-stats td:first-child {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-grey);
  width: 40%;
}

/* Bio */
.profile-bio {
  max-width: 800px;
  margin: 0 auto 40px;
}

.profile-bio p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-grey);
}

/* Vídeo */
.profile-video {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.profile-video video {
  width: 100%;
  max-width: 700px;
  border: 1px solid var(--color-grey2);
}

/* Botón de contacto en perfil */
.profile-cta {
  text-align: center;
  margin: 40px 0;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
#footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 0;
}

#footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 30px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-about {
  padding-left: 10px;
}

.footer-about p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 18px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}

.footer-nav ul,
.footer-locations ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li a,
.footer-locations li a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  display: block;
  transition: color 0.3s;
}

.footer-nav li a:hover,
.footer-locations li a:hover {
  color: var(--color-gold);
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-copyright {
  text-align: center;
  padding: 20px 30px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright a {
  color: rgba(255,255,255,0.5);
}

.footer-copyright a:hover {
  color: var(--color-gold);
}

/* ============================================================
   16. PÁGINA 404
   ============================================================ */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px;
}

.page-404 h1 {
  font-size: 120px;
  font-weight: 700;
  color: var(--color-grey2);
  margin-bottom: 0;
  line-height: 1;
}

.page-404 p {
  font-size: 20px;
  color: var(--color-grey1);
  margin-bottom: 30px;
}

/* ============================================================
   17. LIGHTBOX (galería perfil)
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: var(--color-white);
  cursor: pointer;
  z-index: 2001;
  background: none;
  border: none;
  font-weight: 300;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: var(--color-white);
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  z-index: 2001;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ============================================================
   18. RESPONSIVE — MOBILE
   ============================================================ */

/* --- Sidebar móvil (drawer) --- */
@media (max-width: 991px) {
  #sidebar {
    width: 0;
  }

  #navigation {
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: var(--sidebar-width);
  }

  #navigation.open {
    transform: translateX(0);
  }

  /* Overlay cuando sidebar está abierto */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 899;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .content-section {
    padding: 20px 15px;
  }

  .profile-section {
    padding: 20px 15px;
  }

  .paragraph-dark {
    padding: 40px 20px;
  }

  .city-banner {
    height: 350px;
  }

  .header .container {
    padding: 0 15px;
  }

  .wrapper-logo .logo {
    height: 80px;
    width: 80px;
  }

  .brand-name {
    font-size: 16px;
    letter-spacing: 2px;
  }
}

/* Desktop: mostrar sidebar, ocultar hamburger */
@media (min-width: 992px) {
  .colorlib-nav-toggle {
    display: none;
  }

  .contact-toggle-mobile {
    display: none;
  }
}

/* Mobile: ocultar botón contacts desktop */
@media (max-width: 991px) {
  .btn-contacts-desktop {
    display: none;
  }
}

/* ============================================================
   19. UTILIDADES
   ============================================================ */
.text-center { text-align: center; }
.text-gold   { color: var(--color-gold); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }

/* ============================================================
   20. PANEL DE ADMINISTRACIÓN
   ============================================================ */
.admin-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-gold);
}

.admin-header h1 {
  font-size: 28px;
  text-transform: none;
  margin: 0;
}

.admin-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.admin-nav a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-grey);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: var(--color-gold);
  color: var(--color-black);
}

/* Tabla de admin */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.admin-table th {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-grey2);
  font-size: 14px;
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(209,178,146,0.08);
}

.admin-table .thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Formularios admin */
.admin-form {
  max-width: 800px;
}

.admin-form .form-group {
  margin-bottom: 20px;
}

.admin-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-bottom: 6px;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="password"],
.admin-form input[type="email"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-grey2);
  border-radius: 6px;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.3s;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.admin-form textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.admin-form .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-form .form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
}

/* Badges de estado */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-available {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-unavailable {
  background: #fce4ec;
  color: var(--color-red);
}

.badge-featured {
  background: rgba(209,178,146,0.2);
  color: #8b6914;
}

/* Estadísticas del dashboard */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.stat-card .stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-top: 8px;
}

/* Filtros admin */
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-grey2);
  border-radius: 10px;
}

.admin-filters .filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  display: inline-block;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-grey);
  background: #f5f5f5;
  border: 1px solid var(--color-grey2);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.filter-btn:hover {
  color: var(--color-black);
  background: #eee;
  border-color: #ccc;
}

.filter-btn.active {
  color: var(--color-white);
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.search-input {
  padding: 7px 12px;
  font-size: 13px;
  border: 1px solid var(--color-grey2);
  border-radius: 6px;
  width: 180px;
  outline: none;
  transition: border-color 0.2s;
}

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

.search-btn {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.search-btn:hover {
  opacity: 0.85;
}

.search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  color: var(--color-grey);
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s;
}

.search-clear:hover {
  background: #eee;
  color: var(--color-red);
}

/* Paginación admin */
.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-grey2);
}

.page-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-grey);
  background: var(--color-white);
  border: 1px solid var(--color-grey2);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

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

.page-btn.active {
  color: var(--color-white);
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* Login admin */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-black);
}

.login-box {
  background: var(--color-white);
  padding: 50px 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-box h1 {
  font-size: 24px;
  text-transform: none;
  margin-bottom: 30px;
}

.login-box .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.login-box input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-grey2);
  border-radius: 6px;
  font-size: 16px;
  font-family: Lato, sans-serif;
}

.login-box input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.login-box .btn {
  width: 100%;
  margin-top: 10px;
}

.login-error {
  background: #fce4ec;
  color: var(--color-red);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Mensajes flash */
.alert {
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.alert-error {
  background: #fce4ec;
  color: var(--color-red);
  border: 1px solid #ef9a9a;
}

/* ============================================================
   21. LEGAL PAGES
   ============================================================ */

.legal-page {
  padding: 0 20px 60px;
}

.legal-page .breadcrumb-wrapper {
  margin-bottom: 10px;
}

.legal-title {
  font-family: 'OPTIAmway', serif;
  font-size: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.legal-updated {
  font-size: 13px;
  color: var(--color-grey1);
  margin-bottom: 40px;
  font-style: italic;
}

.legal-content h2 {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gold);
  margin: 36px 0 14px;
  text-transform: none;
  letter-spacing: 0;
}

.legal-content p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-grey1);
  margin-bottom: 16px;
  text-align: justify;
}

.legal-content ul {
  list-style: disc;
  margin: 0 0 20px 24px;
  padding: 0;
}

.legal-content ul li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-grey1);
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--color-gold);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-white);
}

.legal-content strong {
  font-weight: 600;
  color: var(--color-red);
}

@media (max-width: 768px) {
  .legal-title {
    font-size: 26px;
  }
  .legal-content h2 {
    font-size: 17px;
  }
  .legal-page {
    padding: 0 12px 40px;
  }
}

/* ============================================================
   22. SIDEBAR IZQUIERDO — BANNERS
   ============================================================ */

.sidebar-banner {
  margin-top: 32px;
  padding: 0 10px;
  display: flex;
  justify-content: center;
}

.sidebar-banner iframe {
  display: block;
  border: none;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

/* Banner leaderboard 728×90 dentro de paragraph-dark */
.banner-leaderboard {
  display: flex;
  justify-content: center;
  padding: 28px 0 12px;
}

.banner-leaderboard iframe {
  display: block;
  border: none;
  border-radius: 2px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  max-width: 100%;
}

/* Banner 300×250 solo móvil */
.banner-leaderboard-mobile {
  display: none;
}

@media (max-width: 767px) {
  .banner-leaderboard {
    display: none;
  }
  .banner-leaderboard-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 12px;
  }
  .banner-leaderboard-mobile iframe {
    display: block;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.35), 0 0 40px rgba(0, 0, 0, 0.5);
  }
}
