/* ==========================================================================
   NAILS GALLERY MX — PREMIUM DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

/* 1. DESIGN VARIABLES & CONFIGURATION
   ========================================================================== */
:root {
  /* Color Tokens */
  --brand-pink: #fd77ac;        /* HSL(336, 98%, 73%) - Main identity pink */
  --brand-pink-glow: #ff4fa8;   /* HSL(330, 100%, 65%) - Neon pink slogan glow */
  --brand-pink-shadow: #f080ad; /* HSL(336, 80%, 72%) - Sub-element pink */
  --off-white: #fbfbfd;         /* HSL(248, 36%, 99%) - Warm off-white */
  
  /* Print Menu Aesthetics (Tactile paper) */
  --beige-base: #f2ede6;        /* HSL(34, 33%, 93%) - Textured background paper base */
  --cream-highlight: #efe9e2;   /* HSL(34, 29%, 91%) - Shadow beige for depth */
  --gray-stone: #c8bdba;        /* HSL(14, 11%, 76%) - Borders and dividers */
  --espresso-black: #494846;    /* HSL(33, 3%, 28%) - Soft charcoal text */
  --muted-text: #5f5e5b;        /* Muted body text (Optimized for WCAG AA contrast) */
  
  /* Juárez Sucursal Wall Paint & Neon Lighting */
  --matte-turquoise: #75d3e6;   /* HSL(190, 70%, 68%) - Wall color */
  --deep-teal-shadow: #66b6db;  /* HSL(199, 63%, 63%) - Shadows */
  --espresso-ceiling: #212427;  /* HSL(207, 9%, 14%) - Industrial dark accents */
  --neon-ice-blue: #e0f7fc;     /* HSL(190, 80%, 93%) - Ice blue neon text */
  
  /* Layout & Spacing */
  --transition-bezier: cubic-bezier(0.32, 0.72, 0, 1);
  --transition-duration: 0.6s;
  --max-width: 1200px;
}

/* prefers-reduced-motion fallback */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-duration: 0.1s;
  }
}

/* 2. TYPOGRAPHY & SELF-HOSTING
   ========================================================================== */
@font-face {
  font-family: 'Alex Brush';
  src: url('./assets/fonts/alex-brush-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('./assets/fonts/montserrat-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 3. RESET & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--espresso-black);
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-duration) var(--transition-bezier);
}

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

/* Utility classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.2em; }

/* 4. PREMIUM CARD ARCHITECTURE (DOUBLE-BEZEL / NESTED HOUSING)
   ========================================================================== */
.double-bezel-outer {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0.5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-duration) var(--transition-bezier), 
              box-shadow var(--transition-duration) var(--transition-bezier);
}

.double-bezel-outer:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(253, 119, 172, 0.1);
}

.double-bezel-inner {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(200, 189, 186, 0.3);
  padding: 2rem;
  border-radius: calc(2rem - 0.5rem);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 5. TACTILE PAPER TEXTURE (MENU CARDS)
   ========================================================================== */
.paper-texture {
  background: linear-gradient(135deg, var(--beige-base) 0%, var(--cream-highlight) 100%);
  position: relative;
  z-index: 1;
}

.paper-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 6. NEON DISPLAY GLOWS
   ========================================================================== */
.neon-blue {
  color: var(--neon-ice-blue);
  text-shadow: 0 0 4px rgba(224, 247, 252, 0.9),
               0 0 12px rgba(224, 247, 252, 0.6),
               0 0 25px rgba(224, 247, 252, 0.3);
}

.neon-pink {
  color: var(--brand-pink);
  font-weight: 700;
}

/* 7. FLOATING ISLAND NAVIGATION
   ========================================================================== */
/* 7. FLOATING ISLAND NAVIGATION & PREMIUM HEADER
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
  pointer-events: none;
}

.navbar-island {
  pointer-events: auto;
  max-width: 90%;
  width: max-content;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.03), 
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1.5rem 0.5rem 1.8rem;
  border-radius: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  transition: 
    background-color 0.5s var(--transition-bezier), 
    border-color 0.5s var(--transition-bezier), 
    box-shadow 0.5s var(--transition-bezier);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}

.nav-brand img {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(253, 119, 172, 0.4);
  box-shadow: 0 4px 10px rgba(253, 119, 172, 0.15);
  transition: transform 0.4s var(--transition-bezier), border-color 0.4s var(--transition-bezier);
}

.nav-brand:hover img {
  transform: rotate(8deg) scale(1.05);
  border-color: var(--brand-pink);
}

.nav-brand-text {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, var(--espresso-black) 30%, #6e6b64 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  line-height: 1.2;
  transition: 
    letter-spacing 0.4s var(--transition-bezier), 
    color 0.4s var(--transition-bezier);
}

.nav-brand:hover .nav-brand-text {
  background: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-pink-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.22em;
}

.nav-menu {
  position: relative; /* Context parent for hover indicator */
}

.nav-hover-indicator {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(253, 119, 172, 0.08); /* Soft liquid pink highlight */
  border-radius: 2rem;
  pointer-events: none;
  opacity: 0;
  transition: 
    transform 0.45s var(--transition-bezier),
    width 0.45s var(--transition-bezier),
    height 0.45s var(--transition-bezier),
    opacity 0.3s ease;
  z-index: -1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted-text);
  padding: 0.5rem 1rem;
  display: block;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--espresso-black);
}

