/* ==========================================================================
   PROYECTOS EN INGENIERÍA EDUROP — 2026 Corporate Brochure Edition
   Visual Identity: Deep Royal Navy (#061E5C) + Amber Gold (#F5B400)
   Blue-Tinted Field Photography + Crisp Architectural Panels
   ========================================================================== */

:root {
  /* Exact 2026 Brochure Palette */
  --navy-950: #04133D;
  --navy-900: #061E5C;
  --navy-800: #0B2A78;
  --navy-700: #133B9B;
  --navy-wash: rgba(6, 30, 92, 0.80);
  --navy-wash-deep: rgba(4, 19, 61, 0.88);
  --navy-panel: rgba(6, 30, 92, 0.94);

  --gold: #F5B400;
  --gold-400: #FFC424;
  --gold-600: #D69B00;

  --white: #FFFFFF;
  --gray-50: #F4F5F7;
  --gray-100: #EFEFEF;
  --gray-200: #DDE2EC;
  --gray-300: #C3CCDC;
  --gray-500: #5B667D;
  --gray-700: #2C364D;
  --gray-900: #0D162B;

  /* Typography */
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout & Geometry — Crisp brochure architectural edges */
  --container: 1220px;
  --header-h: 76px;
  --r-none: 0px;
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;

  --shadow-sm: 0 6px 20px rgba(4, 19, 61, 0.12);
  --shadow-md: 0 16px 40px rgba(4, 19, 61, 0.22);
  --shadow-lg: 0 28px 64px rgba(4, 19, 61, 0.34);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

#contact {
  scroll-margin-top: -40px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

ul,
ol {
  list-style: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.75rem;
  border-radius: var(--r-xs);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.68;
  cursor: wait;
  pointer-events: none;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

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

.btn--gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 180, 0, 0.32);
}

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

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

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

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

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

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

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

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy-950);
}

.btn--sm {
  padding: 0.68rem 1.25rem;
  font-size: 0.78rem;
}

.btn--xs {
  padding: 0.56rem 0.95rem;
  font-size: 0.74rem;
}

/* ==========================================================================
   Brochure Top Contact Strip & Sticky Royal Navy Header
   ========================================================================== */
.top-strip {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.top-strip__group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.top-strip__item:hover {
  color: var(--gold);
}

.top-strip__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-900);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(4, 19, 61, 0.35);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-lockup img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding: 0 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}

.nav-link svg {
  width: 13px;
  height: 13px;
  opacity: 0.75;
  transition: transform 0.2s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 265px;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--gold);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s var(--ease);
  z-index: 1200;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.68rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  border-left: 3px solid transparent;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  border-left-color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.5rem 1.75rem;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__link {
  display: block;
  padding: 0.82rem 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer__link.is-active {
  color: var(--gold);
}

.mobile-drawer__sub {
  padding: 0.4rem 0 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer__sub a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0;
}

.mobile-drawer__sub a:hover {
  color: var(--gold);
}

/* ==========================================================================
   Brochure Cover Hero (Page 1 Style — Full-Bleed Blue Photo + Gold Block)
   ========================================================================== */
.brochure-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

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

.brochure-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 32%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 6s ease;
}

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

/* Authentic Brochure Cobalt-Navy Photographic Wash */
.brochure-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(98deg, rgba(4, 19, 61, 0.92) 0%, rgba(6, 30, 92, 0.78) 54%, rgba(6, 30, 92, 0.50) 100%),
    linear-gradient(180deg, rgba(6, 30, 92, 0.25) 0%, rgba(4, 19, 61, 0.78) 100%);
}

.brochure-hero__stage {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 9vh, 6.25rem) 0 clamp(3rem, 6vh, 4.5rem);
  margin: auto 0;
}

.brochure-hero__content {
  max-width: 720px;
}

.brochure-hero__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.brochure-hero__title {
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

/* Signature Brochure Yellow Block behind CORPORATIVO / Subtitle */
.brochure-gold-banner {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.08;
  padding: 0.35rem 1.35rem;
  margin-bottom: 1.65rem;
}

.brochure-hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 610px;
  line-height: 1.68;
  margin-bottom: 2.1rem;
  font-weight: 500;
}

