/* =====================================================================
   Senergy — Servicios en Energía
   Hoja de estilos principal. Sin frameworks. Mobile-first.

   Cromática de marca:
     #0b2341  azul marino  · texto, títulos, cabecera y pie
     #ed502e  naranja      · acento principal, botones, servicios
     #007bff  azul         · acento secundario, productos

   Índice:
     1.  Variables
     2.  Base y tipografía
     3.  Títulos de sección
     4.  Botones y enlaces
     5.  Cabecera y navegación
     6.  Hero
     7.  Franja de destacados y clientes
     8.  Cajas de icono (productos / servicios)
     9.  Bloques de contenido
     10. Cifras, valores, proceso, sectores, testimonios
     11. Portafolio
     12. Preguntas frecuentes
     13. Banda CTA
     14. Formulario de contacto
     15. Hero de página, breadcrumb, artículo
     16. Pie de página
     17. Elementos flotantes y animaciones
     18. Responsive
     19. Movimiento reducido e impresión
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. VARIABLES                                                        */
/* ------------------------------------------------------------------ */
:root {
  /* Marca */
  --navy: #0b2341;
  --navy-deep: #071527;
  --navy-panel: #05101e;
  --navy-soft: #0f2f57;
  --navy-mid: #123a6d;
  --navy-link: #1357aa;

  --orange: #ed502e;
  --orange-hover: #ef6445;
  --orange-soft: #f9c6bb;
  --orange-pale: #fbdad2;
  --orange-line: #f38b74;
  /* Derivados del naranja de marca para texto pequeño: mismos tonos,
     ajustados para cumplir contraste WCAG AA sobre fondos claros. */
  --orange-ink: #c43d1d;
  --orange-ink-hover: #a5331a;
  --orange-btn: #d2451f;

  --blue: #007bff;
  --blue-hover: #3399ff;
  --blue-soft: #b3d7ff;
  --blue-dark: #1a5298;
  --blue-link: #2169c4;

  /* Neutros */
  --text: #444444;
  --text-light: #6a6a6a;
  --text-mute: #6f6f6f;
  --title: #0f2f57;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --border: #e9f1fb;

  /* Tipografía */
  --font-body: 'Open Sans', sans-serif;
  --font-head: 'Raleway', sans-serif;
  --font-alt: 'Poppins', sans-serif;

  /* Geometría */
  --container: 1170px;
  --gutter: 20px;
  --radius: 4px;
  --radius-lg: 5px;

  /* Sombras */
  --shadow-box: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  --shadow-soft: 0 0 30px rgba(214, 215, 216, 0.6);
  --shadow-count: -10px -5px 40px 0 rgba(0, 0, 0, 0.1);
  --shadow-drop: 0px 0px 20px 0px rgba(11, 35, 65, 0.1);
  --shadow-menu: 0px 0px 30px rgba(127, 137, 161, 0.25);

  --header-h: 84px;
}

/* ------------------------------------------------------------------ */
/* 2. BASE Y TIPOGRAFÍA                                                */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

p {
  margin: 0 0 1rem;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: var(--orange-ink);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

a:hover {
  color: var(--orange-ink-hover);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--orange);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: 60px;
}

.section--alt {
  background-color: #ffffff;
}

.section--dark {
  background-color: var(--navy);
  color: #fff;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Etiqueta pequeña sobre títulos de página */
.eyebrow {
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.eyebrow--light {
  color: var(--orange-hover);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ------------------------------------------------------------------ */
/* 3. TÍTULOS DE SECCIÓN                                               */
/* ------------------------------------------------------------------ */
.section-title {
  margin-bottom: 40px;
}

.section-title__label {
  font-family: var(--font-alt);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
  line-height: 1;
  margin-bottom: 6px;
}

.section-title__label::after {
  content: '';
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--orange-line);
  margin: 4px 10px;
}

.section-title__text {
  font-family: var(--font-alt);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title);
  line-height: 1.25;
  margin: 0;
}

.section-title__lead {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--text-light);
  max-width: 70ch;
}

.section-title.center {
  text-align: center;
}

.section-title.center .section-title__label::after {
  margin: 4px auto 4px;
  display: block;
  width: 120px;
}

.section-title.center .section-title__lead {
  margin-inline: auto;
}

.section--dark .section-title__label {
  color: rgba(255, 255, 255, 0.55);
}

.section--dark .section-title__text {
  color: #fff;
}

.section--dark .section-title__lead {
  color: rgba(255, 255, 255, 0.75);
}

