/* ==========================================================================
   PIRBO Seguridad Privada — Hoja de estilos principal
   Paleta: Azul oscuro / Gris / Negro / Blanco
   ========================================================================== */

:root {
  --navy: #1e1e3b;
  --navy-dark: #12122a;
  --navy-darker: #0a0a18;
  --navy-soft: #2a2a4d;
  --gray: #b0b0b0;
  --gray-dark: #6e6e7a;
  --gray-darker: #4a4a55;
  --gray-light: #f2f2f4;
  --gray-lighter: #f8f8f9;
  --black: #0a0a0f;
  --white: #ffffff;

  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(10, 10, 24, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 10, 24, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 10, 24, 0.22);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--navy-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; color: var(--navy); }
section { position: relative; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--navy);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gray); }
.eyebrow.on-dark::before { background: var(--gray); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 10px 0 16px;
}
.section-lead {
  color: var(--gray-dark);
  font-size: 1.05rem;
  max-width: 680px;
}
.section-head {
  margin-bottom: 46px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

.section-pad { padding: 96px 0; }

.bg-light { background: var(--gray-lighter); }
.bg-navy {
  background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy) 70%, var(--navy-soft) 100%);
  color: var(--white);
}
.bg-navy .section-title, .bg-navy h3 { color: var(--white); }
.bg-navy .section-lead { color: rgba(255,255,255,0.72); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: var(--gray-light); }

.btn-solid {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-solid:hover { background: var(--navy-dark); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-dark {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 24, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: var(--transition);
}
.site-header.is-scrolled .brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--white);
  font-weight: 800;
}
.brand-text span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--white);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.phone-pill svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, var(--navy-darker) 0%, var(--navy) 46%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 110px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 20%, rgba(176,176,176,0.16), transparent 45%),
                     radial-gradient(circle at 15% 85%, rgba(176,176,176,0.10), transparent 50%);
  pointer-events: none;
}
.hero-rings {
  position: absolute;
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  opacity: 0.08;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow { color: var(--gray); }
.hero-copy .eyebrow::before { background: var(--gray); }
.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: var(--white);
  margin: 18px 0 22px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: normal;
  color: var(--gray);
}
.hero-text {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 30px;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--white);
}
.hero-stats .stat span {
  font-size: 0.76rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-media .frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.06);
}
.hero-media .frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.05);
}
.hero-media .frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(30,30,59,0) 40%, rgba(10,10,24,0.55) 100%);
}
.hero-badge {
  position: absolute;
  left: -30px;
  bottom: 30px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  max-width: 260px;
}
.hero-badge svg { width: 34px; height: 34px; flex-shrink: 0; color: var(--navy); }
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { font-size: 0.78rem; color: var(--gray-dark); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { top: -100%; } 60%,100% { top: 100%; } }

/* ==========================================================================
   TRUST STRIP (Certificaciones resumidas)
   ========================================================================== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(10,10,24,0.06);
  padding: 26px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-dark);
}
.trust-item svg { width: 26px; height: 26px; color: var(--navy); flex-shrink: 0; }
.trust-item b { display: block; font-size: 0.88rem; }
.trust-item span { font-size: 0.76rem; color: var(--gray-dark); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-md);
}
.about-media-tag {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-media-tag b { display: block; font-family: var(--font-heading); font-size: 1.9rem; }
.about-media-tag span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); }

.about-copy p { color: var(--gray-dark); margin-bottom: 18px; font-size: 1.02rem; }
.about-copy p strong { color: var(--navy); }

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.value-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(10,10,24,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.value-card svg { width: 26px; height: 26px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.value-card h4 { font-size: 0.96rem; margin-bottom: 4px; }
.value-card p { font-size: 0.85rem; color: var(--gray-dark); margin: 0; }

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.coverage-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-light);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}
.coverage-tags svg { width: 14px; height: 14px; }

/* ==========================================================================
   PROCESS (Analisis de riesgo + Supervision)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.process-card {
  padding: 56px 48px;
  position: relative;
}
.process-card.photo {
  background-size: cover;
  background-position: center;
  color: var(--white);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.process-card.photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,24,0.15) 0%, rgba(10,10,24,0.88) 100%);
}
.process-card.photo .inner { position: relative; z-index: 2; }
.process-card.photo h3 { color: var(--white); }
.process-card.photo p { color: rgba(255,255,255,0.8); }

.process-card.dark {
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-card.dark h3 { color: var(--white); }
.process-card.dark p { color: rgba(255,255,255,0.78); }
.process-card .num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 14px;
  display: block;
}
.process-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.process-card p { font-size: 0.98rem; max-width: 460px; }
.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.check-list svg { width: 18px; height: 18px; color: var(--gray); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,10,24,0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-media {
  height: 220px;
  background-size: cover;
  background-position: top center;
  position: relative;
}
.service-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,30,59,0) 40%, rgba(10,10,24,0.75) 100%);
}
.service-media.icon-only {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-media.icon-only svg { width: 68px; height: 68px; color: var(--gray); }
.service-icon-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.service-icon-badge svg { width: 26px; height: 26px; color: var(--navy); }
.service-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 8px;
}
.service-body p { color: var(--gray-dark); font-size: 0.92rem; flex: 1; }
.service-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.service-link svg { width: 16px; height: 16px; transition: var(--transition); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ==========================================================================
   UNIFORMES / EQUIPO
   ========================================================================== */