/* Double Bezel CTA Button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-pink);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.4rem 0.35rem 1.4rem;
  border-radius: 5rem;
  border: none;
  box-shadow: 0 8px 22px rgba(253, 119, 172, 0.22);
  transition: all 0.4s var(--transition-bezier);
}

.nav-cta span {
  line-height: 1;
}

.nav-cta-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--transition-bezier);
}

.nav-cta-arrow svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  transition: transform 0.4s var(--transition-bezier);
}

.nav-cta:hover {
  background: var(--brand-pink-glow);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 25px rgba(253, 119, 172, 0.3);
}

.nav-cta:hover .nav-cta-arrow {
  background: #fff;
}

.nav-cta:hover .nav-cta-arrow svg {
  stroke: var(--brand-pink);
  transform: rotate(45deg);
}

.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--espresso-black);
  margin: 4px 0;
  transition: all 0.4s var(--transition-bezier);
}

/* 7.a FULLSCREEN CURTAIN MENU MOBILE
   ========================================================================== */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--transition-bezier);
}

.fullscreen-menu.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.fullscreen-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 36, 39, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.fullscreen-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-stone);
  padding: 8rem 2rem 4rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.55s var(--transition-bezier);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.fullscreen-menu.open .fullscreen-menu-content {
  transform: translateY(0);
}

.fullscreen-menu-header {
  text-align: center;
}

.fullscreen-menu-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-pink);
}

.fullscreen-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.fullscreen-menu-link {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--espresso-black);
  text-transform: uppercase;
  display: block;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s var(--transition-bezier);
}

.fullscreen-menu.open .fullscreen-menu-link {
  transform: translateY(0);
  opacity: 1;
}

.fullscreen-menu-links li:nth-child(1) .fullscreen-menu-link { transition-delay: 0.1s; }
.fullscreen-menu-links li:nth-child(2) .fullscreen-menu-link { transition-delay: 0.15s; }
.fullscreen-menu-links li:nth-child(3) .fullscreen-menu-link { transition-delay: 0.2s; }
.fullscreen-menu-links li:nth-child(4) .fullscreen-menu-link { transition-delay: 0.25s; }
.fullscreen-menu-links li:nth-child(5) .fullscreen-menu-link { transition-delay: 0.3s; }

.fullscreen-menu-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.fullscreen-menu-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--brand-pink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 0.8rem 0.6rem 1.5rem;
  border-radius: 5rem;
  box-shadow: 0 8px 20px rgba(253, 119, 172, 0.2);
  transition: all 0.3s var(--transition-bezier);
}

.fullscreen-menu-wa .wa-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-menu-wa svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
}

/* 8. HERO SECTION WITH VIDEO BACKGROUND
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 50px;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.45) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(253, 119, 172, 0.1) 0%, rgba(33, 36, 39, 0.75) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo-wrapper {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
  animation: floatLogo 6s ease-in-out infinite;
  transition: border-color 0.5s var(--transition-bezier), box-shadow 0.5s var(--transition-bezier);
}

.hero-logo-wrapper:hover {
  border-color: var(--brand-pink);
  box-shadow: 0 15px 35px rgba(253, 119, 172, 0.4);
}

.hero-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-bezier);
}

.hero-logo-wrapper:hover img {
  transform: scale(1.15);
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Accessibility overrides for logo animations */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrapper {
    animation: none;
  }
  .hero-logo-wrapper img {
    transition: none;
  }
  .hero-logo-wrapper:hover img {
    transform: none;
  }
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brand-pink);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-subtext {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
  line-height: 1.5;
}

/* 9. BUTTON SYSTEM (NESTED BUTTON-IN-BUTTON)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--brand-pink);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 0.6rem 0.6rem 2.2rem;
  border-radius: 5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(253, 119, 172, 0.4);
  transition: all 0.4s var(--transition-bezier);
  gap: 1.2rem;
}

.btn-primary .btn-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--transition-bezier);
}

.btn-primary .btn-icon-circle svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  transition: transform 0.4s var(--transition-bezier);
}

.btn-primary:hover {
  background: var(--brand-pink-shadow);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(253, 119, 172, 0.5);
}

.btn-primary:hover .btn-icon-circle {
  background: #fff;
}

.btn-primary:hover .btn-icon-circle svg {
  fill: var(--brand-pink);
  transform: translateX(3px) translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Secondary Button style */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.8rem 2rem;
  border-radius: 5rem;
  transition: all 0.3s var(--transition-bezier);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 10. SECTION WRAPPERS & GRID LAYOUTS
   ========================================================================== */
section.py-section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-pink);
  background: rgba(253, 119, 172, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 5rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--espresso-black);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.5;
}