/* ------------------------------------------------------------------ */
/* 4. BOTONES Y ENLACES                                                */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  text-align: center;
  transition: all 0.3s ease;
}

.btn--accent {
  background: var(--orange-btn);
  border-color: var(--orange-btn);
  color: #fff;
}

.btn--accent:hover {
  background: var(--orange-ink);
  border-color: var(--orange-ink);
  color: #fff;
}

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: var(--orange-btn);
  color: var(--orange-ink);
}

.btn--outline:hover {
  background: var(--orange-btn);
  border-color: var(--orange-btn);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong, #d4dbe4);
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

/* Sobre fondos oscuros, el contorno pasa a blanco */
.panel--accent .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.panel--accent .btn--outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.btn--outline-navy {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn--outline-navy:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

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

.btn--navy:hover {
  background: var(--navy);
  color: #fff;
}

.btn--sm {
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 13px;
}

.btn--lg {
  padding: 14px 36px;
  font-size: 15px;
}

.btn--block {
  display: block;
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--orange-ink);
}

.link-arrow:hover {
  color: var(--orange-ink-hover);
}

.link-arrow .icon {
  transition: transform 0.3s ease;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius);
  background: #fdefeb;
  color: var(--orange-ink);
  font-family: var(--font-alt);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ */
/* 5. CABECERA Y NAVEGACIÓN                                            */
/* ------------------------------------------------------------------ */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1200;
  padding: 12px 22px;
  border-radius: var(--radius);
  background: var(--orange-btn);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  transition: top 0.25s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  padding: 20px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand__mark-svg {
  display: block;
  border-radius: var(--radius);
}

.brand__logo {
  display: block;
  width: auto;
  height: 70px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

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

.brand__text strong {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
}

.brand__text small {
  font-family: var(--font-alt);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-mute);
}

.brand__text {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0 10px 30px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  white-space: nowrap;
  background: none;
  transition: color 0.3s ease;
}

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

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

.nav__sub-toggle {
  display: grid;
  place-items: center;
  padding: 10px 0 10px 5px;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
}

.nav__item.is-active > .nav__row > .nav__link,
.nav__row:hover > .nav__link {
  color: var(--navy-link);
}

.nav__chevron {
  width: 12px;
  height: 12px;
  opacity: 0.75;
  transition: transform 0.3s ease;
}

.nav__item--sub:hover .nav__chevron,
.nav__item--sub.is-open .nav__chevron {
  transform: rotate(45deg);
}

.nav__sub {
  position: absolute;
  top: calc(100% + 22px);
  left: 14px;
  min-width: 250px;
  padding: 10px 0;
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow-menu);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#sub-productos,
#sub-servicios {
  left: auto;
  right: -10px;
}

.nav__item--sub:hover > .nav__sub,
.nav__item--sub:focus-within > .nav__sub,
.nav__item--sub.is-open > .nav__sub {
  opacity: 1;
  visibility: visible;
  top: 100%;
}

.nav__sub li a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--navy);
  text-transform: none;
  line-height: 1.5;
  white-space: nowrap;
}

.nav__sub li a:hover,
.nav__sub li a[aria-current='page'] {
  color: var(--orange-ink);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  border-radius: var(--radius);
}

.nav-toggle:hover {
  color: var(--orange-ink);
}

.nav-toggle .icon {
  width: 26px;
  height: 26px;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__close {
  display: block;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 21, 0.6);
  z-index: 998;
}

/* ------------------------------------------------------------------ */
/* 6. HERO                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 12, 21, 0.55);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 70px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 18ch;
  margin: 0 0 15px;
}

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

.hero__lead {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 28px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__badges .icon {
  color: var(--orange-hover);
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ */
/* 7. FRANJA DE DESTACADOS Y CLIENTES                                  */
/* ------------------------------------------------------------------ */
.strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 45px;
}

.strip__grid {
  display: grid;
  gap: 24px;
}

.strip__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
}

.strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius-lg);
  background: var(--orange);
  color: #fff;
  box-shadow: -6px -6px 0 0 var(--orange-soft);
  transition: all 0.3s ease;
}

.strip__item:hover .strip__icon {
  background: var(--orange-hover);
}

.strip__icon .icon {
  width: 22px;
  height: 22px;
}

.strip__item h3 {
  font-family: var(--font-alt);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.strip__item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.clients {
  padding-block: 50px;
  overflow: hidden;
}

.clients .section-title {
  margin-bottom: 30px;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 40px;
  align-items: center;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 150px;
  height: 80px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.marquee__item:hover {
  opacity: 1;
}

.marquee__item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 20px));
  }
}

