/* ==========================================================================
   OXALIS CONSTRUCCIONES S.A. - HOJA DE ESTILOS CORPORATIVA
   Paleta: Azul Marino Profundo, Azul Acero y Grises Técnicos
   ========================================================================== */

:root {
  /* Colores Corporativos */
  --navy-950: #060f1d;
  --navy-900: #0a192f;
  --navy-800: #112240;
  --navy-700: #1b365d;
  --steel-600: #254e82;
  --steel-500: #3366a6;
  --steel-400: #5a87bf;

  /* Escala de Grises Técnicos */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Estados */
  --success: #15803d;
  --error: #b91c1c;

  /* Tipografía */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout y Espaciado */
  --container-max: 1240px;
  --header-height: 82px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-sm: 0 2px 8px rgba(6, 15, 29, 0.06);
  --shadow-md: 0 12px 30px rgba(6, 15, 29, 0.1);
  --shadow-lg: 0 24px 50px rgba(6, 15, 29, 0.18);
  --transition: 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Técnico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Utilidades de Contenedor */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--light {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section--dark {
  background-color: var(--navy-900);
  color: var(--slate-200);
}

.section--darker {
  background-color: var(--navy-950);
  color: var(--slate-200);
}

/* Tipografía y Encabezados de Sección */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--darker h2,
.section--darker h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background-color: var(--steel-500);
}

.section--dark .eyebrow,
.section--darker .eyebrow {
  color: var(--steel-400);
}

.section--dark .eyebrow::before,
.section--darker .eyebrow::before {
  background-color: var(--steel-400);
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-header--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}

.section-header--split > div {
  max-width: 660px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
}

.section--dark .section-lead,
.section--darker .section-lead {
  color: var(--slate-300);
}

/* Botones Corporativos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--steel-600);
  color: var(--white);
  border-color: var(--steel-600);
}

.btn--primary:hover {
  background-color: var(--steel-500);
  border-color: var(--steel-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 78, 130, 0.35);
}

.btn--navy {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn--navy:hover {
  background-color: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-1px);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn--outline-dark:hover {
  border-color: var(--navy-900);
  background-color: var(--navy-900);
  color: var(--white);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.84rem;
}

/* Barra Institucional Superior */
.topbar {
  background-color: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--slate-300);
  font-size: 0.8rem;
  padding: 9px 0;
}

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

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a:hover {
  color: var(--white);
}

.topbar__sep {
  color: var(--slate-600);
}

/* Header Principal y Logo Tipográfico */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 40px;
  height: 40px;
  background-color: var(--navy-900);
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand__mark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--steel-500);
}

.brand__mark span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--navy-900);
}

.brand__sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 3px;
}

.brand--light .brand__mark {
  background-color: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.brand--light .brand__name {
  color: var(--white);
}

.brand--light .brand__sub {
  color: var(--slate-400);
}

/* Navegación */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 6px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--steel-600);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--navy-900);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-900);
}

/* ==========================================================================
   SISTEMA AUTOMÁTICO DE FOTOS (Muestra guía técnica hasta que subas la foto)
   ========================================================================== */
.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--navy-800);
  border-radius: var(--radius-sm);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-frame.is-missing img {
  display: none;
}

.media-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  color: var(--slate-300);
  padding: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

.media-frame.is-missing .media-placeholder {
  display: flex;
}

.media-placeholder__tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-400);
  margin-bottom: 8px;
}

.media-placeholder__file {
  font-family: monospace;
  font-size: 0.86rem;
  color: var(--white);
  background-color: rgba(6, 15, 29, 0.7);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
}

.media-placeholder__hint {
  font-size: 0.78rem;
  color: var(--slate-400);
  max-width: 280px;
}

