/* ============================================
   COMPASS DIRECTO — Main Stylesheet
   CSS Puro · Grid + Flexbox · Diseño Suizo
   Multi-page layout
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --azul: #29259E;
  --azul-dark: #1e1a7a;
  --azul-light: rgba(41, 37, 158, 0.08);
  --verde: #00ac93;
  --verde-dark: #008f7a;
  --verde-light: rgba(0, 172, 147, 0.1);
  --blanco: #ffffff;
  --g50: #f8f9fa;
  --g100: #f1f3f5;
  --g200: #e9ecef;
  --g300: #dee2e6;
  --g400: #adb5bd;
  --g500: #868e96;
  --g600: #495057;
  --g700: #343a40;
  --g800: #212529;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 16px;
  --f-title: 'Montserrat', sans-serif;
  --f-body: 'Lato', sans-serif;
  --max-w: 1200px;
  --ease: all 0.3s ease;
  --ease-fast: all 0.2s ease;
}

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

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

body {
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--g700);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--g800);
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--blanco);
  transition: var(--ease);
}

.header--scroll {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.header__logo img {
  height: 38px;
  width: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--f-title);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  color: var(--g700);
  position: relative;
  padding: 4px 0;
  transition: var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  border-radius: 1px;
  transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav__link:hover {
  color: var(--azul);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--active {
  color: var(--azul);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--g700);
  border-radius: 2px;
  transition: var(--ease);
}

/* ============================================
   HERO (Home)
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(41, 37, 158, 0.90) 0%,
      rgba(41, 37, 158, 0.74) 40%,
      rgba(0, 172, 147, 0.38) 100%);
  z-index: 1;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/banners/fondo-corporativo.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  font-family: var(--f-title);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--verde);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--verde);
  border-radius: 50%;
  animation: pulso 2s infinite;
}

@keyframes pulso {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero__title em {
  font-style: normal;
  color: var(--verde);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 580px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  margin-top: 72px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(41, 37, 158, 0.92) 0%,
      rgba(41, 37, 158, 0.80) 50%,
      rgba(0, 172, 147, 0.45) 100%);
  z-index: 1;
}

.page-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/banners/fondo-corporativo.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-title);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--ease-fast);
}

.page-hero__breadcrumb a:hover {
  color: var(--verde);
}

.page-hero__breadcrumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero__title em {
  font-style: normal;
  color: var(--verde);
}

.page-hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 560px;
  font-weight: 300;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-title);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: var(--ease);
  letter-spacing: 0.3px;
}

.btn--primary {
  background: var(--verde);
  color: var(--blanco);
  box-shadow: 0 4px 14px rgba(0, 172, 147, 0.35);
}

.btn--primary:hover {
  background: var(--verde-dark);
  box-shadow: 0 6px 20px rgba(0, 172, 147, 0.45);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--blanco);
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: var(--azul);
  color: var(--blanco);
}

.btn--dark:hover {
  background: var(--azul-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--azul);
  border: 1.5px solid var(--azul);
}

.btn--outline:hover {
  background: var(--azul);
  color: var(--blanco);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.82rem;
}

/* ============================================
   STATS BAR (Hero)
   ============================================ */
.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 64px;
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 540px;
}

.hero__stat {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.hero__stat-num {
  font-family: var(--f-title);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1;
  margin-bottom: 6px;
}

.hero__stat-num em {
  font-style: normal;
  color: var(--verde);
  font-size: 1.1rem;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
  font-weight: 300;
}

/* ============================================
   SECCIONES — GENÉRICO
   ============================================ */
.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--g50);
}

.section__header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}

.section__tag {
  display: inline-block;
  font-family: var(--f-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--g800);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--g500);
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================
   SOBRE NOSOTROS
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__img-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 120px;
  height: 120px;
  border: 4px solid var(--verde);
  border-radius: var(--r-lg);
  z-index: -1;
}

.about__content {
  max-width: 520px;
}

.about__tag {
  display: inline-block;
  font-family: var(--f-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 16px;
}

.about__title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.about__text {
  font-size: 0.95rem;
  color: var(--g600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__text:last-of-type {
  margin-bottom: 32px;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.about__highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--g50);
  border-radius: var(--r-md);
  border: 1px solid var(--g200);
  transition: var(--ease);
}

.about__highlight:hover {
  border-color: rgba(0, 172, 147, 0.3);
  background: var(--verde-light);
}

.about__highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--azul-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--azul);
}

.about__highlight-text {
  font-family: var(--f-title);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--g700);
  line-height: 1.4;
}

/* About — extended (page) */
.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.value-card {
  background: var(--blanco);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g200);
  transition: var(--ease);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--azul-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--azul);
}

.value-card__title {
  font-family: var(--f-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 12px;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--g500);
  line-height: 1.7;
}

/* ============================================
   DIVISIONES — GRID
   ============================================ */
.divisions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.div-card {
  background: var(--blanco);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
  border: 1px solid var(--g200);
  display: flex;
  flex-direction: column;
}