/* ------------------------------------------------------------------ */
/* 8. CAJAS DE ICONO (PRODUCTOS / SERVICIOS)                           */
/* ------------------------------------------------------------------ */
.icon-box-grid {
  display: grid;
  gap: 24px;
}

.icon-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  background: #fefefe;
  box-shadow: var(--shadow-box);
  padding: 55px 24px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease-in-out;
}

.icon-box__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -8px -8px 0 0 var(--orange-soft);
  transition: all 0.3s ease-out;
}

.icon-box--blue .icon-box__icon {
  background: var(--blue);
  box-shadow: -8px -8px 0 0 var(--blue-soft);
}

.icon-box__icon .icon {
  width: 28px;
  height: 28px;
}

.icon-box__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.35;
}

.icon-box__title a {
  color: var(--navy);
}

.icon-box__title a:hover {
  color: var(--orange-ink);
}

.icon-box__text {
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
  margin-bottom: 0;
  flex: 1;
}

.icon-box:hover {
  background: var(--orange);
}

.icon-box--blue:hover {
  background: var(--blue);
}

.icon-box:hover .icon-box__icon {
  background: #fff;
  color: var(--orange-ink);
  box-shadow: -8px -8px 0 0 var(--orange-hover);
}

.icon-box--blue:hover .icon-box__icon {
  color: var(--blue);
  box-shadow: -8px -8px 0 0 var(--blue-hover);
}

.icon-box:hover .icon-box__title a,
.icon-box:hover .icon-box__text {
  color: #fff;
}

.icon-box--sm {
  padding: 32px 22px;
}

.icon-box--sm .icon-box__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}

.icon-box--sm .icon-box__icon .icon {
  width: 23px;
  height: 23px;
}

.icon-box--sm .icon-box__title {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Artículos del blog */
.post-grid {
  display: grid;
  gap: 30px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-box);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 40px 0px rgba(110, 123, 131, 0.18);
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-mute);
}

.post-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.post-card__title a {
  color: var(--navy);
}

.post-card__title a:hover {
  color: var(--orange-ink);
}

.post-card__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
  flex: 1;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* 9. BLOQUES DE CONTENIDO                                             */
/* ------------------------------------------------------------------ */
.highlight-grid {
  display: grid;
  gap: 24px;
}

.highlight {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
  transition: all 0.3s ease;
}

.highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 40px 0px rgba(110, 123, 131, 0.18);
}

.highlight__icon {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: var(--radius-lg);
  background: var(--orange-pale);
  color: var(--orange-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight__icon .icon {
  width: 24px;
  height: 24px;
}

.highlight__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.highlight__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}

.split {
  display: grid;
  gap: 40px;
  align-items: start;
}

.split__main {
  display: grid;
  gap: 34px;
}

.split__aside {
  display: grid;
  gap: 22px;
}

.prose h2 {
  font-family: var(--font-alt);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title);
  margin-bottom: 14px;
  line-height: 1.3;
}

.prose p {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 2px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}

.check-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--orange-ink);
  flex: none;
}

.panel {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.panel__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.panel__text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 20px;
}

.panel--accent {
  background: var(--navy);
  border-top: 4px solid var(--orange);
}

.panel--accent .panel__title {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.panel--accent .panel__text {
  color: rgba(255, 255, 255, 0.82);
}

.panel--accent .btn--block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.panel--accent .btn + .btn {
  margin-top: 12px;
}

.panel--media {
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-box);
}

.panel--media img {
  width: 100%;
  aspect-ratio: 9 / 7;
  object-fit: cover;
}

#nosotros .panel--media img {
  aspect-ratio: 9 / 7;
  object-position: center 58%;
  transform: translateX(16px) scale(1.05);
}

.specs {
  display: grid;
}

.specs__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.specs__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.specs dt {
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-light);
}

.specs dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.info-list {
  display: grid;
  gap: 22px;
}

.info-list li {
  display: flex;
  gap: 15px;
}

.info-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 2px dotted var(--orange-pale);
  color: var(--orange-ink);
}

.info-list__icon .icon {
  width: 22px;
  height: 22px;
}

.info-list h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.info-list p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.info-list a {
  color: var(--text);
}

.info-list a:hover {
  color: var(--orange-ink);
}

/* ------------------------------------------------------------------ */
/* 10. CIFRAS, VALORES, PROCESO, SECTORES, TESTIMONIOS                 */
/* ------------------------------------------------------------------ */
.stats-grid {
  display: grid;
  gap: 0;
}

