/* ==========================================================================
   ROCK ART - BIO-ARQUITECTURA Y PAISAJISMO
   Estilos CSS de Alta Gama basados en el Boceto Oficial (Versión Mejorada e Interactiva)
   ========================================================================== */

/* --- Variables de Diseño y Paleta de Colores --- */
:root {
  --bg-dark-deep: #070d08;
  --bg-dark-surface: #0e1710;
  --bg-dark-card: #132116;
  --bg-dark-hover: #1b2d1f;

  /* Fondo crema/pergamino para sección Servicios (según boceto) */
  --bg-cream: #ebe6de;
  --bg-cream-surface: #e4dfd6;
  --text-cream-title: #223522;
  --text-cream-body: #495a49;
  --cream-divider: #cfc8bd;

  /* Colores de Acento y Naturaleza Diversificada (Bio-Arquitectura) */
  --green-primary: #48bb78;
  --green-light: #68d391;
  --green-dark: #276749;
  --green-glow: rgba(72, 187, 120, 0.45);
  --gold-accent: #d4af37;
  --gold-light: #f3d47b;
  --gold-dark: #996515;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --stone-terracotta: #c86432;
  --stone-clay: #9c4118;
  --stone-glow: rgba(200, 100, 50, 0.35);
  --water-aqua: #0ea5e9;
  --water-cyan: #0284c7;
  --water-glow: rgba(14, 165, 233, 0.35);

  /* Textos */
  --text-white: #ffffff;
  --text-white-muted: #b8c7b8;
  --text-gray: #889988;

  /* Fuentes */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-quote: 'Playfair Display', serif;
  --font-signature: 'Alex Brush', cursive;

  /* Transiciones y Sombras */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(94, 166, 62, 0.3);
}

/* --- Reset y Estilos Globales --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-deep);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background-color: var(--bg-dark-deep);
  overflow-x: hidden;
  position: relative;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.section-container {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 85px 0;
}

/* Barra sutil superior */
.top-glow-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--green-primary), var(--gold-accent), transparent);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Badges decorativos de sección */
.section-badge-cream {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(74, 103, 71, 0.12);
  color: #375334;
  border: 1px solid rgba(74, 103, 71, 0.25);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-badge-green {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(94, 166, 62, 0.15);
  color: var(--green-light);
  border: 1px solid rgba(94, 166, 62, 0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-badge-gold {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(198, 162, 86, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(198, 162, 86, 0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 18px 0;
  transition: var(--transition-smooth);
  background: linear-gradient(180deg, rgba(7, 13, 8, 0.9) 0%, rgba(7, 13, 8, 0.3) 80%, transparent 100%);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 13, 8, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-image-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 0 16px rgba(198, 162, 86, 0.35);
  transition: var(--transition-smooth);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo:hover .logo-image-wrapper {
  transform: scale(1.06);
  border-color: var(--green-light);
  box-shadow: 0 0 22px var(--green-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: var(--gold-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.brand-subtitle::before, .brand-subtitle::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 1px;
  background-color: var(--gold-accent);
  opacity: 0.6;
}

/* Navigation Links (SIN BLOG) */
.main-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background-color: var(--gold-accent);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-light);
  text-shadow: 0 0 12px var(--gold-glow);
}

.nav-link.highlight-link {
  color: var(--gold-light);
  background: rgba(198, 162, 86, 0.12);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(198, 162, 86, 0.3);
}

.nav-link.highlight-link:hover {
  background: var(--gold-accent);
  color: #070d08;
}

/* Header Right: Ambient sound toggle & Social icons */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sound-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.sound-toggle-btn:hover {
  background: rgba(94, 166, 62, 0.25);
  border-color: var(--green-primary);
  color: #fff;
}

.sound-toggle-btn.playing {
  background: rgba(94, 166, 62, 0.35);
  border-color: var(--green-light);
  color: var(--green-light);
  box-shadow: 0 0 12px var(--green-glow);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--green-glow);
}

.social-icon.facebook-icon:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.social-icon.tiktok-icon:hover {
  background: #010101;
  border-color: #00f2fe;
  color: #ffffff;
  box-shadow: -2px 0 10px rgba(0, 242, 254, 0.55), 2px 0 10px rgba(254, 44, 85, 0.55);
}

.social-icon.whatsapp-icon:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 310px;
  height: 100vh;
  background: rgba(10, 18, 12, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1002;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-drawer {
  font-size: 2rem;
  color: #ffffff;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--green-light);
  transform: translateX(6px);
}

.mobile-socials {
  display: flex;
  gap: 15px;
}

.mobile-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-smooth);
}

.mobile-socials a.facebook-icon:hover {
  background: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.mobile-socials a.tiktok-icon:hover {
  background: #010101;
  box-shadow: -2px 0 10px rgba(0, 242, 254, 0.55), 2px 0 10px rgba(254, 44, 85, 0.55);
}

.mobile-socials a.whatsapp-icon:hover {
  background: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   HERO SECTION WITH CINEMATIC ATMOSPHERE
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 110px 0;
}

/* Hero Background Slider / Carrusel de Obras Reales */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1);
  transition: opacity 1.0s ease-in-out, transform 8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.07);
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/hero-slide-1.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 45%, rgba(6, 12, 7, 0.3) 0%, rgba(6, 12, 7, 0.55) 55%, rgba(6, 12, 7, 0.78) 100%);
  z-index: 2;
}

.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.55);
  z-index: 3;
  pointer-events: none;
}