/* ==========================================================================
   HERO CORPORATIVO DE ALTO IMPACTO
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg .media-frame {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.hero__bg img {
  opacity: 0.32;
  filter: grayscale(20%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 15, 29, 0.96) 0%, rgba(10, 25, 47, 0.86) 55%, rgba(10, 25, 47, 0.65) 100%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background-color: rgba(51, 102, 166, 0.18);
  border: 1px solid rgba(90, 135, 191, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-200);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--steel-400);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.3rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title span {
  color: var(--slate-300);
  font-weight: 600;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 600px;
  margin-bottom: 36px;
}

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

.hero__card {
  background-color: rgba(17, 34, 64, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--steel-500);
  padding: 32px;
  border-radius: var(--radius-sm);
}

.hero__card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-400);
  margin-bottom: 18px;
}

.hero__card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.hero__card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--slate-200);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__card-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero__card-check {
  color: var(--steel-400);
  font-weight: 700;
  flex-shrink: 0;
}

.hero__card-footer {
  font-size: 0.82rem;
  color: var(--slate-400);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__card-footer strong {
  color: var(--white);
}

/* Barra de Indicadores (KPIs) */
.kpi-bar {
  position: relative;
  z-index: 2;
  background-color: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kpi-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.kpi-item {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.kpi-item:last-child {
  border-right: none;
}

.kpi-item__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.kpi-item__label {
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* ==========================================================================
   SECCIÓN INSTITUCIONAL (QUIÉNES SOMOS)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media .media-frame {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background-color: var(--navy-900);
  color: var(--white);
  padding: 24px 28px;
  border-left: 4px solid var(--steel-500);
  box-shadow: var(--shadow-md);
  max-width: 260px;
}

.about-badge__num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.about-badge__text {
  font-size: 0.82rem;
  color: var(--slate-300);
  line-height: 1.4;
}

.pillars-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.pillar-mini {
  padding: 18px 20px;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 3px solid var(--navy-900);
}

.pillar-mini h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pillar-mini p {
  font-size: 0.84rem;
  color: var(--slate-600);
}

/* ==========================================================================
   UNIDADES DE NEGOCIO (5 VERTICALES)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  padding: 36px 30px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--steel-600);
  transition: var(--transition);
}

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

.service-card:hover::before {
  width: 100%;
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.service-card__num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-400);
  letter-spacing: 0.08em;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background-color: var(--slate-100);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--slate-600);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--slate-600);
  background-color: var(--slate-100);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--steel-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link:hover {
  gap: 10px;
  color: var(--navy-900);
}

.service-card--cta {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  justify-content: space-between;
}

.service-card--cta h3 {
  color: var(--white);
  font-size: 1.4rem;
}

.service-card--cta p {
  color: var(--slate-300);
}

/* ==========================================================================
   OBRAS DESTACADAS / PORTAFOLIO
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.project-card:hover .media-frame img {
  transform: scale(1.04);
}

.project-card__media {
  position: relative;
}

.project-card__media .media-frame {
  aspect-ratio: 16 / 11;
  border-radius: 0;
}

.project-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background-color: rgba(10, 25, 47, 0.9);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.project-card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card__meta {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.project-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-card__specs {
  border-top: 1px solid var(--slate-200);
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.8rem;
}

.project-card__specs span {
  display: block;
  color: var(--slate-500);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-card__specs strong {
  color: var(--navy-900);
}

/* ==========================================================================
   MAQUINARIA Y CAPACIDAD OPERATIVA (BLOQUE OSCURO)
   ========================================================================== */
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.fleet-points {
  display: grid;
  gap: 20px;
  margin: 32px 0;
}

.fleet-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.fleet-point__num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--steel-400);
  font-size: 1rem;
  flex-shrink: 0;
}

.fleet-point h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.fleet-point p {
  font-size: 0.88rem;
  color: var(--slate-300);
}

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

.fleet-gallery .media-frame:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.fleet-gallery .media-frame:not(:first-child) {
  aspect-ratio: 4 / 3;
}

/* ==========================================================================
   BLOQUE ESTRATÉGICO PARA INVERSORES
   ========================================================================== */
.investor-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 64px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.investor-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.investor-banner p {
  color: var(--slate-300);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.investor-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.investor-highlight {
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 2px solid var(--steel-400);
  padding: 16px;
}

.investor-highlight strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}

.investor-highlight span {
  font-size: 0.8rem;
  color: var(--slate-300);
}

.investor-box {
  background-color: rgba(6, 15, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px;
  border-radius: var(--radius-sm);
}

.investor-box__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-400);
  font-weight: 700;
  margin-bottom: 10px;
}

.investor-box h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.investor-box p {
  font-size: 0.88rem;
  margin-bottom: 22px;
}

/* ==========================================================================
   CANALES CORPORATIVOS POR ÁREA
   ========================================================================== */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.channel-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  padding: 26px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.channel-card:hover {
  border-color: var(--steel-500);
  box-shadow: var(--shadow-sm);
}

.channel-card__area {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel-600);
  margin-bottom: 8px;
}

.channel-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.channel-card p {
  font-size: 0.84rem;
  color: var(--slate-600);
  margin-bottom: 14px;
}

.channel-card__mail {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
  word-break: break-all;
}

.channel-card__mail:hover {
  color: var(--steel-600);
}

/* ==========================================================================
   ENCABEZADO DE PÁGINAS INTERNAS, FILTROS Y FORMULARIOS (Paso 3)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 80px 0 64px;
  border-bottom: 3px solid var(--steel-600);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--slate-300);
  max-width: 680px;
  font-size: 1.05rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--slate-800);
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--steel-600);
  box-shadow: 0 0 0 3px rgba(37, 78, 130, 0.14);
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background-color: #ecfdf5;
  border: 1px solid #86efac;
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: var(--error);
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */
.footer {
  background-color: var(--navy-950);
  color: var(--slate-300);
  padding: 76px 0 32px;
  border-top: 3px solid var(--steel-600);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__desc {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--slate-400);
  max-width: 340px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.9rem;
}

.footer__links a {
  color: var(--slate-400);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Botón Flotante Discreto de WhatsApp */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--navy-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
}

.wa-float:hover {
  background-color: var(--steel-600);
  transform: translateY(-2px);
}

.wa-float svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Animación Sutil de Aparición */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================================================
   RESPONSIVE (TABLET Y CELULAR)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid,
  .about-grid,
  .fleet-grid,
  .investor-banner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .about-badge {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .section {
    padding: 68px 0;
  }

  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .kpi-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .investor-banner {
    padding: 36px 24px;
  }

  .investor-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .projects-grid,
  .channels-grid,
  .pillars-mini,
  .footer__grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: span 1;
  }

  .hero {
    padding-top: 56px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .wa-float span {
    display: none;
  }

  .wa-float {
    padding: 14px;
  }
}