.div-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.div-card__img {
  position: relative;
  height: 220px;
  background: var(--g100);
  overflow: hidden;
}

.div-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.div-card:hover .div-card__img img {
  transform: scale(1.06);
}

.div-card__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.div-card__title {
  font-family: var(--f-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 14px;
  line-height: 1.3;
}

.div-card__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--verde);
  border-radius: 2px;
  margin-top: 12px;
}

.div-card__desc {
  font-size: 0.92rem;
  color: var(--g500);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.div-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.div-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--g600);
  transition: var(--ease-fast);
}

.div-card:hover .div-card__tag {
  border-color: rgba(0, 172, 147, 0.25);
  background: var(--verde-light);
  color: var(--verde-dark);
}

.div-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-title);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--azul);
  margin-top: 16px;
  transition: var(--ease-fast);
}

.div-card__link svg {
  transition: transform 0.2s ease;
}

.div-card__link:hover {
  color: var(--verde);
}

.div-card__link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   SOLUCIONES — PAGE (extended)
   ============================================ */
.sol-area {
  padding: 80px 0;
  border-bottom: 1px solid var(--g200);
}

.sol-area:nth-child(even) {
  background: var(--g50);
}

.sol-area:last-child {
  border-bottom: none;
}

.sol-area__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.sol-area:nth-child(even) .sol-area__inner {
  direction: rtl;
}

.sol-area:nth-child(even) .sol-area__inner>* {
  direction: ltr;
}

.sol-area__content {
  max-width: 540px;
}

.sol-area__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--azul-light);
  font-family: var(--f-title);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 16px;
}

.sol-area__tag {
  display: inline-block;
  font-family: var(--f-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 12px;
}

.sol-area__title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  color: var(--g800);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.sol-area__desc {
  font-size: 0.95rem;
  color: var(--g600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.sol-area__list {
  margin-bottom: 28px;
}

.sol-area__list-title {
  font-family: var(--f-title);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--g700);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sol-area__list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sol-area__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--blanco);
  border: 1px solid var(--g200);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  color: var(--g600);
  transition: var(--ease-fast);
}

.sol-area:nth-child(even) .sol-area__list li {
  background: var(--blanco);
}

.sol-area__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--verde);
  flex-shrink: 0;
}

.sol-area__img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--g100);
  aspect-ratio: 16 / 10;
}

.sol-area__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solutions — additional grid (smaller areas) */
.sol-extra__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sol-extra-card {
  background: var(--blanco);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g200);
  transition: var(--ease);
}

.sol-extra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.sol-extra-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--verde-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  margin-bottom: 20px;
}

.sol-extra-card__title {
  font-family: var(--f-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 12px;
  line-height: 1.3;
}

.sol-extra-card__desc {
  font-size: 0.9rem;
  color: var(--g500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sol-extra-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sol-extra-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--g600);
}

/* ============================================
   NOTICIAS
   ============================================ */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--blanco);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g200);
  transition: var(--ease);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.news-card__img {
  height: 200px;
  background: var(--g100);
  overflow: hidden;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__img img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 28px 24px;
}

.news-card__date {
  font-family: var(--f-title);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--verde);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.news-card__title {
  font-family: var(--f-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card__excerpt {
  font-size: 0.9rem;
  color: var(--g500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-title);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--azul);
  transition: var(--ease-fast);
}

.news-card__link:hover {
  color: var(--verde);
}

/* ============================================
   CONTACTO — PAGE
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact__form-wrap {
  background: var(--blanco);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g200);
}

.contact__form-title {
  font-family: var(--f-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 8px;
}

.contact__form-desc {
  font-size: 0.9rem;
  color: var(--g500);
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-family: var(--f-title);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--g700);
  margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--g300);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: var(--g700);
  background: var(--blanco);
  transition: var(--ease-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3px var(--azul-light);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23868e96' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__info-card {
  background: var(--blanco);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--ease);
}

.contact__info-card:hover {
  border-color: rgba(0, 172, 147, 0.3);
  box-shadow: var(--shadow-md);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--azul-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--azul);
}

.contact__info-title {
  font-family: var(--f-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--g800);
  margin-bottom: 4px;
}

.contact__info-text {
  font-size: 0.9rem;
  color: var(--g600);
  line-height: 1.7;
}

.contact__info-text a {
  color: var(--azul);
  font-weight: 600;
  transition: var(--ease-fast);
}

.contact__info-text a:hover {
  color: var(--verde);
}

/* Contact map */
.contact__map {
  margin-top: 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--g200);
  height: 320px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta {
  background:
    linear-gradient(135deg, rgba(41, 37, 158, 0.92), rgba(30, 26, 122, 0.95)),
    url('../img/banners/6.png') center / cover no-repeat;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0, 172, 147, 0.08);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  gap: 40px;
}

.cta__text {
  max-width: 560px;
}