/* 11. PROMOCIONES DE JULIO (JULY PACKAGES)
   ========================================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.promo-tag {
  background: var(--brand-pink);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.8rem;
  border-radius: 2rem;
  width: max-content;
  margin-bottom: 1rem;
}

.promo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--espresso-black);
  margin-bottom: 0.5rem;
}

.promo-description {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
  min-height: 50px;
}

.promo-price-block {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-stone);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.price-special {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-pink);
}

.price-regular {
  font-size: 0.9rem;
  color: var(--gray-stone);
  text-decoration: line-through;
}

.promo-conditions {
  background: rgba(73, 72, 70, 0.03);
  border: 1px solid var(--gray-stone);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  font-size: 0.8rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--espresso-black);
}

/* 12. TABBED SERVICES MENU (TACTILE BEIGE MENUS)
   ========================================================================== */
.services-section {
  background-color: var(--beige-base);
}

.tabs-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 10;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(200, 189, 186, 0.6);
  padding: 0.6rem 1.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 5rem;
  cursor: pointer;
  transition: all 0.3s var(--transition-bezier);
  color: var(--espresso-black);
}

.tab-btn:hover {
  background: #fff;
  border-color: var(--brand-pink);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: var(--brand-pink);
  color: #fff;
  border-color: var(--brand-pink);
  box-shadow: 0 5px 15px rgba(253, 119, 172, 0.3);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s var(--transition-bezier) forwards;
}

.tab-pane.active {
  display: block;
}

.services-list-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.service-category-title {
  font-family: 'Alex Brush', cursive;
  font-size: 3rem;
  color: var(--brand-pink);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: normal;
}

.service-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dotted var(--gray-stone);
  gap: 1.5rem;
  transition: padding var(--transition-duration) var(--transition-bezier);
}

.service-item-row:hover {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.service-name-block {
  display: flex;
  flex-direction: column;
}

.service-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--espresso-black);
}

.service-notes {
  font-size: 0.75rem;
  color: var(--muted-text);
  margin-top: 0.2rem;
}

.service-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso-black);
}

/* 13. SPECIAL COLLECTIONS SLIDERS (SUMMER / WORLD CUP)
   ========================================================================== */
.collections-section {
  background: var(--off-white);
  overflow: hidden;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.8rem;
  padding: 1.5rem 0.5rem;
  scrollbar-width: none; /* Firefox */
}

.slider-container::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

.collection-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-bezier);
}

.collection-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-price-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-pink);
  border: 1px solid rgba(253, 119, 172, 0.2);
}

.card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--espresso-black);
  margin-bottom: 0.2rem;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--muted-text);
  line-height: 1.4;
}

/* Slider Navigation Buttons */
.slider-nav-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-stone);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--transition-bezier);
}

.slider-arrow:hover {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
}

.slider-arrow svg {
  width: 16px;
  height: 16px;
  fill: var(--espresso-black);
  transition: fill 0.3s;
}

.slider-arrow:hover svg {
  fill: #fff;
}

/* Custom design prompt banner */
.custom-design-banner {
  background: linear-gradient(135deg, rgba(253, 119, 172, 0.05) 0%, rgba(117, 211, 230, 0.05) 100%);
  border: 1px solid rgba(253, 119, 172, 0.15);
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
  margin-top: 4.5rem;
}

.custom-banner-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--espresso-black);
  margin-bottom: 0.5rem;
}

.custom-banner-desc {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 1.5rem;
}

/* 14. DYNAMIC SUCURSALES (LOCATIONS LIST)
   ========================================================================== */
.locations-section {
  background-color: var(--off-white);
}

.locations-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr; /* 3 Columns: Accordion - Phone - Details */
  gap: 2.5rem;
  align-items: center; /* Center-align elements vertically for cinematic symmetry */
}

.sucursales-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sucursal-accordion-item {
  background: #fff;
  border: 1px solid var(--gray-stone);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.sucursal-accordion-item.active {
  border-color: var(--brand-pink);
}

.sucursal-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.sucursal-trigger-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sucursal-icon-pin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(253, 119, 172, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sucursal-icon-pin svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-pink);
}

.sucursal-accordion-item.active .sucursal-icon-pin {
  background: var(--brand-pink);
}

.sucursal-accordion-item.active .sucursal-icon-pin svg {
  fill: #fff;
}

.sucursal-title-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--espresso-black);
}

.sucursal-trigger-arrow svg {
  width: 16px;
  height: 16px;
  fill: var(--espresso-black);
  transition: transform 0.4s var(--transition-bezier);
}

.sucursal-accordion-item.active .sucursal-trigger-arrow svg {
  transform: rotate(180deg);
  fill: var(--brand-pink);
}

.sucursal-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-bezier);
}

.sucursal-accordion-item.active .sucursal-panel {
  max-height: 200px;
}

.sucursal-info-content {
  font-size: 0.8rem;
  color: var(--muted-text);
  line-height: 1.6;
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
}

.sucursal-action-row {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.sucursal-link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-pink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sucursal-link:hover {
  color: var(--brand-pink-shadow);
}

/* 14.a PHONE SHOWCASE & INTERACTIVE MOCKUP
   ========================================================================== */
.phone-showcase-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  perspective: 1000px;
  align-self: center;
}

/* Ambient glow orb behind the phone */
.phone-glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(253, 119, 172, 0.15) 0%, rgba(253, 119, 172, 0) 70%);
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
}

