/* =============================================
   CONSTRUTASKING — LANDING PAGE STYLES
   Paleta: Azul Marino #0A2351 · Rojo #CC1F1F
            Gris #6B7280 · Blanco #FFFFFF
   Fuente: Poppins (similar a Nexa Text-Trial)
   ============================================= */

/* ─── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0A2351;
  --navy-dark: #061529;
  --red:       #CC1F1F;
  --red-dark:  #a81919;
  --gray:      #6B7280;
  --gray-light:#F5F6FA;
  --white:     #FFFFFF;
  --text:      #1A1A2E;
  --green-wa:  #25D366;
  --green-wa-dark: #1da851;

  --font: 'Poppins', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10,35,81,.10);
  --shadow-md: 0 8px 40px rgba(10,35,81,.15);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.section-padding { padding: 88px 0; }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-light { background: var(--gray-light); }

/* ─── TYPOGRAPHY ────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

h1 em, h2 em, h3 em { font-style: normal; color: var(--red); }
.bg-navy h2 em { color: var(--red); }

p { color: var(--gray); line-height: 1.75; }
.bg-navy p { color: rgba(255,255,255,.75); }

/* ─── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 10px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(204,31,31,.30); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(10,35,81,.25);
}

.btn-whatsapp {
  background: var(--green-wa);
  color: var(--white);
  border-color: var(--green-wa);
}
.btn-whatsapp:hover { background: var(--green-wa-dark); border-color: var(--green-wa-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.30); }

/* ─── SECTION HEADERS ───────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header-light h2 { color: var(--white); }
.section-header-light p { color: rgba(255,255,255,.75); }

.section-tag {
  display: inline-block;
  background: rgba(204,31,31,.1);
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.section-tag-light {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

/* ─── TOPBAR ─────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.topbar a:hover { color: var(--white); }
.topbar i { margin-right: 5px; }

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(10,35,81,.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo img { height: 66px; }
.footer-brand img { height: 63px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.nav-links li a:hover { background: var(--gray-light); }
.nav-links li a.btn-outline { padding: 8px 20px; }
.nav-links li a.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(10,35,81,.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a3a6e 100%);
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -80px 0 -80px;
  background: url('../assets/hero-bg.jpg') top center/cover no-repeat;
  opacity: .30;
  transform: translateY(var(--parallax-y, 0px));
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(204,31,31,.12) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 72px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 5px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 24px;
}

.hero h1 { color: var(--white); max-width: 700px; margin-bottom: 20px; }
.hero h1 em { color: var(--red); }
.hero-sub { color: rgba(255,255,255,.80); font-size: 1.1rem; max-width: 580px; margin-bottom: 40px; }
.hero-sub strong { color: var(--white); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-suffix {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  display: inline;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── ALERT BANNER ───────────────────────────── */
.alert-banner {
  background: var(--navy);
  padding: 32px 0;
}
.alert-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.alert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.alert-item i {
  font-size: 1.6rem;
  color: #fbbf24;
  flex-shrink: 0;
}
.alert-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.alert-item span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.alert-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
}

/* ─── CARDS GRID ─────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  perspective: 1200px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(10,35,81,.08);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .4s ease, box-shadow .4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 8px 40px rgba(204,31,31,.18); }

.card-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 99px;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon i { font-size: 1.4rem; color: var(--white); }

.service-card h3 { color: var(--navy); margin-bottom: 10px; }
.service-card > p { margin-bottom: 20px; font-size: .9rem; }

.card-list { margin-bottom: 28px; }
.card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid rgba(10,35,81,.05);
}
.card-list li i { color: var(--red); font-size: .75rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: .875rem;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { color: var(--red); gap: 12px; }

/* ─── MODERNIZACIÓN ──────────────────────────── */
.modernizacion-hero {
  background: var(--gray-light);
}
.mod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.mod-content { padding-top: 8px; }
.mod-content h2 { margin-bottom: 20px; }
.mod-content > p { margin-bottom: 16px; font-size: .95rem; }

.mod-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 20px;
}

