/* ==========================================================================
   Miriad Electronics – Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables
-------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --space-grey:    #2A2A2A;
  --light-grey:    #DEDEDE;
  --pitch-black:   #000000;
  --stone-grey:    #989191;
  --aero-grey:     #99A7B4;
  --brown-yellow:  #F5BD83;
  --earth-blue:    #799EBE;
  --camo-green:    #256252;
  --white:         #FFFFFF;

  /* Semantic */
  --bg-dark:       var(--space-grey);
  --bg-mid:        #1e1e1e;
  --bg-light:      #F7F7F7;
  --text-dark:     #1a1a1a;
  --text-mid:      #555555;
  --text-light:    #AAAAAA;
  --accent:        var(--earth-blue);
  --accent-warm:   var(--brown-yellow);
  --border:        rgba(255,255,255,0.1);

  /* Typography */
  --font-body:     'Jost', sans-serif;
  --font-display:  'Zen Dots', sans-serif;

  /* Spacing */
  --header-h:      112px;
  --section-py:    80px;
  --container-w:   1200px;
  --radius:        4px;

  /* Transitions */
  --transition:    0.25s ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Ningún elemento debe provocar barra de desplazamiento horizontal */
html, body { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* --------------------------------------------------------------------------
   3. Typography
-------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth-blue);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   4. Layout Utilities
-------------------------------------------------------------------------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark .eyebrow { color: var(--earth-blue); }
.section--dark p { color: rgba(255,255,255,0.75); }

.section--mid {
  background: var(--bg-mid);
  color: var(--white);
}
.section--mid h1,
.section--mid h2,
.section--mid h3 { color: var(--white); }

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

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__header--left {
  text-align: left;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.flex     { display: flex; }
.flex-col { flex-direction: column; }
.align-c  { align-items: center; }
.justify-c{ justify-content: center; }
.gap-1    { gap: 1rem; }
.gap-2    { gap: 2rem; }

/* --------------------------------------------------------------------------
   5. Buttons
-------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--earth-blue);
  color: var(--white);
  border: 2px solid var(--earth-blue);
}
.btn--primary:hover {
  background: #6a8fae;
  border-color: #6a8fae;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn--dark {
  background: var(--space-grey);
  color: var(--white);
  border: 2px solid var(--space-grey);
}
.btn--dark:hover {
  background: var(--pitch-black);
  border-color: var(--pitch-black);
}

.btn--white {
  background: var(--white);
  color: var(--earth-blue);
  border: 2px solid var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   6. Header
-------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Propagate fixed header height to container so nav height:100% works */
.site-header .container {
  height: 100%;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--space-grey);
  line-height: 1;
  flex-shrink: 0;
}

.site-logo__img {
  display: block;
  height: 82px;
  width: auto;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--space-grey);
  transition: color var(--transition);
  white-space: nowrap;
  height: var(--header-h);
}

.nav-link:hover,
.nav-link--active {
  color: var(--earth-blue);
}

.nav-link--active {
  border-bottom: 2px solid var(--earth-blue);
}

.nav-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

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

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-top: 3px solid var(--earth-blue);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

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

.nav-dropdown .nav-item {
  height: auto;
  display: block;
}

.nav-dropdown .nav-link--sub {
  display: block;
  height: auto;
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-bottom-width: 1px;
}

