/* =========================================================
   SUB-MINING — Hoja de estilos principal
   Orden: variables · base · utilidades · header · hero ·
          servicios · productos · nosotros · marcas · cta ·
          footer · animaciones · responsive
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  --amarillo: #f5a800;
  --amarillo-2: #ffc42e;
  --amarillo-oscuro: #c98600;
  --negro: #0a0a0a;
  --carbon: #111417;
  --gris-900: #1a1d21;
  --gris-700: #4a5058;
  --gris-500: #6e7580;
  --gris-300: #d8dce1;
  --gris-200: #e7eaed;
  --gris-100: #f4f5f7;
  --blanco: #ffffff;
  --sombra-sm: 0 2px 10px rgba(10, 12, 15, .06);
  --sombra: 0 18px 40px rgba(10, 12, 15, .12);
  --radio: 6px;
  --header-h: 88px;
  --ff: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  color: var(--gris-900);
  background: var(--blanco);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

section { scroll-margin-top: calc(var(--header-h) + 10px); }

:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }

@media (min-width: 1200px) {
  .container { max-width: 1240px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--negro);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radio) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Botones ---------- */
.btn {
  font-family: var(--ff);
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  transition: transform .25s ease, box-shadow .25s ease,
              background-color .25s ease, border-color .25s ease, color .25s ease;
}

.btn i { transition: transform .25s ease; }

.btn-brand {
  background: var(--amarillo);
  border: 2px solid var(--amarillo);
  color: #141414;
  padding: .78rem 1.45rem;
  font-size: .95rem;
}
.btn-brand:hover,
.btn-brand:focus-visible {
  background: var(--amarillo-2);
  border-color: var(--amarillo-2);
  color: #141414;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(245, 168, 0, .3);
}
.btn-brand:hover i { transform: translateX(4px); }

.btn-brand.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  padding: .78rem 1.45rem;
  font-size: .95rem;
}
.btn-ghost.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #141414;
}

.btn-outline-brand {
  background: #fff;
  border: 1px solid var(--amarillo);
  color: #141414;
  padding: .7rem 1.25rem;
  font-size: .92rem;
  white-space: nowrap;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: #141414;
}
.btn-outline-brand:hover i { transform: translateX(4px); }

/* ---------- 4. Utilidades de sección ---------- */
.text-brand { color: var(--amarillo); }

.eyebrow {
  display: block;
  width: 46px;
  height: 3px;
  background: var(--amarillo);
  margin-bottom: 1rem;
}

.section { padding: 84px 0; }

.section-title {
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .45rem;
  color: var(--negro);
}

.section-sub {
  margin: 0;
  color: var(--gris-500);
  font-size: .98rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--gris-200);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(10, 12, 15, .1); }

.site-header .navbar { min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .7rem; padding: 0; }

.brand-mark { width: 54px; height: auto; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: .04em;
  color: #111;
}

.brand-dash { color: var(--amarillo); }

.brand-tagline {
  margin-top: .38rem;
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris-700);
  white-space: nowrap;
}

.nav-main { gap: .1rem; }

.nav-main .nav-link {
  position: relative;
  color: #2a2e33;
  font-size: .94rem;
  font-weight: 500;
  padding: .55rem .8rem;
}
.nav-main .nav-link::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .1rem;
  height: 2px;
  background: var(--amarillo);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav-main .nav-link:hover { color: #111; }
.nav-main .nav-link:hover::after,
.nav-main .nav-link.active::after { transform: scaleX(1); }
.nav-main .nav-link.active { color: #111; font-weight: 600; }

.btn-header { font-size: .88rem; padding: .62rem 1.15rem; }

.navbar-toggler { border: 0; padding: .4rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111417' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 42vw, 600px);
  background: var(--negro);
  padding: clamp(72px, 9vw, 118px) 0 clamp(64px, 8vw, 96px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/img/fondo_01.svg");
  background-size: cover;
  background-position: 72% bottom;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .94) 0%, rgba(5, 6, 8, .82) 38%,
                            rgba(5, 6, 8, .42) 66%, rgba(5, 6, 8, .28) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, .55) 0%, rgba(5, 6, 8, 0) 35%,
                            rgba(5, 6, 8, .75) 100%);
}