.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow-line {
  width: 40px;
  height: 2px;
  background-color: var(--green-light);
}

.eyebrow-text {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 820px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.75);
}

.title-line {
  display: block;
}

.title-line.white {
  color: #ffffff;
}

.title-line.green {
  color: var(--green-primary);
  text-shadow: 0 0 40px rgba(94, 166, 62, 0.6);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 34px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* Botón CTA Verde con Hoja (Boceto) */
.btn-cta-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #4d8f33 0%, #366723 100%);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(54, 103, 35, 0.55);
  transition: var(--transition-smooth);
}

.btn-cta-green .btn-icon {
  display: flex;
  align-items: center;
  color: #a4f07a;
  transition: transform 0.3s ease;
}

.btn-cta-green:hover {
  background: linear-gradient(135deg, #5ea63e 0%, #437d2b 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(94, 166, 62, 0.65);
}

.btn-cta-green:hover .btn-icon {
  transform: rotate(15deg) scale(1.15);
}

/* Botón Dorado Simulador */
.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c6a256 0%, #9e7d36 100%);
  color: #0c150e;
  padding: 15px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 25px rgba(198, 162, 86, 0.4);
  transition: var(--transition-smooth);
}

.btn-cta-gold:hover {
  background: linear-gradient(135deg, #dfbc71 0%, #b89345 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(198, 162, 86, 0.6);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.btn-cta-outline:hover {
  border-color: var(--green-light);
  color: var(--green-light);
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}

/* Trust Badges en Hero */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.trust-badge i {
  color: var(--gold-accent);
  font-size: 0.95rem;
}

.hero-bottom-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(to top, #09120a, transparent);
  z-index: 6;
}

/* Controles elegantes del carrusel de obras */
.hero-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 18, 12, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(82, 196, 26, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(82, 196, 26, 0.15);
  margin-top: 25px;
  position: relative;
  z-index: 10;
}

.hero-carousel-arrow {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-carousel-arrow:hover {
  color: #52c41a;
  background: rgba(82, 196, 26, 0.2);
  transform: scale(1.12);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.35s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-dot .dot-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot .dot-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.hero-dot.active {
  background: rgba(82, 196, 26, 0.18);
  border: 1px solid rgba(82, 196, 26, 0.4);
}

.hero-dot.active .dot-indicator {
  width: 22px;
  border-radius: 6px;
  background: #52c41a;
  box-shadow: 0 0 12px rgba(82, 196, 26, 0.9);
}

.hero-dot.active .dot-label {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero-carousel-controls {
    margin-top: 20px;
    padding: 6px 14px;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  .hero-dot .dot-label {
    display: none;
  }
  .hero-dot {
    padding: 6px 8px;
  }
  .hero-dot.active .dot-indicator {
    width: 18px;
  }
}

/* ==========================================================================
   SECCIÓN: NUESTROS SERVICIOS (Fondo Crema / Textura de Piedra)
   ========================================================================== */
.services-section {
  background-color: var(--bg-cream);
  color: var(--text-cream-title);
  position: relative;
  padding: 80px 0 90px 0;
  box-shadow: inset 0 10px 25px rgba(0, 0, 0, 0.06);
}

.section-header {
  margin-bottom: 50px;
}

.section-header.center {
  text-align: center;
}

/* Badges de Sección */
.section-badge-cream,
.section-badge-green,
.section-badge-gold {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.section-badge-cream {
  background: rgba(184, 134, 11, 0.12);
  color: #7d5a00;
  border: 1px solid rgba(184, 134, 11, 0.35);
  box-shadow: none;
}

.section-badge-green {
  background: rgba(72, 187, 120, 0.15);
  color: #48bb78;
  border: 1px solid rgba(72, 187, 120, 0.35);
}

.section-badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: #f3d47b;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.section-title-cream {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-cream-title);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Adorno de hoja en cabeceras */
.leaf-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.ornament-line {
  width: 60px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #8a7a58, transparent);
}

.ornament-leaf {
  color: #b8860b;
  font-size: 0.95rem;
}

/* Grid de Servicios */
.services-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.service-card {
  flex: 1;
  text-align: center;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.service-icon-box {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition-smooth);
}

.service-svg {
  width: 52px;
  height: 52px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  transform: scale(1.12) rotate(3deg);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #1e2a1d;
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-cream-body);
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 250px;
}

.card-feature-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 15px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
}

.card-leaf-ornament {
  font-size: 0.85rem;
  margin-top: auto;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.service-card:hover .card-leaf-ornament {
  transform: scale(1.25);
  opacity: 1;
}

/* =======================================================
   ESTILOS DIVERSIFICADOS POR SERVICIO (NO MONÓTONO VERDE)
   ======================================================= */
/* 1. Naturaleza & Bio-Piscinas (Esmeralda Bosque) */
.service-card.service-nature {
  border-top: 3px solid #2e7d32;
}
.service-card.service-nature .service-icon-box {
  color: #2e7d32;
}
.service-card.service-nature .card-feature-pill {
  color: #1b5e20;
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid rgba(46, 125, 50, 0.28);
}
.service-card.service-nature .card-leaf-ornament {
  color: #2e7d32;
}
.service-card.service-nature:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 36px rgba(46, 125, 50, 0.18);
  border-color: rgba(46, 125, 50, 0.4);
}

/* 2. Diseño Arquitectónico & 3D (Oro Cálido / Ámbar) */
.service-card.service-design {
  border-top: 3px solid #b8860b;
}
.service-card.service-design .service-icon-box {
  color: #b8860b;
}
.service-card.service-design .card-feature-pill {
  color: #7d5a00;
  background: rgba(184, 134, 11, 0.13);
  border: 1px solid rgba(184, 134, 11, 0.3);
}
.service-card.service-design .card-leaf-ornament {
  color: #b8860b;
}
.service-card.service-design:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 36px rgba(184, 134, 11, 0.2);
  border-color: rgba(184, 134, 11, 0.45);
}

/* 3. Tematizaciones & Escultura (Terracota / Piedra Esculpida) */
.service-card.service-theming {
  border-top: 3px solid #c85a27;
}
.service-card.service-theming .service-icon-box {
  color: #c85a27;
}
.service-card.service-theming .card-feature-pill {
  color: #8c3810;
  background: rgba(200, 90, 39, 0.12);
  border: 1px solid rgba(200, 90, 39, 0.28);
}
.service-card.service-theming .card-leaf-ornament {
  color: #c85a27;
}
.service-card.service-theming:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 36px rgba(200, 90, 39, 0.18);
  border-color: rgba(200, 90, 39, 0.4);
}

/* 4. Experiencia Sensorial (Azul Turquesa / Agua Cristalina) */
.service-card.service-experience {
  border-top: 3px solid #0284c7;
}
.service-card.service-experience .service-icon-box {
  color: #0284c7;
}
.service-card.service-experience .card-feature-pill {
  color: #0369a1;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.28);
}
.service-card.service-experience .card-leaf-ornament {
  color: #0284c7;
}
.service-card.service-experience:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.2);
  border-color: rgba(2, 132, 199, 0.4);
}

