/* ============ Base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --accent: #6298cf;
  --border-blue: rgb(88, 144, 200);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 104px;

  --text: #757575;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

main {
  padding-top: var(--header-h);
}

/* Evita que el header fijo tape los anchors */
section[id],
footer[id],
div[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header__section {
  height: var(--header-h);
  background: #fff;
  border-bottom: 1.6px solid var(--border-blue);
}

.header__inner {
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__col {
  display: flex;
  align-items: center;
}

.header__col--left {
  flex: 0 0 auto;
}

.header__col--center {
  flex: 1 1 auto;
  justify-content: center;
}

.header__col--right {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 14px;
}

.logo img {
  width: 198px;
  height: auto;
}

.nav {
  display: block;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav__list a {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  position: relative;
}

/* Hover underline (same color as text) */
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  bottom: -14px;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__list a:hover::after,
.nav__list a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.header__linkedin img {
  width: 34px;
  height: 34px;
}

/* Language dropdown */
.lang {
  position: relative;
}

.lang__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(98, 152, 207, 0.35);
  border-radius: 999px;
  color: var(--accent);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 600;
  user-select: none;
}

.lang__summary::-webkit-details-marker {
  display: none;
}

.lang__menu {
  list-style: none;
  margin: 10px 0 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.lang__menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6298cf;
}

.lang__menu a:hover {
  background: rgba(98, 152, 207, 0.10);
  color: #6298cf;
}

/* Burger + overlay (mobile) */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: none;
  align-content: center;
  justify-items: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.burger span {
  width: 18px;
  height: 2px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 2px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 900;
}

.nav-toggle:checked ~ .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  user-select: none;
}

.nav-overlay__list {
  list-style: none;
  margin: 88px auto 0;
  padding: 0 22px;
  max-width: 520px;
  display: grid;
  gap: 10px;
}

.nav-overlay__list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.74);
}

.nav-overlay__list a:hover {
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 1000px) {
  .nav {
    display: none;
  }
  .burger {
    display: grid;
  }
}

/* ============ Hero ============ */
.hero {
  position: relative;
}

.hero__top {
  height: 330px;
  background: url("img/home-1.png") center / cover no-repeat;
  position: relative;
}

/* Suaviza/aclarea como en el original */
.hero__top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.28)
  );
}

.hero__top-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
}

.hero__title {
  margin: 0;
  color: rgb(112, 128, 144);
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  font-style: normal;
}

.hero__title span {
  display: block;
}

.hero__band {
  background: linear-gradient(
    180deg,
    rgba(209, 229, 236, 0.38) 0%,
    rgba(146, 191, 209, 0.63) 100%
  );
}

.hero__band-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

/* Banda (icono + texto) */
.hero__band-entry {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.hero__band-item {
  height: 62px; /* el más alto es Group-10 */
  width: auto;
  opacity: 0.9;
}

.hero__band-label {
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.05;
  color: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero__band-label--two span {
  display: block;
  white-space: normal;
}

.hero__bottom{
  height: 426px;          /* ✅ alto exacto */
  min-height: 426px;      /* (opcional, pero ayuda a que no se “estire”) */
  background: url("img/2-1.png") center top / cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding: 100px 40px 50px 40px;
}


/* Contenido "About" encima de las medias circunferencias */
.hero__about {
  max-width: 980px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.about__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 20px;
  font-style: normal;
  color: rgb(112, 128, 144);
  line-height: 20px;
}

.about__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 48px;
  font-style: normal;
  color: rgb(112, 128, 144);
}

.about__text {
  margin: 0;
  max-width: 920px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.55);
}

.about__btn {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 34px;
  background: rgb(88, 144, 200);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  border-radius: 7px;
  text-transform: uppercase;
}

.about__btn:hover {
  filter: brightness(0.90);
}

@media (max-width: 900px) {
  .hero__top {
    height: 330px;
  }

  .hero__band-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero__band-entry {
    flex: 0 1 320px;
  }

  .hero__band-item {
    height: 52px;
  }

  .hero__band-label {
    font-size: 20px;
    white-space: normal;
    text-align: center;
  }

  .hero__bottom {
    min-height: 520px;
    padding: 110px var(--gutter) 120px;
    background-position: center 20px;
  }

  .about__title {
    font-size: 44px;
  }

  .about__text {
    font-size: 15px;
  }
}