.brochure-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

/* Bottom Brochure Contact Bar + Slide Selector */
.brochure-hero__footer {
  position: relative;
  z-index: 2;
  background: rgba(4, 19, 61, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-tab {
  position: relative;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.05rem 1.25rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.hero-tab:last-child {
  border-right: 0;
}

.hero-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.hero-tab:hover,
.hero-tab.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.hero-tab.is-active::before {
  transform: scaleX(1);
}

.hero-tab__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.hero-tab__title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Signature Brochure Photo-Backed Sections (Pages 2, 3-4, 5-7, 9)
   ========================================================================== */
.section {
  padding: clamp(4rem, 7vw, 5.75rem) 0;
}

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

.section--navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.88);
}

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

.photo-band {
  position: relative;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: clamp(4.25rem, 7.5vw, 6.25rem) 0;
  overflow: hidden;
}

.photo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 92, 0.84) 0%, rgba(4, 19, 61, 0.78) 55%, rgba(4, 19, 61, 0.88) 100%);
  z-index: 0;
}

.photo-band > * {
  position: relative;
  z-index: 1;
}

/* Giant Brochure ALL-CAPS Section Titles */
.brochure-heading {
  margin-bottom: 2.5rem;
}

.brochure-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brochure-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.brochure-kicker::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--gold);
}

.brochure-kicker--navy {
  color: var(--navy-900);
}

.brochure-kicker--navy::before {
  background: var(--gold);
}

.brochure-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.03;
  letter-spacing: 0.01em;
}

.brochure-title--white {
  color: var(--white);
}

.brochure-title--gold {
  color: var(--gold);
}

.brochure-title--navy {
  color: var(--navy-900);
}

.brochure-sub {
  margin-top: 0.8rem;
  font-size: 1.04rem;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
}

.brochure-sub--dark {
  color: var(--gray-500);
}

/* ==========================================================================
   Page 2 Motif: ¿QUIÉNES SOMOS? Solid Navy Architectural Blocks + Valores Grid
   ========================================================================== */
.about-brochure-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.navy-block {
  background: var(--navy-panel);
  border-left: 5px solid var(--gold);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.navy-block--right-label {
  border-left: 0;
  border-right: 5px solid var(--gold);
}

.navy-block__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.navy-block--right-label .navy-block__label {
  text-align: right;
}

.navy-block p {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.90);
}

.navy-block p + p {
  margin-top: 1rem;
}

.mv-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Exact Page 2 Valores Tile Matrix */
.valores-matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.95rem;
  margin-top: 1.75rem;
}

.valor-tile {
  background: var(--navy-panel);
  border-top: 3px solid rgba(255, 255, 255, 0.14);
  padding: 1.35rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.22s var(--ease), border-top-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.valor-tile:hover {
  transform: translateY(-3px);
  border-top-color: var(--gold);
  background: var(--navy-800);
}

.valor-tile--header {
  background: rgba(140, 168, 224, 0.28);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 3px solid var(--gold);
}

.valor-tile--header span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.valor-tile strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.valor-tile small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

/* ==========================================================================
   Pages 3-4 Motif: NUESTROS SERVICIOS Navy Board with Yellow Lightning Bolts
   ========================================================================== */
.services-board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.service-board {
  background: var(--navy-panel);
  border-top: 5px solid var(--gold);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.service-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.service-board__head h3 {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-board__count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-950);
  background: var(--gold);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-xs);
}

.bolt-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bolt-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.bolt-item__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

/* ==========================================================================
   Pages 5-7 Motif: ALQUILER DE EQUIPOS — Signature White-Photo + Navy-Copy Cards
   ========================================================================== */
.brochure-devices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

/* 2-column compact mode on wide screens (or grid view toggle) */
.brochure-devices--2col {
  grid-template-columns: repeat(2, 1fr);
}

.brochure-device {
  display: grid;
  grid-template-columns: 270px 1fr;
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.brochure-device:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.brochure-device.is-hidden {
  display: none;
}

.brochure-device.is-highlighted {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.35);
}

