@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #e80000;
  --red-action: #b00000;
  --ink: #111111;
  --anthracite: #2f3740;
  --steel: #59636e;
  --mist: #f3f4f6;
  --white: #ffffff;
  --line: #dfe2e6;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.09);
  --radius: 4px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--red-action);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 3px;
  background: currentColor;
  content: "";
}

h1, h2, h3 {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0; }

.lead {
  max-width: 48rem;
  color: var(--steel);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 2px solid var(--red-action);
  border-radius: 2px;
  color: var(--white);
  background: var(--red-action);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover { background: #850000; border-color: #850000; transform: translateY(-1px); }
.button--outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.button--outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button--light { color: var(--white); border-color: var(--white); background: transparent; }
.button--light:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.text-link { color: var(--red-action); font-family: Montserrat, Arial, sans-serif; font-weight: 700; text-underline-offset: 0.25em; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.nav-wrap {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo { min-width: 0; flex: 0 1 17rem; }
.logo img { width: auto; height: 4.1rem; }

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.main-nav a {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.main-nav a:not(.button) { position: relative; padding-block: 0.4rem; }
.main-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.28rem auto;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; }
.hero--home { background: var(--ink); color: var(--white); }
.hero-grid { display: grid; min-height: min(76vh, 780px); grid-template-columns: 1fr 0.92fr; }
.hero-copy { display: flex; min-width: 0; align-items: center; padding: clamp(4rem, 8vw, 7.5rem) max(2rem, calc((100vw - var(--max)) / 2)); padding-right: clamp(2rem, 6vw, 6rem); }
.hero-copy-inner { width: 100%; max-width: 42rem; min-width: 0; }
.hero-copy .eyebrow { color: #ff6666; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lead { margin-top: 1.5rem; color: #d4d8dc; }
.hero-copy .button-row { margin-top: 2rem; }
.hero-image { position: relative; min-height: 28rem; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.2), transparent 45%); content: ""; }
.hero-marker { position: absolute; z-index: 1; right: 1.5rem; bottom: 1.5rem; padding: 0.7rem 0.9rem; background: rgba(17,17,17,.82); font-size: 0.78rem; }

.page-hero { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem); background: var(--mist); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 1.5rem; }
.breadcrumb { margin-bottom: 2rem; color: var(--steel); font-size: 0.86rem; }
.breadcrumb a { text-underline-offset: 0.2em; }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section--soft { background: var(--mist); }
.section--dark { color: var(--white); background: var(--anthracite); }
.section--dark .lead, .section--dark .muted { color: #d4d8dc; }
.section-heading { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 0.55fr); gap: 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-heading .lead { justify-self: end; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); }
.card-number { display: block; margin-bottom: 2rem; color: var(--red-action); font-family: Montserrat, Arial, sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; }
.card h3 { margin-bottom: 1rem; }
.card p { color: var(--steel); }
.card .text-link { display: inline-block; margin-top: 1.4rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-copy > * + * { margin-top: 1.4rem; }
.split-copy h2 { max-width: 13ch; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media::before { position: absolute; z-index: -1; top: -1.25rem; right: -1.25rem; width: 38%; height: 38%; background: var(--red); content: ""; }
.split--reverse .split-media::before { right: auto; bottom: -1.25rem; left: -1.25rem; top: auto; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #69717a; border-bottom: 1px solid #69717a; }
.stat { padding: 2rem; border-right: 1px solid #69717a; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: .4rem; font-family: Montserrat, Arial, sans-serif; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; }
.stat span { color: #d4d8dc; }

.feature-strip { display: grid; grid-template-columns: 0.8fr 1.2fr; min-height: 32rem; }
.feature-strip img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; align-items: center; padding: clamp(3rem, 7vw, 6rem); color: var(--white); background: var(--red-action); }
.feature-copy h2 { max-width: 12ch; }
.feature-copy p { max-width: 36rem; margin-top: 1.4rem; }
.feature-copy .button-row { margin-top: 2rem; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: steps; }
.process-step { position: relative; padding-top: 4.5rem; border-top: 1px solid var(--line); counter-increment: steps; }
.process-step::before { position: absolute; top: 1rem; left: 0; color: var(--red-action); content: "0" counter(steps); font-family: Montserrat, Arial, sans-serif; font-weight: 700; }
.process-step h3 { margin-bottom: 0.85rem; }
.process-step p { color: var(--steel); }

.gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, minmax(15rem, 22rem)); gap: .75rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: 1 / 3; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product-card { position: relative; min-height: 25rem; overflow: hidden; color: var(--white); background: var(--ink); }
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .56; transition: opacity 220ms ease, transform 500ms ease; }
.product-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,17,17,.9), rgba(17,17,17,.05) 75%); content: ""; }
.product-card:hover img { opacity: .68; transform: scale(1.025); }
.product-card-content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: clamp(1.5rem, 4vw, 2.5rem); }
.product-card-content p { max-width: 40rem; margin-top: .85rem; color: #e3e6e9; }
.product-card--wide { grid-column: 1 / -1; min-height: 22rem; }

.check-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { position: absolute; top: .55rem; left: 0; width: .65rem; height: .65rem; background: var(--red); content: ""; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.contact-item dt { color: var(--steel); font-size: .85rem; font-weight: 600; }
.contact-item dd { margin: 0; font-family: Montserrat, Arial, sans-serif; font-weight: 600; }
.contact-item a { text-underline-offset: .25em; }
.map-card { display: flex; min-height: 31rem; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 5vw, 4rem); color: var(--white); background: linear-gradient(0deg, rgba(17,17,17,.88), rgba(17,17,17,.08)), url("images/sede-aerea-1920.webp") center/cover; }
.map-card h2 { max-width: 11ch; }
.map-card address { max-width: 30rem; margin: 1rem 0 1.6rem; font-style: normal; }

.cta-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; color: var(--white); background: var(--ink); }
.cta-band-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { max-width: 17ch; }
.cta-band p { max-width: 42rem; margin-top: 1rem; color: #d4d8dc; }

.site-footer { padding: 4.5rem 0 6.5rem; color: #e2e5e8; background: var(--anthracite); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .75fr .95fr; gap: 4rem; }
.footer-logo {
  width: min(100%, 18rem);
  height: auto;
  aspect-ratio: auto;
  padding: .85rem;
  background: var(--white);
  object-fit: contain;
}
.footer-brand p { max-width: 31rem; margin-top: 1.4rem; color: #c7cdd2; }
.footer-title { margin-bottom: 1.2rem; color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: .65rem; padding: 0; list-style: none; }
.footer-links a { text-underline-offset: .25em; }
.footer-meta { display: grid; gap: .4rem; color: #c7cdd2; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid #59636e; color: #b7bec5; font-size: .78rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-legal a { text-underline-offset: .25em; }
.prepub-note { max-width: 42rem; }

.legal-content { max-width: 52rem; }
.legal-content > * + * { margin-top: 1.25rem; }
.legal-content section > * + * { margin-top: 1.25rem; }
.legal-content h2 { margin-top: 3rem; font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.02em; }
.legal-content h3 { margin-top: 2rem; font-size: 1.15rem; letter-spacing: -.01em; }
.legal-content ul { display: grid; gap: .65rem; padding-left: 1.25rem; }
.legal-content a { color: var(--red-action); text-underline-offset: .22em; }
.legal-updated { color: var(--steel); font-size: .9rem; }

.mobile-actions { display: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    z-index: 90;
    inset: 5.25rem 0 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 1rem 7rem;
    overflow-y: auto;
    background: var(--white);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 1.15rem .5rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a:not(.button)::after { display: none; }
  .main-nav .button { margin-top: 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem max(1rem, calc((100vw - var(--max)) / 2)); }
  .hero-image { min-height: 42vw; }
  .section-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .section-heading .lead { justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .card-number { margin-bottom: 1.25rem; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip > img { max-height: 32rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 5.25rem; }
  body { padding-bottom: 4.25rem; }
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .logo { max-width: 13.5rem; }
  .logo img { height: 3.5rem; }
  .menu-toggle { flex: 0 0 3rem; }
  .hero-copy { width: 100%; overflow: hidden; }
  .hero-copy .eyebrow { display: flex; }
  .hero-copy .button-row { display: grid; grid-template-columns: 1fr; }
  .hero-copy .button { width: 100%; }
  .hero-image { min-height: 22rem; }
  .hero-marker { right: .75rem; bottom: .75rem; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media::before { display: none; }
  .stats, .process { grid-template-columns: 1fr; }
  .stat { padding: 1.3rem 0; border-right: 0; border-bottom: 1px solid #69717a; }
  .stat:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 16rem); }
  .gallery img:first-child { grid-row: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: auto; }
  .product-card { min-height: 22rem; }
  .contact-item { grid-template-columns: 1fr; gap: .25rem; }
  .cta-band-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-actions {
    position: fixed;
    z-index: 95;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #3f4851;
    background: var(--anthracite);
  }
  .mobile-actions a { display: grid; min-height: 4.25rem; place-items: center; color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: .72rem; font-weight: 700; text-decoration: none; }
  .mobile-actions a + a { border-left: 1px solid #59636e; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-actions, .button-row, .cta-band { display: none; }
  body { padding: 0; }
  .section { padding: 2rem 0; }
}