/* ============ Basic sections (solo para que no se vean “rotas”) ============ */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 70px var(--gutter);
}

.h2 {
  margin: 0 0 10px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.78);
}

.muted {
  margin: 0;
  color: rgba(0, 0, 0, 0.52);
}

/* ============ Footer (Blue) ============ */
.footer{
  /* Conserva “la altura” que ya tenías: misma idea de padding */
  padding: 50px 15px 44px 15px;
  background: var(--border-blue);
  border-top: 0;
  color: #fff;

  /* Si lo ves más bajo que antes, sube este número un poco (ej: 200px) */
  min-height: 260px;
}

.footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer__left{
  flex: 1 1 46%;
  min-width: 260px;
}

.footer__logo{
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.footer__desc{
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  max-width: 520px;
}

.footer__middle{
  flex: 1 1 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
  text-align: center;
}

.footer__midlink{
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.footer__midlink:hover{
  text-decoration: underline;
}

.footer__email{
  color: #fff;
  text-decoration: none;
}

.footer__email:hover{
  text-decoration: underline;
}

.footer__right{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer__social{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;  /* sin caja */
  color: #fff;              /* icono blanco */
  text-decoration: none;
  padding: 0;               /* sin “botón” */
}

.footer__social i{
  font-size: 30px;          /* ajusta tamaño */
  line-height: 1;
}



/* Responsive */
@media (max-width: 900px){
  .footer__inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .footer__middle{
    justify-content: flex-start;
    gap: 18px;
  }
}


/* ============ Clients ============ */
.section--clients{
  max-width: none;       /* full width */
  margin: 0;
  padding: 0;            /* quita el padding default de .section */
  height: 435px;         /* altura solicitada */
  background: #fff;
}

.clients__inner{
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 0px 50px 0px; /* top 60px + “aire” abajo */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.clients__kicker{
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 20px;     /* “altura” 20px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(112, 128, 144, 0.85);
  margin: 0;
}

.clients__title{
  margin: 20px 0 0;      /* separación 20px */
  font-family: "Playfair Display", serif; /* muy parecida al original */
  font-size: 40px;
  line-height: 40px;     /* “altura” 40px */
  font-weight: 400;
  color: rgb(112, 128, 144);
}

/* Carrusel */
.clients__carousel{
  width: 100%;
  margin-top: 55px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.clients__track{
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  width: max-content;
  animation: clientsScroll 38s linear infinite;
}

.clients__carousel:hover .clients__track{
  animation-play-state: paused; /* pausa al pasar el mouse */
}

.clients__logo{
  flex: 0 0 auto;
}

.clients__logo img{
  max-height: 64px;
  width: auto;
  display: block;
}

@keyframes clientsScroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* requiere el duplicado en HTML */
}

/* Botón */
.clients__btn{
  margin-top: 34px;
  display: inline-block;
  padding: 14px 44px;
  border: 1.6px solid var(--border-blue);
  color: var(--border-blue);
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  background: transparent;
  border-radius: 7px;
}

.clients__btn:hover{
  background: rgba(98, 152, 207, 0.10);
}

/* ============ Video Split Section ============ */
.section--video{
  max-width: none;
  margin: 0;
  padding: 0;
  height: 420px;         /* altura solicitada */
  background: #fff;
}

.video-split{
  height: 100%;
  display: flex;
}

.video-split__left,
.video-split__right{
  flex: 1 1 50%;
}

/* Video */
.video-split__left{
  overflow: hidden;
}

.video-split__player{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Panel azul + texto */
.video-split__right{
  background: var(--border-blue); /* mismo azul que vienes usando */
  display: flex;
  align-items: center;
  padding: 0 0 0 40px;
}

.video-split__text{
  margin: 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 6px;
  line-height: 29.9px;
  font-size: 23px;
  max-width: 520px;
  font-style: normal;
}

.video-split__text span{
  display: block;
}

/* Responsive */
@media (max-width: 900px){
  .section--video{ height: auto; }
  .video-split{ flex-direction: column; }
  .video-split__left{ height: 240px; }
  .video-split__right{ padding: 40px 24px; }
  .video-split__text{ font-size: 18px; }
}

/* ============ Working Globally ============ */
.section--working{
  max-width: none;
  margin: 0;
  padding: 0;
  height: 743px;               /* ✅ altura solicitada */
  background: #eef5f5;         /* fondo suave como el original */
}

.working{
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 70px var(--gutter) 0; /* ajusta si quieres más/menos aire arriba */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.working__kicker{
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(112, 128, 144, 0.85);
  margin: 0;
}

.working__title{
  margin: 12px 0 0;
  font-family: "Playfair Display", serif;  /* muy parecida al original */
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

.working__subtitle{
  margin: 14px 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: rgba(0,0,0,0.55);
}

/* Imagen */
.working__map{
  margin-top: 55px;
  width: min(980px, 100%);
  height: auto;
  display: block;
  user-select: none;
}

/* Responsive */
@media (max-width: 900px){
  .section--working{ height: auto; }
  .working{ padding: 50px var(--gutter) 50px; }
  .working__title{ font-size: 40px; }
  .working__map{ margin-top: 35px; }
}

/* ============ Privacy Policy page ============ */
.section--policy{
  padding-top: calc(var(--header-h) + 60px); /* evita que el header fijo tape el título */
  padding-bottom: 90px;
}

.policy__content{
  max-width: 980px;
}

.policy__content p{
  margin: 0 0 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0,0,0,0.65);
}

/* ============ About Page ============ */
.aboutpage {
  background: #fff;
  padding: 70px var(--gutter) 90px;
}

.aboutpage__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.aboutpage__head {
  text-align: center;
  margin-bottom: 54px;
}

.aboutpage__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 20px;
  color: rgb(112, 128, 144);
}

.aboutpage__title {
  margin: 20px 0 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

.aboutpage__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 70px;
  align-items: start;
}

.aboutpage__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.aboutpage__text {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.55);
}

/* Responsive */
@media (max-width: 980px) {
  .aboutpage__title {
    font-size: 48px;
  }

  .aboutpage__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============ Stats Rings ============ */
.stats{
  background: #fff;
  padding: 70px var(--gutter) 90px;
}

.stats__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 70px;
  align-items: start;
  justify-items: center;
}

.stat{
  --delay: 0s; /* lo asigna JS para el stagger */
  text-align: center;
}

.stat__ring{
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
}

.ring{
  width: 180px;
  height: 180px;
  transform: rotate(-90deg); /* empieza arriba (12 en punto) */
  will-change: transform;
}

.ring__bg,
.ring__progress{
  fill: none;
  stroke-width: 8;
}

.ring__bg{
  stroke: rgba(0,0,0,0.06);
}

.ring__progress{
  stroke: #7cb9cf;               /* azul suave como la referencia */
  stroke-linecap: round;
  stroke-dasharray: 0;            /* JS lo setea */
  stroke-dashoffset: 0;           /* JS lo setea */
  transition: stroke-dashoffset 1.6s cubic-bezier(.18,.75,.2,1);
  transition-delay: var(--delay);
  will-change: stroke-dashoffset;
}

.stat__value{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Open Sans", sans-serif;
  font-size: 44px;
  font-weight: 300;
  color: rgba(0,0,0,0.78);
  letter-spacing: 0.01em;
}

.stat__label{
  margin-top: 26px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.65);
  line-height: 1.9;
}

/* Trigger: cuando es visible */
.stat.is-visible .ring{
  animation: ringSpin 1.6s cubic-bezier(.18,.75,.2,1) both;
  animation-delay: var(--delay);
}

/* Giro “elegante”: 1 vuelta completa */
@keyframes ringSpin{
  from{ transform: rotate(-90deg); }
  to{ transform: rotate(270deg); }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .ring__progress{ transition: none; }
  .stat.is-visible .ring{ animation: none; }
}

/* Responsive */
@media (max-width: 1000px){
  .stats__inner{
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 40px;
  }
}
@media (max-width: 520px){
  .stats__inner{
    grid-template-columns: 1fr;
  }
}

/* ============ Service Categories (height: 950px) ============ */
.svcCats {
  height: 550px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.svcCats__head {
  padding: 40px 24px 56px 24px;
  text-align: center;
}

.svcCats__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

.svcCats__grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.svcCats__card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 42px;
  text-align: center;
}

/* Fondo desde <img> */
.svcCats__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.03);
}

/* Velo blanco como en el diseño original */
.svcCats__veil {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
}

.svcCats__content {
  position: relative;
  z-index: 1;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Ícono como PNG (Group-52/53/54) */
.svcCats__iconImg {
  width: 64px;
  height: 64px;
  display: block;
  margin-bottom: 4px;
}

.svcCats__cardTitle {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(112, 128, 144, 0.95);
}

.svcCats__text {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 26px;
  font-weight: 400;
  color: rgb(112, 128, 144)
}

/* Separadores sutiles entre columnas */
.svcCats__card + .svcCats__card {
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.06);
}

/* ✅ Fondos (ajusta la ruta si tus imágenes están en /img/) */
.svcCats__card--a { --svc-img: url("img/a.png"); }
.svcCats__card--b { --svc-img: url("img/b.png"); }
.svcCats__card--c { --svc-img: url("img/c.png"); }

/* Responsive */
@media (max-width: 980px) {
  .svcCats { height: auto; }
  .svcCats__title { font-size: 44px; }
  .svcCats__grid { grid-template-columns: 1fr; }
  .svcCats__card { padding: 52px var(--gutter); }
  .svcCats__card + .svcCats__card {
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
  }
}

/* ============ Scope ============ */
.scope {
  background: #fff;
  margin-bottom: 120px;
}

.scope__head {
  padding: 60px var(--gutter) 42px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.scope__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

/* Banner */
.scope__hero {
  position: relative;
  height: 300px; /* ajusta si quieres más/menos alto */
  overflow: hidden;
  display: grid;
  place-items: center;
}

.scope__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* Velo rosado/blanco suave como la referencia */
.scope__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.85),
    rgba(255,235,232,0.70),
    rgba(255,255,255,0.85)
  );
}