.brochure-device__media {
  position: relative;
  background: var(--white);
  min-height: 225px;
  padding: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brochure-device--project .brochure-device__media {
  padding: 0;
  background: var(--navy-950);
}

.brochure-device__media img {
  max-height: 195px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.brochure-device--project .brochure-device__media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 22%;
}

.brochure-device:hover .brochure-device__media img {
  transform: scale(1.04);
}

.device-badge-code {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  background: var(--navy-900);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.24rem 0.55rem;
  letter-spacing: 0.06em;
}

.device-zoom-btn {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.device-zoom-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

.device-zoom-btn svg {
  width: 16px;
  height: 16px;
}

.brochure-device__body {
  padding: 1.6rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
}

.brochure-device__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.brochure-device__title {
  color: var(--gold);
  font-size: 1.12rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.brochure-device__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86EFAC;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(134, 239, 172, 0.35);
  padding: 0.22rem 0.55rem;
}

.brochure-device__status--project {
  color: var(--gold);
  background: rgba(245, 180, 0, 0.14);
  border-color: rgba(245, 180, 0, 0.4);
}

.brochure-device__desc {
  font-size: 0.94rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 1.1rem;
}

.brochure-device__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.22rem 0.55rem;
}

.brochure-device__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Grid view option in galeria.html */
.brochure-devices.is-grid {
  grid-template-columns: repeat(3, 1fr);
}

.brochure-devices.is-grid .brochure-device {
  grid-template-columns: 1fr;
  grid-template-rows: 220px 1fr;
}

.brochure-devices.is-grid .brochure-device__body {
  padding: 1.35rem;
}

/* ==========================================================================
   Home Page Equipment Showcase — 3-Up Self-Rotating Brochure Carousel
   ========================================================================== */
.equip-carousel {
  --equip-gap: 20px;
  position: relative;
}

.equip-carousel__viewport {
  width: 100%;
  overflow: hidden;
  padding: 6px 0 12px;
}

.equip-carousel__track {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--equip-gap);
  transition: transform 0.65s var(--ease);
  will-change: transform;
}

.equip-carousel__slide {
  flex: 0 0 calc((100% - (var(--equip-gap) * 2)) / 3);
  width: calc((100% - (var(--equip-gap) * 2)) / 3);
  min-width: 0;
  display: flex;
}

.equip-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.equip-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.equip-card__media {
  position: relative;
  height: 210px;
  flex-shrink: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 3px solid var(--gold);
  overflow: hidden;
}

.equip-card__media img {
  max-height: 168px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.equip-card:hover .equip-card__media img {
  transform: scale(1.06);
}

.equip-card__body {
  flex: 1;
  padding: 1.35rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
}

.equip-card__title {
  color: var(--gold);
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
  min-height: 2.6em;
  margin-bottom: 0.55rem;
}

.equip-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.90);
}

.equip-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.equip-carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.65rem;
  flex-wrap: wrap;
}

.equip-carousel__dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.equip-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
}

.equip-carousel__dot:hover {
  background: rgba(245, 180, 0, 0.72);
}

.equip-carousel__dot.is-active {
  width: 28px;
  background: var(--gold);
}