.stat {
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-count);
  text-align: left;
}

.stat__value {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 12px;
}

.stat__label {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat__note {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.value-grid {
  display: grid;
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-3px);
}

.value-card__icon {
  display: block;
  font-size: 45px;
  line-height: 1;
  color: var(--orange-ink);
  margin-bottom: 14px;
}

.value-card__icon .icon {
  display: block;
  width: 45px;
  height: 45px;
  margin-inline: auto;
}

.value-card__title {
  font-family: var(--font-alt);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-mid);
  margin-bottom: 10px;
}

.value-card__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
  margin: 0;
}

.process-grid {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

.process-step {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
  border-top: 3px solid var(--orange);
}

.process-step__num {
  display: block;
  font-family: var(--font-alt);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange-ink);
  margin-bottom: 12px;
}

.process-step__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.process-step__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
  margin: 0;
}

.sector-grid {
  display: grid;
  gap: 24px;
}

.sector-card {
  display: flex;
  gap: 18px;
  padding: 26px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
}

.sector-card__icon {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: var(--radius-lg);
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -6px -6px 0 0 var(--blue-soft);
}

.sector-card__icon .icon {
  width: 25px;
  height: 25px;
}

.sector-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.sector-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
  margin: 0;
}

.testimonial-grid {
  display: grid;
  gap: 30px;
}

.testimonial {
  position: relative;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-drop);
}

.testimonial__quote-icon {
  width: 34px;
  height: 34px;
  color: var(--orange-pale);
  margin-bottom: 12px;
}

.testimonial blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
  margin: 0;
}

.testimonial figcaption {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial cite {
  display: block;
  font-family: var(--font-head);
  font-style: normal;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.testimonial .company {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text-mute);
  margin: 3px 0 0;
}

/* ------------------------------------------------------------------ */
/* 11. PORTAFOLIO                                                      */
/* ------------------------------------------------------------------ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 0 auto 30px;
}

.filter-btn {
  padding: 10px 15px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  border-radius: var(--radius);
  transition: all 0.3s ease-in-out;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--orange-ink);
  background: none;
}

.portfolio-grid {
  display: grid;
  gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 0;
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: var(--radius);
  background: var(--orange-btn);
  color: #fff;
  font-family: var(--font-alt);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portfolio-item__overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  z-index: 3;
  padding: 15px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-item__overlay,
.portfolio-item:focus-within .portfolio-item__overlay {
  opacity: 1;
  bottom: 20px;
}

.portfolio-item__overlay h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.portfolio-item__overlay p {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--blue-dark);
  margin: 4px 0 0;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* 12. PREGUNTAS FRECUENTES                                            */
/* ------------------------------------------------------------------ */
.faq-list {
  display: grid;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: none;
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-alt);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--navy);
  list-style: none;
  transition: color 0.3s ease;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q:hover {
  color: var(--orange-ink);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 5px;
  color: var(--orange-ink);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: 0 0 20px 34px;
}

.faq-item__a p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.95;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* 13. BANDA CTA                                                       */
/* ------------------------------------------------------------------ */
.cta-band {
  background: var(--navy);
  padding-block: 70px;
}

.cta-band__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.cta-band__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  max-width: 22ch;
}

.cta-band__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.9;
  margin: 12px 0 0;
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-band__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ------------------------------------------------------------------ */
/* 14. FORMULARIO DE CONTACTO                                          */
/* ------------------------------------------------------------------ */
.contact-form {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-lead {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  gap: 0 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid #e6e6e6;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.3s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23848484' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.75;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b0b0b0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #ed3c0d;
}

.field__error {
  display: block;
  min-height: 17px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #ed3c0d;
}

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 10px;
  align-items: start;
  margin-bottom: 8px;
}

.field--check input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--orange);
  cursor: pointer;
}

.field--check label {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  cursor: pointer;
}

.field--check .field__error {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
}

.form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-actions .btn--accent {
  border: 0;
  padding: 12px 34px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-family: var(--font-alt);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.form-status.is-success {
  color: #18a957;
}

.form-status.is-error {
  color: #ed3c0d;
}

/* ------------------------------------------------------------------ */
/* 15. HERO DE PÁGINA, BREADCRUMB, ARTÍCULO                            */
/* ------------------------------------------------------------------ */
.breadcrumb {
  background: var(--bg-alt);
  padding-block: 14px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: var(--font-head);
  font-size: 14px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: var(--navy-mid);
}

.breadcrumb li + li::before {
  content: '/';
  display: inline-block;
  padding: 0 10px;
  color: var(--navy-mid);
}

.breadcrumb a {
  color: var(--navy-mid);
}

.breadcrumb a:hover {
  color: var(--orange-ink);
}

.breadcrumb [aria-current='page'] {
  color: var(--navy);
  font-weight: 600;
}

.page-hero {
  background: var(--bg-alt);
  padding-block: 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-family: var(--font-alt);
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title);
  line-height: 1.25;
  margin: 0 0 12px;
  max-width: 22ch;
}