.nav-dropdown .nav-link--sub:hover {
  color: var(--space-grey);
  background: var(--bg-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--space-grey);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.is-active .hamburger__line {
  background: var(--white);
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero (Homepage)
-------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--pitch-black);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 45%, rgba(37,98,165,0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(37,98,82,0.22) 0%, transparent 45%),
    linear-gradient(160deg, #0d1e30 0%, #111a25 40%, #0a0f14 70%, #111111 100%);
}

/* Circuit-board dot grid overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(121,158,190,0.18) 1px, transparent 1px),
    radial-gradient(rgba(121,158,190,0.08) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 10px 10px;
}

/* Large M watermark */
.hero__bg::after {
  content: 'M';
  position: absolute;
  right: -2vw;
  bottom: -5vh;
  font-family: var(--font-display);
  font-size: clamp(200px, 30vw, 500px);
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-top: var(--header-h);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth-blue);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--earth-blue);
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

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

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll svg { opacity: 0.4; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* --------------------------------------------------------------------------
   8. Page Hero (inner pages)
-------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: var(--space-grey);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(121,158,190,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121,158,190,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--earth-blue), transparent);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--earth-blue);
  margin-bottom: 1rem;
}

.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--earth-blue);
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
}

.breadcrumb {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.breadcrumb a  { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--earth-blue); }
.breadcrumb span { color: rgba(255,255,255,0.25); margin: 0 0.4rem; }

/* --------------------------------------------------------------------------
   9. Feature Cards (home – 3 cols)
-------------------------------------------------------------------------- */
.features {
  padding: 0;
  margin-top: -1px;
}

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

.feature-card {
  padding: 3rem 2.5rem;
  background: var(--white);
  border-right: 1px solid var(--light-grey);
  border-top: 4px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:last-child { border-right: none; }

.feature-card:nth-child(1) { border-top-color: var(--earth-blue); }
.feature-card:nth-child(2) { border-top-color: var(--brown-yellow); }
.feature-card:nth-child(3) { border-top-color: var(--camo-green); }

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--earth-blue);
}

.feature-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--space-grey);
  margin-bottom: 0.75rem;
}

.feature-card__text {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   10. Services Section
-------------------------------------------------------------------------- */
.services-section { padding: var(--section-py) 0; }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-top: 3px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.service-card:hover {
  border-top-color: var(--earth-blue);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  color: var(--earth-blue);
}

.service-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--space-grey);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.service-card:hover .service-card__link { gap: 0.7rem; }

/* --------------------------------------------------------------------------
   11. Sectors Section
-------------------------------------------------------------------------- */
.sectors-section { padding: var(--section-py) 0; }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sector-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition);
}

.sector-card:hover { transform: translateY(-4px); }

.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 30%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.sector-card--aeronautica  { background: #5a7a9a; }
.sector-card--defensa      { background: var(--space-grey); border: 1px solid rgba(255,255,255,0.1); }
.sector-card--ferroviario  { background: #3d6b57; }
.sector-card--naval        { background: #4a6a7a; }
.sector-card--telecom      { background: #6a6a7a; }
.sector-card--industrial   { background: #5a5a5a; }

.sector-card__content {
  position: relative;
  z-index: 2;
}

.sector-card__icon {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

.sector-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.sector-card__text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. Stats / KPIs
-------------------------------------------------------------------------- */
.stats {
  padding: 4rem 0;
  background: var(--pitch-black);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__number span {
  color: var(--earth-blue);
}

.stat-item__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* --------------------------------------------------------------------------
   13. About Section (two-column)
-------------------------------------------------------------------------- */
.about-section {
  padding: var(--section-py) 0;
}

.about-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-section__text h2 {
  margin-bottom: 1.5rem;
}

.about-section__text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.about-section__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.about-section__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.about-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-mid);
}

.about-highlight::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--earth-blue);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. Certifications
-------------------------------------------------------------------------- */
.certifications {
  padding: 3.5rem 0;
  background: var(--bg-light);
  border-top: 1px solid var(--light-grey);
}

.certifications__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-grey);
  margin-bottom: 1.5rem;
}

.certifications__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 2px;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--space-grey);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* --------------------------------------------------------------------------
   15. Footer
-------------------------------------------------------------------------- */
.site-footer {
  background: var(--pitch-black);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand {}

.footer__logo {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer__logo-img {
  display: block;
  height: 96px;
  width: auto;
}

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.footer__address {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__menu a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__menu a:hover { color: var(--earth-blue); }

.footer__contact-item {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.6rem;
  align-items: flex-start;
}

.footer__contact-item svg {
  color: var(--earth-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal-links a {
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}
.footer__legal-links a:hover { color: rgba(255,255,255,0.5); }

/* --------------------------------------------------------------------------
   16. Company Page
-------------------------------------------------------------------------- */
.company-intro {
  padding: var(--section-py) 0;
}

.company-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.company-intro__text h2 { margin-bottom: 1.5rem; }
.company-intro__text p { color: var(--text-mid); }

.company-intro__visual {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2.5rem;
  border-left: 3px solid var(--earth-blue);
}

.company-intro__visual h3 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--earth-blue);
  margin-bottom: 1.5rem;
}

.company-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.company-stat {
  text-align: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-grey);
}

.company-stat__num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--space-grey);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.company-stat__num em {
  font-style: normal;
  color: var(--earth-blue);
}

.company-stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-grey);
}

