/* ==========================================================================
   DARDOS 360° - AGENCIA DE MULTISERVICIOS
   Diseño Minimalista, Claro y Editorial (styles.css)
   Dominio: dardos360.mx
   ========================================================================== */

/* 1. VARIABLES DE DISEÑO (PALETA CLARA Y MINIMALISTA) */
:root {
  /* Fondos Claros */
  --bg-main: #ffffff;
  --bg-subtle: #fafaf9;      /* Blanco hueso / porcelana suave */
  --bg-muted: #f4f4f5;       /* Gris claro neutro */
  --bg-card: #ffffff;
  
  /* Textos y Contraste */
  --text-primary: #18181b;   /* Obsidiana profunda */
  --text-secondary: #52525b; /* Gris medio neutro */
  --text-muted: #71717a;     /* Gris suave */
  --text-light: #a1a1aa;
  
  /* Acentos Sutiles (Dorado Tierra / Arena / Oro Mate) */
  --accent-gold: #b38820;
  --accent-gold-soft: #f7f1e5;
  --accent-gold-border: #e6d3a3;
  --accent-dark: #18181b;
  
  /* Estados Funcionales */
  --color-success: #15803d;
  --color-success-bg: #f0fdf4;
  --color-success-border: #bbf7d0;
  --color-whatsapp: #16a34a;
  --color-whatsapp-hover: #15803d;
  --color-emergency: #be123c;
  --color-emergency-bg: #fff1f2;

  /* Bordes y Líneas Hairline */
  --border-subtle: #e4e4e7;
  --border-light: #f4f4f5;
  --border-focus: #18181b;

  /* Tipografía */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Bordes y Sombras Sutiles */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 12px 30px -4px rgba(0, 0, 0, 0.08);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

/* 2. RESET Y BASES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. BARRA SUPERIOR DISCRETA (TOP STATUS LINE) */
.top-status {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 8px 0;
}

.top-status-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--text-primary);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.status-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-link:hover {
  color: var(--text-primary);
}

/* 4. NAVBAR MINIMALISTA */
.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.header-main.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

/* Logo limpio sin texto redundante al lado */
.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover img {
  opacity: 0.9;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botones con estilo minimalista y aesthetic */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-dark {
  background-color: var(--text-primary);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: #27272a;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: #d4d4d8;
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.95rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 5. HERO SECTION CON VIDEO DE FONDO Y TIPOGRAFÍA TANGIBLE */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
  padding: 100px 0 90px;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(1.08) contrast(1.03);
}

/* Gradiente fluido: sin recuadro blanco artificial. 
   A la izquierda genera una base cristalina suave para máxima legibilidad, 
   mientras que hacia el centro y la derecha se desvanece por completo para que el video mantenga total protagonismo */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg, 
    rgba(255, 255, 255, 0.90) 0%, 
    rgba(255, 255, 255, 0.82) 36%, 
    rgba(255, 255, 255, 0.48) 58%, 
    rgba(255, 255, 255, 0.15) 80%, 
    rgba(255, 255, 255, 0.02) 100%
  );
}

.hero-container-rel {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Contenido libre de recuadros: el texto vive directamente sobre el escenario */
.hero-content-col {
  max-width: 660px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

.hero-scope-tags {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.scope-tag-sep {
  color: var(--accent-gold);
  font-weight: 700;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.7px;
  color: #09090b;
  margin-bottom: 20px;
  text-wrap: balance;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9), 0 0 25px rgba(255, 255, 255, 0.6);
}

.hero-headline em {
  font-style: italic;
  font-weight: 700;
  color: #b45309;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.hero-subhead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 600px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta-group .btn-dark {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.hero-cta-group .btn-outline {
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.2);
  color: #09090b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
  max-width: 620px;
}

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

.trust-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #09090b;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
}

.trust-desc {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
}

/* 6. CALCULADOR / COTIZADOR RÁPIDO MINIMALISTA */
.quote-section {
  padding: 30px 0 60px;
}

.quote-bar {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-subtle);
}

.quote-title-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-title-line h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.quote-title-line span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quote-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr auto;
  gap: 14px;
  align-items: flex-end;
}

.field-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}

.field-select:focus {
  border-color: var(--border-focus);
  background-color: #ffffff;
}

