:root {
  /* Identidad Oficial OAMB Chile */
  --oamb-blue: #0066B2;
  --oamb-blue-dark: #073B66;
  --oamb-blue-light: #F0F7FF;
  --oamb-green: #16A34A;
  --oamb-green-hover: #15803D;
  --oamb-green-soft: #DCFCE7;
  
  /* Fondos y Neutros */
  --bg-main: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --dark-slate: #0F172A;
  --dark-navy: #072B4A;
  
  /* Textos */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  /* Bordes y Sombras limpias */
  --border-light: #E2E8F0;
  --border-card: #CBD5E1;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(7, 59, 102, 0.08);
  --shadow-lg: 0 16px 32px -6px rgba(7, 59, 102, 0.12);
  --shadow-hover: 0 12px 28px -4px rgba(22, 163, 74, 0.25);
  
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================
   RESET Y BASE
   ======================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-main);
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   1. SPLASH SCREEN (ANIMACIÓN INICIAL SUTIL)
   ======================================================== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.6s;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  animation: logoIntro 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo {
  max-width: 260px;
  width: 80%;
  height: auto;
  margin: 0 auto 16px;
}

.splash-loader {
  width: 140px;
  height: 3px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  margin: 20px auto 0;
  overflow: hidden;
}

.splash-loader-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--oamb-blue), var(--oamb-green));
  animation: fillProgress 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes logoIntro {
  0% { transform: scale(0.9) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes fillProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* ========================================================
   2. TOP BAR DISPONIBILIDAD & CONFIANZA
   ======================================================== */
.top-notice-bar {
  background: var(--dark-navy);
  color: #FFFFFF;
  font-size: 0.82rem;
  padding: 8px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  text-align: center;
}

.top-notice-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-24-7 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--oamb-green);
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.top-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.top-link-item {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.top-link-item:hover {
  color: #FFFFFF;
}

/* ========================================================
   3. NAVBAR LIMPIO Y STICKY
   ======================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

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

.brand-logo-group {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast);
}

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

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--oamb-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--oamb-blue);
  border-radius: var(--radius-full);
}

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

.btn-whatsapp-nav {
  background: var(--oamb-green);
  color: #FFFFFF;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transition: all var(--transition-fast);
}

.btn-whatsapp-nav:hover {
  background: var(--oamb-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

.mobile-toggle {
  display: none;
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
  /* Centrado flex geométrico absoluto */
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.mobile-toggle i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  margin: 0;
  padding: 0;
  line-height: 1;
}

/* ========================================================
   4. HERO — PRIORIDAD MÁXIMA & ALTA CONVERSIÓN
   ======================================================== */
.hero-clean-section {
  padding: 60px 0 50px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.hero-clean-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 50px;
}

.hero-clean-content {
  max-width: 600px;
}

.hero-clean-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
}

.hero-clean-logo {
  max-width: 270px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.hero-category-subtitle {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--oamb-green);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-clean-title {
  font-size: 2.9rem;
  font-weight: 900;
  color: var(--oamb-blue-dark);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.hero-clean-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero-clean-secondary {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 30px;
  line-height: 1.45;
  text-align: left;
}

.hero-clean-secondary i {
  color: var(--oamb-blue);
  font-size: 1rem;
  margin-top: 2px; /* Alineación milimétrica con la primera línea de texto */
  flex-shrink: 0;
}

.hero-clean-secondary span {
  flex: 1;
}

.hero-clean-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--oamb-green);
  color: #FFFFFF;
  padding: 15px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
  transition: all var(--transition-fast);
}