/* --------------------------------------------------------------------------
   17. Services Overview Page
-------------------------------------------------------------------------- */
.services-overview {
  padding: var(--section-py) 0;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.services-list__item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--light-grey);
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}

.services-list__item:hover {
  background: var(--bg-light);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.services-list__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--light-grey);
  text-align: center;
}

.services-list__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--space-grey);
  margin-bottom: 0.25rem;
}

.services-list__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.services-list__arrow {
  color: var(--earth-blue);
  transition: transform var(--transition);
}

.services-list__item:hover .services-list__arrow {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   18. Sectors Page
-------------------------------------------------------------------------- */
.sectors-page {
  padding: var(--section-py) 0;
}

.sectors-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sector-page-card {
  padding: 2.5rem 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-top: 3px solid var(--light-grey);
  transition: all var(--transition);
}

.sector-page-card:hover {
  border-top-color: var(--earth-blue);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.sector-page-card__icon {
  width: 40px;
  height: 40px;
  color: var(--earth-blue);
  margin-bottom: 1.25rem;
}

.sector-page-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--space-grey);
  margin-bottom: 0.75rem;
}

.sector-page-card__text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   19. Quality Page
-------------------------------------------------------------------------- */
.quality-intro {
  padding: var(--section-py) 0;
}

.quality-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.certs-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--earth-blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.cert-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--space-grey);
  margin-bottom: 0.75rem;
}

.cert-card__desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   20. Contact Page
-------------------------------------------------------------------------- */
.contact-section {
  padding: var(--section-py) 0;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--space-grey);
  margin-bottom: 1rem;
}

.contact-info__text {
  color: var(--text-mid);
  margin-bottom: 2rem;
}

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

.contact-data__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-data__icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--earth-blue);
  flex-shrink: 0;
}

.contact-data__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-grey);
  margin-bottom: 0.2rem;
}

.contact-data__value {
  font-size: 0.925rem;
  color: var(--text-dark);
}

/* Contact Form */
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-form__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--space-grey);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-grey);
}

.form-label span { color: #e05; }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--earth-blue);
  box-shadow: 0 0 0 3px rgba(121,158,190,0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-message {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* --------------------------------------------------------------------------
   21. Single Service Page
-------------------------------------------------------------------------- */
.service-detail {
  padding: var(--section-py) 0;
}

.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.service-detail__content h2 { margin-bottom: 1.25rem; }
.service-detail__content p { color: var(--text-mid); }
.service-detail__content h3 {
  margin: 2rem 0 1rem;
  font-size: 1.1rem;
  color: var(--space-grey);
}
.service-detail__content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-detail__content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-mid);
}
.service-detail__content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--earth-blue);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.service-detail__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.sidebar-nav {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.sidebar-nav__title {
  padding: 1rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-grey);
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
}

