/*
Theme Name: Daniel Castro SPA - Banquetería & Eventos
Theme URI: https://serviciosdanielcastro.cl/
Author: Antigravity
Author URI: https://serviciosdanielcastro.cl/
Description: Tema exclusivo a medida para Daniel Castro SPA. Réplica fiel, responsiva y de alta gama inspirada en Nicole Laurence.
Version: 1.0.0
Text Domain: danielcastro
*/

@font-face {
  font-family: 'IsidoraSans';
  src: url('assets/fonts/IsidoraSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Isidora Sans';
  src: url('assets/fonts/IsidoraSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: 'IsidoraSans', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'IsidoraSans', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bg-color: #000000;
  --bg-warm: #e9e9e4;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --accent-color: #193d2c;
  --accent-gold: #c5a059;
  --border-light: rgba(255, 255, 255, 0.15);
  --border-dark: rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  background-color: #000;
}

body {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.5;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================
   1. HERO ACCORDION EXPAND DESKTOP & MOBILE (Exact Nicole Laurence)
   ========================================================== */
.banner-wrapper { 
  position: relative; 
  width: 100%; 
  background: #000; 
  overflow: hidden;
}

/* --- AJUSTES DESKTOP --- */
@media screen and (min-width: 1025px) {
  .banner-wrapper { 
    height: 100vh; 
    min-height: 750px;
  }
  
  .banner-mobile-only { display: none !important; }
  
  .banner-desktop-grid {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 3px; 
    background: #000;
  }

  .grid-item {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: block;
  }

  /* EFECTO ACORDEÓN AL PASAR EL MOUSE */
  .grid-item:hover { 
    flex: 1.8 !important; 
    cursor: pointer; 
  }

  .grid-item img, .grid-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.70) grayscale(10%);
    transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  }

  .grid-item:hover img, .grid-item:hover .grid-video {
    transform: scale(1.02);
    filter: brightness(0.95) grayscale(0%);
  }

  .caption {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'IsidoraSans', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    z-index: 15;
    white-space: nowrap;
    transition: all 0.5s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  }

  .grid-item:hover .caption {
    letter-spacing: 7px;
    font-weight: bold;
    color: #fff;
  }

  .grid-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 10;
  }

  .banner-overlay-desktop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 250px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
    z-index: 20;
    pointer-events: none;
  }
}

/* --- AJUSTES MÓVIL / IPAD --- */
@media screen and (max-width: 1024px) {
  .banner-wrapper { height: 100vh; }
  .banner-desktop-grid { display: none !important; }
  .banner-mobile-only { display: block; width: 100%; height: 100%; position: relative; }
  .banner-mobile-only video { width: 100%; height: 100%; object-fit: cover; }
  
  .mobile-logo-center {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    z-index: 25;
    text-align: center;
  }
  .mobile-logo-center img {
    width: 100%;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.8));
  }
  
  .mobile-tags-container { 
    position: absolute; 
    bottom: 90px; 
    width: 100%; 
    text-align: center; 
    z-index: 20; 
  }
  .text-tags { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 12px; 
    color: #fff; 
    text-transform: uppercase; 
    font-size: 1.1rem; 
    letter-spacing: 2.5px;
    font-family: 'IsidoraSans', sans-serif;
  }
  .text-tags .sep {
    color: rgba(255,255,255,0.4);
  }
  .banner-overlay-mobile {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%);
  }
}

/* ==========================================================
   2. MINIMAL INTRO (BANQUETERÍA & EXPERIENCIAS)
   ========================================================== */
.minimal-intro {
  background-color: var(--bg-warm);
  color: var(--text-dark);
  padding: 100px 40px;
}

.intro-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-col.intro-center {
  text-align: center;
}

.intro-tagline {
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 15px;
  display: block;
}

.intro-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: #1a1a1a;
  font-weight: 400;
}

.intro-desc {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
  font-weight: 300;
}

.intro-cta {
  display: inline-block;
  padding: 14px 38px;
  border: 1px solid #1a1a1a;
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1a1a1a;
  transition: all 0.4s ease;
}

.intro-cta:hover {
  background: #1a1a1a;
  color: #fff;
}

.intro-side-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
}

.mobile-carousel-wrapper {
  display: none;
}