.equip-carousel__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.equip-carousel__counter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.42rem 0.75rem;
  background: rgba(4, 19, 61, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.equip-carousel__btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  background: rgba(4, 19, 61, 0.82);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.equip-carousel__btn:hover {
  background: var(--gold);
  color: var(--navy-950);
  transform: translateY(-1px);
}

.equip-carousel__btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Page 8 Motif: NUESTROS CLIENTES (Light Gray Canvas + Giant Gold Heading + 17 Logos)
   ========================================================================== */
.clients-section {
  background: var(--gray-100);
  padding: clamp(4.25rem, 7vw, 6rem) 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.client-logo-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.25rem 1.1rem;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.client-logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.client-logo-card img {
  max-height: 74px;
  max-width: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Page 9 Motif: NUESTROS LOGROS — Photo Top/Bottom + Crisp Light Ribbon
   ========================================================================== */
.achievements-showcase {
  position: relative;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.achievements-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 30, 92, 0.80);
  z-index: 0;
}

.achievements-showcase__top,
.achievements-showcase__ribbon,
.achievements-showcase__bottom {
  position: relative;
  z-index: 1;
}

.achievements-showcase__top {
  padding: clamp(3.75rem, 6vw, 5.25rem) 0 2.75rem;
}

.achievements-showcase__sub {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.90);
  margin-top: 0.75rem;
}

.achievements-showcase__ribbon {
  background: var(--gray-100);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.achievements-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.achievement-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.achievement-item__badge {
  width: 155px;
  height: 155px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.achievement-item__badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.achievement-item h3 {
  color: var(--navy-900);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.achievement-item p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.achievements-showcase__bottom {
  padding: 2.5rem 0;
}

/* ==========================================================================
   KPI Strip
   ========================================================================== */
.kpi-strip {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 3px solid var(--gold);
  padding: 2.25rem 0;
}

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

.kpi-cell {
  border-left: 3px solid var(--gold);
  padding-left: 1.15rem;
}

.kpi-cell__val {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.kpi-cell__lbl {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

/* ==========================================================================
   Inner Page Banners
   ========================================================================== */
.page-banner {
  position: relative;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: clamp(3.75rem, 6.5vw, 5.25rem) 0;
  border-bottom: 4px solid var(--gold);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 19, 61, 0.92) 0%, rgba(6, 30, 92, 0.82) 60%, rgba(6, 30, 92, 0.65) 100%);
  z-index: 0;
}

.page-banner > .container {
  position: relative;
  z-index: 1;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.9rem;
}

.crumb a:hover,
.crumb [aria-current="page"] {
  color: var(--gold);
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
  font-size: 1.05rem;
}

.banner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.banner-pill {
  padding: 0.52rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 30, 92, 0.75);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.banner-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

/* ==========================================================================
   Gallery Toolbar & Split Technical Datasheet Modal
   ========================================================================== */
.catalog-toolbar {
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.filter-tab .badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

.filter-tab.is-active .badge {
  background: var(--navy-950);
  color: var(--gold);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  min-width: 245px;
}

.search-box svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gray-500);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 0.62rem 0.9rem 0.62rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--white);
  color: var(--gray-900);
  font-size: 0.88rem;
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold);
}

.view-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.view-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.view-btn svg {
  width: 17px;
  height: 17px;
}

.view-btn.is-active {
  background: var(--gold);
  color: var(--navy-950);
}

.catalog-empty {
  display: none;
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--navy-panel);
  border: 1px dashed rgba(245, 180, 0, 0.5);
  color: var(--white);
}

.catalog-empty h3 {
  color: var(--gold);
}

.catalog-empty.is-visible {
  display: block;
}

/* Split Datasheet Modal */
.spec-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 19, 61, 0.86);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.spec-modal__panel {
  position: relative;
  width: 100%;
  max-width: 1020px;
  max-height: 90vh;
  background: var(--white);
  border-top: 5px solid var(--gold);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  box-shadow: var(--shadow-lg);
}

.spec-modal__visual {
  position: relative;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.spec-modal__visual.is-photo {
  background: var(--navy-950);
  padding: 0;
}

.spec-modal__visual img {
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
}

.spec-modal__visual.is-photo img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: cover;
  object-position: center 20%;
}