.mod-benefits { margin: 32px 0; display: flex; flex-direction: column; gap: 16px; }
.mod-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mod-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mod-benefit-icon i { color: var(--white); font-size: .95rem; }
.mod-benefit strong { display: block; color: var(--navy); font-size: .95rem; }
.mod-benefit span { font-size: .82rem; color: var(--gray); }

/* Before/After */
.before-after {
  display: flex;
  align-items: stretch;
  gap: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 600px;
}
.ba-panel {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ba-before { background: #f8e8e8; }
.ba-after  { background: #e8f0fc; }

.ba-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.ba-before .ba-label { color: var(--red); }
.ba-after  .ba-label { color: var(--navy); }

.ba-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(10,35,81,.06);
  position: relative;
  width: 100%;
}
.ba-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
}
.ba-placeholder i { font-size: 2rem; opacity: .4; }
.ba-placeholder span { font-size: .75rem; color: var(--gray); }
/* Hide placeholder when image loads */
.ba-image img + .ba-placeholder { display: none; }
.ba-image img[src=""] + .ba-placeholder,
.ba-image img:not([src]) + .ba-placeholder { display: flex; }

.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  width: 40px;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.ba-issues, .ba-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ba-issues li, .ba-benefits-list li {
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ba-issues li i { color: var(--red); }
.ba-benefits-list li i { color: #16a34a; }

.mod-cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.mod-cta-box p { color: var(--white); font-size: .9rem; margin: 0; }

/* ─── POR QUÉ NOSOTROS ───────────────────────── */
.diferenciadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.dif-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background var(--transition), transform var(--transition);
}
.dif-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }

.dif-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dif-icon i { font-size: 1.3rem; color: var(--white); }
.dif-card h4 { color: var(--white); margin-bottom: 8px; }
.dif-card p { font-size: .875rem; }

/* ─── SECTORES ───────────────────────────────── */
.sectores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.sector-card {
  background: var(--white);
  border: 1px solid rgba(10,35,81,.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sector-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.sector-icon i { font-size: 1.6rem; color: var(--white); }
.sector-card h4 { color: var(--navy); margin-bottom: 10px; }
.sector-card p { font-size: .875rem; margin-bottom: 16px; }
.sector-tag {
  display: inline-block;
  background: var(--gray-light);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
}

/* ─── CTA BANNER ─────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 72px 0;
}
.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-text h2 { color: var(--white); }
.cta-banner-text p  { color: rgba(255,255,255,.85); margin-top: 8px; }
.cta-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--white); color: var(--red); border-color: var(--white); }
.cta-banner .btn-primary:hover { background: var(--gray-light); }

/* ─── PROCESO ────────────────────────────────── */
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition);
}
.step {
  border-left: 3px solid transparent;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10,35,81,.12);
  border-left-color: var(--red);
}
.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.step-content h4 { color: var(--navy); margin-bottom: 6px; }
.step-content p { font-size: .82rem; }