@media (max-width: 900px) {
  .minimal-intro {
    padding: 60px 20px 80px 20px;
  }
  .intro-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .intro-image-desktop {
    display: none;
  }
  .mobile-carousel-wrapper {
    display: block;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-only-photos-grid {
    display: flex;
    gap: 15px;
    width: max-content;
  }
  .mobile-only-photos-grid img {
    width: 240px;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
  }
}

/* ==========================================================
   3. REELS / EXPERIENCIAS MEMORABLES (VIDEO TRACK)
   ========================================================== */
.section-reels {
  background: #000;
  color: #fff;
  padding: 100px 0;
  position: relative;
}

.reels-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.reels-header .reels-logo {
  max-width: 160px;
  margin: 0 auto 25px auto;
}

.reels-header h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 15px;
}

.reels-header p {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.video-carousel-track-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 20px 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.video-carousel-track-wrapper::-webkit-scrollbar {
  height: 4px;
}
.video-carousel-track-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.video-carousel-track {
  display: flex;
  gap: 25px;
  width: max-content;
  margin: 0 auto;
}

.reel-card {
  width: 290px;
  height: 515px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: center;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-card .reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.reel-card .reel-title {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

/* ==========================================================
   4. NOSOTROS / SERVICIOS (SPLIT ROWS)
   ========================================================== */
.split-sections {
  background: #fff;
  color: #1a1a1a;
  padding: 100px 40px;
}

.split-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split-row.reverse {
  direction: rtl;
}
.split-row.reverse > * {
  direction: ltr;
}

.split-image-wrap {
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 2px;
}

.split-image-wrap img,
.split-image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text-wrap {
  padding: 20px;
}

.split-tag {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
  display: block;
}

.split-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: #1a1a1a;
  font-weight: 400;
  line-height: 1.2;
}

.split-body {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  font-weight: 300;
}

.split-body ul {
  list-style: none;
  margin-top: 15px;
}

.split-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.split-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #999;
}

@media (max-width: 900px) {
  .split-sections {
    padding: 60px 20px;
  }
  .split-container {
    gap: 60px;
  }
  .split-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .split-row.reverse {
    direction: ltr;
  }
  .split-image-wrap {
    height: 380px;
  }
}

/* ==========================================================
   5. CONTROL DE PLAGAS Y DESRATIZACIÓN (TERCER PILAR)
   ========================================================== */
.pest-control-section {
  background: #111513;
  color: #fff;
  padding: 100px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pest-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.pest-tag {
  font-size: 1.2rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #7da58d;
  margin-bottom: 15px;
  display: inline-block;
}

.pest-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 25px;
  font-weight: 400;
}

.pest-desc {
  font-size: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  font-weight: 300;
}

.pest-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.pest-feat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 4px;
}