.sidebar-nav__list a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--light-grey);
  transition: all var(--transition);
}
.sidebar-nav__list a:hover,
.sidebar-nav__list a.active {
  color: var(--earth-blue);
  background: rgba(121,158,190,0.06);
}

.sidebar-cta {
  background: var(--space-grey);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  color: var(--white);
}

.sidebar-cta h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   22. News / Blog
-------------------------------------------------------------------------- */
.news-section {
  padding: var(--section-py) 0;
}

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

.news-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.news-card__thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}

.news-card__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__thumb--empty img {
  width: auto;
  height: 92px;
  opacity: 0.35;
}

.news-card__body {
  padding: 1.5rem;
}

.news-card__meta {
  font-size: 0.75rem;
  color: var(--stone-grey);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--space-grey);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.news-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.news-card:hover .news-card__link { gap: 0.7rem; }

/* Single post */
.single-post {
  padding: var(--section-py) 0;
}

.single-post__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
}

.single-post__content { max-width: 720px; }
.single-post__content h2,
.single-post__content h3 { margin: 2rem 0 1rem; }
.single-post__content p { color: var(--text-mid); margin-bottom: 1.25rem; }
.single-post__content ul,
.single-post__content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-post__content li { margin-bottom: 0.4rem; color: var(--text-mid); font-size: 0.95rem; }
.single-post__content img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }

/* --------------------------------------------------------------------------
   23. Generic Page Content
-------------------------------------------------------------------------- */
.page-content {
  padding: var(--section-py) 0;
}

.page-content__inner {
  max-width: 800px;
}

.wp-content h2 { margin: 2rem 0 1rem; }
.wp-content h3 { margin: 1.5rem 0 0.75rem; }
.wp-content p  { color: var(--text-mid); }
.wp-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.wp-content ul li { margin-bottom: 0.4rem; color: var(--text-mid); }

/* --------------------------------------------------------------------------
   23b. CTA Band
-------------------------------------------------------------------------- */
.cta-band {
  padding: 4rem 0;
  background: var(--earth-blue);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-band__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   24. Scroll Animations
-------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   25. Responsive – Tablet (≤ 1024px)
-------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-py: 60px; }

  .services-grid        { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer__inner        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-section__inner,
  .company-intro__inner,
  .quality-intro__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-section__inner { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail__inner  { grid-template-columns: 1fr; }
  .service-detail__sidebar { position: static; }
  .single-post__inner     { grid-template-columns: 1fr; }
  .stats__grid            { grid-template-columns: repeat(2, 1fr); }
  .stat-item              { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(2n){ border-right: 1px solid rgba(255,255,255,0.08); }
}

/* --------------------------------------------------------------------------
   26. Responsive – Mobile (≤ 768px)
-------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --section-py: 48px; --header-h: 86px; }

  .container { padding: 0 1.25rem; }

  .site-logo__img   { height: 62px; }
  .footer__logo-img { height: 78px; }

  /* Nav */
  .site-header__inner { position: relative; }

  /* Anclado al borde derecho: si se deja en el flujo, en pantallas
     estrechas el contenido lo empuja fuera de la pantalla. */
  .hamburger {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Los botones con texto largo se reparten en dos líneas en lugar de desbordar */
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--pitch-black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 1050;
  }

  .site-nav.is-open { right: 0; }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
    gap: 0;
  }

  .nav-item { height: auto; width: 100%; flex-direction: column; align-items: flex-start; }

  .nav-link {
    width: 100%;
    height: auto;
    padding: 1rem 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-link:hover,
  .nav-link--active { color: var(--earth-blue); }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    border-top: none;
    border-left: 2px solid var(--earth-blue);
    padding-left: 1rem;
    display: none;
  }

  .nav-dropdown .nav-link--sub {
    color: rgba(255,255,255,0.6);
    border-bottom-color: rgba(255,255,255,0.04);
  }

  .nav-item.is-open .nav-dropdown { display: block; }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1040;
    display: none;
  }
  .nav-overlay.is-visible { display: block; }

  /* Layout */
  .features__grid        { grid-template-columns: 1fr; }
  .feature-card          { border-right: none; border-bottom: 1px solid var(--light-grey); }
  .feature-card:last-child { border-bottom: none; }
  .services-grid         { grid-template-columns: 1fr 1fr; }
  .sectors-grid          { grid-template-columns: 1fr; }
  .sectors-page-grid     { grid-template-columns: 1fr; }
  .certs-full-grid       { grid-template-columns: 1fr 1fr; }
  .news-grid             { grid-template-columns: 1fr; }
  .footer__inner         { grid-template-columns: 1fr; gap: 2rem; }
  .stats__grid           { grid-template-columns: 1fr 1fr; }
  .form-row              { grid-template-columns: 1fr; }
  .about-highlights      { grid-template-columns: 1fr; }
  .company-stats-grid    { grid-template-columns: 1fr 1fr; }
  .services-list__item   { grid-template-columns: auto 1fr auto; gap: 1rem; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__scroll  { display: none; }
}

