/* --- RESET BÁSICO --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* --- 1. VARIABLES & DESIGN SYSTEM --- */
:root {
  /* ======================================================
/* ==========================================================================
   MARIAN ESTILISTA — MONOCHROMATIC DESIGN SYSTEM
   Premium / Minimalist / Black & White
   ========================================================================== */

  :root {
    /* ======================================================
     CORE PALETTE (Tonos Cálidos, Elegantes y de Alto Contraste)
     ====================================================== */
    --color-black: #120A07;
    /* Marrón ultra oscuro, casi negro puro para máximo contraste */
    --color-black-soft: #21140E;
    --color-charcoal: #362218;
    --color-brown-dark: #2A170E;

    --color-gray-dark: #5C4B43;
    --color-gray: #8A7C73;
    --color-gray-light: #D1C7C0;

    --color-border: #D6C4B3;
    --color-border-light: #EBE0D5;

    --color-off-white: #FCF9F5;
    --color-white: #FFFFFF;
    --color-ivory: #F7F1E6;
    --color-champagne: #EEDDCA;
    --color-beige: #DDBDA0;
    --color-cream: #e9d5c2;
    --color-gold: #B36B00;

    /* Oro intenso y profundo para resaltar botones y detalles */
    --color-gold-light: #D98C16;

    /* ======================================================
     COLORES DE FONDO
     ===================================================== */
    --bg-page: var(--color-cream);
    --bg-section: var(--color-beige);
    --bg-section-alt: var(--color-champagne);
    --bg-section-dark: var(--color-black);
    --bg-card: var(--color-gold-light);
    --bg-panel: var(--color-champagne);
    --bg-overlay: rgba(18, 10, 7, 0.85);

    /* ======================================================
     BRAND / ACCENT
     ====================================================== */
    --primary: var(--color-gold);
    --primary-hover: var(--color-gold-light);
    --primary-dark: var(--color-black);
    --primary-light: var(--color-beige);
    --primary-soft: rgba(179, 107, 0, 0.08);

    --accent: var(--color-gold);
    --accent-hover: var(--color-charcoal);
    --accent-soft: rgba(179, 107, 0, 0.12);

    /* ======================================================
     COLORES DE TEXTO (Alto Contraste)
     ====================================================== */
    --text-main: var(--color-black);
    --text-muted: var(--color-gray-dark);
    --text-light: var(--color-gray);
    --text-white: var(--color-white);
    --text-on-dark: var(--color-off-white);

    /* ======================================================
     BORDERS
     ====================================================== */
    --border-brand: var(--color-border);
    --border-brand-dark: rgba(179, 107, 0, 0.3);
    --border-color: var(--color-border);
    --border-light: var(--color-border-light);

    /* ======================================================
     TYPOGRAPHY
     ====================================================== */

    --font-serif: 'Playfair Display', Georgia, serif;

    --font-sans:
      'Plus Jakarta Sans',
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      'Segoe UI',
      sans-serif;

    /* ======================================================
     FONT WEIGHTS
     ====================================================== */

    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* ======================================================
     SHADOWS
     ====================================================== */

    --shadow-sm:
      0 2px 8px rgba(0, 0, 0, 0.04);

    --shadow-md:
      0 8px 24px rgba(0, 0, 0, 0.07);

    --shadow-lg:
      0 16px 40px rgba(0, 0, 0, 0.10);

    /* ======================================================
     RADIUS
     ====================================================== */

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* ======================================================
     SPACING
     ====================================================== */

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* ======================================================
     LAYOUT
     ====================================================== */

    --container-max: 1240px;

    --container-padding:
      clamp(1rem, 4vw, 2rem);

    /* ======================================================
     TRANSITIONS
     ====================================================== */

    --transition-fast: 0.18s ease;
    --transition-normal: 0.28s ease;
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

    /* ======================================================
     RESPONSIVE
     ====================================================== */

    --header-height: 76px;
    --header-height-mobile: 68px;

    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
  }

  /* ======================================================
     COLORES DE FONDO
     ====================================================== */

  --bg-page: var(--color-ivory);
  --bg-section: var(--color-champagne);
  --bg-section-alt: var(--color-ivory);

  --bg-section-dark: var(--color-black);
  --bg-card: var(--color-champagne);

  --bg-panel: var(--color-ivory);

  --bg-overlay: rgba(18, 10, 7, 0.80);

  /* ======================================================
     BRAND / ACCENT
     ====================================================== */

  --accent: var(--color-black);
  --accent-hover: var(--color-charcoal);

  --accent-soft: rgba(10, 10, 10, 0.05);
  --accent-soft-md: rgba(10, 10, 10, 0.10);

  /* ======================================================
     BORDERS
     ====================================================== */

  --border-brand: var(--color-border);
  --border-brand-dark: rgba(255, 255, 255, 0.16);

  --border-color: var(--color-border);
  --border-light: var(--color-border-light);

  /* ======================================================
     COLORES DE TEXTO
     ====================================================== */

  --text-main: var(--color-black);
  --text-muted: var(--color-gray-dark);
  --text-light: var(--color-gray);

  --text-white: var(--color-white);
  --text-on-dark: var(--color-white);

  /* ======================================================
     COMPATIBILIDAD CON VERSIONES ANTERIORES
     Mantener estas variables para que los componentes existentes
     sigan funcionando sin cambios innecesarios.
     ====================================================== */

  --primary: var(--color-black);
  --primary-hover: var(--color-charcoal);
  --primary-dark: var(--color-black);
  --primary-light: var(--color-off-white);
  --primary-soft: var(--accent-soft);

  --dark: var(--color-black);
  --dark-surface: var(--color-black-soft);
  --dark-elevated: var(--color-charcoal);
  --dark-border: var(--border-brand-dark);

  --light-bg: var(--color-ivory);
  --white: var(--color-ivory);
  --cream: var(--color-champagne);

  /* ======================================================
     ESTADOS DEL SISTEMA
     ====================================================== */

  /*
      Los colores funcionales se mantienen limitados a la retroalimentación del sistema.
      NO deben convertirse en parte de la paleta de la marca.
  */

  --success: #2f6b45;
  --success-bg: #edf5ef;

  --warning: #8a6500;
  --warning-bg: #faf5df;

  --danger: #a13b32;
  --danger-bg: #f8ecea;

  --info: #3f6280;
  --info-bg: #edf3f8;

  /* ======================================================
     TIPOGRAFÍA
     ====================================================== */

  --font-serif: 'Playfair Display',
  Georgia,
  'Times New Roman',
  serif;

  --font-sans: 'Plus Jakarta Sans',
  system-ui,
  -apple-system,
  BlinkMacSystemFont,
  'Segoe UI',
  sans-serif;

  /* ======================================================
     Tamaños de fuentes
     ====================================================== */

  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* ======================================================
     SHADOWS
     Minimalist — very subtle depth
     ====================================================== */

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);

  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);

  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.10);

  /*
     Replaces the previous gold shadow.
     Kept for backward compatibility.
  */
  --shadow-gold: 0 8px 24px rgba(0, 0, 0, 0.10);

  /* ======================================================
     TRANSITIONS
     ====================================================== */

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* ======================================================
     BORDER RADIUS
     Minimal, elegant and consistent
     ====================================================== */

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --radius-full: 9999px;

  /* ======================================================
     SPACING SYSTEM
     ====================================================== */

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ======================================================
     CONTAINER / LAYOUT
     ====================================================== */

  --container-max: 1240px;

  /*
     Fluid horizontal padding.
     Prevents content from touching the edges
     on small screens while preserving whitespace
     on large displays.
  */

  --container-padding: clamp(1rem, 4vw, 2rem);

  /* ======================================================
     HEADER
     ====================================================== */

  --header-height: 76px;

  /*
     Mobile header height.
     Components can override this at breakpoints.
  */

  --header-height-mobile: 68px;

  /* ======================================================
     RESPONSIVE BREAKPOINTS
     ====================================================== */

  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