.btn-cta-primary:hover {
  background: var(--oamb-green-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-cta-secondary {
  background: #FFFFFF;
  color: var(--oamb-blue-dark);
  border: 1.5px solid var(--border-card);
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-cta-secondary:hover {
  border-color: var(--oamb-blue);
  background: var(--oamb-blue-light);
  color: var(--oamb-blue);
  transform: translateY(-2px);
}

.hero-speed-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.speed-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.speed-badge i {
  color: var(--oamb-blue);
}

/* Columna Visual Collage (~45% del espacio) */
.hero-clean-visual {
  position: relative;
}

.hero-visual-composition {
  position: relative;
}

.hero-grid-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
}

.mosaic-item {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.mosaic-item-large {
  grid-column: span 2;
  height: 220px;
}

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

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-mosaic-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--oamb-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-mosaic-caption i {
  color: var(--oamb-green);
}

/* ========================================================
   5. BARRA DE CONFIANZA (4 ELEMENTOS LIMPIOS)
   ======================================================== */
.trust-bar-clean {
  background: var(--bg-alt);
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item i {
  font-size: 1.6rem;
  color: var(--oamb-blue);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--oamb-blue-dark);
  font-weight: 800;
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================================
   6. SERVICIOS (TARJETAS ESCANEABLES)
   ======================================================== */
.services-section {
  padding: 80px 0;
  background: #FFFFFF;
}

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

.section-subtitle {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--oamb-green);
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--oamb-blue-dark);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.service-card:hover {
  background: #FFFFFF;
  border-color: var(--oamb-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.service-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: #94A3B8;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--oamb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.service-card:hover .service-icon-box {
  background: var(--oamb-blue);
  color: #FFFFFF;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--oamb-blue-dark);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
}

.service-features-list li {
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li i {
  color: var(--oamb-green);
  font-size: 0.8rem;
}

.service-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--oamb-blue-dark);
  transition: all var(--transition-fast);
}

.service-action-btn:hover {
  background: var(--oamb-blue);
  color: #FFFFFF;
  border-color: var(--oamb-blue);
}

/* ========================================================
   7. TRABAJOS REALIZADOS (FILTROS Y CARDS GRANDES)
   ======================================================== */
.portfolio-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--oamb-blue);
  color: var(--oamb-blue);
}

.filter-btn.active {
  background: var(--oamb-blue-dark);
  color: #FFFFFF;
  border-color: var(--oamb-blue-dark);
  box-shadow: var(--shadow-sm);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  margin-bottom: 50px;
}

.work-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--oamb-blue);
}

.work-img-wrapper {
  position: relative;
  height: 240px;
  background: #E2E8F0;
  overflow: hidden;
}

.work-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-img-wrapper img {
  transform: scale(1.05);
}

.work-category-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.work-location-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #FFFFFF;
  color: var(--oamb-blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 5px;
}

.work-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--oamb-blue-dark);
  margin-bottom: 8px;
}

.work-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.work-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.work-badge-status {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--oamb-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.work-view-btn {
  background: none;
  border: none;
  color: var(--oamb-blue);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.work-view-btn:hover {
  text-decoration: underline;
}

/* Banner CTA al final de trabajos */
.works-cta-banner {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.works-cta-banner h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--oamb-blue-dark);
  margin-bottom: 6px;
}

.works-cta-banner p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========================================================
   8. CÓMO TRABAJAMOS (LÍNEA DE TIEMPO LIMPIA)
   ======================================================== */
.process-section {
  padding: 80px 0;
  background: #FFFFFF;
}

.process-timeline-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.process-step-item {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition-fast);
}

.process-step-item:hover {
  background: #FFFFFF;
  border-color: var(--oamb-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-num-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--oamb-blue-light);
  color: var(--oamb-blue);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-step-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--oamb-blue-dark);
  margin-bottom: 8px;
}

.process-step-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.process-step-connector {
  display: none;
}

/* ========================================================
   9. COBERTURA GEOGRÁFICA
   ======================================================== */
.coverage-section {
  padding: 70px 0;
  background: var(--bg-alt);
  text-align: center;
}

.coverage-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 24px;
}

.coverage-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--oamb-blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.coverage-pill:hover {
  border-color: var(--oamb-blue);
  color: var(--oamb-blue);
  transform: translateY(-2px);
}

.coverage-pill i {
  color: var(--oamb-green);
}

.coverage-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========================================================
   10. CONFIANZA Y RESPALDO COMPROBABLE
   ======================================================== */
.trust-guarantee-section {
  padding: 80px 0;
  background: #FFFFFF;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.trust-card-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  text-align: left;
  transition: all var(--transition-fast);
}

.trust-card-box:hover {
  border-color: var(--oamb-blue);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.trust-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--oamb-blue-light);
  color: var(--oamb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.trust-card-box h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--oamb-blue-dark);
  margin-bottom: 10px;
}

.trust-card-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================================
   11. CONTACTO Y FORMULARIO ÁGIL
   ======================================================== */
.contact-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.contact-card-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.contact-info-panel {
  background: var(--dark-navy);
  color: #FFFFFF;
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-info-panel p {
  color: #94A3B8;
  font-size: 0.92rem;
  margin-bottom: 30px;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.direct-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.direct-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #38BDF8;
  flex-shrink: 0;
}

.direct-text h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.direct-text a, .direct-text span {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.direct-text a:hover {
  color: #38BDF8;
}

.social-links-row {
  margin-top: 30px;
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--oamb-green);
  transform: translateY(-2px);
}

.contact-form-panel {
  padding: 46px 40px;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-alt);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--oamb-blue);
  background: #FFFFFF;
}

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

.form-payment-notice {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-light);
}