.page-hero__lead {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 66ch;
  margin: 0;
}

.page-hero__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 22px;
}

.center-actions {
  justify-content: center;
}

.page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
}

.page-hero__badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--navy-mid);
}

.page-hero__badges .icon {
  color: var(--orange-ink);
  width: 17px;
  height: 17px;
}

.page-hero__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero--plain {
  min-height: 46vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.page-hero--plain .page-hero__title,
.page-hero--plain .page-hero__lead {
  margin-inline: auto;
}

.page-hero--plain .page-hero__actions {
  justify-content: center;
}

/* Artículo */
.article__hero {
  background: var(--bg-alt);
  padding-block: 45px 0;
  border-bottom: 1px solid var(--border);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.article__title {
  font-family: var(--font-alt);
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title);
  line-height: 1.28;
  margin: 0;
}

.article__lead {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.9;
}

.article__hero figure {
  margin-top: 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.article__hero figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article__body {
  padding-block: 45px;
  display: grid;
  gap: 28px;
}

.article__cta {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border-top: 3px solid var(--orange);
  text-align: center;
}

.article__cta h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.article__cta p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ------------------------------------------------------------------ */
/* 16. PIE DE PÁGINA                                                   */
/* ------------------------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  font-size: 14px;
  padding-bottom: 30px;
}

.site-footer__top {
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-col--brand .footer-info {
  background: var(--navy-panel);
  border-top: 4px solid var(--orange);
  padding: 30px 22px;
  text-align: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.brand--footer {
  justify-content: center;
  margin: 0 0 16px;
}

.brand--footer .brand__logo {
  box-sizing: content-box;
  padding: 10px 16px;
  background: #fff;
  border-radius: var(--radius);
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-lead {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

.footer-contact {
  display: grid;
  gap: 12px;
  text-align: left;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--orange-hover);
  flex: none;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
  color: var(--orange-hover);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: #0a1e38;
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--orange);
  color: #fff;
}

.social-links .icon {
  width: 18px;
  height: 18px;
}

.footer-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.footer-links li {
  padding: 9px 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

.footer-links li:first-child {
  padding-top: 0;
}

.footer-links li::before {
  content: '';
  width: 0;
  height: 0;
  margin-right: 8px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--orange-hover);
  flex: none;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.footer-links a:hover {
  color: var(--orange-hover);
}

.footer-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--navy-soft);
  font-family: var(--font-head);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__bottom {
  border-top: 1px solid var(--navy-soft);
  padding-top: 30px;
  margin-top: 12px;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-family: var(--font-head);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal a:hover {
  color: var(--orange-hover);
}

/* ------------------------------------------------------------------ */
/* 17. ELEMENTOS FLOTANTES Y ANIMACIONES                               */
/* ------------------------------------------------------------------ */
.whatsapp-fab {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 40px;
  bottom: 40px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background-color: #25d366;
  color: #fff;
  transition: transform 0.3s ease;
}

.whatsapp-fab:hover {
  color: #fff;
  transform: scale(1.08);
}

.whatsapp-fab .icon {
  width: 30px;
  height: 30px;
}

.whatsapp-fab__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.back-to-top {
  position: fixed;
  right: 40px;
  bottom: 112px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--orange-btn);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--orange-ink);
  color: #fff;
}

