/* ==========================================================
   Multicarp Soluciones Logísticas — hoja de estilos
   Colores del manual de marca: verde #65b345 · oscuro #242222 · claro #efefef
   ========================================================== */
/* Tipografías alojadas localmente (licencia OFL, ver assets/fonts) */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/BebasNeue-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-ExtraBoldItalic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-BlackItalic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  --green: #65b345;
  --dark: #242222;
  --black: #0d0d0d;
  --light: #efefef;
  --white: #ffffff;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif; /* sustituto web de MonteStella */
  --font-caps: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Barlow Condensed", "Arial Narrow", sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
  color: var(--white);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--green);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
  text-align: center;
  letter-spacing: -0.01em;
}
.section-sub {
  font-family: var(--font-caps);
  letter-spacing: .18em;
  font-size: 20px;
  text-align: center;
  color: var(--dark);
  margin-top: 6px;
}

/* ---------- Botón ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-caps);
  font-size: 22px;
  letter-spacing: .16em;
  padding: 12px 38px;
  border-radius: 40px;
  transition: background .25s, color .25s;
}
.btn--outline { border: 2px solid var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--black); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 26px 0;
  transition: background .3s, padding .3s;
}
.header.is-scrolled { background: rgba(13,13,13,.92); padding: 12px 0; backdrop-filter: blur(6px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { width: 230px; height: auto; transition: width .3s; }
.header.is-scrolled .header__logo img { width: 170px; }

.nav { display: flex; gap: clamp(20px, 4vw, 64px); }
.nav__link {
  font-family: var(--font-caps);
  font-size: 19px;
  letter-spacing: .14em;
  position: relative;
  padding-bottom: 4px;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--white);
  transform: scaleX(0); transition: transform .25s;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 2px; background: var(--white); margin: 6px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: stretch;
  background: var(--black);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero-color.jpg") center 60% / cover no-repeat;
  filter: contrast(1.05) brightness(.82);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(to top, var(--black) 0%, rgba(13,13,13,.6) 25%, rgba(0,0,0,0) 55%);
}
.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 160px 0 80px;
  gap: 60px;
}

.values { display: flex; justify-content: center; align-items: center; }
.value {
  position: relative;
  width: 130px; height: 130px;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-caps);
  font-size: 18px; line-height: 1.05; letter-spacing: .02em;
  margin-inline: -4px;
  transition: transform .3s;
}
.value:hover { transform: translateY(-6px); }
.value svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.value svg { filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.value svg path { fill: rgba(13,13,13,.72); stroke: var(--green); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.value--filled, .value--hex { height: 150px; }
.value--filled svg path { fill: var(--green); }
.value span { position: relative; padding: 0 10px; text-shadow: 0 1px 3px rgba(0,0,0,.6); font-size: 19px; }
.value--filled span { text-shadow: none; color: var(--white); }

.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; max-width: 980px; }
.hero__title {
  position: relative;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .9;
  display: flex; flex-direction: column;
}
.hero__l1 { font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); }
.hero__l2 { font-weight: 600; font-size: clamp(44px, 5vw, 66px); }
.hero__l3 { font-weight: 900; font-style: italic; font-size: clamp(36px, 4vw, 54px); }
.hero__l2 { display: flex; align-items: center; gap: .2em; white-space: nowrap; }
.hero__swoosh {
  width: clamp(150px, 16vw, 230px);
  height: auto;
  fill: var(--white);
  transform: translateY(.08em);
}
.hero__bottom .btn { margin-bottom: 4px; }

/* ---------- Sobre nosotros ---------- */
.about {
  position: relative;
  background: var(--dark);
  padding: 100px 0 90px;
  overflow: hidden;
}
.about__deco {
  position: absolute; right: -40px; bottom: 0;
  width: 270px; height: 230px;
  border: 2px solid var(--green);
  border-right: 0; border-bottom: 0;
  border-radius: 90px 0 0 0;
}
.about__text {
  margin-top: 28px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.32;
  text-align: center;
  color: #e9e9e9;
}
.tagline {
  margin-top: 46px;
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-display);
  font-weight: 900; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.05;
}
.tagline__green { color: var(--green); }