/* 6.1 MANIFIESTO DE CALIDAD Y RESPALDO DARDOS 360° */
.manifesto-section {
  padding: 85px 0;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.manifesto-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.manifesto-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.manifesto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.manifesto-card:hover .manifesto-media img {
  transform: scale(1.02);
}

.manifesto-badge-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.manifesto-badge-chip svg {
  color: var(--accent-gold);
}

.manifesto-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.manifesto-badge-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.manifesto-headline {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.manifesto-headline em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent-gold);
}

.manifesto-lead {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.manifesto-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.manifesto-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.manifesto-pillar .pillar-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-top: 2px;
}

.manifesto-pillar .pillar-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.manifesto-pillar .pillar-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.manifesto-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 7. ENCABEZADOS DE SECCIÓN */
.section-padding {
  padding: 80px 0;
}

.section-padding-alt {
  padding: 80px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.title-section {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.subtitle-section {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 8. SERVICIOS (TARJETAS CLARAS, MODERNAS Y LIMPIAS) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.service-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

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

.service-item:hover .service-media img {
  transform: scale(1.04);
}

.service-tag-floating {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  backdrop-filter: blur(4px);
}

.service-details {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-segments {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-points {
  margin-bottom: 18px;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.service-points svg {
  color: var(--color-success);
  flex-shrink: 0;
}

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.service-cta-link:hover {
  color: var(--accent-gold);
  gap: 9px;
}

/* 9. PÓLIZAS DE MANTENIMIENTO (ENFOQUE CLARO Y PREVENTIVO) */
.policy-banner {
  background-color: var(--accent-gold-soft);
  border: 1px solid var(--accent-gold-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 36px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.policy-banner strong {
  color: var(--accent-gold);
}

.policies-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.clean-policy-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.clean-policy-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}

.clean-policy-card.featured {
  border: 2px solid var(--text-primary);
  box-shadow: var(--shadow-card);
}

.policy-header-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.featured-label {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--text-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.policy-tier-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.policy-tier-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.policy-feature-list {
  flex-grow: 1;
  margin-bottom: 26px;
}

.policy-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.45;
}

.policy-feature-list svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 10. ANTES Y DESPUÉS (SLIDER MINIMALISTA) */
.ba-section {
  background-color: #ffffff;
}

.ba-clean-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ba-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.ba-tab:hover {
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.ba-tab.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.ba-clean-frame {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  background: #ffffff;
}

.ba-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background-color: var(--bg-muted);
}

.ba-layer-after, .ba-layer-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-layer-after img, .ba-layer-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-layer-before {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}

.ba-layer-before img {
  width: 860px;
  max-width: none;
}

.ba-badge {
  position: absolute;
  top: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 5;
}

.ba-badge.before {
  left: 16px;
  background: rgba(24, 24, 27, 0.75);
  color: #ffffff;
}

.ba-badge.after {
  right: 16px;
  background: rgba(21, 128, 61, 0.85);
  color: #ffffff;
}

.ba-divider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  z-index: 10;
  transform: translateX(-50%);
}

.ba-handle-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.ba-caption-box {
  padding: 20px 24px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.ba-caption-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.ba-caption-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 11. GALERÍA DE PROYECTOS MINIMALISTA */
.gallery-filter-clean {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.g-filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.g-filter-btn:hover, .g-filter-btn.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

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

.clean-gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.clean-gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: #cbd5e1;
}

.gallery-photo-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.gallery-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.clean-gallery-card:hover .gallery-photo-wrap img {
  transform: scale(1.03);
}

.gallery-card-desc {
  padding: 14px 18px;
}

.gallery-card-cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 2px;
}

.gallery-card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
  color: #ffffff;
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 1.8rem;
}

/* 12. QUIÉNES SOMOS, MISIÓN, VISIÓN Y VALORES (EDITORIAL) */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-quote-lead {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 18px;
  position: relative;
}

.about-body-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.about-media-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.about-media-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-caption-card {
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-caption-card strong {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  color: var(--text-primary);
}

.about-caption-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mv-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.mv-clean-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.mv-clean-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-clean-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Valores Minimalistas */
.values-clean-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
}

.values-clean-head {
  text-align: center;
  margin-bottom: 28px;
}

.values-clean-head h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.values-clean-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 840px) {
  .values-clean-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .values-clean-grid-6 {
    grid-template-columns: 1fr;
  }
}

.clean-val-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-fast);
}

.clean-val-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px);
}