.scope__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px var(--gutter);
}

.scope__logo {
  width: min(300px, 86vw);
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.scope__subtitle {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: rgb(112, 128, 144);
}

@media (max-width: 980px) {
  .scope__title { font-size: 44px; }
  .scope__hero { height: 420px; }
  .scope__subtitle { font-size: 26px; }
}

/* ============ Consulting Practices ============ */
.practices{
  background: #ededed;            /* gris suave como la referencia */
  padding: 78px 0 90px;
}

.practices__head{
  text-align: center;
  padding: 0 var(--gutter);
  margin-bottom: 26px;
}

.practices__kicker{
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(112, 128, 144, 0.85);
  margin-bottom: 10px;
}

.practices__title{
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

.practices__media{
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
}

.practices__img{
  width: min(1000px, 96vw);       /* grande y centrado */
  height: auto;
  display: block;
  /* si quieres que se vea un poco más “clean” */
  image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 980px){
  .practices{ padding: 62px 0 70px; }
  .practices__title{ font-size: 46px; }
  .practices__kicker{ font-size: 16px; }
}

/* Subrayado permanente para la opción activa */
.nav__list a.is-active::after{
  transform: scaleX(1);
  opacity: 1;
  background: var(--accent); /* o #2f6fb2 si quieres fijo */
}

/* ============ Community ============ */
.community{
  background:#fff;
}

/* ✅ Banner ocupa TODO el ancho (incluso si el contenido está dentro de un contenedor) */
.community__banner{
  width: 100vw;
  max-width: 100vw;
  height: auto;
  display: block;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.community__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px var(--gutter) 90px;
  text-align: center;
}

.community__title{
  margin: 0 0 28px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

.community__lead{
  margin: 0 0 14px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(0,0,0,0.75);
}

.community__hint{
  margin: 0 0 26px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: rgba(0,0,0,0.65);
}

/* Gráfico (globo + línea) */
.community__track{
  position: relative;
  width: min(760px, 92vw);
  margin: 0 auto 18px;
  height: 210px;
  display: grid;
  place-items: center;
}

.community__globe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.22;           /* ajusta si lo quieres más/menos visible */
  pointer-events: none;
}

.community__line{
  position: relative;
  z-index: 1;
  width: min(640px, 88vw); /* la línea queda centrada */
  height: auto;
  display: block;
  pointer-events: none;
}

/* Textos debajo de cada nodo */
.community__items{
  width: min(760px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.community__item{
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,0.75);
}

@media (max-width: 980px){
  .community__title{ font-size: 44px; }
  .community__items{ grid-template-columns: 1fr; }
  .community__track{ height: 180px; }
}

/* ============ Contact Form A (Card minimal) ============ */
.contactFormA{
  background:#fff;
  padding: 86px 0 110px;
}

.contactFormA__wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.contactFormA__head{
  text-align:center;
  margin-bottom: 26px;
}

.contactFormA__kicker{
  font-family:"Roboto", sans-serif;
  font-size: 16px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.75);
  margin-bottom: 12px;
}

.contactFormA__title{
  margin: 0;
  font-family:"Playfair Display", serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  color: rgb(112,128,144);
}

.contactFormA__sub{
  margin: 14px auto 0;
  max-width: 720px;
  font-family:"Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0,0,0,.55);
}

.contactFormA__card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
  padding: 34px 34px 28px;
}

.contactFormA__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.fieldA__label{
  display:block;
  font-family:"Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(0,0,0,.62);
  margin-bottom: 10px;
}

.fieldA__req{
  color: #2f6fb2;
  font-weight: 700;
  margin-left: 2px;
}

.fieldA__input{
  width:100%;
  height: 44px;
  border: 1px solid rgba(0,0,0,.16);
  background: rgba(0,0,0,.03);
  border-radius: 0;              /* look “editorial” como tu referencia */
  padding: 10px 12px;
  font-family:"Open Sans", sans-serif;
  font-size: 14px;
  color: rgba(0,0,0,.75);
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.fieldA__input:focus{
  border-color: rgba(47,111,178,.75);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,111,178,.12);
}

.fieldA__input::placeholder{
  color: rgba(0,0,0,.38);
}

.fieldA__select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0,0,0,.45) 50%),
    linear-gradient(135deg, rgba(0,0,0,.45) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* Area block */
.areaA{
  border: 0;
  margin: 26px 0 0;
  padding: 0;
}

.areaA__legend{
  font-family:"Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,0,0,.62);
  margin-bottom: 12px;
}

.areaA__choices{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: start;
}

.checkA{
  display:flex;
  align-items:center;
  gap: 10px;
  font-family:"Open Sans", sans-serif;
  font-size: 14px;
  color: rgba(0,0,0,.72);
}

.checkA__box{
  width: 16px;
  height: 16px;
  accent-color: #2f6fb2; /* ✅ moderno */
}

.areaA__note{
  margin: 14px 0 0;
  font-family:"Open Sans", sans-serif;
  font-size: 12.5px;
  color: rgba(0,0,0,.5);
}

.contactFormA__actions{
  margin-top: 26px;
  display:flex;
  justify-content:center;
}

.btnA{
  height: 46px;
  min-width: 220px;
  border: 0;
  border-radius: 999px;
  background: #2f6fb2;
  color: #fff;
  font-family:"Roboto", sans-serif;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s ease, filter .18s ease;
}

.btnA:hover{ filter: brightness(1.03); }
.btnA:active{ transform: translateY(1px); }

@media (max-width: 980px){
  .contactFormA__title{ font-size: 44px; }
  .contactFormA__card{ padding: 26px 18px 22px; }
  .contactFormA__grid{ grid-template-columns: 1fr; }
}


/* ============ Team Page ============ */
.teampage {
  background: #fff;
  padding-bottom: 100px;
}

.teampage__head {
  text-align: center;
  padding: 70px var(--gutter) 54px;
}

.teampage__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 16px;
  color: rgb(112, 128, 144);
  margin-bottom: 14px;
}