/* ---------- Servicios ---------- */
.services { position: relative; background: var(--black); }
.services__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% / 3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.services__track::-webkit-scrollbar { display: none; }
.service {
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 900px;
  scroll-snap-align: start;
  overflow: hidden;
}
.service img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.service:hover img { transform: scale(1.05); }
.service::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 25%, rgba(0,0,0,0) 50%);
}
.service__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 40px 34px; }
.service__tag {
  display: inline-block;
  font-family: var(--font-caps); font-weight: 400;
  font-size: 22px; letter-spacing: .14em;
  background: var(--green); color: var(--white);
  padding: 3px 18px; border-radius: 30px;
}
.service__desc {
  max-height: 0; opacity: 0; overflow: hidden;
  font-size: 19px; line-height: 1.3;
  transition: max-height .45s ease, opacity .35s ease, margin .35s;
}
.service.is-open .service__desc { max-height: 200px; opacity: 1; margin-top: 12px; }
.service__more {
  display: block; margin-top: 8px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-caps); font-size: 18px; letter-spacing: .16em; color: var(--white);
}
.service__more span { display: inline-block; margin-left: 6px; transition: transform .3s; }
.service.is-open .service__more span { transform: rotate(90deg); }

.services__arrow {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer; padding: 8px;
  opacity: .85; transition: opacity .2s;
}
.services__arrow:hover { opacity: 1; }
.services__arrow svg { width: 100%; height: 100%; fill: none; stroke: var(--white); stroke-width: 1.6; }
.services__arrow--prev { left: 18px; }
.services__arrow--next { right: 18px; }

