*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

:root {
  --azul:       #072146;
  --azul-m:     #1464A0;
  --azul-btn:   #1973B8;
  --azul-link:  #1464A0;
  --gris-bg:    #F4F5F7;
  --gris-borde: #D9DDE6;
  --txt:        #072146;
  --txts:       #3D4553;
  --txts2:      #6B7280;
  --w:          #ffffff;
  --nav-h:      64px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--txt);
  background: var(--w);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── MODALES ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,33,70,.55);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(2px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 8px;
  max-width: 680px;
  width: 100%;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  position: relative;
  animation: fadeUp .25s ease both;
}
.modal-box h2 {
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--azul);
  padding: 28px 32px 16px;
  border-bottom: 1px solid var(--gris-borde);
  flex-shrink: 0;
}
.modal-body {
  overflow-y: auto;
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--txts);
}
.modal-body p { margin: 0; }
.modal-body a { color: var(--azul-link); }
.modal-body a:hover { text-decoration: underline; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--txts2);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 3px;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--gris-bg); color: var(--azul); }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--w);
  border-bottom: 1px solid var(--gris-borde);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  background: var(--azul);
  color: white;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.3px;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.15;
  letter-spacing: -.2px;
}
.logo-sub {
  font-size: 11px;
  color: var(--txts2);
  font-weight: 400;
  letter-spacing: .2px;
}
.nav-center {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-center a {
  display: block;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--txts);
  text-decoration: none;
  line-height: var(--nav-h);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-center a:hover { color: var(--azul); border-bottom-color: var(--azul-btn); }
.nav-center a.nav-active { color: var(--azul); border-bottom-color: var(--azul-btn); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-tel {
  font-size: 13px;
  color: var(--txts2);
  text-decoration: none;
  font-weight: 500;
}
.nav-tel:hover { color: var(--azul-link); }
.btn-nav {
  background: var(--azul);
  color: white;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .1s;
  position: relative;
  overflow: hidden;
}
.btn-nav:hover { background: var(--azul-m); }
.btn-nav:active { transform: scale(0.96) translateY(1px); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
nav.nav-scrolled {
  box-shadow: 0 2px 12px rgba(7,33,70,.12);
  border-bottom-color: transparent;
  transition: box-shadow .2s ease, border-bottom-color .2s ease;
}

/* ─── HERO SPLIT ─── */
.hero {
  background: var(--w);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: center;
  overflow: hidden;
}
.hero-left {
  padding: 80px 56px 80px 48px;
  animation: fadeUp .65s ease both;
}
.hero-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: var(--txts2);
  margin-bottom: 16px;
  display: block;
}
.hero-left h1 {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 52px;
  line-height: 1.08;
  color: var(--azul);
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero-left h1 span { color: var(--azul-btn); }
.hero-left p {
  font-size: 16px;
  color: var(--txts);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--azul);
  color: white;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .1s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: var(--azul-m); }
.btn-primary:active { transform: scale(0.96) translateY(1px); box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.btn-secondary {
  background: var(--gris-bg);
  color: var(--azul);
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .1s;
  display: inline-block;
  border: 1px solid var(--gris-borde);
  position: relative;
  overflow: hidden;
}
.btn-secondary:hover { background: #e8eaee; }
.btn-secondary:active { transform: scale(0.96) translateY(1px); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.hero-right {
  position: relative;
  height: 100%;
  min-height: 520px;
  background: var(--gris-bg);
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: linear-gradient(160deg, var(--azul) 0%, #0d3460 60%, #1464A0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}
.hero-img-placeholder svg { opacity: .18; }
.hero-img-label {
  background: rgba(255,255,255,.1);
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-style: italic;
}

/* ─── QUICK LINKS ─── */
.quick-links {
  background: var(--gris-bg);
  padding: 32px 48px;
  border-bottom: 1px solid var(--gris-borde);
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.quick-item {
  background: white;
  border-radius: 8px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.quick-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
  border-color: var(--gris-borde);
}
.quick-item svg {
  color: var(--azul);
  transition: transform .2s ease;
}
.quick-item:hover svg { transform: translateY(-3px); }
.quick-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--azul-link);
  text-align: center;
  line-height: 1.35;
}

/* ─── SECCIÓN BASE ─── */
.section { padding: 80px 48px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--azul-btn);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 34px;
  color: var(--azul);
  line-height: 1.18;
  letter-spacing: -.3px;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--txts2);
  max-width: 580px;
  line-height: 1.7;
}
.section-header { margin-bottom: 52px; }
.section-header-center { text-align: center; margin-bottom: 48px; }
.section-header-center .section-sub { margin: 0 auto; }

/* ─── STICKY SCROLL ─── */
.sticky-section {
  background: var(--gris-bg);
  padding: 80px 48px;
}
.sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.sticky-img-col {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  transition: all .3s ease;
}
.sticky-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #d0e4f7 0%, #a8c8ef 100%);
  position: relative;
}
.sticky-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sticky-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--azul-m);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.sticky-img-placeholder svg { opacity: .3; }
.sticky-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: var(--azul);
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.sticky-badge strong {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.sticky-text-col { padding-top: 8px; }
.sticky-text-col .section-title { margin-bottom: 20px; }
.sticky-text-col > p {
  font-size: 16px;
  color: var(--txts);
  line-height: 1.8;
  margin-bottom: 16px;
}
.pilares {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.pilar {
  background: white;
  border: 1px solid var(--gris-borde);
  border-left: 3px solid var(--azul-btn);
  border-radius: 4px;
  padding: 18px 16px;
  transition: box-shadow .2s, transform .2s;
}
.pilar:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  transform: translateY(-2px);
  border-left-color: var(--azul);
}
.pilar-titulo { font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 4px; }
.pilar-desc { font-size: 13px; color: var(--txts2); line-height: 1.5; }

/* ─── SERVICIOS ─── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.servicio-card {
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 8px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
}
.servicio-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #EBF2FA;
  position: relative;
}
.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.servicio-card:hover .servicio-img img { transform: scale(1.04); }
.servicio-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #EBF2FA 0%, #d6e8f7 100%);
  color: var(--azul-m);
}
.servicio-img-placeholder svg { opacity: .3; }
.servicio-img-placeholder span {
  font-size: 11px;
  font-style: italic;
  color: var(--txts2);
  text-align: center;
  padding: 0 12px;
}
.servicio-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.servicio-card:hover {
  box-shadow: 0 12px 36px rgba(7,33,70,.11);
  transform: translateY(-4px);
  border-color: transparent;
}
.servicio-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--azul), var(--azul-btn));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.servicio-card:hover::after { transform: scaleX(1); }
.servicio-icon {
  width: 44px;
  height: 44px;
  background: #EBF2FA;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--azul);
  transition: background .25s ease, transform .25s ease;
}
.servicio-card:hover .servicio-icon {
  background: #d0e4f5;
  transform: scale(1.1);
}
.servicio-titulo {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 10px;
  line-height: 1.3;
}
.servicio-desc { font-size: 14px; color: var(--txts2); line-height: 1.65; margin-bottom: 18px; }
.servicio-items { list-style: none; border-top: 1px solid var(--gris-borde); padding-top: 14px; margin-top: auto; }
.servicio-items li {
  font-size: 13px;
  color: var(--txts);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.servicio-items li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--azul-btn);
  margin-top: 6px;
  flex-shrink: 0;
  display: inline-block;
}
.ver-mas {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--azul-link);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.ver-mas svg {
  transition: transform .2s ease;
}
.servicio-card:hover .ver-mas svg {
  transform: translateX(4px);
}

/* Prevención de incendios: centrada en col 2 de la última fila (grilla de 3) */
#prevencion-incendios { grid-column: 2; }

/* ─── HIGHLIGHT tras quick-link ─── */
.servicio-card.ql-highlighted {
  box-shadow: 0 10px 36px rgba(20,100,160,.13);
  border-color: rgba(20,100,160,.22);
  transform: translateY(-3px);
}
.servicio-card.ql-highlighted::after {
  transform: scaleX(1);
  transition: transform .5s ease;
}

/* ─── SECTORES ─── */
.sectores-section {
  background: var(--azul);
  border-top: 3px solid var(--azul-btn);
}
.sectores-section .section-title { color: white; }
.sectores-section .section-sub { color: rgba(255,255,255,.6); }
.sectores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sector-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background .2s, border-color .2s, transform .2s;
}
.sector-card:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(25,115,184,.5);
  transform: translateY(-2px);
}
.sector-num {
  font-family: 'Merriweather', serif;
  font-size: 26px;
  font-weight: 900;
  color: rgba(255,255,255,.28);
  min-width: 34px;
  line-height: 1;
}
.sector-nombre { font-size: 14px; font-weight: 600; color: white; line-height: 1.4; }

/* ─── CLIENTES ─── */
.clientes-section { background: var(--w); }
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media(max-width:768px){
  .clientes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:480px){
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
}
.cliente-item {
  background: var(--gris-bg);
  border: 1px solid var(--gris-borde);
  border-radius: 8px;
  aspect-ratio: 5/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.cliente-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.6) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  z-index: 1;
  pointer-events: none;
}
.cliente-item.img-loaded::before { display: none; }
.cliente-item:hover { border-color: var(--azul-btn); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.cliente-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px 20px;
  position: relative;
  z-index: 2;
}