/* Outer phone frame mimicking chassis hardware (Double-Bezel architecture) */
.phone-mockup-frame {
  position: relative;
  background: #2e2c2b; /* Rose gold / copper chassis */
  border: 4px solid #4a4543;
  border-radius: 2.8rem;
  padding: 0.6rem; /* Screen Bezel distance */
  box-shadow: 
    0px 25px 50px -12px rgba(0, 0, 0, 0.12),
    0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    inset 0px 2px 2px rgba(255, 255, 255, 0.25),
    inset 0px -2px 2px rgba(0, 0, 0, 0.4);
  aspect-ratio: 9 / 16;
  width: 100%;
  transition: transform 0.8s var(--transition-bezier);
  transform-style: preserve-3d;
}

.phone-showcase-container:hover .phone-mockup-frame {
  transform: translateY(-6px) rotateY(-4deg) rotateX(2deg);
}

/* Physical buttons */
.phone-button-left, .phone-button-right {
  position: absolute;
  background: #3e3a38;
  border-radius: 2px;
}

.phone-button-left {
  left: -7px;
  width: 3px;
}

.volume-up {
  top: 80px;
  height: 40px;
}

.volume-down {
  top: 130px;
  height: 40px;
}

.phone-button-right.power {
  right: -7px;
  width: 3px;
  top: 110px;
  height: 55px;
}

/* Screen container inside bezel */
.phone-screen {
  position: relative;
  background: #000;
  width: 100%;
  height: 100%;
  border-radius: 2.3rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0px 0px 20px rgba(0,0,0,0.9);
}

/* Status Bar */
.phone-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.8rem;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
  pointer-events: none;
}

/* Notch Island styling */
.status-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
}

.notch-island {
  display: block;
  width: 80px;
  height: 20px;
  background: #000;
  border-radius: 100px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icons svg {
  opacity: 0.85;
}

/* Screen Content Viewport */
.phone-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
}

/* Slide item structure with concentric radius design */
.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(12px);
  filter: blur(4px);
  transition: 
    opacity 0.6s var(--transition-bezier),
    transform 0.6s var(--transition-bezier),
    filter 0.6s var(--transition-bezier);
  z-index: 1;
}

.phone-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  filter: blur(0px);
  z-index: 2;
}

/* Slide Cards styling */
.slide-card {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-card img, .slide-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem 1.5rem;
  color: #fff;
  z-index: 2;
  text-align: left;
}

.slide-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}

.slide-badge.highlight {
  background: var(--brand-pink);
  box-shadow: 0 2px 10px rgba(253, 119, 172, 0.4);
}

.slide-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}

.slide-content p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.8rem;
}

.slide-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.6rem;
}

.stars {
  color: #ffb703;
}

/* Video specific elements */
.video-live-badge {
  position: absolute;
  top: 50px;
  right: 1.5rem;
  background: rgba(239, 35, 60, 0.85); /* Crimson red for live badge */
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(239, 35, 60, 0.3);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* Home Indicator Bar */
.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  z-index: 10;
  pointer-events: none;
}

/* Perspective Stand details */
.phone-stand-shadow {
  width: 80%;
  height: 12px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  margin: 1rem auto 0 auto;
  filter: blur(6px);
}

/* 14. DYNAMIC SUCURSALES (LOCATIONS LIST)
   ========================================================================== */
.locations-section {
  background-color: var(--off-white);
}

/* 3-Column Showcase Layout centered around the phone mockup */
.showcase-video-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr; /* 3 Columns: Left text - Center Phone - Right text */
  gap: 2.5rem;
  align-items: center; /* Center vertically for symmetry */
  margin-bottom: 4.5rem;
}

.showcase-side-text {
  background: #fff;
  border: 1px solid var(--gray-stone);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.showcase-side-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--espresso-black);
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.showcase-side-text p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--espresso-black);
  margin-bottom: 1.5rem;
}

.details-eyebrow {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--gray-stone);
  padding-bottom: 0.2rem;
}

.details-eyebrow.highlight {
  color: var(--brand-pink);
  border-bottom-color: var(--brand-pink);
}

.details-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.2rem;
}

.details-features li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.details-features li span {
  color: var(--brand-pink);
  font-size: 12px;
}

/* WhatsApp action button inside details panel */
.btn-details-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--espresso-black);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.8rem 1.8rem;
  border-radius: 5rem;
  width: 100%;
  box-shadow: 0 5px 15px rgba(73, 72, 70, 0.15);
  transition: all 0.3s var(--transition-bezier);
}

.btn-details-wa svg {
  transition: transform 0.3s var(--transition-bezier);
}

.btn-details-wa:hover {
  background: var(--brand-pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(253, 119, 172, 0.25);
}

.btn-details-wa:hover svg {
  transform: rotate(45deg);
}

.btn-details-wa:active {
  transform: translateY(0);
}

/* 14.b SUCURSALES GRID (BELOW SHOWCASE)
   ========================================================================== */

#sucursales-map {
  width: 100%;
  height: 450px;
  border-radius: 1.5rem;
  border: 1px solid var(--gray-stone);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-bottom: 3.5rem;
  z-index: 1;
}

/* Custom Leaflet popup aesthetics */
.leaflet-popup-content-wrapper {
  background: var(--off-white);
  border-radius: 1rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid rgba(253, 119, 172, 0.2);
  padding: 0.3rem;
}

.leaflet-popup-content h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--espresso-black);
  margin: 0 0 0.3rem 0;
}