/* Divisores verticales sutiles entre servicios */
.service-divider-vertical {
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--cream-divider) 25%, var(--cream-divider) 75%, transparent 100%);
}

/* ==========================================================================
   SECCIÓN NUEVA: TRANSFORMACIÓN ANTES Y DESPUÉS (SLIDER INTERACTIVO)
   ========================================================================== */
.transformation-section {
  background-color: #0a130b;
  background: radial-gradient(circle at 50% 30%, #152417 0%, #080f0a 100%);
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.before-after-container {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 520px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(198, 162, 86, 0.35);
  user-select: none;
  cursor: ew-resize;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-resize {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.ba-resize .ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 980px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  top: 20px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.ba-label-before {
  left: 20px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-label-after {
  right: 20px;
  background: rgba(94, 166, 62, 0.85);
  color: #ffffff;
  box-shadow: 0 0 15px var(--green-glow);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 100%;
  margin-left: -22px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ba-handle-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #0c150e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--gold-accent);
  transition: transform 0.2s ease;
}

.before-after-container:hover .ba-handle-circle {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--gold-glow);
}

.ba-hint {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-white-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ba-hint i {
  color: var(--gold-accent);
  animation: bounceX 1.5s infinite;
}

@keyframes bounceX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ==========================================================================
   SECCIÓN: PROYECTOS DESTACADOS (Fondo Oscuro según Boceto)
   ========================================================================== */
.projects-section {
  background-color: #09110a;
  background: radial-gradient(ellipse at 50% 10%, #132415 0%, #080f09 80%);
  padding: 90px 0 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  flex-wrap: wrap;
  gap: 20px;
}

.projects-title-box {
  display: flex;
  flex-direction: column;
}

.section-title-dark {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #c9d8c5;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.leaf-ornament-dark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ornament-line-dark {
  width: 45px;
  height: 1px;
  background-color: rgba(144, 187, 137, 0.4);
}

.ornament-leaf-dark {
  color: var(--green-primary);
  font-size: 0.85rem;
}

/* Botón "VER TODOS LOS PROYECTOS >" */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
}

.btn-view-all:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 4px 20px var(--green-glow);
}

.btn-view-all i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.btn-view-all:hover i {
  transform: translateX(4px);
}

/* Grid de 4 Proyectos */
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.project-card {
  background: #0d170f;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(94, 166, 62, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(94, 166, 62, 0.25);
}

.project-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 18, 12, 0.85);
  color: var(--gold-light);
  border: 1px solid rgba(198, 162, 86, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 5;
  backdrop-filter: blur(5px);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #070d08;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-img {
  transform: scale(1.09);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 13, 8, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-zoom-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(94, 166, 62, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transform: scale(0.8);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.project-card:hover .project-zoom-btn {
  transform: scale(1);
}

.project-info-bar {
  padding: 16px 18px;
  background-color: #0d170f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.project-location {
  font-size: 0.78rem;
  color: var(--text-white-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-location i {
  color: var(--green-primary);
  font-size: 0.72rem;
}

/* ==========================================================================
   SECCIÓN: GALERÍA EXTENDIDA
   ========================================================================== */
.gallery-section {
  background-color: #070d08;
  padding: 95px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-lead {
  font-size: 0.95rem;
  color: var(--text-white-muted);
  max-width: 650px;
  margin: 10px auto 35px auto;
  font-weight: 300;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.filter-btn.active {
  color: #ffffff;
  background: var(--green-primary);
  border-color: var(--green-primary);
  box-shadow: 0 4px 18px var(--green-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 11;
  background-color: #0d170f;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-video-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-play-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 22, 14, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #52c41a;
  border: 1px solid rgba(82, 196, 26, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: all 0.3s ease;
}

.video-play-badge i {
  font-size: 0.68rem;
  color: #ffffff;
}

.gallery-item:hover .video-play-badge {
  background: var(--green-primary);
  color: #ffffff;
  border-color: #52c41a;
  box-shadow: 0 0 15px rgba(82, 196, 26, 0.7);
}

.gallery-item:hover img,
.gallery-item:hover .gallery-video-preview video {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 13, 8, 0.1) 0%, rgba(7, 13, 8, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--green-primary);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.gallery-item-overlay h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.gallery-item-overlay p {
  font-size: 0.8rem;
  color: var(--text-white-muted);
}

/* ==========================================================================
   SECCIÓN NUEVA: SIMULADOR DE PROYECTO EN 3 PASOS
   ========================================================================== */
.simulator-section {
  background-color: #0b150d;
  background: radial-gradient(circle at 50% 50%, #152618 0%, #070d08 90%);
  padding: 95px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.simulator-card {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(18, 30, 20, 0.7);
  border: 1px solid rgba(198, 162, 86, 0.35);
  border-radius: 20px;
  padding: 45px;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sim-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-accent);
  color: #070d08;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.sim-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sim-opt-btn {
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.sim-opt-btn i {
  font-size: 1.6rem;
  color: var(--green-primary);
  transition: transform 0.3s ease;
}

.sim-opt-btn .opt-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.sim-opt-btn .opt-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.sim-opt-btn .opt-desc {
  font-size: 0.72rem;
  color: var(--text-white-muted);
}

.sim-opt-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(94, 166, 62, 0.5);
  transform: translateY(-4px);
}

.sim-opt-btn.active {
  background: rgba(94, 166, 62, 0.18);
  border-color: var(--green-primary);
  box-shadow: 0 0 20px var(--green-glow);
}

.sim-opt-btn.active i {
  color: var(--green-light);
  transform: scale(1.15);
}

.sim-inputs-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.sim-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sim-field select {
  background: rgba(7, 13, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.sim-field select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 15px var(--green-glow);
}

.sim-checkboxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sim-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-smooth);
}

.sim-check-label:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sim-check-label input {
  accent-color: var(--green-primary);
  width: 18px;
  height: 18px;
}

.sim-result-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 13, 8, 0.9);
  border: 1.5px solid var(--gold-accent);
  border-radius: 14px;
  padding: 24px 30px;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 20px;
}

.result-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-tag {
  font-size: 0.7rem;
  color: var(--gold-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#result-summary-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
}

#result-summary-details {
  font-size: 0.82rem;
  color: var(--text-white-muted);
}

.btn-send-sim-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  background: linear-gradient(135deg, #25d366 0%, #1a9e4b 100%);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.btn-send-sim-whatsapp:hover {
  background: linear-gradient(135deg, #2fe06f 0%, #20b857 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.btn-send-sim-whatsapp i {
  font-size: 1.3rem;
}

/* ==========================================================================
   SECCIÓN NUEVA: TESTIMONIOS Y CONFIANZA
   ========================================================================== */
.testimonials-section {
  background-color: #070d08;
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: rgba(17, 28, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 166, 62, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.testi-stars {
  color: var(--gold-accent);
  font-size: 0.9rem;
  display: flex;
  gap: 4px;
}

.testi-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(94, 166, 62, 0.2);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-white-muted);
}

/* ==========================================================================
   SECCIÓN: SOBRE ROCK ART (Con Composición del Boceto)
   ========================================================================== */
.about-section {
  position: relative;
  background-color: #09120a;
  background: radial-gradient(ellipse at 50% 10%, #112114 0%, #080f0a 100%);
  padding: 100px 0 115px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-bottom-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: linear-gradient(to top, var(--bg-cream), transparent);
  z-index: 6;
  pointer-events: none;
}

.about-container {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr;
  gap: 40px;
  align-items: center;
}

/* Columna Izquierda: Imagen Panorámica */
.about-image-column {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(198, 162, 86, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.about-panorama-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-frame:hover .about-panorama-img {
  transform: scale(1.04);
}

.about-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 13, 8, 0.95) 100%);
  font-size: 0.72rem;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: 0.05em;
}

/* Columna Centro: Textos */
.about-content-column {
  display: flex;
  flex-direction: column;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
}

.about-title .highlight-green {
  color: var(--green-primary);
}

.about-leaf-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 20px 0;
  color: var(--green-primary);
}

.about-leaf-divider .line {
  width: 40px;
  height: 1px;
  background-color: rgba(94, 166, 62, 0.4);
}

.about-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}

.about-text-secondary {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-white-muted);
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-white-muted);
  letter-spacing: 0.05em;
}

/* Columna Derecha: Emblema, Cita y Firma */
.about-quote-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-emblem {
  width: 100px;
  height: 100px;
  margin-bottom: 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 0 20px rgba(198, 162, 86, 0.4);
  transition: var(--transition-smooth);
}

.about-emblem:hover {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--green-light);
  box-shadow: 0 0 25px var(--green-glow);
}

.about-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-blockquote {
  font-family: var(--font-quote);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: #e2ecd9;
  margin-bottom: 18px;
  position: relative;
}

.about-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signature-script {
  font-family: var(--font-signature);
  font-size: 2.8rem;
  color: var(--gold-accent);
  line-height: 1;
  text-shadow: 0 0 15px rgba(198, 162, 86, 0.3);
}

.signature-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-white-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   SECCIÓN: COTIZACIÓN Y CONTACTO
   ========================================================================== */
.contact-section {
  background-color: #070c08;
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 35px;
  margin-top: 40px;
}

.contact-form-card, .contact-details-card {
  background: rgba(18, 29, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.form-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-white-muted);
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(7, 13, 8, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 12px var(--green-glow);
  background: rgba(7, 13, 8, 0.9);
}

.form-group select option {
  background-color: #0e1710;
  color: #ffffff;
}

.btn-submit-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #25d366 0%, #1eaf53 100%);
  color: #ffffff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.btn-submit-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #2ae26d 0%, #22bd5a 100%);
}

.btn-submit-whatsapp i {
  font-size: 1.3rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Detalles de Contacto Derecho */
.contact-details-intro {
  font-size: 0.9rem;
  color: var(--text-white-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(94, 166, 62, 0.3);
  transform: translateX(4px);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.info-icon.email {
  background: rgba(198, 162, 86, 0.15);
  color: var(--gold-accent);
}

.info-icon.location {
  background: rgba(94, 166, 62, 0.15);
  color: var(--green-primary);
}

.info-icon.hours {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.72rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-val {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 600;
}

.social-share-box {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-share-title {
  font-size: 0.78rem;
  color: var(--text-white-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.social-share-icons {
  display: flex;
  gap: 12px;
}

.social-share-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.social-share-icons a:hover {
  background: var(--green-primary);
  transform: translateY(-3px);
}

.social-share-icons a.facebook-icon:hover {
  background: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.social-share-icons a.tiktok-icon:hover {
  background: #010101;
  box-shadow: -2px 0 10px rgba(0, 242, 254, 0.55), 2px 0 10px rgba(254, 44, 85, 0.55);
}

.social-share-icons a.whatsapp-icon:hover {
  background: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   FOOTER STRIP (Boceto: Teléfono, Email, Ubicación)
   ========================================================================== */
.site-footer {
  background-color: #050805;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact-strip {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.strip-container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}

.strip-item:hover {
  color: var(--green-light);
}

.strip-icon {
  color: var(--green-primary);
  font-size: 1rem;
}

.strip-dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-bottom {
  padding: 20px 0;
  font-size: 0.78rem;
  color: var(--text-gray);
  text-align: center;
}

.footer-bottom-container {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.legal-link-btn {
  font-size: 0.76rem;
  color: var(--text-white-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.legal-link-btn:hover {
  color: var(--green-light);
  opacity: 1;
}

.footer-designer {
  color: rgba(255, 255, 255, 0.4);
}

/* Modal de Privacidad y Términos */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.privacy-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.privacy-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 6, 0.95);
  backdrop-filter: blur(14px);
}

.privacy-content {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
  background: #0e1710;
  border-radius: 16px;
  overflow-y: auto;
  border: 1px solid rgba(198, 162, 86, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  padding: 30px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.privacy-modal.active .privacy-content {
  transform: scale(1);
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.privacy-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-accent);
}

.privacy-title-box i {
  font-size: 1.3rem;
}

.privacy-title-box h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
}

.privacy-close {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.privacy-body h4 {
  font-size: 0.95rem;
  color: var(--green-light);
  margin-top: 6px;
}

.privacy-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
}

.btn-privacy-accept {
  padding: 10px 24px;
  background: var(--green-primary);
  color: #fff;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 4px 15px var(--green-glow);
}

.btn-privacy-accept:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 6, 0.94);
  backdrop-filter: blur(15px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 920px;
  background: #0d170f;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 18px;
  z-index: 20;
  font-size: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--green-primary);
  transform: rotate(90deg);
}

.lightbox-media {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: #000;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.lightbox-details {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
}

.lightbox-location {
  font-size: 0.85rem;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

#lightbox-desc {
  font-size: 0.92rem;
  color: var(--text-white-muted);
  line-height: 1.6;
}

.lightbox-action {
  margin-top: 10px;
}

.btn-lightbox-quote {
  display: inline-block;
  padding: 10px 24px;
  background: var(--green-primary);
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.btn-lightbox-quote:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--green-glow);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON WITH BUBBLE
   ========================================================================== */
.floating-whatsapp-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.floating-bubble {
  position: relative;
  background: #ffffff;
  color: #1a2a1c;
  padding: 12px 28px 12px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 280px;
  animation: floatSubtle 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Flecha decorativa del globo apuntando hacia el botón de WhatsApp a la derecha */
.floating-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid #ffffff;
}

.bubble-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bubble-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #128c7e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #25d366;
  animation: blinkStatus 2s infinite ease-in-out;
}

@keyframes blinkStatus {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.bubble-text {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #223324;
  font-weight: 600;
  margin: 0;
}

.bubble-close-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  background: transparent;
  border: none;
  font-size: 1.15rem;
  color: #889988;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  transition: color 0.2s ease;
}

.bubble-close-btn:hover {
  color: #222222;
}

.floating-whatsapp {
  position: relative;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: pulseWhatsAppRing 2.2s infinite ease-out;
}

@keyframes pulseWhatsAppRing {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1.45); opacity: 0; }
}

.floating-badge-online {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 3px solid #25d366;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.7);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN COMPLETO (Tablets, Pantallas Medianas y Smartphones)
   ========================================================================== */

/* --- Tablets Grandes y Laptops Pequeñas (<= 1200px) --- */
@media (max-width: 1200px) {
  .nav-list {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }
}

/* --- Tablets Grandes y Pantallas Medianas (<= 1024px) --- */
@media (max-width: 1024px) {
  .section-container {
    padding: 70px 0;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .social-links {
    display: none; /* Ocultar en barra superior para no saturar; disponible en menú móvil y footer */
  }

  .featured-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-img-frame {
    max-width: 580px;
    margin: 0 auto;
  }

  .sim-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Tablets en Retrato (<= 900px) --- */
@media (max-width: 900px) {

  .services-grid {
    flex-direction: column;
    gap: 20px;
  }

  .service-card {
    padding: 22px 18px;
  }

  .service-divider-vertical {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cream-divider) 25%, var(--cream-divider) 75%, transparent 100%);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sim-inputs-row {
    grid-template-columns: 1fr;
  }

  .sim-checkboxes-grid {
    grid-template-columns: 1fr;
  }

  .before-after-container {
    height: 380px;
  }

  .floating-bubble {
    display: none !important;
  }
}

/* --- Smartphones y Pantallas Móviles (<= 640px) --- */
@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .section-container {
    width: 90%;
    padding: 55px 0;
  }

  /* Header móvil compacto */
  .site-header {
    padding: 12px 0;
  }

  .logo-image-wrapper {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
  }

  .sound-label {
    display: none; /* Ocultar texto 'Ambiente' para que no ocupe espacio horizontal */
  }

  .sound-toggle-btn {
    padding: 6px 9px;
  }

  /* Hero Adaptado a Móviles */
  .hero-section {
    padding: 105px 0 65px 0;
    min-height: 85vh;
  }

  .hero-eyebrow {
    gap: 6px;
    justify-content: center;
    margin-bottom: 14px;
  }

  .eyebrow-line {
    width: 14px;
    flex-shrink: 0;
  }

  .eyebrow-text {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-align: center;
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(1.6rem, 8vw, 2.35rem);
    line-height: 1.12;
    margin-bottom: 16px;
    word-break: break-word;
    letter-spacing: -0.01em;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 30px;
  }

  .btn-cta-green, .btn-cta-gold, .btn-cta-outline {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.84rem;
  }

  .hero-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    width: 100%;
    padding-top: 14px;
  }

  .trust-badge {
    font-size: 0.7rem;
    gap: 6px;
    line-height: 1.25;
    align-items: center;
  }

  .trust-badge span {
    word-break: break-word;
  }

  .trust-badge i {
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  /* Badges y Cabeceras de Sección en Móvil */
  .section-badge-cream,
  .section-badge-green,
  .section-badge-gold {
    font-size: 0.65rem !important;
    letter-spacing: 0.08em !important;
    padding: 4px 12px !important;
    white-space: normal;
    text-align: center;
    display: inline-block;
    margin-bottom: 8px;
  }

  .section-title-dark,
  .section-title-cream,
  .about-title {
    font-size: clamp(1.22rem, 5.2vw, 1.52rem) !important;
    letter-spacing: 0.04em !important;
    line-height: 1.26 !important;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
    margin-bottom: 8px;
  }

  .section-lead {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 6px auto 22px auto;
    padding: 0 4px;
  }

  /* Servicios Móvil */
  .services-section {
    padding: 55px 0 65px 0;
  }

  .services-grid {
    flex-direction: column;
    gap: 14px;
  }

  .service-card {
    padding: 18px 14px;
  }

  .service-icon-box {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
  }

  .service-svg {
    width: 40px;
    height: 40px;
  }

  .service-title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .service-description {
    font-size: 0.82rem;
    line-height: 1.48;
    max-width: 100%;
    margin-bottom: 12px;
  }

  /* Comparador Antes y Después en Móvil */
  .transformation-section {
    padding: 55px 0;
  }

  .before-after-container {
    height: 250px;
    border-radius: 12px;
  }

  .ba-label {
    top: 8px;
    padding: 3px 9px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .ba-label-before { left: 8px; }
  .ba-label-after { right: 8px; }

  .ba-handle {
    width: 34px;
    margin-left: -17px;
  }

  .ba-handle-circle {
    width: 34px;
    height: 34px;
    font-size: 0.65rem;
  }

  .ba-hint {
    font-size: 0.74rem;
    line-height: 1.35;
    padding: 0 6px;
  }

  /* Proyectos Destacados en Móvil */
  .projects-section {
    padding: 55px 0 65px 0;
  }

  .projects-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 22px;
  }

  .projects-title-box {
    align-items: center;
  }

  .btn-view-all {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.76rem;
  }

  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-info-bar {
    padding: 14px 16px;
  }

  /* Galería en Móvil */
  .gallery-section {
    padding: 55px 0;
  }

  .filter-tabs {
    gap: 6px;
    margin-bottom: 22px;
    justify-content: center;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item-overlay {
    padding: 16px;
  }

  .gallery-item-overlay h4 {
    font-size: 0.94rem;
  }

  /* Simulador en Móvil */
  .simulator-section {
    padding: 55px 0;
  }

  .simulator-card {
    padding: 20px 14px;
    border-radius: 14px;
    gap: 20px;
  }

  .sim-step-title {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .sim-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sim-opt-btn {
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 12px;
  }

  .sim-opt-btn .opt-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
    flex: 1;
  }

  .sim-opt-btn i {
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .sim-opt-btn .opt-name {
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .sim-opt-btn .opt-desc {
    font-size: 0.71rem;
    line-height: 1.3;
  }

  /* Inputs con 16px font para evitar zoom forzado de iOS Safari */
  .sim-field select, .form-group input, .form-group select, .form-group textarea {
    font-size: 16px !important;
    padding: 10px 14px;
  }

  .sim-check-label {
    font-size: 0.74rem;
    line-height: 1.3;
    padding: 10px 12px;
  }

  .sim-result-box {
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
    gap: 14px;
  }

  #result-summary-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  #result-summary-details {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .btn-send-sim-whatsapp {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 12px 16px;
    text-align: center;
  }

  /* Testimonios en Móvil */
  .testimonials-section {
    padding: 55px 0;
  }

  .testimonial-card {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .testi-text {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .author-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .author-info h4 {
    font-size: 0.86rem;
  }

  .author-info span {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  /* Sobre Nosotros en Móvil */
  .about-section {
    padding: 55px 0;
  }

  .about-panorama-img {
    height: 200px;
  }

  .about-text {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .about-text-secondary {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .about-stats {
    gap: 8px;
    justify-content: space-between;
    width: 100%;
  }

  .stat-item {
    flex: 1;
    text-align: center;
    align-items: center;
    padding: 0 4px;
  }

  .stat-number {
    font-size: 1.35rem;
    line-height: 1.1;
  }

  .stat-label {
    font-size: 0.65rem;
    line-height: 1.25;
    text-align: center;
  }

  .about-quote-column {
    padding: 20px 14px;
  }

  .about-emblem {
    width: 75px;
    height: 75px;
    margin-bottom: 12px;
  }

  .about-blockquote {
    font-size: 0.94rem;
    line-height: 1.5;
    padding: 0 8px;
  }

  .signature-script {
    font-size: 2.1rem;
  }

  /* Contacto en Móvil */
  .contact-section {
    padding: 55px 0;
  }

  .contact-form-card, .contact-details-card {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .form-card-title {
    font-size: 1.15rem;
    margin-bottom: 16px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .btn-submit-whatsapp {
    padding: 13px;
    font-size: 0.86rem;
    justify-content: center;
  }

  .contact-info-list {
    gap: 10px;
  }

  .contact-info-item {
    padding: 10px 12px;
    gap: 12px;
  }

  .info-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .info-val {
    font-size: 0.82rem;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  /* Footer Strip en Móvil */
  .footer-contact-strip {
    padding: 18px 0;
  }

  .strip-container {
    flex-direction: column;
    gap: 10px;
  }

  .strip-item {
    font-size: 0.8rem;
    word-break: break-word;
    text-align: center;
    justify-content: center;
  }

  .strip-dot {
    display: none;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Lightbox Modal en Móvil */
  .lightbox-content {
    width: 94%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
  }

  .lightbox-close {
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 1.5rem;
  }

  .lightbox-media {
    max-height: 250px;
  }

  .lightbox-media img {
    max-height: 250px;
  }

  .lightbox-details {
    padding: 14px 16px;
    gap: 8px;
  }

  #lightbox-title {
    font-size: 1.1rem;
  }

  #lightbox-desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* Botón Flotante WhatsApp en Móvil */
  .floating-whatsapp-container {
    bottom: 18px;
    right: 18px;
  }

  .floating-bubble {
    display: none !important;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    min-width: 54px;
    font-size: 1.75rem;
  }
}

/* --- Teléfonos Extra Pequeños (<= 375px: iPhone SE, Galaxy mini) --- */
@media (max-width: 375px) {
  .brand-title {
    font-size: 1.08rem;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .section-title-dark,
  .section-title-cream,
  .about-title {
    font-size: 1.18rem !important;
    letter-spacing: 0.03em !important;
  }

  .hero-trust-badges {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    padding: 5px 10px;
    font-size: 0.68rem;
  }

  .before-after-container {
    height: 210px;
  }
}