.form-payment-notice i {
  color: var(--oamb-green);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ========================================================
   12. FOOTER CORPORATIVO
   ======================================================== */
.footer {
  background: var(--dark-slate);
  color: #94A3B8;
  padding: 60px 0 24px;
  font-size: 0.88rem;
}

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

.footer-brand p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* Botón Flotante WhatsApp */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--oamb-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
  z-index: 990;
  transition: all var(--transition-fast);
}

.floating-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 30px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.05);
}

/* ========================================================
   13. RESPONSIVE DESIGN (PERFECCIONADO PARA CUALQUIER PANTALLA)
   ======================================================== */
@media (max-width: 1024px) {
  .hero-clean-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-clean-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-clean-logo {
    margin: 0 auto 8px;
  }
  .hero-clean-secondary {
    display: inline-flex;
    justify-content: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-clean-cta-group {
    justify-content: center;
  }
  .hero-speed-badges {
    justify-content: center;
  }
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .process-timeline-clean {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-container {
    height: 66px;
  }
  .nav-logo-img {
    height: 40px;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .btn-whatsapp-nav {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 20px 24px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--oamb-blue);
    gap: 12px;
    z-index: 999;
  }
  .nav-links.mobile-open .nav-link {
    width: 100%;
    padding: 10px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-light);
  }
  .hero-clean-section {
    padding: 40px 0 35px;
  }
  .hero-clean-title {
    font-size: 2.3rem;
  }
  .hero-clean-lead {
    font-size: 1.08rem;
  }
  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 18px;
  }
  .top-notice-bar {
    font-size: 0.76rem;
    padding: 6px 0;
  }
  .top-notice-bar .container {
    gap: 8px 14px;
  }
  .top-links {
    display: none; /* Dejar solo el aviso prioritario de disponibilidad en celulares */
  }
  .nav-container {
    height: 60px;
  }
  .nav-logo-img {
    height: 36px;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .mobile-toggle i {
    font-size: 1.15rem;
  }
  .btn-whatsapp-nav {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .hero-clean-section {
    padding: 28px 0 24px;
  }
  .hero-clean-logo {
    max-width: 220px;
  }
  .hero-category-subtitle {
    font-size: 0.8rem;
  }
  .hero-clean-title {
    font-size: 1.85rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }
  .hero-clean-lead {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .hero-clean-secondary {
    font-size: 0.88rem;
    margin-bottom: 22px;
  }
  .btn-cta-primary {
    padding: 13px 22px;
    font-size: 0.98rem;
  }
  .btn-cta-secondary {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .hero-speed-badges {
    gap: 10px 14px;
    justify-content: center;
  }
  .speed-badge {
    font-size: 0.78rem;
  }
  
  /* Collage visual adaptado a móvil para que no se vea comprimido */
  .hero-grid-mosaic {
    gap: 8px;
  }
  .mosaic-item {
    height: 130px;
  }
  .mosaic-item-large {
    height: 170px;
  }
  .mosaic-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
    bottom: 6px;
    left: 6px;
  }

  /* Barra de confianza */
  .trust-bar-clean {
    padding: 20px 0;
  }
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trust-item {
    background: #FFFFFF;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
  }
  .trust-item i {
    font-size: 1.4rem;
  }
  .trust-item strong {
    font-size: 0.92rem;
  }

  /* Secciones principales */
  .services-section, .portfolio-section, .process-section, .trust-guarantee-section, .contact-section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .section-desc {
    font-size: 0.92rem;
  }

  /* Filtros con scroll horizontal fluido en móviles */
  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* Galería y tarjetas */
  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .work-img-wrapper {
    height: 200px;
  }
  .work-card-content {
    padding: 18px 16px;
  }

  /* Banner CTA final de trabajos */
  .works-cta-banner {
    padding: 24px 18px;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .works-cta-banner h3 {
    font-size: 1.25rem;
  }
  .works-cta-banner p {
    font-size: 0.88rem;
  }
  .works-cta-banner a {
    width: 100%;
    justify-content: center;
  }

  /* Proceso y Cobertura */
  .process-timeline-clean {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-step-item {
    padding: 22px 18px;
  }
  .coverage-section {
    padding: 50px 0;
  }
  .coverage-pill-grid {
    gap: 8px;
  }
  .coverage-pill {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  /* Tarjetas de garantía */
  .trust-cards-grid {
    gap: 16px;
  }
  .trust-card-box {
    padding: 24px 20px;
  }

  /* Contacto y formulario */
  .contact-info-panel, .contact-form-panel {
    padding: 28px 18px;
  }
  .contact-info-panel h3 {
    font-size: 1.5rem;
  }
  .contact-form-panel h4 {
    font-size: 1.35rem;
  }

  /* Footer */
  .footer {
    padding: 45px 0 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.78rem;
  }

  /* Botón flotante */
  .floating-wa-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }
}

