/* INTERHALT CSS v12 */
/* ==========================================================
   INTERHALT · Rediseño
   Paleta tomada del logo: cian eléctrico, acero cepillado y grafito
   ========================================================== */
:root {
  --cyan: #19d3ff;
  --blue: #0a9de8;
  --deep: #06364f;
  --steel-100: #f3f5f8;
  --steel-200: #e3e8ed;
  --steel-300: #c9d0d8;
  --steel-500: #8b96a2;
  --graphite: #2b3036;
  --ink: #0a1119;
  --ink-2: #0f1b27;
  --radius: 18px;
  --glow: 0 0 0 1px rgba(25, 211, 255, .35), 0 12px 40px -12px rgba(25, 211, 255, .45);
  --shadow: 0 10px 30px -12px rgba(10, 17, 25, .25);
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--graphite);
  background: var(--steel-100);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.1;
  font-weight: 700;
}
img { max-width: 100%; }
a { color: var(--blue); }

/* ---------- Botones ---------- */
.btn-cta {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #04121c !important;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  box-shadow: var(--glow);
  transition: transform .2s, filter .2s;
}
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-steel {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  padding: .55rem 1.4rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-steel:hover { border-color: var(--cyan); color: var(--cyan) !important; }
.btn-outline-dark-steel {
  border: 2px solid var(--graphite);
  color: var(--graphite) !important;
  border-radius: 999px;
  font-weight: 600;
  padding: .5rem 1.2rem;
}
.btn-outline-dark-steel:hover { background: var(--graphite); color: #fff !important; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(180deg, #0f1b27, #0a1119);
  box-shadow: 0 1px 0 rgba(25, 211, 255, .55), 0 8px 30px rgba(0, 0, 0, .35);
  z-index: 1030;
}
.brand-logo {
  width: 54px; height: 54px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(25, 211, 255, .55));
}
.navbar-brand { display: flex; align-items: center; gap: .75rem; }
.brand-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: #fff;
  font-weight: 600;
}
.brand-text b { color: var(--cyan); font-weight: 800; }
.site-header .nav-link {
  color: #d5dee7 !important;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--cyan) !important; }
.site-header .dropdown-menu {
  background: #0f1b27;
  border: 1px solid rgba(25, 211, 255, .35);
  border-radius: 14px;
  padding: .5rem;
}
.site-header .dropdown-item { color: #d5dee7; border-radius: 10px; padding: .55rem .9rem; }
.site-header .dropdown-item:hover,
.site-header .dropdown-item.active { background: rgba(25, 211, 255, .14); color: var(--cyan); }
.navbar-toggler { border-color: rgba(25, 211, 255, .6); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(25, 211, 255, .3); }

/* ---------- Secciones ---------- */
.section { padding: 4.5rem 0; }
.section-dark {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(25, 211, 255, .18), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  color: #e8eef4;
}
.section-steel {
  background: linear-gradient(180deg, #e9edf2, #dfe5eb);
}
.section-title { text-align: center; margin-bottom: 2.75rem; }
.section-title h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: .9rem; }
.section-title h2 i { color: var(--cyan); margin-right: .5rem; }
.section-title p { max-width: 720px; margin: .8rem auto 0; color: var(--steel-500); }
.section-dark .section-title p { color: #9fb0c0; }
/* separador de guiones, como el aro del logo */
.dash-divider {
  height: 4px; width: 150px; margin: 0 auto;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 18px, transparent 18px 28px);
  border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero .carousel-item { height: clamp(540px, 84vh, 780px); height: clamp(540px, 84svh, 780px); }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero .carousel-item.active .hero-bg { animation: hero-zoom 10s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 85% 15%, rgba(25, 211, 255, .22), transparent 60%),
    linear-gradient(95deg, rgba(5, 10, 16, .94) 0%, rgba(5, 10, 16, .78) 42%, rgba(5, 10, 16, .25) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-copy { max-width: 680px; color: #fff; padding: 2rem 0 4rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
}
.hero-kicker::before {
  content: ""; width: 46px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 15px);
}
.hero-copy h2 {
  font-size: clamp(2.1rem, 5.6vw, 4rem); margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.hero-copy h2 span { color: var(--cyan); }
.hero-copy p { font-size: clamp(1.02rem, 2vw, 1.3rem); color: #d9e3ec; margin-bottom: 1.6rem; max-width: 560px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-emblem {
  position: absolute; right: max(5vw, 32px); top: 50%; z-index: 2;
  width: clamp(80px, 7vw, 110px); height: auto; aspect-ratio: 1; pointer-events: none;
  transform: translateY(-50%) rotate(-14deg);
  filter: drop-shadow(0 0 16px rgba(25, 211, 255, .45));
  opacity: .95;
  animation: emblem-float 6s ease-in-out infinite;
}
@keyframes emblem-float {
  0%, 100% { transform: translateY(-50%) rotate(-14deg); }
  50% { transform: translateY(calc(-50% - 10px)) rotate(-10deg); }
}
.hero .carousel-indicators { margin-bottom: 1.4rem; z-index: 5; }
.hero .carousel-indicators [data-bs-target] {
  width: 34px; height: 4px; border: 0; border-radius: 4px; background: #fff; opacity: .45; margin: 0 4px;
}
.hero .carousel-indicators .active { background: var(--cyan); opacity: 1; }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 7%; z-index: 5; }
@media (max-width: 991px) { .hero-emblem { display: none; } }
@media (max-width: 767px) {
  .hero .carousel-item { height: clamp(580px, 90vh, 720px); height: clamp(580px, 90svh, 720px); }
  .hero-shade {
    background:
      radial-gradient(500px 300px at 80% 0%, rgba(25, 211, 255, .2), transparent 60%),
      linear-gradient(0deg, rgba(5, 10, 16, .96) 0%, rgba(5, 10, 16, .82) 48%, rgba(5, 10, 16, .4) 100%);
  }
  .hero-content { align-items: flex-end; }
  .hero-copy { padding: 2rem 0 4.4rem; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* ---------- Certificaciones ---------- */
.cert-strip {
  position: relative; padding: 2.6rem 0 2.9rem;
  background: linear-gradient(180deg, #0f1b27, #0a1119);
  border-bottom: 1px solid rgba(25, 211, 255, .4);
}
.cert-strip h2 { text-align: center; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.6rem; }
.cert-strip h2 span { color: var(--cyan); }
.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.cert-item {
  flex: 0 0 calc(50% - .55rem); height: 130px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 18px;
  box-shadow: 0 0 0 2px rgba(25, 211, 255, .5), 0 14px 34px -12px rgba(25, 211, 255, .6);
  transition: transform .25s;
}
.cert-item:hover { transform: translateY(-5px); }
.cert-item img { display: block; max-width: 100%; max-height: 100px; width: auto; height: auto; object-fit: contain; }
@media (min-width: 768px) { .cert-item { flex: 0 0 calc(33.333% - .75rem); height: 150px; } .cert-item img { max-height: 118px; } }
@media (min-width: 992px) { .cert-item { flex: 0 0 calc(20% - .9rem); height: 170px; } .cert-item img { max-height: 135px; } }

/* ---------- Tarjetas de servicio ---------- */
.svc-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-card .svc-body { padding: 1.3rem 1.3rem .6rem; flex: 1; }
.svc-card h3 { font-size: 1.45rem; margin-bottom: .8rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.check-list li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 0; color: var(--blue);
}
.svc-card .svc-actions { padding: 1rem 1.3rem 1.4rem; display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Banner único ---------- */
.unico {
  position: relative; overflow: hidden; padding: 5rem 0; text-align: center; color: #fff;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(25, 211, 255, .22), transparent 70%),
    linear-gradient(135deg, #0c2a3f, #0a1119 60%);
  border-top: 1px solid rgba(25, 211, 255, .4);
}
.unico::before, .unico::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 6px dashed rgba(25, 211, 255, .25); pointer-events: none;
}
.unico::before { left: -120px; top: -120px; }
.unico::after { right: -120px; bottom: -160px; }
.unico-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.unico h2 {
  font-size: clamp(2.8rem, 9vw, 5.6rem); letter-spacing: .06em; margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, var(--cyan) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.unico .dash-divider { margin-bottom: 1.8rem; }
.unico p { margin: 0; font-size: clamp(1.2rem, 2.6vw, 1.8rem); line-height: 1.55; font-weight: 500; color: #dbe6ef; }
.unico p strong { color: var(--cyan); font-weight: 800; letter-spacing: .02em; }
@media (max-width: 575px) { .unico { padding: 3.6rem 0; } }

/* ---------- Contadores ---------- */
.counters {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 6px),
    linear-gradient(135deg, var(--ink-2), #143247);
  color: #fff;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(25, 211, 255, .35);
  border-bottom: 1px solid rgba(25, 211, 255, .35);
}
.counter-card { text-align: center; padding: 1rem; }
.counter-card .pre {
  display: block; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .2em; color: #9fb0c0; font-size: 1rem;
}
.counter-card .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3.4rem, 8vw, 5.2rem); line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(25, 211, 255, .55);
}
.counter-card .num::before { content: "+"; font-size: .6em; vertical-align: top; margin-right: .1em; }
.counter-card .lbl {
  font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- Videos ---------- */
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--glow);
}
.video-card iframe, .video-card .yt-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sound-btn {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  background: rgba(10, 17, 25, .8);
  color: #fff; border: 1px solid var(--cyan);
  border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 600;
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.sound-btn:hover { background: var(--cyan); color: #04121c; }
.video-caption { text-align: center; margin-top: .8rem; font-weight: 600; color: #cfd8e1; }

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.gallery-grid a, .gallery-grid button {
  display: block; padding: 6px; border: 0; background: #fff; cursor: zoom-in;
  border-radius: 16px; overflow: hidden; position: relative;
  box-shadow: 0 12px 26px -8px rgba(10, 17, 25, .4), 0 2px 6px rgba(10, 17, 25, .14);
  transition: transform .25s, box-shadow .25s;
}
.gallery-grid a:hover, .gallery-grid button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -10px rgba(10, 17, 25, .5), 0 0 0 2px rgba(25, 211, 255, .65);
}
.gallery-grid a img, .gallery-grid button img { border-radius: 11px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; display: block; }
.gallery-grid a:hover img, .gallery-grid button:hover img { transform: scale(1.07); }
.gallery-grid a::after, .gallery-grid button::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; border: 2px solid transparent; transition: border-color .25s;
}
.gallery-grid a:hover::after, .gallery-grid button:hover::after { border-color: var(--cyan); }
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(5, 10, 16, .92);
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: var(--glow); }
.lightbox .lb-close {
  position: absolute; top: 14px; right: 18px; font-size: 2.2rem; color: #fff; background: none; border: 0; cursor: pointer;
}

/* ---------- Carrusel de clientes (una sola línea, en movimiento) ---------- */
.marquee {
  overflow: hidden; padding: .8rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.25rem; width: max-content;
  animation: marquee-scroll var(--dur, 100s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { to { transform: translateX(calc(-50% - .625rem)); } }
/* Sin tarjeta ni fondo: el blanco de cada logo se funde con el fondo de la sección */
.logo-chip {
  flex: 0 0 auto; width: 280px; height: 170px; padding: 6px 10px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; box-shadow: none;
}
.logo-chip img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 150px;
  object-fit: contain; mix-blend-mode: multiply;
}
@media (max-width: 575px) { .logo-chip { width: 210px; height: 130px; } .logo-chip img { max-height: 112px; } }

/* ---------- Por qué Interhalt ---------- */
.why-card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem; height: 100%;
  border: 1px solid var(--steel-200); box-shadow: var(--shadow);
  display: flex; gap: 1.2rem; align-items: flex-start;
  transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.why-icon {
  flex: 0 0 auto; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem; color: var(--cyan);
  background: radial-gradient(circle at 30% 25%, #4a525b, #1e2328 70%);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 18px rgba(25, 211, 255, .5), inset 0 0 12px rgba(0, 0, 0, .6);
}
.why-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.why-card p { margin: 0; color: #4b5560; }

/* ---------- Instagram ---------- */
.social-grid { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; }
.social-card {
  flex: 1 1 300px; max-width: 400px; min-width: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); box-shadow: var(--glow);
}
.soc-head {
  display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; color: #fff;
  background: linear-gradient(90deg, #0f1b27, #143247);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase;
}
.soc-head i { color: var(--cyan); font-size: 1.3rem; }
.soc-profile { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1rem; flex-wrap: wrap; }
.soc-avatar {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  background: #0f1b27; border: 2px solid var(--cyan);
}
.soc-info { flex: 1 1 120px; min-width: 0; }
.soc-name { font-weight: 700; color: var(--graphite); line-height: 1.2; overflow-wrap: anywhere; }
.soc-sub { font-size: .9rem; color: var(--steel-500); }
.soc-follow {
  display: inline-block; padding: .5rem 1.1rem; border-radius: 10px; white-space: nowrap;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: #fff !important; transition: filter .2s, transform .2s;
}
.soc-follow:hover { filter: brightness(1.1); transform: translateY(-2px); }
.soc-follow.ig { background: #4c5ef7; }
.soc-follow.fb { background: #1877f2; }

/* ---------- Cotiza / contacto ---------- */
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; height: 100%;
  border: 1px solid var(--steel-200); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.contact-card .ico {
  width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; color: var(--cyan);
  background: radial-gradient(circle at 30% 25%, #4a525b, #1e2328 70%);
  border: 3px solid var(--cyan); box-shadow: 0 0 18px rgba(25, 211, 255, .5);
}

/* ---------- Banda reclutamiento ---------- */
.join-band {
  position: relative; overflow: hidden; text-align: center; color: #fff; padding: 3.5rem 1rem;
  background: linear-gradient(135deg, #0c2a3f, #0a1119 60%);
  border-top: 1px solid rgba(25, 211, 255, .4);
}
.join-band::before, .join-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 6px dashed rgba(25, 211, 255, .25);
}
.join-band::before { left: -120px; top: -120px; }
.join-band::after { right: -120px; bottom: -160px; }
.join-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); position: relative; z-index: 1; }
.join-band .btn { position: relative; z-index: 1; margin-top: 1rem; }

/* ---------- Hero de páginas internas ---------- */
.page-hero {
  color: #fff; padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 340px at 85% -20%, rgba(25, 211, 255, .28), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid rgba(25, 211, 255, .4);
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
  width: 340px; height: 340px; border-radius: 50%; border: 8px dashed rgba(25, 211, 255, .22);
}
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin-bottom: .6rem; }
.page-hero h1 span { color: var(--cyan); }
.page-hero .crumbs { color: #9fb0c0; font-size: .95rem; margin-bottom: .8rem; }
.page-hero .crumbs a { color: var(--cyan); text-decoration: none; }

/* Beneficios / propuesta de valor */
.info-panel {
  background: #fff; border-radius: var(--radius); padding: 2rem; height: 100%;
  border: 1px solid var(--steel-200); box-shadow: var(--shadow); border-top: 4px solid var(--cyan);
}
.info-panel h3 { font-size: 1.7rem; margin-bottom: 1rem; }
.info-panel h3 i { color: var(--blue); margin-right: .5rem; }
.highlight-box {
  border-radius: var(--radius); padding: 2.2rem; text-align: center; color: #fff;
  background:
    radial-gradient(600px 240px at 50% -30%, rgba(25, 211, 255, .3), transparent 70%),
    linear-gradient(135deg, #0f1b27, #143247);
  box-shadow: var(--glow);
}
.highlight-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.highlight-box p { margin: .8rem auto 0; max-width: 760px; color: #cfdbe6; }

/* Pasos del proceso */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.2rem;
}
.step { text-align: center; position: relative; }
.step .ring {
  width: 84px; height: 84px; margin: 0 auto .8rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; color: var(--cyan);
  background: radial-gradient(circle at 30% 25%, #4a525b, #1e2328 70%);
  border: 3px solid var(--cyan); box-shadow: 0 0 16px rgba(25, 211, 255, .5);
  position: relative;
}
.step .n {
  position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cyan); color: #04121c; font-weight: 800; font-size: .9rem;
  display: grid; place-items: center; font-family: var(--font-head);
}
.step h4 { font-size: 1.15rem; margin: 0; }
.section-dark .step h4 { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #070d14; color: #c4cfda; }
.site-footer .social-bar {
  background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #04121c; padding: 1.1rem 0; font-weight: 600;
}
.site-footer .social-bar a { color: #04121c; text-decoration: none; }
.site-footer .social-bar .soc { font-size: 1.5rem; margin-left: 1rem; }
.site-footer .foot-main { padding: 3rem 0 1.5rem; }
.site-footer h6 {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: #fff; font-size: 1.15rem;
  padding-bottom: .6rem; margin-bottom: 1rem; position: relative;
}
.site-footer h6::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 12px, transparent 12px 18px);
}
.site-footer a { color: #c4cfda; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer li { margin-bottom: .45rem; list-style: none; }
.site-footer ul { padding: 0; margin: 0; }
.site-footer .foot-logo { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 0 14px rgba(25, 211, 255, .5)); }
.site-footer .copy { background: rgba(255, 255, 255, .04); text-align: center; padding: 1rem; font-size: .92rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1040;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  height: 62px; min-width: 62px; padding: 0; border-radius: 999px; text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, #2ee66f, #0e9f5b);
  border: 2px solid rgba(255, 255, 255, .6);
  box-shadow: 0 12px 30px -6px rgba(14, 159, 91, .7), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .25s, box-shadow .25s;
}
.wa-float i { font-size: 2rem; line-height: 1; }
.wa-float .wa-label { display: none; white-space: nowrap; font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.wa-float::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  border: 2px solid rgba(46, 230, 111, .75); animation: wa-ring 2.2s infinite ease-out; pointer-events: none;
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px -6px rgba(14, 159, 91, .85), inset 0 1px 0 rgba(255, 255, 255, .4); }
@media (min-width: 768px) { .wa-float { padding: 0 1.3rem 0 1.1rem; } .wa-float .wa-label { display: inline; } }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 991px) {
  .brand-text { font-size: 1.2rem; }
  .site-header .navbar-collapse { padding: 1rem 0; }
}
@media (max-width: 575px) {
  .section { padding: 3.2rem 0; }
  .logo-chip { width: 150px; height: 90px; }
  .why-card { flex-direction: column; }
  .brand-logo { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .wa-float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before, .hero-emblem, .hero .carousel-item.active .hero-bg { animation: none; }
}

/* ---- v5: clientes con menos margen vertical (mismo tamaño de logos) ---- */
#clientes.section { padding: 2.2rem 0 2rem; }
#clientes .section-title { margin-bottom: 1rem; }
#clientes .marquee { padding: 0; }
.logo-chip { height: 150px; padding: 0 10px; }
@media (max-width: 575px) {
  #clientes.section { padding: 1.8rem 0 1.6rem; }
  .logo-chip { height: 112px; padding: 0 8px; }
}

/* ---- v7: botones de las tarjetas de servicio centrados ---- */
.svc-card .svc-actions {
  flex-direction: column; align-items: center; justify-content: center; gap: .65rem;
  padding: 1rem 1.3rem 1.5rem; text-align: center;
}
.svc-card .svc-actions .btn { width: 100%; max-width: 230px; text-align: center; }

/* ---- v9: galería en mosaico para 5 fotos (1 grande + 4 chicas) ---- */
.gallery-grid.gallery-mosaic {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 235px);
  gap: 1rem;
}
.gallery-mosaic > button { height: 100%; width: 100%; }
.gallery-mosaic > button img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.gallery-mosaic > button:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767px) {
  .gallery-grid.gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(120px, 36vw, 190px); gap: .75rem; }
  .gallery-mosaic > button:first-child { grid-column: span 2; grid-row: span 2; }
}

/* ---- v11: formularios (contacto y reclutamiento) y preguntas frecuentes ---- */
.form-section { padding: 3.5rem 0 4.5rem; }
.form-card {
  max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 2.2rem;
  border: 1px solid var(--steel-200); border-top: 4px solid var(--cyan); box-shadow: var(--glow);
}
.form-card .form-label { font-weight: 600; color: var(--graphite); }
.form-card .form-control, .form-card .form-select {
  border: 1.5px solid var(--steel-300); border-radius: 12px; padding: .7rem .9rem; font-size: 1rem;
}
.form-card .form-control:focus, .form-card .form-select:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 .25rem rgba(25, 211, 255, .25);
}
.form-card .req-note { color: var(--steel-500); font-size: .92rem; margin-bottom: 1rem; }
.form-card .btn-cta { width: 100%; padding: .85rem; font-size: 1.1rem; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.faq .accordion-item {
  border: 1px solid var(--steel-200); border-radius: 14px !important; overflow: hidden; margin-bottom: .8rem; box-shadow: var(--shadow);
}
.faq .accordion-button {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; color: var(--graphite);
}
.faq .accordion-button:not(.collapsed) { background: linear-gradient(90deg, #0f1b27, #143247); color: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq .accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(25, 211, 255, .25); }
.faq .accordion-body { font-size: 1.05rem; }
@media (max-width: 575px) { .form-card { padding: 1.4rem 1.1rem; } }

/* ---- v12: ícono de inicio de sesión (demo) junto a "Cotiza ahora" ---- */
.site-header .nav-login {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  height: 42px; min-width: 42px; border-radius: 999px; font-size: 1.1rem;
  color: var(--cyan) !important; border: 2px solid rgba(25, 211, 255, .65); background: rgba(25, 211, 255, .08);
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.site-header .nav-login:hover, .site-header .nav-login:focus-visible {
  background: var(--cyan); color: #04121c !important; box-shadow: 0 0 18px rgba(25, 211, 255, .55); transform: translateY(-1px);
}
@media (max-width: 991px) {
  .site-header .nav-login { width: 100%; justify-content: flex-start; padding: 0 1rem; margin-top: .5rem; border-radius: 12px; font-weight: 600; }
}