.back-to-top .icon {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s ease var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* 18. RESPONSIVE                                                      */
/* ------------------------------------------------------------------ */

/* Iconos decorativos: naranja de marca exacto.
   WCAG exige 3:1 para elementos no textuales y #ed502e sobre blanco da 3.63:1,
   así que aquí sí se usa el color original. El texto pequeño conserva --orange-ink. */
.value-card__icon,
.info-list__icon,
.check-list .icon,
.faq-item__icon,
.page-hero__badges .icon,
.marquee__item .icon,
.process-step__num,
.icon-box:hover .icon-box__icon {
  color: var(--orange);
}

@media (min-width: 600px) {
  .strip__grid,
  .highlight-grid,
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-box-grid,
  .value-grid,
  .process-grid,
  .testimonial-grid,
  .portfolio-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }

  .split--media {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

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

  .page-hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .icon-box-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }

  .value-grid,
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonial-grid,
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }

  .cta-band__inner {
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(4, 12, 21, 0.9);
    padding: 70px 15px 15px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    display: block;
    background: var(--white);
    padding: 10px 0;
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 11px 20px;
    font-size: 15px;
  }

  .nav__row > .nav__link {
    flex: 1;
  }

  .nav__sub-toggle {
    padding: 11px 20px;
  }

  .nav__sub {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    display: none;
    background: var(--bg-alt);
  }

  .nav__item--sub.is-open > .nav__sub {
    display: block;
    top: 0;
  }

  .nav__sub li a {
    padding: 10px 30px;
    font-size: 14px;
    white-space: normal;
  }

  .nav-toggle {
    position: relative;
    z-index: 1000;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
  }

  .nav.is-open ~ .site-header__actions .nav-toggle,
  .nav-toggle[aria-expanded='true'] {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    position: fixed;
    top: 18px;
    right: 20px;
  }

  .nav-scrim {
    display: none;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero {
    min-height: 62vh;
  }

  .page-hero__title,
  .article__title {
    font-size: 27px;
    max-width: 100%;
  }

  .section-title__text {
    font-size: 27px;
  }

  .split__aside {
    position: static;
  }
}

@media (max-width: 575px) {
  .brand__text small {
    display: none;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .stats-grid,
  .value-grid,
  .process-grid,
  .testimonial-grid,
  .portfolio-grid,
  .post-grid,
  .strip__grid,
  .icon-box-grid,
  .highlight-grid,
  .sector-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 20px;
  }

  .hero__actions .btn,
  .page-hero__actions .btn,
  .cta-band__actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .specs__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .whatsapp-fab {
    right: 20px;
    bottom: 20px;
  }

  .back-to-top {
    right: 20px;
    bottom: 92px;
  }

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

/* ------------------------------------------------------------------ */
/* 18b. CARTAS DE PRODUCTO Y FICHA TÉCNICA                             */
/* ------------------------------------------------------------------ */
.product-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--blue);
  overflow: hidden;
  box-shadow: var(--shadow-box);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 40px 0px rgba(110, 123, 131, 0.18);
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  flex: 1;
}

.product-card__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.product-card__title a {
  color: var(--navy);
}

.product-card__title a:hover {
  color: var(--orange-ink);
}

.product-card__tagline {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0;
}

.product-card__specs {
  display: grid;
  gap: 6px;
  margin: 6px 0 14px;
  flex: 1;
}

.product-card__specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.product-card__specs dt {
  color: var(--text-light);
}

.product-card__specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}

.product-card__btn {
  align-self: flex-start;
}

.product-sheet {
  background: var(--bg-alt);
  padding-block: 45px;
  border-bottom: 1px solid var(--border);
}

.product-sheet__inner {
  display: grid;
  gap: 36px;
  align-items: center;
}

.product-sheet__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-box);
}

.product-sheet__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-sheet__title {
  font-family: var(--font-alt);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title);
  line-height: 1.25;
  margin: 14px 0 8px;
}

.product-sheet__tagline {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0 0 14px;
}

.product-sheet__lead {
  color: var(--text-light);
  line-height: 1.9;
  margin: 0 0 22px;
}

.product-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-sheet__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.product-spec {
  border-top: 4px solid var(--blue);
  display: grid;
  gap: 20px;
}

.product-spec .specs__row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.product-sheet__details {
  display: grid;
  gap: 34px;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-sheet__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
  }

  .product-sheet__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 50px;
  }

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

/* ------------------------------------------------------------------ */
/* Modelos de producto: grilla, ficha del modelo y acordeones           */
/* ------------------------------------------------------------------ */
.model-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}

.model-grid__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--text-light);
}

.model-grid__note .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--blue-dark);
}

.model-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e3eaf3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(11, 35, 65, 0.06);
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.4s ease, box-shadow 0.35s ease;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 35, 65, 0.14);
}

.model-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
}

.model-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.model-card__media--cover img {
  object-fit: cover;
}

.model-card:hover .model-card__media img {
  transform: scale(1.05);
}

.model-card__brand {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-alt);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.model-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 20px 22px 22px;
}

.model-card__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.model-card__title a {
  color: var(--navy);
}

.model-card__title a:hover {
  color: var(--orange-ink);
}

.model-card__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--blue-dark);
}