/* ==========================================================================
   2. GLOBAL
   ========================================================================== */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;

  background-color: var(--color-ivory);
  color: var(--text-main);

  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-weight: var(--font-regular);
  line-height: 1.15;
  color: var(--text-main);
}

p {
  margin-top: 0;
}

::selection {
  background: var(--color-black);
  color: var(--color-white);
}

/* ==========================================================================
   RESPONSIVE CONTAINER
   ========================================================================== */

.container {
  width: min(100% - (var(--container-padding) * 2),
      var(--container-max));

  margin-inline: auto;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   RESPONSIVE TYPOGRAPHY
   ========================================================================== */

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

@media (max-width: 767px) {
  body {
    font-size: 0.95rem;
  }

  html {
    scroll-padding-top: var(--header-height-mobile);
  }
}

/* --- 2. RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(to right, #F5F5DC, #aa8555);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-spacing {
  padding: 100px 0;
}

.bg-white {
  background-color: var(--white);
}

/* --- 3. TIPOGRAFÍA Y ENCABEZADOS --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.25;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.tag-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--accent-soft);
  color: var(--primary-dark);
  border: 1px solid var(--border-brand-dark);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.highlight {
  color: rgb(161, 117, 34);
  font-style: italic;
}

/* =========================================================
   BOTONES — MARIAN ESTILISTA
   Estética: Premium / Femenina / Elegante / Cálida
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;

  cursor: pointer;

  border: 1px solid transparent;
  border-radius: 999px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

/* =========================================================
   TAMAÑOS
   ========================================================= */

.btn-sm {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-md {
  min-height: 46px;
  padding: 12px 25px;
  font-size: 0.92rem;
}

.btn-lg {
  min-height: 54px;
  padding: 15px 30px;
  font-size: 0.98rem;
}

.btn-xl {
  min-height: 58px;
  padding: 17px 36px;
  font-size: 1.05rem;
}


/* =========================================================
   PRIMARY
   Blanco cálido — CTA principal
   ========================================================= */

.btn-primary {
  background: #fffdf8;
  color: #242424;

  border: 1px solid rgba(255, 255, 255, 0.8);

  box-shadow:
    0 6px 20px rgba(70, 55, 35, 0.12),
    0 2px 5px rgba(70, 55, 35, 0.06);

  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: #ffffff;
  color: #111111;

  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(70, 55, 35, 0.17),
    0 3px 8px rgba(70, 55, 35, 0.08);
}

.btn-primary:active {
  transform: translateY(0);

  box-shadow:
    0 5px 14px rgba(70, 55, 35, 0.12);
}


/* =========================================================
   SECONDARY
   Transparente / crema — acompaña al principal
   ========================================================= */

.btn-secondary {
  background: rgba(255, 253, 248, 0.28);
  color: #242424;

  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    0 4px 14px rgba(70, 55, 35, 0.04);
}

.btn-secondary:hover {
  background: rgba(255, 253, 248, 0.65);

  border-color: rgba(255, 255, 255, 0.65);

  color: #111111;

  transform: translateY(-2px);

  box-shadow:
    0 9px 22px rgba(70, 55, 35, 0.10);
}

.btn-secondary:active {
  transform: translateY(0);
}


/* =========================================================
   OUTLINE WHITE
   Para fondos oscuros
   ========================================================= */

.btn-outline-white {
  background: transparent;
  color: #fffdf8;

  border: 1px solid rgba(255, 255, 255, 0.55);

  box-shadow: none;
}

.btn-outline-white:hover {
  background: #fffdf8;
  color: #242424;

  border-color: #fffdf8;

  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   BOTÓN RESERVAR TURNO
   CTA destacado de la marca
   ========================================================= */

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 52px;
  padding: 0 28px;

  background: #fffdf8;
  color: #242424;

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;

  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.015em;

  cursor: pointer;

  box-shadow:
    0 7px 22px rgba(70, 55, 35, 0.14),
    0 2px 5px rgba(70, 55, 35, 0.07);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn-book:hover {
  background: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 13px 32px rgba(70, 55, 35, 0.20),
    0 3px 8px rgba(70, 55, 35, 0.08);
}

.btn-book:active {
  transform: translateY(0);
}


/* =========================================================
   ICONOS
   ========================================================= */

.btn svg,
.btn i,
.btn-book svg,
.btn-book i {
  flex-shrink: 0;

  transition: transform 0.25s ease;
}

.btn:hover svg,
.btn:hover i,
.btn-book:hover svg,
.btn-book:hover i {
  transform: translateX(2px);
}


/* =========================================================
   DISABLED
   ========================================================= */

.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


/* =========================================================
   FOCUS
   ========================================================= */

.btn:focus-visible,
.btn-book:focus-visible {
  outline: 2px solid #242424;
  outline-offset: 3px;
}



/* --- 5. HEADER & NAVBAR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  /* Un tono beige/champagne más oscuro y cálido en lugar de blanco translúcido */
  background-color: rgba(156, 142, 127, 0.562);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(179, 107, 0, 0.15);
}

.site-header.scrolled {
  /* Más oscuro y opaco al hacer scroll */
  background-color: rgba(170, 151, 151, 0.171);
  box-shadow: 0 4px 20px rgba(18, 10, 7, 0.12);
  height: 72px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--primary-dark) 100%);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-brown-dark);
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  font-weight: 600;
}