.pest-feat-item h4 {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.pest-feat-item p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.pest-image-wrap {
  width: 100%;
  height: 520px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.pest-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .pest-control-section { padding: 60px 20px; }
  .pest-container { grid-template-columns: 1fr; gap: 35px; }
  .pest-features { grid-template-columns: 1fr; }
  .pest-image-wrap { height: 350px; }
}

/* ==========================================================
   6. COTIZADOR INTERACTIVO MULTI-PASO (SOLICITAR PROPUESTA)
   ========================================================== */
.booking-section-wrapper {
  position: relative;
  background: #000;
  padding: 100px 20px;
  overflow: hidden;
}

.booking-bg-fixed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.booking-bg-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-container {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 45px;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.booking-header {
  text-align: center;
  margin-bottom: 40px;
}

.booking-progress-text {
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.booking-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
  position: relative;
}

.booking-progress-fill {
  height: 100%;
  background: #fff;
  width: 33.33%;
  transition: width 0.4s ease;
}

.booking-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
}

.form-step {
  display: none;
  animation: fadeInStep 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: inherit;
  font-size: 1.4rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

select.form-control option {
  background: #111;
  color: #fff;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 35px;
}

.btn-form {
  flex: 1;
  padding: 15px 25px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #dedede;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: #fff;
}

/* ==========================================================
   7. FOOTER & MOBILE STICKY BAR
   ========================================================== */
.site-footer {
  background: #000;
  color: #fff;
  padding: 80px 40px 100px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-logo {
  max-width: 200px;
  margin: 0 auto 30px auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-info {
  font-size: 1.3rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.footer-copy {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

/* Mobile Bottom Bar (exacta a Nicole Laurence) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 9999;
  padding: 0 20px;
}

.mobile-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.mobile-logo-img {
  height: 28px;
  width: auto;
}

.btn-cotizar-mobile {
  padding: 8px 20px;
  background: #fff;
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 30px;
  font-weight: 600;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .mobile-bottom-bar {
    display: block;
  }
}

/* Overlay Navigation Menu */
.full-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.97);
  z-index: 10000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.full-menu-overlay.active {
  display: flex;
}

.menu-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}

.overlay-nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.overlay-nav-links a {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity 0.3s;
}

.overlay-nav-links a:hover {
  opacity: 0.6;
}


/* ==========================================================
   EXACT NICOLE LAURENCE HEADER & NAVIGATION
   ========================================================== */

/* --- POPUP LOGO FLOTANTE EN MÓVIL (Aparece tras 2s y se oculta al scrollear) --- */
.logo-only-popup {
  position: fixed;
  top: 35px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

@media screen and (min-width: 1025px) {
  .logo-only-popup { display: none !important; }
}

.logo-only-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.logo-only-popup.hidden-scroll {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.popup-img-mobile {
  width: 65%;
  max-width: 240px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.8));
}

/* --- HEADER FLOTANTE EN DESKTOP (Idéntico a Nicole Laurence) --- */
@media screen and (min-width: 1025px) {
  .desktop-nav-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 30px 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 2000;
    transition: all 0.6s ease;
    opacity: 1;
  }
  .desktop-nav-wrapper.scrolled {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }

  .desktop-nav-col.left {
    justify-self: start;
  }

  .desktop-menu-list {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
  }

  .desktop-link {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    font-weight: 400;
    transition: opacity 0.3s ease;
  }
  .desktop-link:hover {
    opacity: 0.7;
  }

  .desktop-nav-col.center {
    justify-self: center;
  }
  .desktop-logo-img-xl {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.7));
  }

  .desktop-nav-col.right {
    justify-self: end;
  }

  .btn-cotizar-desktop {
    text-decoration: none;
    color: #000;
    background: #fff;
    padding: 16px 45px;
    border-radius: 100px;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
  }
  .btn-cotizar-desktop:hover {
    background: #e9e9e4;
    transform: translateY(-2px);
  }
}

/* --- BARRA FLOTANTE MÓVIL (Aparece al bajar 250px) --- */
@media screen and (max-width: 1024px) {
  .desktop-nav-wrapper { display: none !important; }

  .mobile-bottom-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 68px;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
  }
  .mobile-bottom-bar.is-visible {
    bottom: 0 !important;
  }

  .mobile-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .mobile-logo-img {
    height: 32px;
    width: auto;
  }

  .btn-cotizar-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 18px;
    border: 2px solid #193D2C;
    background: #193D2C;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .hamburger-icon {
    width: 25px;
    height: 18px;
    position: relative;
  }
  .hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    transition: .3s;
  }
  .hamburger-icon span:nth-child(1) { top: 0; }
  .hamburger-icon span:nth-child(2) { top: 8px; }
  .hamburger-icon span:nth-child(3) { top: 16px; }
  .active .hamburger-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .active .hamburger-icon span:nth-child(2) { opacity: 0; }
  .active .hamburger-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .full-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    overflow-y: auto;
  }
  .full-menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
  }
  .menu-list {
    list-style: none;
    text-align: center;
    padding: 40px 0;
    width: 100%;
  }
  .menu-link {
    display: block;
    font-size: 2.2rem;
    color: #000;
    text-decoration: none;
    margin-top: 18px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 3px;
  }
}


/* Botón flotante de WhatsApp */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

@media (max-width: 1024px) {
  .whatsapp-float-btn {
    bottom: 85px; /* Arriba de la barra de navegación móvil */
    right: 20px;
    width: 50px;
    height: 50px;
  }
}


/* ==========================================================
   SECCIÓN INSPÍRATE CON NOSOTROS (REDES SOCIALES)
   ========================================================== */
.nl-social-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #f7f7f5;
  color: #1a1a1a;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nl-social-title {
  font-family: var(--font-heading);
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #1a1a1a;
  text-transform: uppercase;
}

.nl-social-text {
  margin: 0 0 30px 0;
  font-size: 1.4rem;
  color: #666;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.nl-social-container {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.nl-social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.nl-social-link:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-3px);
}