.teampage__title {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

.teampage__lead {
  margin: 0 auto;
  max-width: 680px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.55);
}

/* Member rows */
.teampage__list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tmember {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 54px;
  align-items: start;
  padding: 54px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* Alternate rows: photo on right */
.tmember--alt {
  grid-template-columns: 1fr 260px;
}

.tmember--alt .tmember__photo-wrap {
  order: 2;
}

.tmember--alt .tmember__body {
  order: 1;
}

/* Photo */
.tmember__photo-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.tmember__photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  display: block;
}

/* Placeholder when no photo yet */
.tmember__photo-placeholder {
  width: 220px;
  height: 260px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(98, 152, 207, 0.18), rgba(88, 144, 200, 0.30));
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmember__initials {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 400;
  color: rgba(88, 144, 200, 0.65);
  letter-spacing: 0.04em;
}

/* Body */
.tmember__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
}

.tmember__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tmember__name {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  color: rgb(112, 128, 144);
}

.tmember__role {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.tmember__country {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}

.tmember__country i {
  font-size: 11px;
  margin-right: 4px;
  color: var(--accent);
}

.tmember__bio {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.58);
}

.tmember__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.tmember__linkedin i {
  font-size: 18px;
}

.tmember__linkedin:hover {
  color: #2f6fb2;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .teampage__title { font-size: 44px; }

  .tmember,
  .tmember--alt {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tmember--alt .tmember__photo-wrap,
  .tmember--alt .tmember__body {
    order: unset;
  }

  .tmember__photo,
  .tmember__photo-placeholder {
    width: 160px;
    height: 190px;
  }

  .tmember__initials { font-size: 38px; }
  .tmember__name { font-size: 26px; }
}

/* ============ Clients Page ============ */
.cpage {
  background: #fff;
  padding-bottom: 90px;
}

.cpage__head {
  text-align: center;
  padding: 70px var(--gutter) 54px;
}

.cpage__kicker {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(112, 128, 144, 0.85);
  margin-bottom: 14px;
}

.cpage__title {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  color: rgb(112, 128, 144);
}

.cpage__lead {
  margin: 0 auto;
  max-width: 620px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.5);
}