/* ─── CONTACTO ───────────────────────────────── */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contacto-info h2 { margin-bottom: 16px; }
.contacto-info > p { margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.contact-item .fab.fa-whatsapp { color: var(--green-wa); }
.contact-item strong { display: block; font-size: .875rem; color: var(--navy); }
.contact-item a, .contact-item span { font-size: .875rem; color: var(--gray); }
.contact-item a:hover { color: var(--red); }

/* Form */
.contacto-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10,35,81,.06);
}
.contacto-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(10,35,81,.15);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,35,81,.08);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-disclaimer {
  text-align: center;
  font-size: .75rem;
  color: var(--gray);
  margin-top: 12px;
}
.form-disclaimer i { margin-right: 4px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success i { font-size: 3rem; color: #16a34a; margin-bottom: 16px; display: block; }
.form-success h4 { color: var(--navy); margin-bottom: 12px; }
.form-success p { margin-bottom: 24px; }

/* ─── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .875rem; margin: 16px 0 24px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-col h5 {
  color: var(--white);
  font-size: .875rem;
  margin-bottom: 16px;
  letter-spacing: .03em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-badge {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 12px 14px;
}
.footer-badge i { color: #fbbf24; font-size: 1.1rem; }
.footer-badge span { font-size: .78rem; color: rgba(255,255,255,.7); }
.footer-badge strong { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.4); }

/* ─── WHATSAPP FLOTANTE ──────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-wa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .mod-grid { grid-template-columns: 1fr; gap: 48px; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .hero-content { padding: 72px 24px 100px; }
  .hero-stats { gap: 24px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid rgba(10,35,81,.08);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 10px 14px; }
  .nav-toggle { display: flex; }
  .navbar { position: relative; }

  .alert-grid { flex-direction: column; gap: 16px; text-align: center; }
  .alert-divider { display: none; }

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

  .before-after { flex-direction: column; gap: 0; }
  .ba-panel { width: 100%; min-width: 100%; flex: none; }
  .ba-image { aspect-ratio: 4/3; width: 100%; }
  .ba-arrow { display: none; }

  .mod-cta-box { flex-direction: column; text-align: center; }

  .cta-banner-content { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; flex-direction: column; }

  .proceso-steps { grid-template-columns: 1fr; }

  .contacto-form .form-row { grid-template-columns: 1fr; }
  .contacto-form-wrap { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .topbar { gap: 12px; font-size: .72rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .stat-number, .stat-suffix { font-size: 1.9rem; }
  .hero-stats { gap: 16px; }
}

/* ─── ANIMATIONS ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(32px) scale(.97);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ─── COMPETITIVE STRIP ──────────────────────── */
.hero-competitive-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.competitive-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  animation: pillFadeIn .6s ease both;
}
.competitive-pill:nth-child(2) { animation-delay: .1s; }
.competitive-pill:nth-child(3) { animation-delay: .2s; }
.competitive-pill i { color: #fbbf24; font-size: .75rem; }
@keyframes pillFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── @KEYFRAMES SHARED ──────────────────────── */
@keyframes iconBounce {
  0%,100% { transform: translateY(0) scale(1); }
  40%     { transform: translateY(-7px) scale(1.12); }
  65%     { transform: translateY(-3px) scale(1.06); }
}
@keyframes shimmerSweep {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(204,31,31,.0); }
  50%     { box-shadow: 0 0 0 6px rgba(204,31,31,.12); }
}
@keyframes borderSlideIn {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.82); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes statPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.18); color: #fbbf24; }
  100% { transform: scale(1); }
}

/* ─── SERVICE CARDS — Enhanced Motion ────────── */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: none;
  pointer-events: none;
}
.service-card:hover::before {
  animation: shimmerSweep .6s ease forwards;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--navy), var(--red));
  transition: width .4s cubic-bezier(.16,1,.3,1);
  border-radius: 0 0 var(--radius) var(--radius);
}
.service-card:hover::after { width: 100%; }
.service-card:hover .card-icon {
  transform: scale(1.1) rotate(-6deg);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.service-card .card-icon {
  transition: transform .3s ease;
}

/* ─── DIFERENCIADORES CARDS — Glow Motion ────── */
.dif-card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: background var(--transition), transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.dif-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.04) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.dif-card:hover::after {
  animation: shimmerSweep .55s ease forwards;
}
.dif-card:hover {
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 40px rgba(0,0,0,.25);
}
.dif-card:hover .dif-icon i {
  animation: iconBounce .55s cubic-bezier(.34,1.56,.64,1);
}
.dif-icon {
  transition: transform .3s ease;
}

/* ─── SECTOR CARDS — Gradient Reveal ─────────── */
.sector-card {
  position: relative;
  overflow: hidden;
}
.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(10,35,81,.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.sector-card:hover::before { opacity: 1; }
.sector-card:hover .sector-icon {
  transform: translateY(-4px) scale(1.12);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.sector-icon {
  transition: transform .3s ease;
}


/* ─── STAT NUMBERS — Pop on complete ─────────── */
.stat-done {
  animation: statPop .4s cubic-bezier(.34,1.56,.64,1);
}



/* ─── RESPONSIVE COMPETITIVE STRIP ──────────── */
@media (max-width: 768px) {
  .hero-competitive-strip { gap: 8px; }
  .competitive-pill { font-size: .72rem; padding: 6px 12px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
