:root {
  --navy: #1D4E89;
  --navy-dark: #123A63;
  --blue: #2E6DB4;
  --red: #E5231B;
  --red-dark: #A01812;
  --cream: #F2F6FB;
  --charcoal: #1A1B1E;
  --steel: #566072;
  --line: #D8E0E8;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

p { line-height: 1.65; color: var(--steel); margin: 0 0 1.1em; }

.btn {
  display: inline-block;
  padding: 0.85em 1.7em;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  position: relative;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 0 var(--red-dark), 0 8px 14px rgba(0,0,0,0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--red-dark), 0 12px 18px rgba(0,0,0,0.3); color: #fff; }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-dark), 0 2px 6px rgba(0,0,0,0.25); }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: 0 4px 0 rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.18); box-shadow: 0 6px 0 rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--ghost:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 52px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
}
.nav__links a { text-decoration: none; color: var(--charcoal); }
.nav__links a:hover { color: var(--red); }
.nav__cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.55em 1.3em;
  border-radius: 4px;
  box-shadow: 0 3px 0 var(--navy-dark);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}
.nav__cta:hover { background: var(--blue) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 0 var(--navy-dark); }
.nav__cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--navy-dark); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
  padding: 7.5rem 1.5rem 6rem;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(18,58,99, .72) 0%, rgba(18,58,99, .25) 45%, rgba(18,58,99, .15) 100%),
    linear-gradient(100deg, rgba(18,58,99, .96) 0%, rgba(18,58,99, .78) 32%, rgba(18,58,99, .2) 62%, rgba(18,58,99, 0) 82%);
}
.hero__media--streaks { opacity: 0.95; right: 0; width: 55%; left: auto; }
.hero__media--streaks svg { width: 100%; height: 100%; }
.hero__streak--blue-1 { fill: #3F86D0; }
.hero__streak--red { fill: var(--red); }
.hero__streak--blue-2 { fill: #0E2E50; }
.hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  font-weight: 700;
  max-width: 14ch;
}
.hero__subtitle {
  color: #d7dbef;
  max-width: 46ch;
  font-size: 1.08rem;
  margin-top: 1.3rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* About */
.about { padding: 5.5rem 1.5rem; }
.about__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 4rem;
}
.about h2 {
  font-size: 2rem;
  color: var(--navy);
  max-width: 18ch;
  margin-bottom: 1.3rem;
}
.about__copy p { max-width: 62ch; }
.about__quote {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.25rem;
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  margin-top: 1.5rem;
}
.about__stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid var(--line);
  padding-left: 2.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat__number {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--red);
  font-weight: 600;
  line-height: 1;
}
.stat__label {
  color: var(--steel);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* Sectors */
.sectors { background: #fff; padding: 5.5rem 1.5rem; border-top: 1px solid var(--line); }
.sectors__inner { max-width: 1180px; margin: 0 auto; }
.sectors h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
}
.sectors__row {
  display: flex;
  flex-wrap: wrap;
}
.sector {
  flex: 1 1 180px;
  text-align: center;
  padding: 0 1.6rem;
  border-left: 1px solid var(--line);
}
.sector:first-child { border-left: none; }
.sector__icon {
  width: 46px;
  height: 46px;
  color: var(--navy);
  margin: 0 auto 1.1rem;
}
.sector h3 {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* Footer */
.footer { background: var(--navy); padding: 3rem 1.5rem; }
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.footer__logo {
  height: 44px;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer__tagline {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.footer__contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-bottom: 1.6rem;
}
.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #d7dbef;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer__contact-item:hover { color: #fff; }
.footer__contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red);
}
.footer__copyright {
  color: #9aa3cc;
  font-size: 0.85rem;
  margin: 0;
}
.footer__copyright a { color: #9aa3cc; text-decoration: underline; }
.footer__copyright a:hover { color: #fff; }

/* Why (diferenciadores) */
.why { background: var(--navy-dark); padding: 5.5rem 1.5rem; }
.why__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}
.why h2 { color: #fff; font-size: 2rem; max-width: 16ch; margin-bottom: 1rem; }
.why__intro { color: #d7dbef; margin-bottom: 1.5rem; }
.why__base {
  color: #9aa3cc;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.2rem;
  margin: 0;
}
.why__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.why__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  break-inside: avoid;
  padding: 0.55rem 0;
}
.why__list span {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
}
.why__check { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.2em; color: var(--red); }

/* Services */
.services { background: #fff; padding: 5.5rem 1.5rem; border-top: 1px solid var(--line); }
.services__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.services__inner--sin-foto { grid-template-columns: 1fr; }
.services__media { position: relative; align-self: stretch; }
.services__media::before,
.services__media::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.services__media::before { background: var(--navy); transform: translate(-14px, 12px); }
.services__media::after { background: var(--red); transform: translate(-7px, 6px); }
.services__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 10px 16px rgba(18,58,99,0.3));
}
.services h2 { font-size: 2rem; color: var(--navy); margin-bottom: 2.2rem; }
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.2rem;
}
.services__col h3 {
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: 1rem;
}
.services__col ul { list-style: none; margin: 0; padding: 0; }
.services__col li {
  padding: 0.6em 0;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 0.98rem;
}
.services__expansion {
  background: var(--cream);
  border-left: 3px solid var(--red);
  padding: 1rem 1.3rem;
  font-size: 0.92rem;
  color: var(--steel);
  margin: 0;
}
.services__expansion strong { color: var(--navy); }

/* Fleet capacity */
.fleet { background: var(--cream); padding: 5.5rem 1.5rem; }
.fleet__inner { max-width: 1180px; margin: 0 auto; }
.fleet__grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.fleet__grid2--sin-foto { grid-template-columns: 1fr; }
.fleet__media { position: relative; }
.fleet__media::before,
.fleet__media::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.fleet__media::before { background: var(--navy); transform: translate(14px, 12px); }
.fleet__media::after { background: var(--red); transform: translate(7px, 6px); }
.fleet__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  filter: drop-shadow(0 10px 16px rgba(18,58,99,0.3));
}
.fleet h2 { font-size: 2rem; color: var(--navy); margin-bottom: 0.8rem; }
.fleet__intro { max-width: 50ch; margin-bottom: 1.6rem; }
.fleet__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.tag {
  display: inline-block;
  padding: 0.5em 1.1em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--navy);
}
.fleet__subtitle {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.fleet__coverage { color: var(--steel); margin: 0; max-width: 50ch; }

/* Responsive */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__stats {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 2rem;
    gap: 3rem;
  }
  .hero { min-height: 0; }
  .hero__media--streaks { width: 80%; opacity: 0.5; }
  .why__inner { grid-template-columns: 1fr; gap: 2rem; }
  .why__list { columns: 2; }
  .services__inner { grid-template-columns: 1fr; }
  .services__media img { min-height: 240px; }
  .services__media::before,
  .services__media::after,
  .services__media img { clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
  .services__media::before { transform: translate(-8px, 7px); }
  .services__media::after { transform: translate(-4px, 4px); }
  .services__grid { grid-template-columns: 1fr; gap: 2rem; }
  .sector { flex: 1 1 45%; border-left: none; border-top: 1px solid var(--line); padding: 1.5rem 1rem 0; margin-top: 1.5rem; }
  .sector:nth-child(-n+2) { border-top: none; margin-top: 0; padding-top: 0; }
  .fleet__grid2 { grid-template-columns: 1fr; }
  .fleet__media img { min-height: 240px; }
  .fleet__media::before,
  .fleet__media::after,
  .fleet__media img { clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
  .fleet__media::before { transform: translate(8px, 7px); }
  .fleet__media::after { transform: translate(4px, 4px); }
}

@media (max-width: 640px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: block; }
  .nav__cta { width: 100%; text-align: center; }
  .hero { padding: 4.5rem 1.25rem 5rem; }
  .why__list { columns: 1; }
  .sector { flex: 1 1 100%; }
  .sector:nth-child(-n+2) { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.5rem; }
  .sector:first-child { border-top: none; margin-top: 0; padding-top: 0; }
  .footer__contact { flex-direction: column; align-items: center; gap: 0.9rem; }
}

/* Legal pages */
.legal { background: #fff; padding: 4rem 1.5rem 5rem; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: 2rem; color: var(--navy); margin-bottom: 0.5rem; }
.legal__updated { color: var(--steel); font-size: 0.85rem; margin-bottom: 2.5rem; }
.legal h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 2.3rem;
  margin-bottom: 0.9rem;
  border-left: 3px solid var(--red);
  padding-left: 0.9rem;
}
.legal p, .legal li { color: var(--charcoal); font-size: 0.98rem; }
.legal ul { margin: 0 0 1.1em; padding-left: 1.3rem; }
.legal a.legal__mail { color: var(--red); text-decoration: none; }
.legal a.legal__mail:hover { text-decoration: underline; }
.legal__back { display: inline-block; margin-top: 1rem; font-size: 0.92rem; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