@media (max-width: 480px) {
  :root { --header-h: 76px; }

  .site-logo__img  { height: 54px; }
  .services-grid   { grid-template-columns: 1fr; }
  .stats__grid     { grid-template-columns: 1fr; }
  .stat-item       { border-right: none !important; }
  .certs-full-grid { grid-template-columns: 1fr; }
  .company-stats-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   28. Formulario: casilla de privacidad y trampa antispam
-------------------------------------------------------------------------- */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--earth-blue);
  cursor: pointer;
}

.form-check label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-mid);
  cursor: pointer;
}

.form-check label a {
  color: var(--earth-blue);
  text-decoration: underline;
}

.form-check label span {
  color: var(--earth-blue);
}

/* Fuera de la pantalla en lugar de display:none, que algunos robots detectan */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   27. Clientes (carrusel de logos)
-------------------------------------------------------------------------- */
.clients {
  padding: 4rem 0;
  background: var(--bg-light);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.clients__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-grey);
  margin-bottom: 2.5rem;
}

.clients__carousel {
  position: relative;
}

.clients__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  /* Barra de desplazamiento oculta: se navega con las flechas, la rueda o el dedo */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Difumina los extremos para que los logos entren y salgan sin corte seco */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

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

.clients__track {
  display: flex;
  width: max-content;
}

/* Flechas de navegación manual */
.clients__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  color: var(--space-grey);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.clients__nav svg { width: 20px; height: 20px; }

.clients__nav:hover {
  background: var(--earth-blue);
  border-color: var(--earth-blue);
  color: var(--white);
}

.clients__nav:focus-visible {
  outline: 2px solid var(--earth-blue);
  outline-offset: 2px;
}

.clients__nav--prev { left: 12px; }
.clients__nav--next { right: 12px; }

@media (max-width: 768px) {
  .clients__nav { width: 34px; height: 34px; }
  .clients__nav svg { width: 17px; height: 17px; }
  .clients__nav--prev { left: 4px; }
  .clients__nav--next { right: 4px; }
}

.client-item {
  flex: 0 0 auto;
  width: 200px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.client-item img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter var(--transition), opacity var(--transition);
}

.client-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.client-item__name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-grey);
  text-align: center;
  line-height: 1.4;
  transition: color var(--transition);
}

.client-item:hover .client-item__name {
  color: var(--space-grey);
}

/* Quien tenga las animaciones desactivadas no verá el desplazamiento automático
   (lo controla el JS), pero sigue pudiendo navegar con las flechas y el dedo. */

/* --------------------------------------------------------------------------
   26. Vídeo corporativo (Compañía)
-------------------------------------------------------------------------- */
.company-video__header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.company-video__header p {
  margin-bottom: 0;
}

.company-video__frame {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pitch-black);
  line-height: 0;
}

.company-video__frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