/* ─── FORMULARIO ─── */
.form-section {
  background: var(--gris-bg);
  border-top: 1px solid var(--gris-borde);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-col form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--txts);
  letter-spacing: .2px;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 4px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--txt);
  font-family: 'Source Sans 3', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.phone-wrap input#f-tel { width: auto !important; flex: 1 1 auto !important; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b8c8; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--azul-btn);
  box-shadow: 0 0 0 3px rgba(25,115,184,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.label-optional { font-size: 11px; font-weight: 400; color: var(--txts2); margin-left: 4px; }
.form-error { font-size: 11px; color: #D0021B; min-height: 14px; display: block; }
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error { border-color: #D0021B !important; }
.phone-wrap { display: flex; gap: 8px; align-items: stretch; }
.tel-code-select {
  flex: 0 0 90px !important;
  width: 90px !important;
  max-width: 90px !important;
  min-width: 0 !important;
  box-sizing: border-box;
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 4px;
  padding: 11px 4px;
  font-size: 13px;
  color: var(--txt);
  font-family: 'Source Sans 3', sans-serif;
  outline: none;
  transition: border-color .2s;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
  overflow: hidden;
}
.tel-code-select:focus { border-color: var(--azul-btn); box-shadow: 0 0 0 3px rgba(25,115,184,.1); }
.phone-wrap input[type="tel"] {
  flex: 1 1 auto !important;
  width: 0 !important;
  min-width: 0 !important;
}
.btn-form {
  background: var(--azul);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
  transition: background .15s, transform .1s, box-shadow .1s;
  align-self: flex-start;
  width: 100%;
  letter-spacing: .1px;
  position: relative;
  overflow: hidden;
}
.btn-form:hover { background: var(--azul-m); }
.btn-form:active { transform: scale(0.98) translateY(1px); box-shadow: 0 1px 4px rgba(0,0,0,.18); }

/* Info lateral del form */
.form-info-col { padding-top: 8px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gris-borde);
}
.contact-item:first-child { border-top: 1px solid var(--gris-borde); }
.contact-icon {
  width: 42px; height: 42px;
  background: #EBF2FA;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--azul-btn);
}
.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--txts2);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-val { font-size: 15px; font-weight: 500; color: var(--txt); line-height: 1.5; }
.contact-val a { color: var(--azul-link); text-decoration: none; }
.contact-val a:hover { text-decoration: underline; }
.form-map { margin-top: 24px; border-radius: 8px; overflow: hidden; border: 1px solid var(--gris-borde); }

/* ─── FOOTER EXPANDIDO ─── */
footer { background: var(--w); }
.footer-links-section {
  padding: 56px 48px 40px;
  border-top: 1px solid var(--gris-borde);
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 18px;
  letter-spacing: .1px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--azul-link);
  text-decoration: none;
  transition: color .15s;
}
.footer-col ul li a:hover { color: var(--azul); text-decoration: underline; }
.footer-bar {
  background: var(--azul);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-bar-mark {
  width: 32px; height: 32px;
  background: white;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--azul);
}
.footer-bar-name { font-size: 14px; font-weight: 600; color: white; }
.footer-bar-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bar-links a { font-size: 12px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.footer-bar-links a:hover { color: rgba(255,255,255,.85); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }

/* ─── WHATSAPP ─── */
.wa-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  background: #25D366;
  color: white;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
.wa-btn:active { transform: scale(0.94); box-shadow: 0 2px 8px rgba(37,211,102,.3); }
.wa-pulse {
  position: absolute;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: #25D366;
  animation: pulse 2s ease-out infinite;
  z-index: -1;
}

/* ─── ANIMATIONS ─── */
@keyframes pulse { 0%{transform:scale(1);opacity:.6;} 100%{transform:scale(1.7);opacity:0;} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
@keyframes shimmer { 0%{background-position:200% 0;} 100%{background-position:-200% 0;} }
@keyframes btn-ripple { from { transform: scale(0); opacity: .45; } to { transform: scale(3.5); opacity: 0; } }
.fade-in { opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ─── FOCUS VISIBLE (accesibilidad teclado) ─── */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-nav:focus-visible,
.btn-form:focus-visible,
.quick-item:focus-visible,
.nav-center a:focus-visible,
.ver-mas:focus-visible {
  outline: 2px solid var(--azul-btn);
  outline-offset: 3px;
}

/* ─── RIPPLE SPAN ─── */
.btn-ripple-el {
  position: absolute;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-left: -40px;
  background: rgba(255,255,255,0.38);
  pointer-events: none;
  animation: btn-ripple .52s ease-out forwards;
}

/* ─── RESPONSIVE ─── */
@media(max-width:900px){
  nav { padding: 0 20px; }
  .nav-center, .nav-tel { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 260px; }
  .hero-left { padding: 52px 20px; }
  .hero-left h1 { font-size: 34px; line-height: 1.12; }
  .quick-links { padding: 24px 20px; }
  .quick-links-grid { grid-template-columns: repeat(3,1fr); }
  .section { padding: 56px 20px; }
  .sticky-inner { grid-template-columns: 1fr; }
  .sticky-img-col { position: relative; top: auto; }
  .servicios-grid { grid-template-columns: 1fr; }
  #prevencion-incendios { grid-column: auto; }
  .sectores-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .footer-bar { padding: 20px; }
  .footer-links-section { padding: 40px 20px; }
}