/* Navegación */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-brown-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background-color: var(--color-champagne);
  border: 1px solid var(--color-beige);
  transition: all var(--transition-fast);
}

.admin-link:hover {
  background-color: var(--color-brown-dark);
  color: var(--color-ivory);
  border-color: var(--color-brown-dark);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-brown-dark);
  cursor: pointer;
  padding: 6px;
}

/* --- 6. HERO SECTION --- */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, var(--color-champagne) 0%, var(--color-ivory) 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.hero-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.hero-feat-item {
  display: flex;
  flex-direction: column;
}

.hero-feat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

.hero-feat-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-main-img:hover {
  transform: scale(1.03);
}


/* --- 7. SERVICIOS SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--color-champagne);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-beige);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.06);
}

.service-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(255, 255, 255, 0.2);
  /* blanco semitransparente */
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;

  /* Texto negro sólido */
  color: #000000;

  /* Sombras para dar volumen y destacar */
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.3),
    /* sombra externa */
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    /* brillo interno arriba */
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  /* sombra interna abajo */
}





.service-body {
  padding: 24px;
  display: flex;
  background: rgba(250, 250, 250, 0.63);
  flex-direction: column;
  flex-grow: 1;
}

.service-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.service-price {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold-light);
  letter-spacing: -0.01em;
}