/* ---------- Herramientas ---------- */
.tools { background: var(--dark); padding: 90px 0 100px; }
.tools__grid {
  margin-top: 46px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  max-width: 1000px; margin-inline: auto;
}
.tool { text-align: center; }
.tool p { margin-top: 14px; font-size: 19px; line-height: 1.25; color: #f2f2f2; }
.tool__shape { position: relative; width: 130px; height: 130px; margin: 0 auto; display: grid; place-items: center; }
.tool__shape--filled, .tool__shape--hex { height: 150px; }
.tool__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tool__frame path { fill: none; stroke: var(--green); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tool__shape--filled .tool__frame path { fill: var(--green); }
.tool__icon { position: relative; width: 52px; height: 52px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tool__icon .fill { fill: var(--green); }
.tool__icon .hole { fill: var(--dark); stroke: none; }
.tool__shape--filled .tool__icon { stroke: var(--white); }
.tool:hover .tool__shape { transform: translateY(-4px); }
.tool__shape { transition: transform .3s; }

/* ---------- Clientes ---------- */
.clients { background: var(--white); color: var(--dark); padding: 80px 0 90px; }
.clients__grid {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px 56px;
  max-width: 1000px; margin-inline: auto;
}
.clients__grid li { flex: 0 0 auto; }
.clients__grid img { height: 70px; width: auto; max-width: 190px; object-fit: contain; transition: transform .3s; }
.clients__grid li.row-1 img { height: 110px; }
.clients__grid li.break { flex-basis: 100%; height: 0; } /* salto: 3 logos en la primera fila */
.clients__grid img:hover { transform: scale(1.06); }

/* ---------- Footer ---------- */
.footer { background: var(--light); color: var(--dark); padding: 70px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.6fr;
  gap: 40px; align-items: center;
}
.footer__logo img { width: 290px; }
.footer__col { align-self: start; }
.footer__col h3 {
  font-family: var(--font-caps); font-weight: 400;
  font-size: 18px; letter-spacing: .12em; margin-bottom: 10px;
}
.footer__col li { font-family: var(--font-caps); font-size: 16px; letter-spacing: .12em; line-height: 1.5; }
.footer__col a:hover { color: var(--green); }
.contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.contact svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 4px; fill: var(--dark); }
.affiliates__title {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--green); font-size: 24px; margin-bottom: 14px;
}
.footer__affiliates ul { display: flex; align-items: center; gap: 18px; }
.footer__affiliates img { height: 48px; width: auto; }
.footer__bottom {
  margin-top: 50px; padding: 18px 0 22px;
  border-top: 1px solid var(--dark);
  text-align: center;
  font-family: var(--font-caps); font-size: 16px; letter-spacing: .12em;
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .25s;
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 36px; height: 36px; fill: var(--white); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .tools__grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services__track { grid-auto-columns: 50%; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background: rgba(13,13,13,.97);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav__link { font-size: 28px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header__logo img { width: 170px; }

  .values { flex-wrap: wrap; gap: 12px 6px; max-width: 320px; margin: 0 auto; }
  .value { width: 110px; height: 110px; font-size: 16px; margin: 0; }
  .value--filled, .value--hex { height: 127px; }
  .hero__content { gap: 44px; padding-top: 130px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .services__track { grid-auto-columns: 88%; }
  .service { aspect-ratio: 3 / 4; }
  .service__body { padding: 0 24px 26px; }
  .service__desc { max-height: none; opacity: 1; margin-top: 10px; }
  .service__more { display: none; }
  .tools__grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .tool__shape { width: 100px; height: 100px; }
  .tool__shape--filled, .tool__shape--hex { height: 115px; }
  .tool__icon { width: 42px; height: 42px; }
  .tool p { font-size: 16px; }
  .about__text { font-size: 19px; text-align: left; }
  .about__deco { width: 140px; height: 120px; border-radius: 50px 0 0 0; }
  .clients__grid { gap: 22px 32px; }
  .clients__grid img { height: 50px; max-width: 130px; }
  .clients__grid li.row-1 img { height: 80px; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .footer__affiliates ul { flex-wrap: wrap; }
  .whatsapp { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* ==========================================================
   Páginas internas
   ========================================================== */
.btn--solid { background: var(--green); color: var(--white); border: 2px solid var(--green); }
.btn--solid:hover { background: transparent; color: var(--green); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-caps); font-size: 19px; letter-spacing: .14em; color: var(--green);
}
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }
.section-title--left { text-align: left; }
.tagline--left { align-items: flex-start; }
.about__more { margin-top: 34px; text-align: center; }

/* Inicio: botón "ver todos" sobre el carrusel */
.services__all {
  position: absolute; right: 24px; top: 22px; z-index: 2;
  font-family: var(--font-caps); font-size: 17px; letter-spacing: .16em;
  padding: 6px 18px; border: 1.5px solid var(--white); border-radius: 30px;
  background: rgba(0,0,0,.35); transition: background .25s, border-color .25s;
}
.services__all:hover { background: var(--green); border-color: var(--green); }

/* Cabecera de página interna */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  background: var(--black); overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat;
  filter: grayscale(1) brightness(.6);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 30%),
              linear-gradient(to top, var(--dark) 0%, rgba(36,34,34,.5) 35%, rgba(0,0,0,0) 70%);
}
.page-hero--green .page-hero__bg { filter: grayscale(1) brightness(.55); }
.page-hero--green::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(101,179,69,.38); mix-blend-mode: multiply;
}
.page-hero__content { position: relative; z-index: 2; padding: 150px 0 70px; }
.page-hero__kicker { font-family: var(--font-caps); font-size: 20px; letter-spacing: .2em; color: #ddd; }
.page-hero__title {
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  color: var(--green); font-size: clamp(46px, 7vw, 92px); line-height: .92; margin-top: 4px;
}
.page-hero--green .page-hero__title { color: var(--white); }
.page-hero__swoosh { width: clamp(160px, 20vw, 260px); fill: var(--white); margin-top: 14px; }

/* Nosotros: intro + cifras */
.intro { position: relative; background: var(--dark); padding: 80px 0 100px; overflow: hidden; }
.intro__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
.intro__text p:not(.tagline) { margin-top: 18px; font-size: 20px; color: #e5e5e5; line-height: 1.4; }
.intro__text .tagline { margin-top: 34px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 140px; padding: 22px 24px;
  border: 1.5px solid #4a4747; border-radius: 6px;
  background: #1b1a1a; text-align: center;
}
.stat strong {
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(34px, 3.6vw, 48px); line-height: 1;
}
.stat span { font-family: var(--font-caps); font-size: 17px; letter-spacing: .1em; margin-top: 6px; }
.stat--green { background: var(--green); border-color: var(--green); }
.stat--light { background: var(--light); border-color: var(--light); color: var(--dark); }
.intro .about__deco { bottom: 0; }

/* Nosotros: esencia */
.essence { background: var(--light); color: var(--dark); padding: 90px 0; }
.essence__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.essence__card {
  position: relative; padding: 46px 34px 34px; background: var(--white);
  font-size: 18px; line-height: 1.45;
}
.essence__card p + p { margin-top: 14px; }
.essence__card--mision { border: 2px solid var(--green); border-radius: 0 40px 0 40px; }
.essence__card--vision { border: 2px solid var(--dark); border-radius: 40px 0 40px 0; }
.essence__tag {
  position: absolute; top: -16px; left: 28px;
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 20px; padding: 3px 18px; color: var(--white); background: var(--green);
}
.essence__card--vision .essence__tag { background: var(--dark); }

/* Nosotros: valores */
.valores { position: relative; padding: 100px 0 110px; background: var(--black); overflow: hidden; }
.valores__bg {
  position: absolute; inset: 0;
  background: url("../img/hero.jpg") center 60% / cover no-repeat;
  filter: grayscale(1) brightness(.35);
}
.valores .container { position: relative; }
.valores__grid {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.valor {
  flex: 0 1 calc((100% - 32px) / 3); max-width: 330px;
  padding: 28px 26px; border-radius: 14px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.18);
  transition: background .3s, transform .3s;
}
.valor:hover { background: rgba(101,179,69,.35); transform: translateY(-4px); }
.valor h3 {
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 24px; line-height: 1; margin-bottom: 10px;
}
.valor p { font-size: 18px; line-height: 1.3; color: #eaeaea; }
.valores__swoosh { display: block; width: 280px; margin: 40px auto 0; fill: var(--green); }

/* Banda de afiliados */
.affiliates-band { background: var(--white); color: var(--dark); padding: 70px 0; }
.affiliates-band--light { background: var(--light); }
.affiliates-band__list {
  margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 56px;
}
.affiliates-band__list img { height: 90px; width: auto; max-width: 190px; object-fit: contain; }

/* CTA */
.cta { background: var(--green); padding: 60px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta__title {
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1;
}
.cta__text { margin-top: 8px; font-size: 20px; max-width: 620px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--solid { background: var(--dark); border-color: var(--dark); }
.cta .btn--solid:hover { background: transparent; color: var(--dark); }
.cta .btn--outline { border-color: var(--white); color: var(--white); }
.cta .btn--outline:hover { background: var(--white); color: var(--green); }

/* Servicios */
.subnav { position: sticky; top: 64px; z-index: 40; background: var(--black); border-bottom: 1px solid #333; }
.subnav__inner { display: flex; gap: 40px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.subnav a {
  flex: none; padding: 16px 0; font-family: var(--font-caps); font-size: 18px; letter-spacing: .14em;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.subnav a:hover, .subnav a.is-active { color: var(--green); border-color: var(--green); }
.srv-list { background: var(--dark); padding: 40px 0 60px; }
.srv {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 50px 0; scroll-margin-top: 140px;
}
.srv + .srv { border-top: 1px solid #3a3838; }
.srv--rev .srv__media { order: 2; }
.srv__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 60px 0 60px; }
.srv--rev .srv__media { border-radius: 60px 0 60px 0; }
.srv__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.srv:hover .srv__media img { transform: scale(1.04); }
.srv__num {
  display: block; font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--green);
}
.srv__tag { margin-top: 10px; }
.srv__body > p { margin-top: 18px; font-size: 20px; line-height: 1.4; color: #e5e5e5; }
.srv__list { margin: 18px 0 24px; display: grid; gap: 6px; }
.srv__list li { position: relative; padding-left: 22px; font-family: var(--font-caps); font-size: 18px; letter-spacing: .08em; }
.srv__list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px;
  background: var(--green); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* Aliados */
.clients--page { padding-top: 90px; }

/* Contacto */
.contact-page { background: var(--dark); padding: 80px 0 90px; }
.contact-page__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }
.contact-card {
  position: sticky; top: 100px;
  background: var(--black); padding: 40px 34px; border-radius: 0 40px 0 40px;
  border-left: 6px solid var(--green);
}
.contact-card__label {
  display: inline-block; background: var(--green); padding: 4px 16px;
  font-family: var(--font-caps); font-size: 18px; letter-spacing: .2em;
}
.contact-card__name {
  margin-top: 18px; font-family: var(--font-caps); font-weight: 400; font-size: 44px; letter-spacing: .02em; line-height: 1;
}
.contact-card__list { margin-top: 22px; display: grid; gap: 14px; }
.contact-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; }
.contact-card__list svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; fill: var(--green); }
.contact-card__list a:hover { color: var(--green); }
.contact-card__wa { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; padding: 12px 24px; }
.contact-card__wa svg { width: 22px; height: 22px; fill: currentColor; }

.form { display: grid; gap: 16px; }
.form__intro { color: #cfcfcf; font-size: 18px; margin-top: -4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-family: var(--font-caps); font-size: 17px; letter-spacing: .12em; }
.form input, .form select, .form textarea {
  font: 400 18px/1.3 var(--font-body); color: var(--white);
  background: #1b1a1a; border: 1.5px solid #4a4747; border-radius: 6px;
  padding: 12px 14px; width: 100%; min-height: 48px; letter-spacing: 0;
  transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form textarea { resize: vertical; }
.form .is-invalid { border-color: #e35d5d; }
.form__check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-family: var(--font-body) !important; font-size: 17px !important; letter-spacing: 0 !important; }
.form__check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.form__check a { color: var(--green); text-decoration: underline; }
.form__error { color: #ff8a8a; font-size: 17px; }
.form .btn { justify-self: start; cursor: pointer; font-family: var(--font-caps); }

.map { line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }

@media (max-width: 1024px) {
  .intro__grid, .contact-page__grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-card { position: static; }
  .srv { gap: 36px; }
  .valor { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 860px) {
  .subnav { top: 56px; }
  .subnav__inner { justify-content: flex-start; gap: 28px; }
}
@media (max-width: 760px) {
  .srv, .essence__grid { grid-template-columns: 1fr; }
  .srv--rev .srv__media { order: 0; }
  .srv { padding: 36px 0; }
  .valor { flex-basis: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .page-hero { min-height: 48vh; }
  .services__all { top: 14px; right: 14px; font-size: 15px; }
  .affiliates-band__list img { height: 64px; max-width: 130px; }
  .cta__actions .btn { flex: 1 1 auto; text-align: center; }
}


/* ==========================================================
   Ajustes de la revisión del cliente (24 nov)
   ========================================================== */
.page-hero--color .page-hero__bg { filter: brightness(.7); }

/* Inicio: sobre nosotros con imagen */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about__copy .about__text { text-align: left; margin-top: 22px; }
.about__copy .tagline { margin-top: 34px; }
.about__copy .about__more { text-align: left; margin-top: 26px; }
.about__media { position: relative; margin: 0; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% center;
  border-radius: 0 80px 0 80px;
}
.about__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 2px solid var(--green); border-radius: 0 80px 0 80px;
}
.about__media { isolation: isolate; }
.about__badge {
  position: absolute; left: -28px; bottom: 40px;
  background: var(--green); color: var(--white);
  padding: 16px 22px; border-radius: 0 24px 0 24px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.about__badge strong { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 52px; line-height: 1; }
.about__badge span { font-family: var(--font-caps); font-size: 18px; letter-spacing: .1em; line-height: 1.05; }

/* Herramientas: textos alineados */
.tools__grid { align-items: start; }
.tool p { max-width: 230px; margin-inline: auto; }

/* Contadores */
.counters { background: var(--green); padding: 80px 0 86px; }
.counters .section-title { color: var(--white); }
.counters__grid {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.counter {
  text-align: center; padding: 26px 14px;
  background: rgba(13,13,13,.14); border-radius: 0 30px 0 30px;
}
.counter strong {
  display: block; font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: clamp(48px, 5.4vw, 76px); line-height: 1; color: var(--white);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.counter__label { display: block; margin-top: 8px; font-family: var(--font-caps); font-size: 20px; letter-spacing: .12em; color: var(--dark); }

/* Redes sociales */
.social { display: flex; gap: 12px; margin-bottom: 26px; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dark); transition: background .25s, transform .25s;
}
.social a:hover { background: var(--green); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: var(--white); }
.footer__affiliates { align-self: start; }

@media (max-width: 1024px) {
  .counters__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__media { max-width: 420px; margin: 0 auto; width: calc(100% - 30px); }
  .about__badge { left: -14px; }
  .about__media img { aspect-ratio: 4 / 3.4; }
}

/* Sobre nosotros: foto del equipo en la cabecera */
.page-hero--team { min-height: 78vh; }
.page-hero--team .page-hero__bg { filter: grayscale(1) brightness(.72) contrast(1.05); }
.page-hero--team::after {
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 25%),
              linear-gradient(to top, var(--dark) 0%, rgba(36,34,34,.7) 18%, rgba(0,0,0,0) 42%);
}
@media (max-width: 760px) {
  .page-hero--team { min-height: 62vh; }
  .page-hero--team .page-hero__bg { background-position: 50% 20% !important; }
}

/* Sobre nosotros: foto del equipo */
.team { background: var(--dark); padding: 0 0 100px; }
.team__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.team__media { position: relative; margin: 0; isolation: isolate; }
.team__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%;
  border-radius: 80px 0 80px 0; filter: grayscale(1) contrast(1.05);
}
.team__media::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; z-index: -1;
  border: 2px solid var(--green); border-radius: 80px 0 80px 0;
}
.team__copy p { margin-top: 18px; font-size: 20px; line-height: 1.4; color: #e5e5e5; }
.team__copy p:last-child { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--green); font-size: 24px; line-height: 1.1; }
@media (max-width: 760px) {
  .team__grid { grid-template-columns: 1fr; gap: 40px; }
  .team__media { width: calc(100% - 22px); margin-left: 22px; }
  .team__media img { border-radius: 50px 0 50px 0; }
  .team__media::before { border-radius: 50px 0 50px 0; }
}
.intro .about__deco { display: none; }

/* Clientes: tamaño visual parejo (alto por logo en --h) */
.clients__grid { gap: 34px 60px; max-width: 980px; }
.clients__grid img, .clients__grid li.row-1 img { height: var(--h, 70px); width: auto; max-width: 250px; object-fit: contain; }

/* Comentarios de clientes: slider */
.testimonials { background: var(--light); color: var(--dark); padding: 90px 0 80px; }
.testi-slider { position: relative; margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.testi-slider__track {
  flex: 1; min-width: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
}
.testi-slider__track::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; display: flex; justify-content: center; padding: 10px 6px 24px; }
.testi__card {
  width: min(780px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  background: var(--white); padding: 44px 48px 40px; border-radius: 0 50px 0 50px;
  border: 2px solid var(--green);
}
.testi__logo { height: 44px; width: auto; max-width: 150px; object-fit: contain; }
.testi__mark { width: 38px; height: 28px; fill: var(--green); }
.testi blockquote { margin: 0; font-size: 22px; line-height: 1.45; color: #333; }
.testi-slider__arrow {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--green);
  background: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.testi-slider__arrow:hover { background: var(--green); }
.testi-slider__arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--dark); stroke-width: 2.2; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.testi-dots__dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: #c9c9c9; cursor: pointer; transition: background .2s, width .2s; }
.testi-dots__dot.is-active { background: var(--green); width: 30px; border-radius: 6px; }
@media (max-width: 760px) {
  .testi-slider__arrow { display: none; }
  .testi__card { padding: 34px 24px 30px; border-radius: 0 36px 0 36px; }
  .testi blockquote { font-size: 18px; }
}
.testi__person { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.testi__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--white); font-family: var(--font-caps); font-size: 20px; letter-spacing: .04em;
}
.testi__name { font-family: var(--font-caps); font-size: 21px; letter-spacing: .12em; color: var(--dark); }