.model-card__specs {
  display: grid;
  gap: 6px;
  margin: 6px 0 4px;
}

.model-card__specs div {
  display: grid;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.model-card__specs dt {
  color: var(--text-light);
}

.model-card__specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.model-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.model-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.model-card__actions .btn .icon {
  width: 16px;
  height: 16px;
}

.model-card__wa {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: #25d366;
  color: #fff;
  transition: background-color 0.25s ease;
}

.model-card__wa:hover {
  background: #1ebe5a;
}

.model-card__wa .icon {
  width: 20px;
  height: 20px;
}

/* Ficha del modelo */
.model-page {
  padding-block: 34px 50px;
}

.model-page__inner {
  display: grid;
  gap: 32px;
  align-items: start;
}

.model-gallery {
  position: relative;
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
}

.model-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
}

.model-gallery--cover img {
  object-fit: cover;
}

.model-gallery figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-light);
}

.model-info__brand {
  margin: 0 0 6px;
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.model-info__title {
  margin: 0 0 8px;
  font-family: var(--font-alt);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--title);
}

.model-info__subtitle {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--blue-dark);
}

.model-info__meta {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--navy);
}

.model-info__meta span {
  display: inline-block;
  min-width: 110px;
  color: var(--text-light);
}

.model-info__meta a {
  color: var(--navy-link);
  font-weight: 600;
}

.model-info__desc {
  margin: 0 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  line-height: 1.85;
  color: var(--text);
}

.model-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.model-info__actions .btn {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 24px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.model-info__actions .btn .icon {
  width: 20px;
  height: 20px;
}

.model-info__actions .btn--navy {
  background: var(--navy);
  color: #fff;
}

.model-info__actions .btn--navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.btn--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  color: #fff;
}

.model-info__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-light);
}

.model-info__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.model-info__trust .icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

/* Acordeones Detalles / Especificaciones */
.model-tabs {
  padding-top: 10px;
}

.model-acc {
  border-top: 1px solid #dfe7f1;
}

.model-acc:last-child {
  border-bottom: 1px solid #dfe7f1;
}

.model-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.model-acc__head::-webkit-details-marker {
  display: none;
}

.model-acc__icon {
  width: 22px;
  height: 22px;
  color: var(--orange);
  transition: transform 0.3s ease;
}

.model-acc[open] .model-acc__icon {
  transform: rotate(180deg);
}

.model-acc__body {
  padding: 0 4px 26px;
  line-height: 1.85;
}

.model-acc__body > p {
  margin: 0 0 14px;
}

.model-acc__sub {
  margin: 22px 0 12px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.model-acc__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-light);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6edf5;
}

.spec-table th {
  width: 38%;
  font-weight: 600;
  color: var(--navy);
  background: #f3f7fb;
}

.spec-table tr:nth-child(even) td {
  background: #fafcfe;
}

@media (min-width: 600px) {
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .model-page__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 54px;
  }

  .model-gallery {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-card,
  .model-card__media img,
  .model-acc__icon {
    transition: none;
  }

  .model-card:hover,
  .model-card:hover .model-card__media img {
    transform: none;
  }
}

/* Tablas de ficha técnica de modelo */
.data-table__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 26px 0 12px;
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
  min-width: 480px;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.data-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-alt);
}

.data-table tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

.data-notes {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
  list-style: none;
  padding: 0;
}

/* ------------------------------------------------------------------ */
/* 19. MOVIMIENTO REDUCIDO E IMPRESIÓN                                 */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

/* ------------------------------------------------------------------ */
/* 18c. VERSIÓN 1: ABB, PLANOS, CARRUSEL, SECTORES, EQUIPO, CIFRAS     */
/* ------------------------------------------------------------------ */
.abb-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-alt);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.abb-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.abb-callout span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.abb-callout .icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.plano-box {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 240px;
  padding: 30px 20px;
  border: 2px dashed #c9d6e6;
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
  color: var(--text-light);
}

.plano-box .icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
}

.plano-box strong {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--navy);
}

/* Carrusel de tarjetas */
.carousel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.carousel__top .section-title {
  margin-bottom: 0;
}

.carousel__controls {
  display: flex;
  gap: 10px;
}

.carousel__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  transition: all 0.3s ease;
}

.carousel__btn:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
}

.carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel__btn .icon {
  width: 20px;
  height: 20px;
}

.carousel__btn-prev {
  transform: rotate(180deg);
}

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 30px;
  margin-inline: -4px;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(11, 35, 65, 0.08);
  overflow: hidden;
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.4s ease, box-shadow 0.35s ease;
}