.hero-inner { position: relative; }

.hero-rule {
  display: block;
  width: 46px;
  height: 3px;
  background: var(--amarillo);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 1.15rem;
  text-wrap: balance;
}

.hero-lead {
  max-width: 34rem;
  color: #d5d8dc;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
  line-height: 1.65;
  margin: 0 0 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- 7. Franja de servicios ---------- */
.features {
  background: var(--negro);
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 1.9rem 0;
}

.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .35rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.feature:first-child { border-left: 0; padding-left: 0; }

.feature i {
  color: var(--amarillo);
  font-size: 2rem;
  line-height: 1;
  flex: none;
}

.feature-text {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: .95rem;
  line-height: 1.35;
}
.feature-text strong { font-weight: 600; }
.feature-text span { color: #c9ccd1; font-size: .88rem; font-weight: 300; }

/* ---------- 8. Productos ---------- */
.section-productos { padding-bottom: 78px; }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radio);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 1.4rem;
  background: var(--gris-100);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.1);
  mix-blend-mode: multiply;
  transition: transform .5s ease;
}

.product-body { padding: 1.15rem 1.3rem 1.4rem; }

.product-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--negro);
  margin: 0 0 .3rem;
  line-height: 1.35;
}

.product-desc {
  font-size: .89rem;
  color: var(--gris-500);
  line-height: 1.55;
  margin: 0;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--gris-200);
  box-shadow: var(--sombra);
}
.product-card:hover .product-media img { transform: scale(1.16); }

/* ---------- 9. Sobre nosotros ---------- */
.about { background: #fff; }

.about-media {
  position: relative;
  min-height: 560px;
  height: 100%;
  background-image: url("../assets/img/about-bg.svg");
  background-size: cover;
  background-position: center bottom;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, .05) 24%, rgba(5, 6, 8, .58) 62%,
                                      rgba(5, 6, 8, .97) 100%);
}

.about-stats {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.9rem clamp(1.25rem, 3.5vw, 2.75rem);
}

.about-stat { display: flex; flex-direction: column; gap: .3rem; }

