:root {
  --red: #e10600;
  --red-on-dark: #ff5245;
  --ink: #080909;
  --ink-soft: #141515;
  --panel: #1e2020;
  --white: #ffffff;
  --steel: #596266;
  --max: 1180px;
  --header-h: 112px;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #e10600;
  outline-offset: 4px;
}

.skip-link {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  left: 18px;
  padding: 12px 18px;
  position: fixed;
  text-transform: uppercase;
  top: 14px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
  z-index: 100;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: var(--header-h);
  left: 0;
  padding: 0 44px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 245px;
}

.brand-logo {
  background: transparent;
  display: block;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  padding: 8px 12px 8px 0;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: center;
}

.site-header.scrolled,
.site-header.solid {
  background: var(--white);
  border-bottom-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 16px rgba(8, 9, 9, 0.08);
}

.site-nav a,
.header-cta {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header:not(.scrolled):not(.solid) .site-nav a,
.site-header:not(.scrolled):not(.solid) .header-link-minor {
  color: rgba(255, 255, 255, 0.90);
}

.site-header:not(.scrolled):not(.solid) .site-nav a:hover,
.site-header:not(.scrolled):not(.solid) .header-link-minor:hover {
  color: var(--white);
}

.site-header:not(.scrolled):not(.solid) .nav-toggle span {
  background: var(--white);
}

.site-nav a:hover {
  color: var(--red);
}

.site-nav a[aria-current="page"] {
  color: var(--red);
}

.header-cta {
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  justify-content: center;
  padding: 17px 24px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  padding: 0;
  width: 44px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 8px 0;
  width: 28px;
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 28px;
  width: 100%;
}

.hero {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: linear-gradient(
    105deg,
    rgba(8, 9, 9, 0.78) 0%,
    rgba(8, 9, 9, 0.52) 50%,
    rgba(8, 9, 9, 0.18) 100%
  ), linear-gradient(
    to bottom,
    rgba(8, 9, 9, 0.55) 0%,
    rgba(8, 9, 9, 0) 18%
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-media {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: calc(var(--header-h) + 60px);
  position: relative;
  z-index: 2;
  color: var(--white);
}

.eyebrow {
  align-items: center;
  color: var(--red);
  display: flex;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  gap: 12px;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--red);
  content: "";
  display: inline-block;
  height: 3px;
  width: 42px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  font-size: 92px;
  letter-spacing: 0.03em;
  margin-bottom: 26px;
  max-width: 780px;
}

h2 {
  font-size: 56px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

h3 {
  font-size: 21px;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

p {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.7;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-secondary {
  background: rgba(8, 9, 9, 0.35);
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.btn-secondary:hover {
  background: rgba(8, 9, 9, 0.5);
  border-color: var(--white);
}

.section {
  min-height: calc(100vh - var(--header-h));
  padding: 116px 0;
  scroll-margin-top: var(--header-h);
}

/* Nombre heredado: es una variante clara (no oscura) de .section */
.section-dark {
  background: var(--white);
  color: var(--ink);
}

.section-light {
  background: #f9f7f3;
  color: var(--ink);
}

.section-light p {
  color: #5a6061;
}

/* ── Stats bar ─────────────────────────────── */
.stats-bar {
  background: var(--ink);
  border-top: 3px solid var(--red);
}

.stats-inner {
  align-items: center;
  display: flex;
  gap: 0;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 28px;
}

.stat-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 32px 24px;
  text-align: center;
}

.stat-number {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-divider {
  background: rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
  height: 40px;
  width: 1px;
}

/* ── Work section ───────────────────────────── */
.work-section {
  background: var(--white);
  border-bottom: 1px solid #ded8cf;
  padding: 74px 0;
}

.work-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1fr;
  margin-bottom: 34px;
}

.work-heading h2 {
  font-size: 44px;
  margin: 0;
}

.work-heading p {
  color: #5a6061;
  margin: 0;
  max-width: 620px;
}

.work-steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
}

.work-steps article {
  border: 1px solid #ded8cf;
  min-height: 260px;
  overflow: hidden;
  padding: 36px 28px 30px;
  position: relative;
}

.work-steps article + article {
  border-left: 0;
}

.work-steps span {
  color: var(--red);
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.work-steps article::before {
  color: rgba(225, 6, 0, 0.07);
  content: attr(data-step);
  font-family: var(--font-heading);
  font-size: 160px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: -8px;
  bottom: -18px;
  z-index: 0;
}

.work-steps h3,
.work-steps p {
  position: relative;
  z-index: 1;
}

.work-steps h3 {
  font-size: 24px;
}

.work-steps p {
  font-size: 14px;
  margin: 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading p {
  max-width: 660px;
}

.pitch-grid {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
}

.pitch-copy h2 {
  max-width: 520px;
}

.pitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn-dark-outline {
  border: 2px solid var(--ink);
  color: var(--ink);
}

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

.pitch-pillars {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr 1fr;
}

.pillar-card {
  background: var(--white);
  border: 1px solid #ded8cf;
  border-left: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 28px 24px;
  text-align: left;
}

.pillar-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 14px;
  margin: 0;
}

.gallery-scroll {
  height: 380px;
  margin-top: var(--header-h);
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  animation: gallery-slide 32s linear infinite;
  display: flex;
  gap: 6px;
  height: 100%;
  width: max-content;
}

.gallery-track img {
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
  width: 560px;
}

@keyframes gallery-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.services-section {
  padding-bottom: 56px;
}

.page-top {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  margin-top: var(--header-h);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100svh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  overflow: hidden;
}

.page-top .gallery-scroll {
  flex: 1;
  height: auto;
  margin-top: 0;
  min-height: 0;
}

.page-banner {
  background: var(--red);
  flex-shrink: 0;
  padding: clamp(40px, 6vh, 72px) 0 clamp(44px, 7vh, 82px);
}

.page-banner-offset {
  margin-top: var(--header-h);
}

.page-banner-eyebrow {
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.page-banner-eyebrow::before {
  background: rgba(255, 255, 255, 0.45);
  content: "";
  display: inline-block;
  flex-shrink: 0;
  height: 2px;
  width: 36px;
}

.page-banner-title {
  color: var(--white);
  font-size: 64px;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 20px;
}

.page-banner-subtitle {
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

.services-block-title {
  font-size: 44px;
  line-height: 1;
  margin: 0 0 16px;
  max-width: 780px;
}

.service-showcase {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 48px;
}

.service-feature {
  background: var(--white);
  border: 1px solid #ded8cf;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 330px;
  overflow: hidden;
}

.service-feature.large {
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 430px;
}

.service-feature img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-feature div {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  text-align: left;
}

.service-feature span {
  color: var(--red);
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 34px;
}

.service-feature h3 {
  font-size: 30px;
}

.service-feature p {
  font-size: 15px;
}

.control-section {
  background: #f9f7f3;
  padding-top: 64px;
}

.section-lead {
  color: #5a6061;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 680px;
}

.control-media-row {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 46px;
}

.control-media-row .check-list {
  margin-top: 0;
}

.media-panel {
  background: var(--panel);
  border-left: 5px solid var(--red);
  min-height: 480px;
  overflow: hidden;
}

.media-panel img {
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  width: 100%;
}

.control-copy {
  max-width: 520px;
}

.check-list {
  color: #4a4a4a;
  line-height: 1.7;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.check-list li {
  border-top: 1px solid rgba(0, 0, 0, 0.13);
  padding: 12px 0 12px 26px;
  position: relative;
}

.check-list li::before {
  background: var(--red);
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  top: 18px;
  width: 14px;
}

.why-layout {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.85fr 1.15fr;
}

.compact {
  max-width: 520px;
}

.why-list {
  display: grid;
  gap: 0;
}

.why-list article {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  display: grid;
  gap: 24px;
  grid-template-columns: 130px 210px 1fr;
  padding: 28px 0;
}

.why-list span {
  align-items: center;
  border: 1px solid rgba(225, 6, 0, 0.48);
  color: var(--red);
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  text-transform: uppercase;
  width: 112px;
}

.why-list h3 {
  margin: 0;
}

.why-list p {
  font-size: 14px;
  margin: 0;
  color: #4a4a4a;
}

.identity-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 56px;
}

.identity-card {
  background: #f9f7f3;
  border: 1px solid #ded8cf;
  padding: 34px;
}

.identity-card-wide {
  grid-column: 1 / -1;
}

.identity-card-wide.identity-card-dark {
  background: var(--ink);
  border-color: transparent;
}

.identity-card-wide.identity-card-dark span {
  color: var(--red-on-dark);
}

.identity-card-wide.identity-card-dark h3 {
  color: var(--white);
}

.identity-card-wide.identity-card-dark p {
  color: rgba(255, 255, 255, 0.68);
}

.identity-card span {
  color: var(--red);
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.identity-card h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.identity-card p {
  font-size: 15px;
  margin-bottom: 14px;
}

.identity-card p:last-child {
  margin-bottom: 0;
}

.sector-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 40px;
}

.sector-card {
  background: var(--ink);
  color: var(--white);
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  overflow: hidden;
  padding: 34px 28px;
  position: relative;
  transition: transform 0.35s ease;
}

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

.sector-card::before,
.sector-card::after {
  content: "";
  inset: 0;
  position: absolute;
}

.sector-card::before {
  background-position: center;
  background-size: cover;
  filter: saturate(0.9);
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.35s ease;
}

.sector-card:hover::before {
  filter: saturate(1.1);
  transform: scale(1.08);
}

.sector-card::after {
  background: linear-gradient(180deg, rgba(8, 9, 9, 0.05), rgba(8, 9, 9, 0.9));
  transition: background 0.35s ease;
}

.sector-card:hover::after {
  background: linear-gradient(180deg, rgba(8, 9, 9, 0.10), rgba(8, 9, 9, 0.80));
}

.sector-card h3,
.sector-card p {
  position: relative;
  z-index: 1;
}

.sector-card h3 {
  margin-top: 0;
}

.sector-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.sector-card.industrial,
.sector-card.agro,
.sector-card.residencial {
  grid-column: span 2;
}

.sector-card.logistica,
.sector-card.comercio {
  grid-column: span 3;
}

.sector-card.industrial::before {
  background-image: url("assets/images/monitoreo.webp");
}

.sector-card.residencial::before {
  background-image: url("assets/images/radio-control.webp");
}

.sector-card.agro::before {
  background-image: url("assets/images/cabina-helicoptero.webp");
}

.sector-card.logistica::before {
  background-image: url("assets/images/helicoptero-flota.webp");
}

.sector-card.comercio::before {
  background-image: url("assets/images/poligrafo.webp");
}

.clients-block {
  border-top: 1px solid #ded8cf;
  margin-top: 72px;
  padding-top: 72px;
}

.logo-wall {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.logo-wall span {
  align-items: center;
  background: #f4f2ee;
  border: 1px solid #e2ddd7;
  display: flex;
  height: 150px;
  justify-content: center;
  padding: 28px;
  transition: background 0.2s, border-color 0.2s;
}

.logo-wall span:hover {
  background: #eceae4;
  border-color: #ccc9c2;
}

.logo-wall img {
  filter: grayscale(0.3) drop-shadow(0 1px 2px rgba(8, 9, 9, 0.12));
  max-height: 104px;
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.2s;
}

.logo-wall span:hover img {
  filter: grayscale(0) drop-shadow(0 1px 2px rgba(8, 9, 9, 0.16));
}

.testimonial-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.testimonial-grid blockquote {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--red);
  margin: 0;
  min-height: 245px;
  padding: 36px 30px 30px;
  position: relative;
}

.testimonial-grid blockquote::before {
  color: var(--red);
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 72px;
  left: 22px;
  line-height: 1;
  opacity: 0.18;
  pointer-events: none;
  position: absolute;
  top: 14px;
}

.testimonial-grid p {
  color: #4a4a4a;
  font-size: 15px;
  font-style: italic;
  line-height: 1.65;
}

.testimonial-grid cite {
  color: var(--red);
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 20px;
}

.header-link-minor {
  color: var(--steel);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-link-minor:hover {
  color: var(--red);
}

.section-contact {
  background: var(--white);
  padding: 0;
}

.contact-forms-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.aspirantes-form {
  background: var(--ink-soft);
  color: var(--white);
  min-height: 650px;
  padding: 58px 64px;
}

.aspirantes-form h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.aspirantes-form > p {
  color: rgba(255, 255, 255, 0.72);
}

.aspirantes-form label {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  font-size: 13px;
  margin-top: 18px;
}

.aspirantes-form input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  display: block;
  height: 54px;
  margin-top: 8px;
  padding: 0 16px;
  width: 100%;
}

.file-drop-label {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  font-size: 13px;
  margin-top: 18px;
}

.file-drop {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  gap: 14px;
  margin-top: 8px;
  padding: 16px;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.file-drop:hover,
.file-drop:focus-within {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--red-on-dark);
}

.file-drop.is-dragover {
  background: rgba(225, 6, 0, 0.12);
  border-color: var(--red-on-dark);
  border-style: solid;
}

.file-drop.has-file {
  border-style: solid;
  border-color: rgba(63, 181, 109, 0.6);
}

.file-drop-input {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.file-drop-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  flex-shrink: 0;
  height: 40px;
  width: 40px;
}

.file-drop-icon svg {
  fill: currentColor;
  height: 22px;
  margin: auto;
  width: 22px;
}

.file-drop.has-file .file-drop-icon {
  background: rgba(63, 181, 109, 0.18);
  color: #3fb56d;
}

.file-drop-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.file-drop-copy strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-drop-hint {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.file-drop-hint-error {
  color: var(--red-on-dark);
}

.file-drop-clear {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  font-size: 16px;
  height: 28px;
  justify-content: center;
  margin-left: auto;
  width: 28px;
}

.file-drop-clear:hover {
  color: var(--white);
}

.file-drop-clear[hidden] {
  display: none;
}

.aspirantes-form .btn {
  margin-top: 22px;
}

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

.contact-channels-row {
  background: var(--white);
  border-top: 1px solid #ded8cf;
  padding: 72px 0;
}

.contact-channels-inner {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: 300px 1fr;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 28px;
}

.contact-channels-inner h3 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
  margin: 0;
}

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

.contact-form {
  min-height: 650px;
  padding: 58px 64px;
}

.contact-form {
  background: var(--white);
  border-right: 1px solid #ded8cf;
}

.contact-form h3 {
  color: var(--ink);
}

.contact-form p {
  color: #5a6061;
}

.contact-form label {
  color: #4a4a4a;
  display: block;
  font-size: 13px;
  margin-top: 18px;
}

.contact-form input,
.contact-form select {
  background: #f9f7f3;
  border: 1px solid #ded8cf;
  color: var(--ink);
  display: block;
  height: 54px;
  margin-top: 8px;
  padding: 0 16px;
  width: 100%;
}

.form-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
  margin: 18px 0 0;
}

.hp-field {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.form-feedback {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--red-on-dark);
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  margin: 18px 0 0;
  padding: 12px 16px;
}

.form-feedback:not(.form-feedback-error) {
  border-left-color: #3fb56d;
}

.consent-check {
  align-items: flex-start;
  display: flex !important;
  gap: 12px;
  line-height: 1.55;
}

.consent-check input {
  flex: 0 0 auto;
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.consent-check span {
  display: block;
}

.consent-check a,
.policy-copy a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-section {
  background: #f9f7f3;
  padding: 84px 0;
}

.policy-copy {
  background: var(--white);
  border-left: 5px solid var(--red);
  margin: 0 auto;
  max-width: 900px;
  padding: 44px;
}

.policy-copy h2 {
  font-size: 32px;
  margin-top: 34px;
}

.policy-copy h2:first-child {
  margin-top: 0;
}

.policy-copy p,
.policy-copy li {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.75;
}

.policy-copy a {
  color: var(--red);
}

.error-page {
  align-items: center;
  background: #f9f7f3;
  display: flex;
  min-height: calc(100vh - var(--header-h));
  padding: calc(var(--header-h) + 72px) 0 72px;
}

.error-panel {
  border-left: 6px solid var(--red);
  max-width: 720px;
  padding: 16px 0 16px 34px;
}

.error-code {
  color: var(--red);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form .btn {
  margin-top: 22px;
}

.btn-form-submit {
  width: 100%;
}

.channel-list {
  background: var(--white);
  border: 1px solid #ded8cf;
  border-left: 6px solid var(--red);
  box-shadow: 0 18px 36px rgba(8, 9, 9, 0.09);
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 66px 1fr;
  min-height: 110px;
  padding: 22px 20px;
  transition: transform 0.18s, border-color 0.18s;
}

.channel-list:hover {
  border-color: rgba(225, 6, 0, 0.45);
  transform: translateY(-3px);
}

.channel-icon {
  align-items: center;
  background: var(--red);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  color: var(--red);
  display: inline-flex;
  font-weight: 900;
  grid-row: span 2;
  height: 66px;
  justify-content: center;
  position: relative;
  width: 66px;
}

.channel-icon::before {
  background: #fff4f2;
  clip-path: inherit;
  content: "";
  inset: 4px;
  position: absolute;
}

.channel-icon svg {
  fill: currentColor;
  height: 28px;
  overflow: visible;
  position: relative;
  stroke: none;
  width: 37px;
  z-index: 1;
}

.channel-list strong {
  align-self: end;
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.channel-list > span:not(.channel-icon) {
  align-self: start;
  color: #4a4a4a;
  display: block;
  font-size: 13px;
  margin-top: 6px;
  overflow-wrap: anywhere;
  word-break: break-all;
}

/* ── CTA de cierre ──────────────────────────── */
.cta-close {
  background: var(--ink);
  padding: 80px 0;
  text-align: center;
}

.cta-close h2 {
  color: var(--white);
  font-size: 48px;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-close p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  margin-bottom: 36px;
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
}

.cta-close-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-white:hover {
  background: rgba(255, 255, 255, 0.88);
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.40);
  color: var(--white);
}

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

/* ── Footer ─────────────────────────────────── */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--red);
}

.footer-body {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  margin: 0 auto;
  max-width: var(--max);
  padding: 64px 28px 48px;
}

.footer-logo {
  display: block;
  filter: invert(1) hue-rotate(180deg);
  height: auto;
  margin-bottom: 20px;
  width: 180px;
}

.footer-tagline {
  color: #7a8282;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 280px;
}

.footer-col-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #7a8282;
  font-size: 14px;
  transition: color 0.15s;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list a,
.footer-address {
  color: #7a8282;
  font-size: 14px;
  line-height: 1.5;
}

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

.footer-contact-label {
  color: #4a5252;
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 20px 28px;
}

.footer-bottom p {
  color: #4a5252;
  font-size: 12px;
  margin: 0;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 24px;
  }

  .brand-logo {
    height: 68px;
    width: auto;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 44px;
  }

  .service-showcase {
    grid-template-columns: 1fr;
  }

  .service-feature,
  .service-feature.large {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .service-feature img {
    height: 310px;
  }

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

  .sector-card.industrial,
  .sector-card.agro,
  .sector-card.residencial,
  .sector-card.logistica,
  .sector-card.comercio {
    grid-column: auto;
  }

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

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

  .why-list article {
    grid-template-columns: 112px 1fr;
  }

  .why-list p {
    grid-column: 2;
  }

  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 84px;
  }

  .site-header {
    column-gap: 16px;
    grid-template-columns: auto auto 1fr;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    justify-content: flex-end;
    min-width: 0;
  }

  .header-cta {
    flex-shrink: 1;
    font-size: 12px;
    min-width: 0;
    padding: 0 16px;
    text-align: center;
    white-space: normal;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    align-items: flex-start;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    bottom: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    overflow-y: auto;
    padding: 18px 28px 30px;
    position: fixed;
    right: 0;
    top: var(--header-h);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    padding: 18px 0;
    width: 100%;
  }

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

  .site-nav a[aria-current="page"] {
    color: var(--red-on-dark);
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    min-height: 596px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .gallery-scroll { height: 260px; }
  .gallery-track img { width: 360px; }
  .page-banner-title { font-size: 46px; }
  .page-banner-subtitle { font-size: 14px; }
  .services-block-title { font-size: 34px; }

  .header-link-minor { display: none; }

  .contact-forms-row,
  .contact-channels-inner {
    grid-template-columns: 1fr;
  }

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

  .aspirantes-form {
    min-height: auto;
    padding: 42px 28px;
  }

  .pitch-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .work-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .work-steps {
    grid-template-columns: 1fr;
  }

  .work-steps article + article {
    border-left: 1px solid #ded8cf;
    border-top: 0;
  }

  .control-media-row,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .sector-grid,
  .identity-grid,
  .logo-wall {
    grid-template-columns: 1fr;
  }

  .sector-card {
    min-height: 260px;
    padding: 28px 24px;
  }

  .identity-card-wide {
    grid-column: auto;
  }

  .page-top {
    height: auto;
    max-height: none;
    min-height: auto;
  }

  .sector-grid h3 {
    margin-top: 50px;
  }

  .media-panel,
  .media-panel img {
    min-height: 330px;
  }

  .why-list article {
    grid-template-columns: 1fr;
  }

  .why-list p {
    grid-column: auto;
  }

  .contact-form {
    min-height: auto;
    padding: 42px 28px;
  }

  .footer-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 28px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .gallery-scroll { height: 200px; }
  .page-banner-title { font-size: 32px; }
  .services-block-title { font-size: 26px; }
  .gallery-track img { width: 260px; }
  .form-row { grid-template-columns: 1fr; }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 44px;
    padding: 4px 0;
    width: auto;
  }

  .stats-inner {
    flex-wrap: wrap;
    padding: 0 18px;
  }

  .stat-item {
    flex: 1 1 40%;
    min-width: 0;
    padding: 20px 8px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-divider {
    display: none;
  }

  .section-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .btn {
    width: 100%;
  }

  .policy-copy {
    padding: 30px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .gallery-track {
    animation: none;
  }

  .hero-media {
    display: none;
  }
}