.cpage__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px 48px;
  align-items: center;
  justify-items: center;
}

.cpage__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.cpage__logo:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.cpage__logo img {
  max-height: 64px;
  max-width: 160px;
  width: auto;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.18s ease;
}

.cpage__logo:hover img {
  filter: grayscale(0%);
}

.cpage__cta {
  text-align: center;
  margin-top: 64px;
  padding: 0 var(--gutter);
}

.cpage__cta-text {
  margin: 0 0 22px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.55);
}

.cpage__cta-btn {
  display: inline-block;
  padding: 14px 44px;
  background: rgb(88, 144, 200);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 7px;
  text-decoration: none;
  transition: filter 0.18s ease;
}

.cpage__cta-btn:hover { filter: brightness(0.9); }

@media (max-width: 900px) {
  .cpage__title { font-size: 44px; }
  .cpage__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; }
}

/* ============ Contact Page feedback ============ */
.form-feedback {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.form-feedback--ok {
  background: rgba(60, 179, 113, 0.12);
  border: 1px solid rgba(60, 179, 113, 0.4);
  color: #1a6b3a;
}

.form-feedback--err {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #8b1a24;
}

/* ============ ONG / IAAE Page ============ */

/* Hero */
.ong-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ong-hero__bg-wrap {
  position: absolute;
  inset: 0;
}

.ong-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.ong-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.88),
    rgba(235, 245, 255, 0.75),
    rgba(255,255,255,0.88)
  );
}