.stat-num {
  color: var(--amarillo);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.stat-label {
  color: #e9ebee;
  font-size: .8rem;
  font-weight: 300;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.about-body {
  background: var(--gris-100);
  padding: clamp(2.4rem, 5vw, 4.5rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-body p {
  color: var(--gris-700);
  font-size: .96rem;
  line-height: 1.72;
  margin: 0 0 .95rem;
}

.about-body .btn { align-self: flex-start; margin-top: .85rem; }

.about-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.4rem 0 0;
  padding: 0;
}

.about-highlights li { display: flex; gap: .7rem; align-items: flex-start; }

.about-highlights i {
  color: var(--amarillo);
  font-size: 1.45rem;
  line-height: 1;
  margin-top: .1rem;
  flex: none;
}

.about-highlights li > span {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.about-highlights strong {
  font-size: .85rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.about-highlights li > span > span {
  font-size: .77rem;
  font-weight: 300;
  color: var(--gris-500);
  line-height: 1.45;
}

/* ---------- 10. Marcas ---------- */
.section-marcas { padding: 64px 0; background: #fff; }

.brands-wrap {
  display: grid;
  grid-template-columns: minmax(250px, .85fr) 2fr;
  gap: 2.5rem;
  align-items: center;
}

.brands-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 62px;
  font-weight: 800;
  line-height: 1;
  transition: transform .25s ease, opacity .25s ease;
}
.brands-row li:hover .brand-logo { transform: translateY(-3px); opacity: .92; }

.brand-clark {
  color: #e01b22;
  font-size: 1.55rem;
  font-style: italic;
  letter-spacing: -.02em;
  font-family: "Poppins", Arial, sans-serif;
}
.brand-clark sup { font-size: .45em; font-style: normal; }

.brand-kessler {
  max-width: 178px;
  background: #e2001a;
  color: #fff;
  font-size: 1.12rem;
  letter-spacing: .02em;
  border-radius: 2px;
}
.brand-kessler sup { font-size: .4em; }

.brand-sandvik {
  max-width: 186px;
  background: #0a5aa8;
  color: #fff;
  border: 4px solid #0a5aa8;
  outline: 2px solid #0a5aa8;
  outline-offset: -7px;
  font-size: 1.12rem;
  letter-spacing: .07em;
  font-weight: 700;
}

.brand-atlas {
  color: #1b4f9c;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.01em;
  font-style: italic;
}

/* ---------- 11. CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--negro);
  padding: clamp(48px, 6vw, 78px) 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/img/cta-bg.svg");
  background-size: cover;
  background-position: center;
}

.cta-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 6, 8, .96) 0%, rgba(5, 6, 8, .82) 42%,
                                      rgba(5, 6, 8, .38) 100%);
}

.cta-title {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 0 .55rem;
}

.cta-text {
  color: #d7dade;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 32rem;
  margin: 0 0 1.6rem;
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--negro);
  color: #b9bdc3;
  padding: 54px 0 0;
}

.brand--footer { gap: .8rem; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-tagline { color: #9aa0a8; }

.footer-top { padding-bottom: 2.4rem; }

.footer-col { display: flex; align-items: flex-start; gap: .9rem; }

.footer-col > i {
  color: var(--amarillo);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: .3rem;
  flex: none;
}

.footer-title {
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 .3rem;
}

.footer-col p {
  margin: 0;
  font-size: .86rem;
  font-weight: 300;
  line-height: 1.6;
  color: #a9aeb6;
}

.footer-col a { color: #a9aeb6; transition: color .2s ease; }
.footer-col a:hover { color: var(--amarillo); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 1.15rem 0 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
}

.copyright { margin: 0; font-size: .78rem; font-weight: 300; color: #8d939b; }

.developer-credit {
  display: inline-block;
  margin-left: .7rem;
  padding-left: .7rem;
  border-left: 1px solid rgba(255, 255, 255, .18);
  color: #b9bdc3;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.footer-nav a { font-size: .78rem; color: #a9aeb6; transition: color .2s ease; }
.footer-nav a:hover { color: var(--amarillo); }

/* ---------- 13. WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float:hover,
.wa-float:focus-visible {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, .5);
}

/* ---------- 14. Animaciones de entrada ---------- */
body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}
body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 15. Responsive ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-mark { width: 46px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tagline { font-size: .46rem; }
  .nav-main .nav-link { font-size: .86rem; padding: .5rem .55rem; }
  .nav-main .nav-link::after { left: .55rem; right: .55rem; }
  .btn-header { font-size: .8rem; padding: .55rem .9rem; }
}

@media (max-width: 1199.98px) {
  .brands-wrap { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: .6rem;
    padding: .25rem 0 1.25rem;
    border-top: 1px solid var(--gris-200);
  }
  .nav-main { gap: 0; padding-top: .4rem; }
  .nav-main .nav-link {
    padding: .75rem .2rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--gris-100);
  }
  .nav-main .nav-link::after { display: none; }
  .btn-header { width: 100%; margin-top: 1rem; padding: .8rem 1rem; }

  .hero { padding: 64px 0 56px; }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); }

  .features-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.1rem; }
  .feature { padding: .35rem 1rem; }
  .feature:nth-child(odd) { border-left: 0; padding-left: 0; }
  .feature:nth-child(-n + 2) {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .about-media { min-height: 440px; }
  .about-body { padding: 2.5rem 1.5rem; }
  .about-highlights { margin-top: 2rem; }

  .brands-row { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

@media (max-width: 767.98px) {
  .section { padding: 60px 0; }
  .section-productos { padding-bottom: 60px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .btn-outline-brand { width: 100%; }

  .hero-lead { font-size: .98rem; }
  .hero-actions { gap: .75rem; }
  .hero-actions .btn { flex: 1 1 240px; }

  .about-stats { padding: 1.4rem 1.25rem; gap: .85rem; }
  .stat-num { font-size: 1.05rem; }
  .stat-label { font-size: .74rem; }

  .about-highlights { grid-template-columns: 1fr; gap: 1rem; }

  .brands-row { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  .brand-logo { height: 56px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .developer-credit { display: block; margin: .3rem 0 0; padding: 0; border-left: 0; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; font-size: 1.4rem; }
}

@media (max-width: 575.98px) {
  .brand-mark { width: 44px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tagline { display: none; }

  .hero { padding: 52px 0 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { flex: none; width: 100%; }

  .features-grid { grid-template-columns: 1fr; row-gap: 0; }
  .feature {
    border-left: 0;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .feature:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: .85rem; }
  .feature:last-child { border-bottom: 0; padding-bottom: 0; }
  .feature i { font-size: 1.7rem; }

  .about-media { min-height: 360px; }
  .about-stats { gap: .5rem; padding: 1.15rem 1rem; }
  .stat-num { font-size: .92rem; }
  .stat-label { font-size: .68rem; }

  .brands-row { gap: 1rem .75rem; }
  .brand-logo { height: 48px; }
  .brand-clark { font-size: 1.2rem; }
  .brand-kessler, .brand-sandvik { font-size: .88rem; max-width: 145px; }
  .brand-atlas { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  body.reveal-ready .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   16. PÁGINAS INTERNAS (Quiénes Somos / Contáctenos)
   ========================================================= */

/* ---------- 16.1 Encabezado de página ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(260px, 26vw, 340px);
  padding: clamp(44px, 5.5vw, 68px) 0;
  background: var(--negro);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/img/fondo_01.svg");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

.page-hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .74) 55%,
                                      rgba(5, 6, 8, .46) 100%);
}

.page-hero-inner { position: relative; width: 100%; }

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: #a9aeb6;
  margin-bottom: .9rem;
}
.crumb a { color: #c9ccd1; transition: color .2s ease; }
.crumb a:hover { color: var(--amarillo); }
.crumb i { font-size: .55rem; color: var(--amarillo); }
.crumb span { color: var(--amarillo); font-weight: 500; }

.page-title {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .55rem;
}

.page-sub {
  color: #d5d8dc;
  font-weight: 300;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  max-width: 42rem;
  margin: 0;
}

/* ---------- 16.2 Utilidades de sección ---------- */
.section-alt { background: var(--gris-100); }

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .section-head-text { max-width: 660px; }

.eyebrow--center { margin-left: auto; margin-right: auto; }

/* ---------- 16.3 Misión, visión y valores ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio);
  padding: 2rem 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amarillo);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--sombra);
}
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(245, 168, 0, .13);
  color: var(--amarillo-oscuro);
  font-size: 1.35rem;
}

.value-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--negro);
  margin: 0 0 .5rem;
}

.value-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.68;
  color: var(--gris-500);
}

/* ---------- 16.4 Franja de cifras ---------- */
.stats-band {
  background: var(--negro);
  padding: 54px 0;
}

.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-band-item { border-left: 1px solid rgba(255, 255, 255, .12); }
.stats-band-item:first-child { border-left: 0; }

.band-num {
  display: block;
  color: var(--amarillo);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.band-label {
  display: block;
  margin-top: .4rem;
  color: #c9ccd1;
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.45;
}

/* ---------- 16.5 Historia (timeline) ---------- */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gris-200);
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--amarillo);
  box-shadow: 0 0 0 4px #fff;
}

.timeline-year {
  display: inline-block;
  margin-bottom: .45rem;
  padding: .12rem .55rem;
  border-radius: 3px;
  background: rgba(245, 168, 0, .12);
  color: var(--amarillo-oscuro);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.timeline-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--negro);
  margin: 0 0 .3rem;
}

.timeline-item p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--gris-500);
}

/* ---------- 16.6 Tarjetas de contacto ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.info-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio);
  padding: 1.6rem 1.4rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 168, 0, .55);
  box-shadow: var(--sombra-sm);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: rgba(245, 168, 0, .13);
  color: var(--amarillo-oscuro);
  font-size: 1.2rem;
}

.info-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--negro);
  margin: 0 0 .35rem;
}

.info-card p {
  margin: 0;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--gris-500);
}
.info-card a { color: var(--gris-700); transition: color .2s ease; }
.info-card a:hover { color: var(--amarillo-oscuro); }

.info-extra {
  margin-top: .6rem;
  font-size: .76rem;
  color: var(--gris-500);
  opacity: .85;
}

/* ---------- 16.7 Formulario y mapa ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.form-card {
  background: #fff;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio);
  padding: clamp(1.35rem, 2.6vw, 2.25rem);
  box-shadow: var(--sombra-sm);
}

.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gris-700);
  margin-bottom: .35rem;
}

.req { color: var(--amarillo-oscuro); }

.form-control,
.form-select {
  font-family: var(--ff);
  font-size: .92rem;
  color: var(--gris-900);
  border: 1px solid var(--gris-300);
  border-radius: 4px;
  padding: .68rem .85rem;
  background-color: #fff;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--amarillo);
  box-shadow: 0 0 0 .2rem rgba(245, 168, 0, .18);
}
.form-control::placeholder { color: #a3a9b1; }

.form-check-input { border-color: var(--gris-300); }
.form-check-input:checked {
  background-color: var(--amarillo);
  border-color: var(--amarillo);
}
.form-check-input:focus {
  border-color: var(--amarillo);
  box-shadow: 0 0 0 .2rem rgba(245, 168, 0, .18);
}
.form-check-label {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--gris-500);
}

#formExito {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .9rem 1.1rem;
  border: 1px solid rgba(37, 211, 102, .35);
  border-radius: var(--radio);
  background: #eefaf2;
  color: #146c43;
  font-size: .9rem;
}
#formExito i { font-size: 1.1rem; margin-top: .1rem; }

.map-card {
  background: #fff;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio);
  overflow: hidden;
}

.map-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gris-100);
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: 1rem 1.15rem;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--gris-500);
}
.map-note i { color: var(--amarillo-oscuro); margin-top: .1rem; }

.map-link {
  display: block;
  margin-top: .3rem;
  color: var(--amarillo-oscuro);
  font-weight: 600;
  font-size: .8rem;
}
.map-link:hover { color: var(--amarillo); text-decoration: underline; }

.wa-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radio);
  background: var(--negro);
}
.wa-card > i {
  flex: none;
  font-size: 1.9rem;
  line-height: 1;
  color: #25d366;
}
.wa-card-text { flex: 1; min-width: 0; }
.wa-card-text strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.wa-card-text span {
  display: block;
  color: #a9aeb6;
  font-size: .8rem;
  font-weight: 300;
}
.wa-card .btn { flex: none; font-size: .85rem; padding: .6rem 1.1rem; }

/* ---------- 16.8 Preguntas frecuentes ---------- */
.faq { max-width: 860px; margin: 0 auto; }

.faq .accordion-item {
  margin-bottom: .75rem;
  border: 1px solid var(--gris-200);
  border-radius: var(--radio) !important;
  overflow: hidden;
}
.faq .accordion-item:last-child { margin-bottom: 0; }

.faq .accordion-button {
  padding: 1.05rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--negro);
  background: #fff;
  box-shadow: none;
}
.faq .accordion-button:not(.collapsed) {
  background: rgba(245, 168, 0, .07);
  color: var(--negro);
}
.faq .accordion-button:focus {
  border-color: var(--amarillo);
  box-shadow: 0 0 0 .2rem rgba(245, 168, 0, .18);
}
.faq .accordion-button::after { width: .85rem; height: .85rem; background-size: .85rem; }

.faq .accordion-body {
  padding: .2rem 1.25rem 1.25rem;
  font-size: .9rem;
  line-height: 1.68;
  color: var(--gris-500);
}

/* ---------- 16.9 Responsive de páginas internas ---------- */
@media (max-width: 991.98px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .stats-band-item:nth-child(odd) { border-left: 0; }
}

@media (max-width: 767.98px) {
  .values-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .stats-band { padding: 42px 0; }
  .stats-band-grid { gap: 1.75rem 1rem; }
  .band-num { font-size: 1.5rem; }
  .band-label { font-size: .78rem; }
  .timeline-item { padding-left: 2.5rem; }
  .timeline::before { left: 9px; }
  .timeline-item::before { width: 20px; height: 20px; box-shadow: 0 0 0 3px #fff; }
  .page-hero { min-height: 240px; padding: 42px 0 38px; }
  .wa-card { flex-wrap: wrap; }
  .wa-card .btn { width: 100%; }
  .map-wrap { aspect-ratio: 16 / 10; }
}

@media (max-width: 575.98px) {
  .page-title { font-size: 1.85rem; }
  .crumb { font-size: .74rem; }
  .values-grid { gap: 1rem; }
  .info-card { padding: 1.35rem 1.2rem; }
}