.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background-color: var(--cream);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card--featured {
  border-color: rgba(197, 168, 128, 0.45);
}

.service-specialties {
  margin-top: auto;
  margin-bottom: 20px;
  background-color: var(--cream);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(197, 168, 128, 0.5);
}

.service-specialties-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag-chip {
  display: inline-block;
  background-color: var(--white);
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: var(--text-main);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  line-height: 1.3;
}

/* --- 8. GALERÍA SECTION --- */

/* Sección fondo alternado */
.gallery-section {
  background: linear-gradient(180deg, var(--color-champagne) 0%, var(--color-ivory) 100%);
}

/* Filtros */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-beige);
  background-color: var(--color-ivory);
  color: var(--color-gray-dark);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.03em;
}

.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: var(--color-champagne);
  box-shadow: 0 4px 16px rgba(179, 107, 0, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  border-color: transparent;
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(179, 107, 0, 0.35);
}

/* Grid de galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Items */
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background-color: var(--color-champagne);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.07);
}

/* Overlay de información */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 10, 7, 0.85) 0%, rgba(18, 10, 7, 0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  align-self: flex-start;
}

.gallery-title {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.gallery-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

/* Ocultar items filtrados */
.gallery-item--hidden {
  display: none;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- LIGHTBOX --- */
#modal-gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(18, 10, 7, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

#modal-gallery-lightbox.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 820px;
  width: 100%;
  background: var(--color-ivory);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInStep 0.3s ease;
}

.lightbox-inner img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.lightbox-info {
  padding: 20px 24px;
  background: var(--color-ivory);
}

.lightbox-info .gallery-tag {
  margin-bottom: 10px;
}

.lightbox-info h3 {
  font-size: 1.3rem;
  color: var(--color-brown-dark);
  margin-bottom: 6px;
}

.lightbox-info p {
  color: var(--color-gray-dark);
  font-size: 0.92rem;
  margin: 0;
}

.btn-close-lightbox {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-beige);
  color: var(--color-brown-dark);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.btn-close-lightbox:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}


/* =========================================
   SOBRE MARIAN
   ========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Composición de imágenes */
.about-images-composition {
  position: relative;
  min-height: 520px;
}

.about-images-composition::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 180px;
  height: 180px;
  background: var(--primary);
  opacity: 0.15;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-img-main {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  z-index: 2;
  width: 42%;
  height: 230px;
  right: 0;
  bottom: 0;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about-experience-badge {
  position: absolute;
  left: 20px;
  bottom: 30px;
  z-index: 5;
  background: var(--dark-surface);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-exp-years {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: #FFD700;
  line-height: 1;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 215, 0, 0.6);
}

.about-exp-label {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

/* ---- Panel del contenido: lo eleva del fondo y da contraste real ---- */
.about-content {
  background: var(--white);
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-content .tag-badge {
  margin-bottom: 18px;
}

.about-content .section-title {
  margin-bottom: 22px;
}

/* Frase destacada */
.about-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  color: var(--dark-surface);
  line-height: 1.6;
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.about-text:last-of-type {
  margin-bottom: 34px;
}

/* Checklist de valores */
.about-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.about-val-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #FAF6F0;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-val-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.about-val-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.about-val-title {
  font-weight: 700;
  color: var(--dark-surface);
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.about-val-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

/* Botón Reservar Turno */
.about-content .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 38px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 12px;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 32px 24px;
  }

  .about-values-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .about-images-composition {
    min-height: 430px;
  }

  .about-img-main {
    width: 82%;
    height: 420px;
  }

  .about-img-secondary {
    width: 45%;
    height: 180px;
    border-width: 6px;
  }

  .about-experience-badge {
    left: 10px;
    bottom: 20px;
    padding: 12px 18px;
  }

  .about-exp-years {
    font-size: 1.8rem;
  }

  .about-exp-label {
    font-size: 0.7rem;
  }

  .about-content .btn-primary {
    width: 100%;
    min-height: 58px;
    font-size: 1.1rem;
  }

}

/* ==========================================
   CURSO PROFESIONAL
   ========================================== */

.course-section {
  position: relative;
  overflow: hidden;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

/* ==========================================
   IMAGEN
   ========================================== */

.course-image-column {
  position: sticky;
  top: 110px;
}

.course-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--dark-surface);
}