.leaflet-popup-content p {
  font-size: 0.75rem;
  color: var(--muted-text);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.leaflet-popup-content a {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-pink);
  text-decoration: none;
  transition: color 0.3s;
}

.leaflet-popup-content a:hover {
  color: var(--brand-pink-glow);
}

.custom-pink-pin {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-marker {
  width: 30px;
  height: 30px;
  background: var(--brand-pink);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-marker::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
}

.sucursales-grid-below {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  #sucursal-juarez {
    grid-column: span 3;
  }
}

/* ==========================================================================
   SPOTLIGHT GLOW EFFECT (INSPIRED BY SPOTLIGHT-CARD)
   ========================================================================== */
[data-glow-card] {
  --base-hue: 295;       /* Shifts from purple... */
  --spread-hue: 45;      /* ...to brand pink (340) */
  --radius: 24;          /* Matches border-radius (1.5rem = 24px) */
  --border-width: 1.2;
  --size: 250;           /* Spotlight radius (pixels) */
  --border-size: calc(var(--border-width) * 1px);
  --spotlight-size: calc(var(--size) * 1px);
  --hue: calc(var(--base-hue) + (var(--xp, 0) * var(--spread-hue)));
  
  position: relative;
  border-radius: calc(var(--radius) * 1px);
  
  /* White background base with fixed radial gradient spotlight overlay */
  background: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(var(--hue) 95% 73% / 0.08),
    transparent
  ) #ffffff;
  
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-position: 50% 50%;
  background-attachment: fixed;
  border: var(--border-size) solid var(--gray-stone);
  touch-action: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s var(--transition-bezier), box-shadow 0.3s var(--transition-bezier), border-color 0.3s var(--transition-bezier);
}

[data-glow-card]:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-color: var(--brand-pink-shadow);
}

/* Pseudo-elements for the animated border glow */
[data-glow-card]::before,
[data-glow-card]::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: calc(var(--radius) * 1px);
  background-attachment: fixed;
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-repeat: no-repeat;
  background-position: 50% 50%;
  mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;
  -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: destination-out;
  z-index: 2;
}

/* The color outline spotlight */
[data-glow-card]::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(var(--hue) 95% 73% / 1),
    transparent 100%
  );
  filter: brightness(1.5);
}

/* The white highlight spotlight overlay */
[data-glow-card]::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    rgba(255, 255, 255, 0.8),
    transparent 100%
  );
}

/* The ambient outer glow behind the card (double-glow effect) */
[data-glow-card] [data-glow-child] {
  position: absolute;
  inset: 0;
  will-change: filter;
  border-radius: calc(var(--radius) * 1px);
  pointer-events: none;
  z-index: -1;
}

[data-glow-card] [data-glow-child]::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--radius) * 1px);
  background-attachment: fixed;
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.8) calc(var(--spotlight-size) * 0.8) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsl(var(--hue) 95% 73% / 0.3),
    transparent 100%
  );
  filter: blur(15px);
}

.sucursal-grid-card {
  padding: 1.8rem;
}

.sucursal-card-header {
  margin-bottom: 1.2rem;
}

.sucursal-card-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--espresso-black);
  margin-bottom: 0.4rem;
}

.sucursal-card-header p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted-text);
  margin-bottom: 0.6rem;
}

.sucursal-card-hours {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-pink-shadow);
}

.sucursal-card-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
  border-bottom: 1.5px solid var(--gray-stone);
  padding-bottom: 0.15rem;
  margin-bottom: 0.6rem;
}

.sucursal-card-badge.highlight {
  color: var(--brand-pink);
  border-bottom-color: var(--brand-pink);
}

.sucursal-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-card-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--espresso-black);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.2rem;
  border-radius: 5rem;
  width: 100%;
  transition: all 0.3s var(--transition-bezier);
  border: 1px solid var(--espresso-black);
  z-index: 5;
}

.btn-card-wa:hover {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  box-shadow: 0 5px 15px rgba(253, 119, 172, 0.25);
  transform: translateY(-1px);
}

.btn-card-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--espresso-black);
  border: 1px solid var(--gray-stone);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.2rem;
  border-radius: 5rem;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s var(--transition-bezier);
  z-index: 5;
}

.btn-card-map:hover {
  background: rgba(253, 119, 172, 0.05);
  border-color: var(--brand-pink);
  color: var(--brand-pink);
  transform: translateY(-1px);
}

.btn-card-map svg {
  stroke: currentColor;
}

.btn-card-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted-text);
  text-decoration: none;
  margin-top: 0.2rem;
  transition: color 0.3s;
  z-index: 5;
}

.btn-card-directions:hover {
  color: var(--brand-pink);
  text-decoration: underline;
}

/* 15. SOCIAL PROOF (EDITORIAL TESTIMONIALS GRID)
   ========================================================================== */
.reviews-section {
  background-color: var(--beige-base);
  position: relative;
  overflow: hidden;
}

/* Elegant editorial section header override */
.reviews-section .section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--espresso-black);
}

.section-eyebrow-editorial {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-text);
  margin-bottom: 1.2rem;
  position: relative;
}

.section-eyebrow-editorial::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--gray-stone);
  margin: 0.6rem auto 0 auto;
}