.ong-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter);
}

.ong-hero__logo {
  width: min(340px, 80vw);
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.ong-hero__subtitle {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 22px;
  color: rgb(112, 128, 144);
}

/* What is IAAE */
.ong-what {
  background: #fff;
  padding: 80px var(--gutter) 70px;
}

.ong-what__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}

.ong-what__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.ong-what__title {
  margin: 0 0 26px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: rgb(112, 128, 144);
}

.ong-what__body {
  margin: 0 0 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.58);
}

.ong-what__img-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ong-what__img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  opacity: 0.85;
}

/* Pillars */
.ong-pillars {
  background: #eef5f5;
  padding: 80px var(--gutter) 90px;
}

.ong-pillars__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.ong-pillars__head {
  text-align: center;
  margin-bottom: 52px;
}

.ong-pillars__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.ong-pillars__title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 44px;
  color: rgb(112, 128, 144);
}

.ong-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ong-pillar {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ong-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.ong-pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(98, 152, 207, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 22px;
}

.ong-pillar__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(112, 128, 144, 0.95);
}

.ong-pillar__text {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.58);
}

/* CTA */
.ong-cta {
  background: rgb(88, 144, 200);
  padding: 80px var(--gutter);
}

.ong-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ong-cta__title {
  margin: 0 0 20px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 44px;
  color: #fff;
}