.course-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.course-image-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;

  display: flex;
  flex-direction: column;
  gap: 3px;

  padding: 16px 18px;

  background: rgba(255, 255, 255, 0.658);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);

  color: var(--white);
}

.course-image-caption span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 700;
}

.course-image-caption strong {
  font-size: 1rem;
  font-weight: 600;
}

/* ==========================================
   CONTENIDO PRINCIPAL
   ========================================== */

.course-content {
  min-width: 0;
}

.course-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 18px;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--primary);
}

.course-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary);
}

.course-title {
  margin: 0;
  max-width: 760px;

  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.course-title span {
  color: var(--primary);
}

.course-subtitle {
  margin: 14px 0 18px;

  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
}

.course-description {
  max-width: 720px;
  margin: 0 0 30px;

  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ==========================================
   INFORMACIÓN RÁPIDA
   ========================================== */

.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 42px;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 13px;

  min-width: 0;
  padding: 15px 16px;

  background: rgba(250, 250, 250, 0.63);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.course-meta-item:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 168, 128, 0.45);
  background: rgba(197, 168, 128, 0.035);
}

.course-meta-icon {
  flex: 0 0 auto;

  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;

  border-radius: 50%;
  background: rgba(197, 168, 128, 0.08);
  color: var(--primary);
}

.course-meta-icon svg {
  width: 19px;
  height: 19px;
}

.course-meta-item>div:last-child {
  min-width: 0;
}

.course-meta-label {
  display: block;

  margin-bottom: 3px;

  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;

  color: var(--text-muted);
}

.course-meta-value {
  display: block;

  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
}

/* ==========================================
   PROGRAMA
   ========================================== */

.course-learning {
  margin-top: 8px;
}

.course-learning-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 20px;
}

.course-section-kicker {
  display: block;

  margin-bottom: 5px;

  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;

  color: var(--primary);
}

.course-learning-header h3 {
  margin: 0;

  font-size: 1.55rem;
  line-height: 1.2;
}

/* ==========================================
   MÓDULOS
   ========================================== */

.course-modules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-mod-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  min-width: 0;

  padding: 17px;

  background: rgba(250, 250, 250, 0.63);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.course-mod-item:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 168, 128, 0.38);
  background: rgba(197, 168, 128, 0.025);
}

.course-module-icon {
  flex: 0 0 auto;

  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;

  border-radius: 10px;

  color: var(--primary);
  background: rgba(197, 168, 128, 0.08);
}

.course-module-icon svg {
  width: 18px;
  height: 18px;
}

.course-mod-item>div:last-child {
  min-width: 0;
}

.course-mod-item>div:last-child>span {
  display: block;

  margin-bottom: 4px;

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;

  color: var(--primary);
}

.course-mod-item strong {
  display: block;

  font-size: 0.88rem;
  line-height: 1.35;
}

.course-mod-item p {
  margin: 4px 0 0;

  font-size: 0.76rem;
  line-height: 1.5;

  color: var(--text-muted);
}

/* ==========================================
   INVERSIÓN + CTA
   ========================================== */

.course-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.9fr);
  align-items: center;
  gap: 28px;

  margin-top: 30px;
  padding: 24px;
  background: rgba(250, 250, 250, 0.63);
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-lg);
}

.course-price-label {
  display: block;

  margin-bottom: 5px;

  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;

  color: var(--primary);
}

.course-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.course-price strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.course-price span {
  font-size: 0.87rem;
  color: var(--text-muted);
}

.course-quota-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-top: 14px;

  font-size: 0.76rem;
  line-height: 1.4;

  color: var(--primary);
}

.course-quota-badge span {
  font-size: 0.85rem;
}

.course-cta-box {
  text-align: center;
}

.course-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 54px;
  padding: 14px 24px;

  background-color: #128c4a;
  color: #ffffff;

  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;

  border: 1px solid #128c4a;
  border-radius: 8px;

  box-shadow: 0 6px 18px rgba(18, 140, 74, 0.18);

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.course-cta:hover {
  background-color: #0d733d;
  border-color: #0d733d;
  color: #ffffff;

  transform: translateY(-2px);

  box-shadow: 0 9px 24px rgba(18, 140, 74, 0.28);
}

.course-cta:active {
  transform: translateY(0);
}