/* Grid layout with massive spacing and rhythm */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 2;
}

/* Double-Bezel Nested Card Architecture (Doppelrand) */
.testimonial-card-outer {
  background: rgba(73, 72, 70, 0.02);
  border: 1px solid rgba(200, 189, 186, 0.35); /* Hairline using gray-stone accent */
  padding: 0.5rem;
  border-radius: 1.5rem;
  transition: transform var(--transition-duration) var(--transition-bezier),
              box-shadow var(--transition-duration) var(--transition-bezier);
}

.testimonial-card-inner {
  background: var(--off-white);
  border-radius: calc(1.5rem - 0.5rem); /* concentric curves */
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 
              0 10px 30px -10px rgba(73, 72, 70, 0.04); /* soft ambient, tinted shadow */
  transition: background-color var(--transition-duration) var(--transition-bezier);
}

.testimonial-content {
  margin-bottom: 2rem;
}

/* Refined champagne gold star indicator */
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: #c5a880; /* Elegant soft champagne/gold */
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
}

/* Editorial Serif typography for quotes */
.testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--espresso-black);
  font-style: italic;
  font-weight: 400;
}

/* High-end author information and fine alignment */
.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid rgba(200, 189, 186, 0.25);
  padding-top: 1.2rem;
}

.testimonial-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--espresso-black);
}

.testimonial-source {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted-text);
  letter-spacing: 0.02em;
}

/* Interactive feedback on hover */
.testimonial-card-outer:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -12px rgba(73, 72, 70, 0.08);
}

.testimonial-card-outer:hover .testimonial-card-inner {
  background-color: #ffffff;
}

/* Responsive grid overrides */
@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  
  .reviews-section .section-title {
    font-size: 2.2rem;
  }
  
  .testimonial-card-inner {
    padding: 2rem 1.75rem;
  }
}

/* 16. DYNAMIC REELS HORIZONTAL SLIDER
   ========================================================================== */
.reels-section {
  background: var(--off-white);
  overflow: hidden;
}

.reels-slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.8rem;
  padding: 1.5rem 0.5rem;
  scrollbar-width: none; /* Firefox */
}

.reels-slider-container::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

.reel-card {
  flex: 0 0 250px;
  width: 250px;
  scroll-snap-align: start;
}

.reel-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 
    0px 0px 0px 1px rgba(0, 0, 0, 0.05),
    0px 8px 25px rgba(0, 0, 0, 0.05);
  background: #000;
  border: 1px solid var(--gray-stone);
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 0.6s var(--transition-bezier), box-shadow 0.6s var(--transition-bezier);
}

.reel-card:hover .reel-video-wrapper {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 
    0px 0px 0px 1px rgba(253, 119, 172, 0.2),
    0px 12px 30px rgba(0, 0, 0, 0.12);
}

.reel-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.reel-video-wrapper.playing video {
  opacity: 1;
}

/* Play button overlay that appears in the center */
.reel-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease, background 0.3s ease;
  pointer-events: none; /* Let clicks pass through to wrapper */
  opacity: 1;
}

.reel-play-overlay svg {
  width: 48px;
  height: 48px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.4s var(--transition-bezier);
}

.reel-card:hover .reel-play-overlay svg {
  transform: scale(1.1);
}

/* Hide overlay when playing */
.reel-video-wrapper.playing .reel-play-overlay {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .reel-video-wrapper {
    transition: none !important;
  }
  .reel-card:hover .reel-video-wrapper {
    transform: none !important;
  }
  .reel-play-overlay svg {
    transition: none !important;
  }
  .reel-card:hover .reel-play-overlay svg {
    transform: none !important;
  }
}

/* 17. WHATSAPP BOOKING GENERATOR (CRO INTERACTIVE FORM)
   ========================================================================== */
.booking-section {
  background-color: var(--beige-base);
}

.booking-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.booking-form-card {
  background: #fff;
  border: 1px solid var(--gray-stone);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.form-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-text);
}

.form-control {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.85rem;
  background: var(--off-white);
  border: 1px solid var(--gray-stone);
  border-radius: 0.8rem;
  color: var(--espresso-black);
  outline: none;
  transition: border-color 0.3s var(--transition-bezier);
}

.form-control:focus {
  border-color: var(--brand-pink);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='%23494846'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 16px;
  padding-right: 3rem;
}

/* 18. FOOTER
   ========================================================================== */
.footer-section {
  background-color: var(--espresso-ceiling);
  color: rgba(255, 255, 255, 0.6);
  padding: 3.5rem 0 2rem 0;
  font-size: 0.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-brand-title {
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin: 0;
}

.footer-brand-desc {
  line-height: 1.5;
  margin: 0;
  max-width: 25ch;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.3rem;
}

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-bezier);
}

.social-icon-btn:hover {
  background: var(--brand-pink);
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #fff;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-link-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link-item:hover {
  color: #fff;
}

.footer-contact-link-item .contact-icon {
  width: 15px;
  height: 15px;
  fill: var(--brand-pink);
  flex-shrink: 0;
}

.footer-booking-cta-wrapper {
  margin-top: 0.2rem;
}

.footer-cta-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1px solid var(--brand-pink);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  transition: 
    background-color 0.3s var(--transition-bezier), 
    transform 0.3s var(--transition-bezier), 
    box-shadow 0.3s var(--transition-bezier);
  text-align: center;
  align-self: flex-start;
}

