/* ==========================================================================
   PRODUCCIONES MEV - SISTEMA DE DISEÑO & ESTILOS APPLE-INSPIRED DARK THEME
   ========================================================================== */

/* --- Variables de Diseño y Colores --- */
:root {
  --bg-primary: #111311;
  --bg-secondary: #171a17;
  --bg-card: rgba(26, 30, 26, 0.75);
  --bg-card-solid: #1b201b;
  --bg-glass: rgba(22, 26, 22, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(114, 182, 38, 0.4);

  --accent-green: #72b626;
  --accent-light: #8ac926;
  --accent-dark: #5fa418;
  --accent-glow: rgba(114, 182, 38, 0.25);

  --text-primary: #ffffff;
  --text-secondary: #9ca59c;
  --text-muted: #6e776e;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(114, 182, 38, 0.2);
}

/* --- Reset & Configuración Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* --- Contenedor Principal --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --- Tipografía y Gradientes --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 60%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  overflow-wrap: break-word;
}

.section-header.text-center {
  text-align: center;
  margin-bottom: 48px;
}

/* --- Secciones Base --- */
.section {
  padding: 80px 0;
  position: relative;
}

.section.dark-bg {
  background-color: var(--bg-secondary);
}

/* --- Botones Estilo Apple --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(114, 182, 38, 0.4);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-green) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.icon-svg-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.icon-svg-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn:hover .icon-svg-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVBAR FLOTANTE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(17, 19, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-color);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-green);
  border-radius: 2px;
}

.btn-nav-accent {
  background: rgba(114, 182, 38, 0.15);
  color: var(--accent-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(114, 182, 38, 0.3);
}

.btn-nav-accent:hover {
  background: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) contrast(1.1);
  transform: scale(1.05);
  transition: transform 10s ease;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(17, 19, 17, 0.4) 0%, rgba(17, 19, 17, 0.95) 90%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(114, 182, 38, 0.12);
  border: 1px solid rgba(114, 182, 38, 0.3);
  border-radius: var(--radius-full);
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-title {
  font-size: clamp(1.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px auto;
  font-weight: 400;
  overflow-wrap: break-word;
}

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

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.stat-card {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-color);
}

/* ==========================================================================
   SECCIÓN REELS Y VIDEOS (AUDIOVISUAL)
   ========================================================================== */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.reel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.reel-card:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.reel-video-wrapper {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  background: #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.local-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

/* ==========================================================================
   SECCIÓN SOBRE NOSOTROS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-body {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  overflow-wrap: break-word;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(114, 182, 38, 0.15);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-size: 1rem;
  margin-bottom: 4px;
}

.value-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.glass-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.glass-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.glass-image-card:hover img {
  transform: scale(1.04);
}

.image-caption-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(17, 19, 17, 0.85);
  backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   SECCIÓN SERVICIOS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-green);
  opacity: 0.9;
}

.service-icon-bg {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(114, 182, 38, 0.12);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

.service-list li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.service-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.service-badge {
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
  overflow-wrap: break-word;
}

/* ==========================================================================
   SECCIÓN METODOLOGÍA
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pillar-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 28px 20px;
  position: relative;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--accent-green);
  background: rgba(28, 33, 28, 0.9);
}

.pillar-step {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(114, 182, 38, 0.25);
  display: block;
  margin-bottom: 8px;
}

.pillar-card:hover .pillar-step {
  color: var(--accent-green);
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  overflow-wrap: break-word;
}

/* ==========================================================================
   SECCIÓN GALERÍA DE PROYECTOS
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  transition: var(--transition-smooth);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-color);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(17, 19, 17, 0.95) 0%, rgba(17, 19, 17, 0.3) 60%, transparent 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.gallery-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.gallery-title {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.gallery-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECCIÓN CLIENTES
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-smooth);
}

.client-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-4px);
  background: rgba(30, 36, 30, 0.8);
}

.client-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(114, 182, 38, 0.12);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-name {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN CANALES DE CONTACTO & REDES SOCIALES
   ========================================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
}

.contact-channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.contact-channel-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  background: rgba(30, 36, 30, 0.85);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.whatsapp-bg {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.channel-icon.mail-bg {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.channel-icon.instagram-bg {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.channel-icon.facebook-bg {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.channel-info {
  min-width: 0;
  width: 100%;
  flex: 1;
}

.channel-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-green);
  display: block;
  margin-bottom: 4px;
}

.channel-value {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

.channel-action {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  display: inline-block;
  word-break: break-word;
}

.contact-channel-card:hover .channel-action {
  color: var(--accent-light);
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  background: #20ba5a;
}

/* Redes Sociales en Footer */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(214, 36, 159, 0.4);
}

/* ==========================================================================
   SECCIÓN FORMULARIO DE COTIZACIÓN
   ========================================================================== */
.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.quote-info-col, .quote-form-col {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.quote-title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.quote-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-card h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.highlight-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  overflow-wrap: break-word;
  word-break: break-word;
}

.glass-form {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
  overflow-wrap: break-word;
}

.form-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(17, 19, 17, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Estilos Específicos para Input de Fecha (Mobile Cross-Browser) */
input[type="date"], .custom-date-input {
  color-scheme: dark;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 48px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(17, 19, 17, 0.9);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.4;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
  cursor: pointer;
  opacity: 0.9;
  padding: 4px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(114, 182, 38, 0.2);
}

.form-select option {
  background: #1c201d;
  color: #ffffff;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.4;
  word-break: break-word;
}

.form-status.success {
  background: rgba(114, 182, 38, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-light);
}

.form-status.error {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid #dc3545;
  color: #ff6b6b;
}

/* Spinner Animación */
.spinner-svg {
  animation: rotate 1.5s linear infinite;
  width: 18px;
  height: 18px;
}

.spinner-svg .path {
  stroke: #ffffff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0b0d0b;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-green);
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 400px;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul, .footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a, .footer-services span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.back-to-top:hover {
  color: var(--accent-light);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   ANIMACIONES ESTILO APPLE SCROLL REVEAL
   ========================================================================== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up.active, .animate-fade-down.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   DISEÑO RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .about-grid, .quote-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    padding: 16px 20px;
    gap: 16px;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .section {
    padding: 50px 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(17, 19, 17, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Canales de Contacto en Móvil */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-channel-card {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .channel-value {
    font-size: 1rem;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  /* Sección Solicitar Cotización en Móvil */
  .quote-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .quote-info-col, .quote-form-col {
    width: 100%;
  }

  .glass-form {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .highlight-card {
    padding: 14px 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 20px 16px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .reels-grid {
    grid-template-columns: 1fr;
  }

  .reel-video-wrapper {
    max-height: 420px;
  }

  .btn {
    padding: 14px 18px;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .glass-form {
    padding: 16px 12px;
  }

  .form-input, .form-select, .form-textarea, input[type="date"], .custom-date-input {
    padding: 10px 12px;
    font-size: 0.88rem;
    min-height: 44px;
  }

  .channel-value {
    font-size: 0.95rem;
  }
}