.ong-cta__text {
  margin: 0 0 32px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.ong-cta__btn {
  display: inline-block;
  padding: 16px 48px;
  border: 2px solid #fff;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.ong-cta__btn:hover {
  background: #fff;
  color: rgb(88, 144, 200);
}

/* Responsive ONG + Clients */
@media (max-width: 900px) {
  .ong-hero { height: 280px; }
  .ong-what__inner { grid-template-columns: 1fr; gap: 32px; }
  .ong-what__img-col { display: none; }
  .ong-what__title { font-size: 32px; }
  .ong-pillars__grid { grid-template-columns: 1fr; }
  .ong-pillars__title { font-size: 34px; }
  .ong-cta__title { font-size: 34px; }
}

/* ============================================================
   SPRINT 1 — Elementos visuales avanzados
   ============================================================ */

/* ── 1. Animaciones de scroll (reveal) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }
.reveal-d4 { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 2. Navbar scroll-aware ── */
/* El header ya es fixed; solo añadimos la transición y el estado scrolled */
.header {
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.header.header--scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}
/* En el index el header arriba del hero puede ser semi-transparente */
.header--hero-top {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(88, 144, 200, 0.25);
}

/* ── 3. Pill / badge de sección ── */
.section-pill {
  display: inline-block;
  font-family: "Space Grotesk", "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(88, 144, 200, 0.1);
  color: rgb(47, 111, 178);
  border: 1px solid rgba(88, 144, 200, 0.22);
  margin-bottom: 12px;
}

/* ── 4. Hover en tarjetas — línea inferior animada ── */

/* Servicios (svcCats cards) */
.svcCats__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(88, 144, 200), rgb(98, 152, 207));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.svcCats__card:hover::after {
  transform: scaleX(1);
}
.svcCats__card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svcCats__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 33, 71, 0.1);
}

/* Clientes cards */
.cpage__logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgb(88, 144, 200), rgb(98, 170, 207));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.cpage__logo {
  position: relative;
}
.cpage__logo:hover::after {
  transform: scaleX(1);
}

/* ONG pillars */
.ong-pillar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(88, 144, 200), rgb(60, 160, 130));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.ong-pillar {
  position: relative;
}
.ong-pillar:hover::after {
  transform: scaleX(1);
}

/* Team member rows — sutil línea izquierda al hover */
.tmember {
  position: relative;
  transition: background 0.25s ease;
  border-radius: 0;
}
.tmember::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 54px;
  bottom: 54px;
  width: 3px;
  background: rgb(88, 144, 200);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tmember:hover::before {
  transform: scaleY(1);
}

/* About page stats rings — hover glow */
.stat {
  transition: transform 0.25s ease;
}
.stat:hover {
  transform: translateY(-4px);
}

/* Hero band entries */
.hero__band-entry {
  transition: transform 0.25s ease;
}
.hero__band-entry:hover {
  transform: translateY(-3px);
}

/* Improved marquee fade edges (from reference design) */
.clients__carousel {
  position: relative;
}
.clients__carousel::before,
.clients__carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.clients__carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.clients__carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* ── Smooth scroll ── */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   SPRINT 2 — CTA band pre-footer + Footer oscuro multi-columna
   ============================================================ */

/* ── Banda CTA pre-footer ── */
.pre-footer-cta {
  background: linear-gradient(135deg, rgb(47, 111, 178) 0%, rgb(22, 70, 130) 100%);
  padding: 80px var(--gutter);
  text-align: center;
}

.pre-footer-cta__inner {
  max-width: 720px;
  margin: 0 auto;
}

.pre-footer-cta__pill {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.pre-footer-cta__title {
  margin: 0 0 16px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: #fff;
}

.pre-footer-cta__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.pre-footer-cta__sub {
  margin: 0 0 36px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pre-footer-cta__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.pre-footer-cta__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: rgb(47, 111, 178);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pre-footer-cta__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.pre-footer-cta__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pre-footer-cta__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

/* ── Footer oscuro multi-columna ── */
/* Reemplaza el footer azul plano existente */
.footer-dark {
  background: #00111f;
  padding: 64px var(--gutter) 0;
  color: #fff;
}

.footer-dark__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Brand column */
.footer-dark__brand {}

.footer-dark__logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.footer-dark__desc {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.48);
  max-width: 250px;
  margin: 0 0 22px;
}

.footer-dark__socials {
  display: flex;
  gap: 8px;
}

.footer-dark__soc {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-dark__soc:hover {
  background: rgba(88, 144, 200, 0.2);
  border-color: rgba(88, 144, 200, 0.5);
  color: rgb(98, 152, 207);
}

/* Nav columns */
.footer-dark__col {}

.footer-dark__col-title {
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-dark__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-dark__links a {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-dark__links a:hover {
  color: rgba(255, 255, 255, 0.88);
}

/* Bottom bar */
.footer-dark__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-dark__copy {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer-dark__legal {
  display: flex;
  gap: 18px;
}

.footer-dark__legal a {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-dark__legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1000px) {
  .footer-dark__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-dark__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-dark__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .pre-footer-cta__btns {
    flex-direction: column;
    align-items: center;
  }
  .pre-footer-cta {
    padding: 56px var(--gutter);
  }
}