.equip-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.equip-media {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-darker) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 460px;
}
.equip-media img {
  width: 78%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}
.equip-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.equip-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-lighter);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark);
}
.equip-list svg { width: 20px; height: 20px; color: var(--navy); flex-shrink: 0; }

/* ==========================================================================
   CERTIFICACIONES
   ========================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-6px); }
.cert-badge {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.cert-badge svg { width: 34px; height: 34px; color: var(--white); }
.cert-card h3 { font-size: 1.1rem; letter-spacing: 0.04em; margin-bottom: 8px; }
.cert-card p { font-size: 0.86rem; color: rgba(255,255,255,0.65); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--navy-darker), var(--navy));
  color: var(--white);
  padding: 70px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 620px; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(10,10,24,0.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.contact-card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--gray-dark); font-size: 0.92rem; }
.contact-card a:hover { color: var(--navy); text-decoration: underline; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 340px;
  border: 1px solid rgba(10,10,24,0.08);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

.contact-hours {
  margin-top: 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-hours svg { width: 30px; height: 30px; color: var(--gray); flex-shrink: 0; }
.contact-hours strong { display: block; font-size: 0.95rem; }
.contact-hours span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.68);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; }
.footer-brand strong { color: var(--white); font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 0.05em; }
.footer-brand span { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.footer-about p { font-size: 0.88rem; max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--navy); }
.footer-social svg { width: 17px; height: 17px; color: var(--white); }

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-col li { display: flex; gap: 8px; font-size: 0.88rem; align-items: flex-start; }
.footer-col li svg { width: 16px; height: 16px; color: var(--gray); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.fab svg { width: 26px; height: 26px; }
.fab-whatsapp { background: #25D366; color: var(--white); }
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-top {
  background: var(--navy);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--navy-dark); }

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .about-grid, .equip-grid { gap: 40px; }
  .hero-grid { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

body.nav-lock { overflow: hidden; }

@media (max-width: 960px) {
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--navy-darker);
    padding: 110px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,0.35);
    z-index: 1050;
  }
  .main-nav.is-open-mobile { transform: translateX(0); }
  .main-nav a { font-size: 1.05rem; padding: 10px 0; width: 100%; }
  .header-cta .phone-pill span.long { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-bottom: 10px; }
  .hero-media .frame { max-width: 320px; }
  .hero-media .frame img { height: 380px; }
  .hero-badge { left: 0; bottom: -20px; }
  .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 22px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media img { height: 340px; }
  .about-values { grid-template-columns: 1fr 1fr; }

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

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

  .equip-grid { grid-template-columns: 1fr; }
  .equip-media { min-height: 340px; }

  .certs-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

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

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

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .hero { padding-top: 96px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px 16px; }

  .about-values { grid-template-columns: 1fr; }
  .about-media-tag { right: 0; bottom: -20px; padding: 14px 18px; }

  .services-grid { grid-template-columns: 1fr; }
  .equip-list { grid-template-columns: 1fr; }

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

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

  .trust-strip .container { justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .brand-text strong { font-size: 1rem; }
}