.spec-modal__nav {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.spec-modal__nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(6, 30, 92, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.spec-modal__nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

.spec-modal__nav svg {
  width: 19px;
  height: 19px;
}

.spec-modal__content {
  padding: 2.25rem;
  background: var(--navy-900);
  color: var(--white);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.spec-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--navy-950);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.spec-modal__close:hover {
  background: var(--gold);
  color: var(--navy-950);
  border-color: var(--gold);
}

.spec-modal__close svg {
  width: 18px;
  height: 18px;
}

.spec-modal__meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.spec-modal__title {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding-right: 2.5rem;
}

.spec-modal__desc {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.4rem;
}

.spec-modal__subtitle {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.spec-table {
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 1.4rem;
}

.spec-table__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-table__row:last-child {
  border-bottom: 0;
}

.spec-table__row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.05);
}

.spec-table__key {
  font-weight: 600;
  color: var(--white);
}

.spec-table__val {
  color: rgba(255, 255, 255, 0.84);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.spec-apps {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.spec-apps li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.spec-apps li::before {
  content: '⚡';
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.spec-modal__footer {
  margin-top: auto;
}

/* ==========================================================================
   Contact Section, Team Frame, Video & CTA Band
   ========================================================================== */
.contact-studio {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.75rem;
  align-items: stretch;
}

.contact-info-box {
  background: var(--navy-900);
  color: var(--white);
  border-top: 5px solid var(--gold);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.contact-info-box h3 {
  color: var(--gold);
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.contact-info-box > p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.94rem;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(245, 180, 0, 0.14);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 19px;
  height: 19px;
}

.contact-item__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.contact-item__v {
  font-size: 0.94rem;
  color: var(--white);
  font-weight: 500;
}

.contact-item__v a:hover {
  color: var(--gold);
}

.phone-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 0.9rem;
}

.phone-list span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 5px solid var(--navy-900);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-box.is-prefilled {
  border-top-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.35);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-900);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(6, 30, 92, 0.14);
}

.field textarea {
  min-height: 124px;
  resize: vertical;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.form-status {
  margin-top: 1.2rem;
  padding: 0.95rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-status--err {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.map-box {
  margin-top: 1.75rem;
  height: 330px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Split Editorial (Team / Supply / Video) */
.split-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.media-frame {
  border: 4px solid var(--gold);
  background: var(--navy-950);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__caption {
  background: var(--navy-950);
  padding: 0.9rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--gold);
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Supply & Equipment Links List (Servicios) */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.link-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--navy-900);
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.link-tile:hover {
  border-left-color: var(--gold);
  background: var(--navy-900);
  color: var(--white);
}

.link-tile span {
  color: var(--gold-600);
  font-weight: 800;
}

.link-tile:hover span {
  color: var(--gold);
}

.cta-band {
  background: var(--navy-900);
  border-left: 6px solid var(--gold);
  padding: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
}

/* ==========================================================================
   Footer (Brochure Page 10 Back-Cover Energy)
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  border-top: 4px solid var(--gold);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.2fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-desc {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.68;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-addr {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
}

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

.footer-addr a:hover {
  color: var(--gold);
}

.footer-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.footer-thumbs a {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(245, 180, 0, 0.55);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-social svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

.footer-social:hover svg {
  color: var(--navy-950);
}

.footer-bar {
  background: #020A24;
  padding: 1.2rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bar__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  background: var(--navy-900);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-md);
}

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

.scroll-top:hover {
  background: var(--gold);
  color: var(--navy-950);
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .equip-carousel__track { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .about-brochure-grid,
  .services-board-grid,
  .achievements-ribbon-grid,
  .contact-studio,
  .split-2col,
  .brochure-devices--2col {
    grid-template-columns: 1fr;
  }

  .valores-matrix {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

@media (max-width: 1024px) {
  .equip-carousel__slide {
    flex: 0 0 calc((100% - var(--equip-gap)) / 2);
    width: calc((100% - var(--equip-gap)) / 2);
  }
}

@media (max-width: 860px) {
  .top-strip,
  .nav-links,
  .nav-actions {
    display: none;
  }

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

  .brochure-device {
    grid-template-columns: 1fr;
  }

  .brochure-device__media {
    min-height: 210px;
  }

  .spec-modal__panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }

  .spec-modal__visual {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem;
  }

  .spec-modal__content {
    overflow-y: visible;
  }

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

@media (max-width: 640px) {
  .hero-tabs,
  .valores-matrix,
  .clients-grid,
  .brochure-devices.is-grid,
  .form-grid,
  .phone-list,
  .link-grid,
  .kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .equip-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
  }

  .equip-carousel__bar {
    justify-content: center;
  }

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

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

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

  .hero-tab {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .brand-lockup img {
    height: 38px;
  }
}