.cta__title {
  font-size: 1.75rem;
  color: var(--blanco);
  margin-bottom: 12px;
  font-weight: 700;
}

.cta__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ============================================
   EQUIPO DE CONTACTO
   ============================================ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.team-card {
  background: var(--blanco);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--g200);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-card__role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-title);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--verde);
  padding: 4px 12px;
  background: var(--verde-light);
  border-radius: 20px;
  width: fit-content;
}

.team-card__name {
  font-family: var(--f-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--g800);
  line-height: 1.3;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--g600);
}

.team-card__row svg {
  flex-shrink: 0;
  color: var(--azul);
}

.team-card__row a {
  color: var(--azul);
  font-weight: 600;
  transition: var(--ease-fast);
}

.team-card__row a:hover {
  color: var(--verde);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--g50);
  border-top: 1px solid var(--g200);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr 0.9fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__heading {
  font-family: var(--f-title);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g800);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--verde);
  border-radius: 1px;
}

.footer__logo {
  margin-bottom: 18px;
}

.footer__logo img {
  height: 30px;
  width: auto;
}

.footer__line {
  font-size: 0.9rem;
  color: var(--g600);
  line-height: 1.9;
}

.footer__line a {
  color: var(--azul);
  font-weight: 700;
  transition: var(--ease-fast);
}

.footer__line a:hover {
  color: var(--verde);
}

.footer__line--label {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--g500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.footer__line--sub {
  font-size: 0.78rem;
  color: var(--g400);
  margin-bottom: 12px;
}

.footer__news {
  padding: 14px 0;
  border-bottom: 1px solid var(--g200);
}

.footer__news:first-of-type {
  padding-top: 0;
}

.footer__news:last-of-type {
  border-bottom: none;
}

.footer__news-date {
  font-family: var(--f-title);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--verde);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.footer__news-title {
  font-size: 0.88rem;
  color: var(--g700);
  font-weight: 400;
  line-height: 1.5;
  transition: var(--ease-fast);
  cursor: pointer;
}

.footer__news-title:hover {
  color: var(--azul);
}

.footer__link-item {
  padding: 6px 0;
}

.footer__link {
  font-size: 0.88rem;
  color: var(--g600);
  transition: var(--ease-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__link::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--g300);
  border-radius: 50%;
  transition: var(--ease-fast);
}

.footer__link:hover {
  color: var(--verde);
}

.footer__link:hover::before {
  background: var(--verde);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--g200);
  background: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
  color: var(--g500);
}

.footer__social-link:hover {
  background: var(--azul);
  border-color: var(--azul);
  color: var(--blanco);
  transform: translateY(-2px);
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--azul-light), var(--verde-light));
  border: 1px solid var(--g200);
  border-radius: var(--r-md);
  font-family: var(--f-title);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--azul);
  letter-spacing: 0.3px;
}

/* Barra inferior */
.footer__bar {
  border-top: 1px solid var(--g200);
  padding: 20px 0;
}

.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--g400);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--g400);
  transition: var(--ease-fast);
}

.footer__legal a:hover {
  color: var(--verde);
}

.footer__legal-sep {
  color: var(--g300);
  font-size: 0.7rem;
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0.4;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for grid items */
.reveal:nth-child(1) {
  transition-delay: 0s;
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal:nth-child(6) {
  transition-delay: 0.5s;
}

/* Slide from left */
.reveal--left {
  opacity: 0.4;
  transform: translateX(-30px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal--left.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal--right {
  opacity: 0.4;
  transform: translateX(30px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal--right.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale fade */
.reveal--scale {
  opacity: 0.5;
  transform: scale(0.95);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal--scale.reveal--visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .divisions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .hero__stats {
    max-width: 100%;
  }

  .sol-area__inner {
    gap: 36px;
  }

  .sol-extra__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__values {
    grid-template-columns: repeat(2, 1fr);
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: var(--blanco);
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 32px 24px;
  }

  .nav--open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid var(--g100);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__title {
    font-size: 2rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__img-wrap {
    max-width: 480px;
  }

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

  .div-card__img {
    height: 180px;
  }

  .cta__inner {
    flex-direction: column;
    text-align: center;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__bar-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .sol-area:nth-child(even) .sol-area__inner {
    direction: ltr;
  }

  .sol-extra__grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .page-hero {
    padding: 120px 0 60px;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

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

  .sol-area {
    padding: 48px 0;
  }
}

/* ============================================
   PAGE TRANSITIONS - Cinematic Overlay
   ============================================ */

/* Overlay de transición cinematográfica */
.page-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0s 0.4s;
  will-change: opacity;
  pointer-events: none;
}

.page-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease-in-out, visibility 0s 0s;
  pointer-events: all;
}

/* El body no necesita animación propia, el overlay lo cubre */
body {
  opacity: 1;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: var(--verde);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 172, 147, 0.35);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--verde-dark);
  box-shadow: 0 8px 32px rgba(0, 172, 147, 0.45);
  transform: translateY(-4px);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  color: var(--blanco);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}