.course-cta-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.course-cta-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.course-enroll-note {
  margin: 10px 0 0;

  font-size: 0.75rem;
  line-height: 1.45;

  color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 1050px) {

  .course-layout {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
  }

  .course-image-column {
    top: 90px;
  }

  .course-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
  }

  .course-meta-grid {
    gap: 10px;
  }

  .course-meta-item {
    padding: 13px;
  }

  .course-meta-value {
    font-size: 0.84rem;
  }

  .course-modules-list {
    gap: 10px;
  }

  .course-mod-item {
    padding: 14px;
  }

  .course-offer {
    grid-template-columns: 1fr;
  }

  .course-cta-box {
    text-align: left;
  }

  .course-cta {
    width: auto;
    min-width: 230px;
  }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 768px) {

  .course-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .course-image-column {
    position: static;
  }

  .course-image {
    aspect-ratio: 4 / 4.5;
  }

  .course-image-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 13px 15px;
  }

  .course-eyebrow {
    margin-bottom: 14px;
  }

  .course-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .course-subtitle {
    font-size: 1rem;
  }

  .course-description {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .course-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 32px;
  }

  .course-meta-item {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .course-meta-icon {
    width: 34px;
    height: 34px;
  }

  .course-meta-icon svg {
    width: 16px;
    height: 16px;
  }

  .course-meta-label {
    font-size: 0.61rem;
  }

  .course-meta-value {
    font-size: 0.76rem;
  }

  .course-learning-header {
    display: block;
    margin-bottom: 16px;
  }

  .course-learning-header h3 {
    font-size: 1.35rem;
  }

  .course-modules-list {
    grid-template-columns: 1fr;
  }

  .course-mod-item {
    padding: 14px;
  }

  .course-offer {
    margin-top: 24px;
    padding: 20px;
    gap: 20px;
  }

  .course-price strong {
    font-size: 2.25rem;
  }

  .course-cta-box {
    text-align: center;
  }

  .course-cta {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================
   RESPONSIVE - MOBILE PEQUEÑO
   ========================================== */

@media (max-width: 420px) {

  .course-meta-grid {
    grid-template-columns: 1fr;
  }

  .course-meta-item {
    min-height: 64px;
  }

  .course-image-caption strong {
    font-size: 0.9rem;
  }

  .course-offer {
    padding: 17px;
  }

  .course-price strong {
    font-size: 2rem;
  }
}

/* ==========================================
   SECCIÓN CONTACTO / UBICACIÓN
   ========================================== */

:root {
  --primary-gold: #c29b38;
  --dark-bg: #1e1e1e;
  --card-bg: #ffffff;
  --text-main: #2d2d2d;
  --text-muted: #666666;
  --border-color: #e5e0d8;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.location-contact-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #F5F5DC, #b98f58a2);
  /* Fondo cálido muy sutil */
}

/* Encabezado */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.tag-badge {
  display: inline-block;
  background-color: rgba(194, 155, 56, 0.15);
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grid Principal (2 Columnas en Desktop) */
.loc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

/* --- COLUMNA IZQUIERDA: Tarjetas de Información --- */
.info-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-info-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.contact-info-card h4 svg {
  color: var(--primary-gold);
}

/* Listado de Horarios */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.95rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row.closed {
  color: #c0392b;
  /* Tono rojo fino para días cerrados */
  font-weight: 500;
}

/* Botones de Canales Directos */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.channel-btn:hover {
  background-color: var(--dark-bg);
  color: #ffffff;
}

.channel-btn.whatsapp:hover {
  background-color: #25d366;
  color: #ffffff;
}

.channel-btn.instagram:hover {
  background-color: #e1306c;
  color: #ffffff;
}

/* --- COLUMNA DERECHA: Mapa y Formulario --- */
.map-form-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Placeholder para Mapa / Pin */
.map-placeholder-card {
  background: linear-gradient(135deg, #2b2b2b, #111111);
  color: #ffffff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-pin-box {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.map-pin-box svg {
  color: var(--primary-gold);
  flex-shrink: 0;
}

/* Formulario */
.fast-contact-form {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #fafafa;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(194, 155, 56, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.btn-dark {
  background-color: var(--dark-bg);
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-dark:hover {
  background-color: var(--primary-gold);
}

/* Adaptación Responsiva (Móviles y Tablets) */
@media (max-width: 850px) {
  .loc-contact-grid {
    grid-template-columns: 1fr;
  }
}



/* --- 13. FOOTER --- */
.footer-text-highlight {
  color: var(--color-red);
}

.site-footer {
  background: linear-gradient(to top, rgb(31, 30, 30) 0%, #4e4e4e 100%);
  color: var(--white);
  padding-top: 64px;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

/* --- Marca --- */
.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand .brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-brand .brand-tag {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.footer-bio {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

/* --- Columnas --- */
.footer-col-title {
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 3px;
}

/* --- Botón outline blanco (columna Admin) --- */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* --- Línea inferior --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* --- 14. MODALES --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(22, 21, 25, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  padding: 36px;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-md {
  max-width: 580px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--light-bg);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-info-pill {
  background-color: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Lightbox Modal */
.lightbox-backdrop {
  background-color: rgba(22, 21, 25, 0.92);
}

.lightbox-box {
  position: relative;
  max-width: 860px;
  width: 100%;
}

.lightbox-close-btn {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
}

.lightbox-content {
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-main-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.lightbox-caption {
  padding: 24px 30px;
  color: var(--white);
}

.lightbox-caption h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 6px 0;
}

.lightbox-caption p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* --- 15. TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  font-size: 0.92rem;
  font-weight: 500;
  transform: translateX(120%);
  opacity: 0;
  transition: all var(--transition-normal);
  max-width: 380px;
}

.toast-item.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  border-left-color: var(--success);
}

.toast-warning {
  border-left-color: var(--warning);
}

.toast-danger {
  border-left-color: var(--danger);
}

.toast-info {
  border-left-color: var(--info);
}

.toast-icon {
  font-size: 1.2rem;
}

/* --- 16. ANIMACIONES & RESPONSIVE --- */

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    visibility: hidden;
  }

  .main-nav.active {
    transform: translateY(0);
    visibility: visible;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .course-banner-card {
    padding: 36px 24px;
  }

  .course-main-title {
    font-size: 2rem;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   RESPONSIVE HEADER
   ========================================================== */

@media (max-width: 900px) {

  /* Header */
  .site-header {
    height: 72px;
  }

  .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* -----------------------------
     LOGO
     ----------------------------- */

  .brand-logo {
    gap: 0;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  /* Logo compacto en móvil */
  .brand-logo {
    gap: 8px;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }

  .brand-tag {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  /* -----------------------------
     NAVEGACIÓN DESKTOP
     ----------------------------- */

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background-color: rgba(250, 247, 240, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-top: 1px solid rgba(216, 203, 184, 0.35);
    border-bottom: 1px solid rgba(216, 203, 184, 0.45);

    box-shadow: 0 10px 25px rgba(44, 33, 26, 0.08);

    /* Cerrado */
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition:
      max-height 0.35s ease,
      opacity 0.25s ease;
  }

  /* Menú abierto */
  .main-nav.active {
    max-height: 500px;
    opacity: 1;
  }

  /* Links */
  .nav-link {
    display: block;
    width: 100%;

    padding: 16px 24px;

    font-size: 0.95rem;

    border-bottom: 1px solid rgba(216, 203, 184, 0.25);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  /* Sacamos la animación de línea en móvil */
  .nav-link::after {
    display: none;
  }

  /* -----------------------------
     ACCIONES
     ----------------------------- */

  .header-actions {
    gap: 8px;
  }

  /* Admin compacto en móvil */
  .admin-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border-radius: 50%;
  }

  .admin-link span {
    display: none;
  }

  .admin-link svg {
    width: 16px;
    height: 16px;
  }

  /* Botón reservar más compacto */
  .header-actions .btn-primary {
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  .header-actions .btn-primary svg {
    width: 15px;
    height: 15px;
  }

  /* -----------------------------
     BOTÓN HAMBURGUESA
     ----------------------------- */

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 8px;

    border-radius: 50%;

    transition:
      background-color 0.2s ease,
      transform 0.2s ease;
  }

  .mobile-toggle:hover {
    background-color: var(--color-champagne);
  }

  .mobile-toggle:active {
    transform: scale(0.92);
  }

}


/* ==========================================================
   CELULARES PEQUEÑOS
   ========================================================== */

@media (max-width: 480px) {

  .brand-logo {
    gap: 7px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .brand-tag {
    font-size: 0.48rem;
    letter-spacing: 0.06em;
  }



  .site-header {
    height: 68px;
  }

  .header-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .main-nav {
    top: 68px;
  }

  /* Reservar todavía más compacto */
  .header-actions .btn-primary {
    padding: 8px 10px;
  }

  .header-actions .btn-primary span {
    display: none;
  }

  .header-actions .btn-primary svg {
    width: 17px;
    height: 17px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

}


/* Galeria */

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 22px;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), opacity var(--transition-normal);
}

.gallery-item.gallery-item--hidden {
  display: none !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 21, 25, 0.92) 0%, rgba(22, 21, 25, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--primary);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.gallery-zoom-hint {
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
}

/* Responsive Overrides & Mobile Optimizations */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    border-radius: var(--radius-md);
  }

  .service-img-wrap {
    height: 200px;
  }

  .service-body {
    padding: 20px;
  }

  .service-price {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .gallery-filters {
    gap: 8px;
    margin-bottom: 26px;
  }

  .filter-btn {
    padding: 7px 16px;
    font-size: 0.82rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item {
    height: 280px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   HERO CAROUSEL — MARIAN ESTILISTA
   ========================================================================== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 560px;
  max-height: 72vh;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(18, 10, 7, 0.26);
  border: 1px solid rgba(214, 196, 179, 0.35);
  background-color: var(--color-black, #120A07);
  user-select: none;
  touch-action: pan-y;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  will-change: opacity, transform;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 10, 7, 0.05) 0%, rgba(18, 10, 7, 0.35) 55%, rgba(18, 10, 7, 0.85) 100%);
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  bottom: 28px;
  left: 24px;
  right: 24px;
  z-index: 3;
  color: var(--color-white, #FFFFFF);
  pointer-events: none;
}

.carousel-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(179, 107, 0, 0.85);
  color: #FFFFFF;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 140, 22, 0.3);
}

.carousel-caption p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Controles de flecha */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 10, 7, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white, #FFFFFF);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.carousel-arrow:hover {
  background: var(--color-gold, #B36B00);
  border-color: var(--color-gold, #B36B00);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(179, 107, 0, 0.4);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

/* Indicadores / Dots */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  padding: 6px 14px;
  background: rgba(18, 10, 7, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.carousel-dot.active {
  background: var(--color-gold-light, #D98C16);
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(217, 140, 22, 0.6);
}

/* ==========================================================================
   MAPA INTERACTIVO (LEAFLET & OPENSTREETMAP) EN CONTACTO
   ========================================================================== */
.map-wrapper-card {
  width: 100%;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 10, 7, 0.12);
  border: 1px solid var(--color-border, #D6C4B3);
  margin-bottom: 24px;
  background-color: var(--color-off-white, #FCF9F5);
  position: relative;
  z-index: 1;
}

.salon-interactive-map {
  width: 100%;
  height: 420px;
  background-color: #EEDDCA;
  z-index: 1;
}

/* Pin Personalizado en el Mapa */
.custom-map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
}

.pin-marker-core {
  width: 38px;
  height: 38px;
  background: #120A07;
  border: 2px solid #D98C16;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(18, 10, 7, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pin-marker-core:hover {
  transform: rotate(-45deg) scale(1.1);
  box-shadow: 0 8px 22px rgba(217, 140, 22, 0.5);
}

.pin-marker-core svg {
  transform: rotate(45deg);
  color: #D98C16;
}

.pin-marker-pulse {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(217, 140, 22, 0.25);
  animation: pinPulseAnim 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pinPulseAnim {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Estilos de Popup Leaflet */
.leaflet-popup-content-wrapper {
  background: #120A07 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(217, 140, 22, 0.4) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
  padding: 6px !important;
}

.leaflet-popup-tip {
  background: #120A07 !important;
  border: 1px solid rgba(217, 140, 22, 0.4) !important;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
  line-height: 1.4 !important;
}

.salon-popup-card {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
}

.salon-popup-card h4 {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 1.15rem;
  color: #D98C16;
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.salon-popup-card .popup-address {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 6px 0;
}

.salon-popup-card .popup-schedule {
  font-size: 0.8rem;
  color: #D1C7C0;
  margin: 0 0 12px 0;
}

.salon-popup-card .btn-map-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 14px;
  background: #D98C16;
  color: #120A07;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.salon-popup-card .btn-map-directions:hover {
  background: #FFFFFF;
  color: #120A07;
}

/* ==========================================================================
   BURBUJA FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.18);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 70px;
  background: #120A07;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border: 1px solid rgba(217, 140, 22, 0.35);
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Pulsación suave en la burbuja */
.whatsapp-float-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2.5s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVE PARA COMPONENTES NUEVOS
   ========================================================================== */
@media (max-width: 768px) {
  .hero-carousel {
    height: 420px;
  }

  .salon-interactive-map {
    height: 320px;
  }

  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-tooltip {
    display: none;
    /* En móvil no mostrar tooltip para no bloquear vista */
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-caption p {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .hero-carousel {
    height: 340px;
  }

  .carousel-caption {
    bottom: 22px;
    left: 16px;
    right: 16px;
  }

  .carousel-caption p {
    font-size: 0.82rem;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .salon-interactive-map {
    height: 280px;
  }
}