.carousel__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 35, 65, 0.16);
}

.carousel__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--navy);
}

.carousel__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 39, 0) 55%, rgba(7, 21, 39, 0.55) 100%);
  pointer-events: none;
}

.carousel__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel__card:hover .carousel__media img {
  transform: scale(1.06);
}

.carousel__num {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-alt);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.carousel__num::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 8px;
  background: var(--orange);
  transition: width 0.35s ease;
}

.carousel__card:hover .carousel__num::after {
  width: 48px;
}

.carousel__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 24px 24px;
}

.carousel__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.carousel__title a {
  color: var(--navy);
  transition: color 0.25s ease;
}

.carousel__title a:hover {
  color: var(--orange-ink);
}

.carousel__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel__body .link-arrow {
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-start;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9d6e6;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel__dot.is-active {
  width: 26px;
  background: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .carousel__card,
  .carousel__media img,
  .carousel__num::after {
    transition: none;
  }

  .carousel__card:hover,
  .carousel__card:hover .carousel__media img {
    transform: none;
  }
}

/* Sectores con imagen de fondo */
.sector-tiles {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.sector-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.sector-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 21, 39, 0.1) 0%, rgba(7, 21, 39, 0.45) 45%, rgba(7, 21, 39, 0.92) 100%);
}

.sector-tile__content {
  padding: 24px;
}

.sector-tile__icon {
  display: inline-flex;
  margin-bottom: 14px;
}

.sector-tile__icon .icon {
  width: 38px;
  height: 38px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.sector-tile h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 19px;
  color: #fff;
}

.sector-tile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Equipo */
.team-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
}

.team-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Cifras con íconos */
.stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  background: var(--orange);
  color: #fff;
  box-shadow: -6px -6px 0 0 var(--orange-soft);
}

.stat__icon .icon {
  width: 26px;
  height: 26px;
}

@media (min-width: 600px) {
  .carousel__card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .sector-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .carousel__card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .sector-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Página de servicio: título, biografía y tres imágenes */
.service-page {
  padding-block: 60px 70px;
}

.service-page__title {
  margin: 0 0 22px;
  font-family: var(--font-alt);
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: var(--title);
  line-height: 1.25;
}

/* Biografía y galería de servicios */
.service-bio {
  max-width: 880px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
  text-align: center;
}

.service-gallery {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.service-gallery__item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-box);
  background: var(--white);
}

.service-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-gallery__item:hover img {
  transform: scale(1.04);
}

@media (min-width: 600px) {
  .service-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media print {
  .site-header,
  .whatsapp-fab,
  .back-to-top,
  .cta-band,
  .site-footer,
  .skip-link,
  .marquee {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  a {
    text-decoration: underline;
  }
}

/* Páginas de listado (solo carrusel) */
.carousel-page {
  padding-block: 50px 70px;
}

/* Bloques de lista en la página de servicio */
.service-blocks {
  display: grid;
  gap: 24px;
  margin: 0 0 40px;
}

.service-block {
  padding: 26px 28px;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  background: #f5f8fc;
}

.service-block__title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 900px) {
  .service-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Imagen dentro del artículo del blog */
.article__figure {
  margin: 10px 0 0;
}

.article__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(11, 35, 65, 0.08);
}

.article__figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

/* Video en la galería del servicio */
.service-video {
  position: relative;
  background: #000;
}

.service-video video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #000;
}

.service-video--pending img {
  filter: brightness(0.45);
}

.service-video--pending:hover img {
  transform: none;
}

.service-video__soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.service-video__soon small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
}

.service-video__play {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.service-video__play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

/* Galería de servicio con una sola foto */
.service-gallery.service-gallery--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
  margin-inline: auto;
}

/* Carrusel de fotos del hero (página de inicio) */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(7, 21, 39, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.hero__arrow:hover,
.hero__arrow:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
}

.hero__arrow svg {
  width: 22px;
  height: 22px;
}

.hero__arrow--next svg {
  transform: rotate(180deg);
}

.hero__dots {
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.hero__dot.is-active {
  width: 28px;
  background: var(--orange);
}

@media (min-width: 900px) {
  .hero__controls {
    left: auto;
    right: max(24px, calc((100vw - var(--container)) / 2 + 20px));
    bottom: 30px;
  }

  .hero__arrow {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: opacity 0.2s linear;
    transform: none;
  }

  .hero__slide.is-active {
    transform: none;
  }
}

@media (max-width: 899px) {
  .hero__inner {
    padding-bottom: 96px;
  }
}