.nl-social-footer-handle {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nl-social-footer-handle:hover {
  color: #000;
}

/* ==========================================================
   INNER PAGE HERO CON IMAGEN DE FONDO Y BLUR SUAVE
   ========================================================== */
.inner-page-hero {
  position: relative;
  padding: 210px 20px 130px 20px !important;
  background: #000;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.inner-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.85);
  opacity: 0.22;
  transform: scale(1.18);
  z-index: 1;
  pointer-events: none;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

/* ==========================================================
   FOOTER CON IMAGEN DIFUMINADA EN FONDO Y CAPA NEGRA
   ========================================================== */
.site-footer {
  position: relative;
  background: #000;
  color: #fff;
  padding: 100px 40px 110px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  overflow: hidden;
}

.footer-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2.5px) brightness(0.8);
  opacity: 0.16;
  transform: scale(1.22);
  z-index: 1;
  pointer-events: none;
}

.footer-content-inner {
  position: relative;
  z-index: 2;
}

.video-carousel-track {
  justify-content: center;
}
.booking-bg-fixed {
  opacity: 0.14 !important;
}
.booking-bg-fixed img {
  filter: blur(2px) !important;
  transform: scale(1.15);
}

/* ===== ROUND 7 ===== */
/* Fondos: foto grande, B&N, ~92% negro encima */
.inner-hero-bg, .footer-bg-blur, .page-bg-full {
  filter: grayscale(100%) blur(1px) !important;
  opacity: 0.09 !important;
  transform: scale(1.05) !important;
  background-size: cover !important;
  background-position: center !important;
}
.site-footer { background:#000 !important; }
.footer-credit { margin-top:18px; font-size:1.1rem; letter-spacing:.15em; color:rgba(255,255,255,.35); text-transform:uppercase; }
.footer-credit a { color:rgba(255,255,255,.6); text-decoration:none; }
.footer-credit a:hover { color:#fff; }

/* Retrato Daniel 4:5 sin cortar la cara */
.split-image-wrap.portrait-45 { height:auto !important; aspect-ratio:4/5; max-width:480px; margin:0 auto; }
.split-image-wrap.portrait-45 img { object-position: center top; }

/* Control de plagas en verde de marca */
.pest-control-section { background:#193d2c !important; border-color:rgba(255,255,255,.12) !important; }
.pest-control-section .pest-tag { color:rgba(255,255,255,.7) !important; }
.pest-control-section .pest-feat-item { background:rgba(255,255,255,.06) !important; border-color:rgba(255,255,255,.14) !important; }

/* Contacto: una sola foto para toda la página */
.page-contacto { position:relative; background:#000; overflow:hidden; }
.page-bg-full { position:absolute; inset:0; z-index:0; pointer-events:none; }
.page-contacto .inner-page-hero, .page-contacto .booking-section-wrapper { background:transparent !important; border:none !important; position:relative; z-index:1; }


/* ===== MOBILE MENU, CENTERED LOGO & SERVICIOS CAROUSEL FIXES ===== */
@media screen and (max-width: 1024px) {
  /* 1. Logo en móvil arriba (posición original como Nicole Laurence) */
  .logo-only-popup {
    top: 35px !important;
    transform: translateY(-20px) !important;
  }
  .logo-only-popup.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  .logo-only-popup.hidden-scroll {
    opacity: 0 !important;
    transform: translateY(-20px) !important;
  }
  .popup-img-mobile {
    width: 65% !important;
    max-width: 240px !important;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.8)) !important;
  }

  /* 2. Barra inferior móvil siempre visible y menú desplegable funcional */
  .mobile-bottom-bar {
    display: flex !important;
    bottom: 0 !important;
    height: 74px !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.18) !important;
    z-index: 10001 !important;
    padding: 0 18px !important;
  }
  .mobile-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
  .mobile-logo-link {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .mobile-logo-img {
    height: 48px !important;
    max-height: 52px !important;
    width: auto !important;
  }
  .btn-cotizar-mobile {
    border-radius: 0 !important;
    background: #193D2C !important;
    border: 2px solid #193D2C !important;
    color: #fff !important;
    height: 38px !important;
    padding: 0 18px !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
  }
  .hamburger-btn {
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hamburger-icon span {
    background: #000 !important;
    height: 2px !important;
  }

  /* Full Menu Overlay en Móvil */
  .full-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease !important;
    padding-bottom: 70px !important;
  }
  .full-menu-overlay.active,
  .full-menu-overlay.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .menu-close-btn {
    position: absolute !important;
    top: 22px !important;
    right: 25px !important;
    font-size: 3.6rem !important;
    color: #193D2C !important;
    background: none !important;
    border: none !important;
    line-height: 1 !important;
    z-index: 10002 !important;
  }
  .menu-list {
    list-style: none !important;
    text-align: center !important;
    padding: 10px 20px !important;
    width: 100% !important;
  }
  .menu-link {
    display: block !important;
    font-size: 2.1rem !important;
    color: #111 !important;
    margin: 18px 0 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
  }
}


/* ==========================================================
   MOBILE VIEWPORT & OVERFLOW LOCK FIX (PREVENT ZOON OUT & HORIZONTAL VOID)
   ========================================================== */
html {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
}

main,
.banner-wrapper,
.minimal-intro,
.section-reels,
.split-sections,
.pest-control-section,
.nl-social-section,
.site-footer,
.inner-page-hero,
.booking-section-wrapper {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* Permitir que los contenedores de scroll horizontal funcionen sin desbordar el viewport */
.video-carousel-track-wrapper,
.mobile-carousel-wrapper {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 1024px) {
  .banner-desktop-grid {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  
  .banner-mobile-only {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  
  .banner-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
}

/* ===== ROUND MOBILE POLISH (v1.1.0) ===== */
@media (max-width: 900px) {
  /* Intro: evita que el carrusel ensanche la columna */
  .intro-container { grid-template-columns: minmax(0, 1fr) !important; }
  .intro-col { min-width: 0; }
  .intro-col.intro-left-column, .intro-col.intro-right-column { display: none; }
  .intro-col.intro-center { padding: 0 6px; }
  .intro-tagline { font-size: 1.05rem; letter-spacing: 0.22em; }
  .intro-title { font-size: 2.1rem; letter-spacing: 0.08em; overflow-wrap: break-word; }
  .intro-title span { display: block; margin-top: 10px; font-size: 0.6em !important; letter-spacing: 0.06em !important; line-height: 1.5; }
  .intro-desc { font-size: 1.4rem; line-height: 1.75; }

  /* Carrusel fotos intro: autoplay infinito */
  .mobile-carousel-wrapper { margin-top: 45px; overflow: hidden !important; padding-bottom: 0; margin-left: -20px; margin-right: -20px; width: calc(100% + 40px) !important; max-width: none !important; }
  .mobile-only-photos-grid { width: max-content; animation: dcMarquee 28s linear infinite; }
  .mobile-only-photos-grid img { width: 200px; height: 270px; flex-shrink: 0; }

  /* Reels: carrusel infinito */
  .video-carousel-track-wrapper { padding: 10px 0 !important; overflow: hidden !important; scroll-snap-type: none !important; }
  .video-carousel-track { margin: 0 !important; justify-content: flex-start !important; gap: 16px !important; }
  .video-carousel-track.dc-loop { animation: dcMarquee 30s linear infinite; }
  .reel-card { width: 230px !important; height: 410px !important; flex-shrink: 0; }

  /* Footer */
  .site-footer { padding: 60px 24px 120px !important; }
  .footer-logo { max-width: 150px; margin-bottom: 30px; }
  .footer-nav { flex-direction: column; gap: 0; max-width: 260px; margin: 0 auto 30px; border-top: 1px solid rgba(255,255,255,.1); }
  .footer-nav a { display: block; padding: 13px 0; font-size: 1.1rem; letter-spacing: .25em; border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-info { font-size: 1.2rem; }
  .footer-info p { display: flex; flex-direction: column; gap: 4px; }
}
@keyframes dcMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media screen and (max-width: 1024px) {
  /* Barra inferior perfectamente centrada */
  .mobile-content { display: grid !important; grid-template-columns: 1fr auto 1fr !important; }
  .mobile-logo-link { justify-self: start; }
  .btn-cotizar-mobile { justify-self: center; display: inline-flex !important; align-items: center; }
  .hamburger-btn { justify-self: end; }

  /* Menú overlay más fino */
  .menu-overlay-logo img { max-width: 170px !important; margin-bottom: 20px !important; }
  .menu-link { font-size: 1.45rem !important; margin: 13px 0 !important; letter-spacing: .3em !important; }
  .menu-link[style] { font-size: 1.05rem !important; margin-top: 22px !important; letter-spacing: .15em !important; }
  .menu-close-btn { font-size: 3rem !important; }
}