.clean-val-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.clean-val-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* 13. COBERTURA Y CONTACTO */
.coverage-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 60px;
}

.coverage-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.cov-pill {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cov-pill span {
  color: var(--accent-gold);
}

.map-clean-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.map-clean-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* Formulario y Contacto */
.contact-clean-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-direct-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}

.contact-direct-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-direct-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.contact-row-text h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.contact-row-text a, .contact-row-text span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.social-clean-list {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-clean-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.social-clean-btn:hover {
  background: var(--text-primary);
  color: #ffffff;
}

/* Formulario */
.form-clean-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-subtle);
}

.form-clean-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-clean-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.input-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.input-block {
  margin-bottom: 14px;
}

.input-block label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.input-clean {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.input-clean:focus {
  border-color: var(--border-focus);
  background-color: #ffffff;
}

textarea.input-clean {
  min-height: 95px;
  resize: vertical;
}

/* 14. PREGUNTAS FRECUENTES (FAQ ACORDEÓN LIMPIO) */
.faq-clean-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.faq-clean-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-clean-btn {
  width: 100%;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon-arrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.faq-clean-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.faq-clean-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-clean-item.active .faq-clean-body {
  max-height: 250px;
  padding-bottom: 18px;
}

.faq-clean-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* 15. PIE DE PÁGINA (FOOTER CLARO Y MINIMALISTA) */
.footer-clean {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-clean-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-clean-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}

.footer-clean-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-tax-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.footer-clean-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-clean-nav li {
  margin-bottom: 8px;
}

.footer-clean-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-clean-nav a:hover {
  color: var(--text-primary);
}

.footer-clean-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 16. BOTÓN FLOTANTE WHATSAPP MINIMALISTA */
.whatsapp-float-minimal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-chip {
  background: #ffffff;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-float);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-btn-round {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
  transition: all var(--transition-fast);
}

.whatsapp-btn-round:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.05);
  color: #ffffff;
}

/* Barra Fija Móvil */
.mobile-clean-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  z-index: 1400;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-clean-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

/* 17. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.6rem;
  }
  .quote-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-fields-grid .btn {
    grid-column: span 2;
  }
  .policies-clean-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .about-split, .coverage-box, .contact-clean-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-clean-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-actions .btn-sm {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding: 60px 0 50px;
    display: flex;
    align-items: center;
  }

  .hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
  }

  .hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 1;
  }

  /* Gradiente móvil transparente: asegura que el video se mueva con total claridad en el fondo */
  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.78) 42%,
      rgba(255, 255, 255, 0.40) 72%,
      rgba(255, 255, 255, 0.15) 100%
    );
  }

  .hero-content-col {
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-headline {
    font-size: 2.15rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 18px rgba(255, 255, 255, 0.7);
  }

  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.14);
  }

  .manifesto-section {
    padding: 50px 0;
  }

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

  .manifesto-media {
    min-height: 250px;
    max-height: 320px;
  }

  .manifesto-body {
    padding: 32px 24px;
  }

  .manifesto-headline {
    font-size: 1.55rem;
  }

  .quote-fields-grid {
    grid-template-columns: 1fr;
  }

  .quote-fields-grid .btn {
    grid-column: span 1;
  }

  .title-section {
    font-size: 1.85rem;
  }

  .mv-clean-grid {
    grid-template-columns: 1fr;
  }

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

  .coverage-pills-grid {
    grid-template-columns: 1fr;
  }

  .input-row-2 {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float-minimal .whatsapp-chip {
    display: none;
  }

  .mobile-clean-bar {
    display: block;
  }

  body {
    padding-bottom: 65px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 460px;
    padding: 44px 0 36px;
  }

  .hero-content-col {
    padding: 0;
  }

  .hero-headline {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-subhead {
    font-size: 0.98rem;
  }

  .values-clean-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .manifesto-body {
    padding: 24px 18px;
  }

  .manifesto-headline {
    font-size: 1.35rem;
  }

  .manifesto-action-row .btn {
    width: 100%;
  }

  .top-status {
    display: none;
  }
}