.footer-cta-btn:hover {
  background: var(--brand-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 119, 172, 0.3);
}

.footer-cta-btn:active {
  transform: scale(0.97);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
}

/* 19. RESPONSIVENESS (MOBILE ADAPTABILITY)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .showcase-video-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .showcase-side-text.left-side {
    order: 2;
  }
  .phone-showcase-container {
    max-width: 290px;
    order: 1;
    margin: 0 auto;
  }
  .showcase-side-text.right-side {
    order: 3;
  }
  .sucursales-grid-below {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  #sucursal-juarez {
    grid-column: span 2;
  }
  .nav-menu {
    display: none !important; /* Hide desktop nav links */
  }
  .nav-cta {
    display: none !important; /* Hide desktop cta button */
  }
  .nav-toggle {
    display: block; /* Show hamburger toggle */
  }
  /* Mobile active burger transition */
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  section.py-section {
    padding: 4.5rem 0;
  }
  .navbar-island {
    padding: 0.5rem 1.2rem;
    gap: 1.5rem;
    width: 92%;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtext {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .sucursales-grid-below {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #sucursal-juarez {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* Reels grid responsive stack removed since it scrolls horizontally */

@media (max-height: 480px) and (max-width: 768px) {
  .nav-links {
    top: 70px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 1.5rem;
    gap: 1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 20. BOOKING MODAL (POPUP & BACKDROP BLUR)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(33, 36, 39, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--transition-bezier);
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Support native anchor target showing (fallback without JS) */
#agendar:target {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s var(--transition-bezier);
  /* Hide scrollbar but keep scroll behavior */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.modal-content::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}

.modal-overlay.open .modal-content {
  transform: scale(1) translateY(0);
}

#agendar:target .modal-content {
  transform: scale(1) translateY(0);
}

.close-modal-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--espresso-black);
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
  padding: 0.5rem;
}

.close-modal-btn:hover {
  color: var(--brand-pink);
}

/* Prevent scrolling on both HTML and body containers when modal/menu is open */
html.modal-open,
body.modal-open {
  overflow: hidden;
}

/* Modal inner elements */
.modal-header {
  margin-bottom: 2rem;
}

.modal-header .section-eyebrow {
  margin-bottom: 0.5rem;
  display: block;
}

.modal-header .section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-header .section-subtitle {
  font-size: 0.8rem;
  line-height: 1.4;
}

.modal-submit-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.modal-submit-btn {
  width: 100%;
  justify-content: center;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Responsive adjustments for viewport height and screen width */
@media (max-height: 850px) {
  .modal-content .booking-form-card {
    padding: 2rem 2.5rem;
  }
  .modal-header {
    margin-bottom: 1.2rem;
  }
  .modal-header .section-title {
    font-size: 1.5rem;
  }
  .modal-content .form-group {
    margin-bottom: 1.1rem;
    gap: 0.35rem;
  }
  .modal-content .form-control {
    padding: 0.75rem 1rem;
  }
  .modal-submit-wrapper {
    margin-top: 1.2rem;
  }
}

@media (max-height: 700px) {
  .modal-content .booking-form-card {
    padding: 1.5rem 2rem;
  }
  .modal-header {
    margin-bottom: 0.8rem;
  }
  .modal-header .section-title {
    font-size: 1.3rem;
  }
  .modal-header .section-subtitle {
    display: none; /* Hide subtitle to save vertical space in very tight screens */
  }
  .modal-content .form-group {
    margin-bottom: 0.8rem;
    gap: 0.25rem;
  }
  .modal-content .form-control {
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
  }
  .modal-submit-wrapper {
    margin-top: 0.8rem;
  }
}

/* Mobile screen constraints */
@media (max-width: 480px) {
  .modal-overlay {
    padding: 0.75rem; /* Floating look with margin */
  }
  .modal-content {
    max-height: 90vh; /* Centered card, not fullscreen */
  }
  .modal-content .booking-form-card {
    padding: 1.5rem 1.2rem;
  }
  .close-modal-btn {
    top: 0.8rem;
    right: 0.8rem;
    font-size: 1.8rem;
  }
  .modal-header .section-title {
    font-size: 1.4rem;
  }
  .modal-content .form-group {
    margin-bottom: 1rem;
    gap: 0.3rem;
  }
  .modal-content .form-control {
    padding: 0.75rem 1rem;
  }
  .modal-submit-wrapper {
    margin-top: 1.2rem;
  }
}

/* Mobile landscape layout or extremely small devices */
@media (max-width: 480px) and (max-height: 600px) {
  .modal-content {
    max-height: 95vh;
  }
  .modal-content .booking-form-card {
    padding: 1rem 1rem;
  }
  .modal-header {
    margin-bottom: 0.5rem;
  }
  .modal-header .section-title {
    font-size: 1.2rem;
  }
  .modal-header .section-eyebrow,
  .modal-header .section-subtitle {
    display: none; /* Simplify completely for landscape mobile viewports */
  }
  .modal-content .form-group {
    margin-bottom: 0.6rem;
    gap: 0.2rem;
  }
  .modal-content .form-control {
    padding: 0.65rem 0.8rem;
    font-size: 0.8rem;
  }
  .modal-submit-wrapper {
    margin-top: 0.6rem;
  }
}

/* ==========================================================================
   FLOATING AMBIENT LAYER — BRAND IMMERSION
   ========================================================================== */

/* Canvas Container covering the parent relative block */
.floating-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none; /* Clicks pass straight through to layout elements */
  z-index: 0; /* Keep behind main text/buttons but above background color */
  user-select: none;
}

/* Floating Element Base */
.floating-element {
  position: absolute;
  pointer-events: none;
  will-change: transform; /* Hint to GPU to promote layer for smooth rendering */
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.floating-element img {
  width: 100%;
  height: auto;
  display: block;
}

/* Keyframe Definitions (GPU-Safe: transform only) */

/* Slow horizontal drift + rotational sway */
@keyframes floating-drift-horizontal {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(25px, -15px, 0) rotate(4deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/* Slow vertical drift + counter-sway */
@keyframes floating-drift-vertical {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-15px, 30px, 0) rotate(-5deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/* Depth Layers */

/* Background Layer (Very lightly focused depth) */
.float-layer-bg {
  z-index: -2;
  filter: blur(1.5px) opacity(0.45);
  animation: floating-drift-horizontal var(--float-duration, 35s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

/* Midground Layer (Crisp focus) */
.float-layer-mid {
  z-index: -1;
  filter: blur(0.5px) opacity(0.6);
  animation: floating-drift-vertical var(--float-duration, 28s) ease-in-out infinite;
  animation-delay: var(--float-delay, -3s);
}

/* Foreground Layer (Sharp & detailed) */
.float-layer-fg {
  z-index: 2; /* Sits slightly above content backgrounds but behind text */
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.05));
  opacity: 0.75;
  animation: floating-drift-horizontal var(--float-duration, 22s) ease-in-out infinite;
  animation-delay: var(--float-delay, -7s);
}

/* Accessibility Guardrails (Vestibular Safety) */
@media (prefers-reduced-motion: reduce) {
  .floating-element {
    animation: none !important;
    transform: none !important;
  }
  .float-layer-bg {
    filter: blur(1.5px) opacity(0.25) !important;
  }
  .float-layer-mid {
    filter: blur(0.5px) opacity(0.35) !important;
  }
  .float-layer-fg {
    opacity: 0.45 !important;
  }
}

/* 21. DESKTOP VIEWPORT LAYOUT & SCROLL SNAPPING
   ========================================================================== */
/* Limit scroll-snapping to screen heights >= 950px to prevent trapping overflow content on smaller displays (e.g. typical 13-15" laptops) */
@media (min-width: 1024px) {
  @media (min-height: 950px) {
    html {
      scroll-snap-type: y mandatory;
      scroll-behavior: smooth;
    }

    /* Snapping targets */
    section.py-section, 
    section.hero-section {
      scroll-snap-align: start;
      scroll-snap-stop: always;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      box-sizing: border-box;
      padding: clamp(1.5rem, 4vh, 4rem) 0 !important; /* Dynamic padding based on viewport height */
    }

    footer.footer-section {
      scroll-snap-align: end;
      min-height: auto;
    }

    /* Dynamically scale the phone mockup based on viewport height to fit laptops */
    .phone-showcase-container {
      max-width: min(310px, 42vh) !important;
      margin: 0 auto;
    }

    /* Make the 7-branch grid compact and distribute in 4 columns to fit 2 rows max */
    .sucursales-grid-below {
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 1.2rem !important;
    }

    #sucursal-juarez {
      grid-column: span 2 !important;
    }

    [data-glow-card] {
      padding: 1.1rem !important;
      --radius: 20 !important;
    }

    .sucursal-card-header {
      margin-bottom: 0.6rem !important;
    }

    .sucursal-card-header h4 {
      font-size: 1rem !important;
    }

    .sucursal-card-header p {
      font-size: 0.72rem !important;
      line-height: 1.4 !important;
      margin-bottom: 0.4rem !important;
    }

    .sucursal-card-hours {
      font-size: 0.68rem !important;
    }

    .btn-card-wa, .btn-card-map {
      padding: 0.55rem 1rem !important;
      font-size: 0.65rem !important;
    }

    .btn-card-directions {
      font-size: 0.62rem !important;
    }
  }

  /* General shrink for titles and text cards on small viewport heights (like 13/14" laptops) */
  @media (max-height: 800px) {
    .section-title {
      font-size: 2.1rem !important;
      margin-bottom: 0.4rem !important;
    }
    .section-header {
      margin-bottom: 1.5rem !important;
    }
    .showcase-side-text {
      padding: 1.8rem !important;
      border-radius: 1.5rem !important;
    }
    .showcase-side-text h2 {
      font-size: 1.3rem !important;
    }
    .showcase-side-text p {
      font-size: 0.8rem !important;
      margin-bottom: 1rem !important;
    }
    .details-features {
      margin-bottom: 1.2rem !important;
      padding-top: 0.8rem !important;
      gap: 0.4rem !important;
    }
    .btn-details-wa {
      padding: 0.7rem 1.4rem !important;
    }
    .hero-title {
      font-size: 2.8rem !important;
    }
  }
}
