:root {
  --navy: #1e4080;
  --navy-deep: #132c5c;
  --navy-ink: #0d2248;
  --yellow: #eccc23;
  --yellow-deep: #d4b61a;
  --paper: #f4f0e6;
  --paper-2: #e7e1d2;
  --white: #fffcf6;
  --ink: #172033;
  --muted: #5d6a78;
  --line: rgba(23, 32, 51, 0.14);
  --header: 5.4rem;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(13, 34, 72, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.6rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--yellow);
  color: var(--navy-ink);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: var(--navy-ink);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.topbar {
  background: var(--yellow);
  color: var(--navy-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.topbar-inner,
.header-inner,
.wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 2.4rem;
}

.topbar a {
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: white;
  box-shadow: 0 8px 24px rgba(13, 34, 72, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 5.2rem;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  height: 74px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 1.15rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy-ink);
}

.btn-yellow:hover {
  background: #f6dc55;
}

.btn-navy {
  background: var(--navy);
  color: white;
}

.btn-navy:hover {
  background: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: white;
  color: var(--navy);
}

.header-call {
  white-space: nowrap;
  padding-inline: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) 1.15fr;
  min-height: calc(100svh - 8rem);
  background: var(--navy-deep);
  color: white;
}

.hero-copy {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--yellow);
}

.kicker {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  font-size: 1.05rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.3rem, 6.4vw, 6.1rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--yellow);
}

.lead {
  margin: 1.3rem 0 0;
  max-width: 38rem;
  font-size: 1.12rem;
  color: rgba(255, 252, 246, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-photo {
  position: relative;
  min-height: 420px;
  background: #0d2248 center / cover no-repeat;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 44, 92, 0.45), transparent 28%);
  pointer-events: none;
}

.photo-tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  background: var(--yellow);
  color: var(--navy-ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  font-size: 1.05rem;
}

.marquee {
  overflow: hidden;
  background: var(--navy-ink);
  color: var(--yellow);
  border-top: 1px solid rgba(236, 204, 35, 0.25);
  border-bottom: 1px solid rgba(236, 204, 35, 0.25);
}

.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  padding: 0.75rem 0;
  animation: ticker 32s linear infinite;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
}

.marquee-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow);
  transform: rotate(45deg);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-head h2,
.block-title {
  margin: 0.25rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.index-num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.story-copy p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
}

.pull {
  margin: 0 0 1.2rem;
  padding-left: 1rem;
  border-left: 6px solid var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.95;
  font-weight: 700;
}

.story-photo {
  position: relative;
}

.story-photo img {
  width: 100%;
  height: min(72vh, 740px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.story-photo figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.facts div {
  padding: 1rem 1rem 0 0;
}

.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
  color: var(--navy);
}

.facts span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.services {
  background:
    linear-gradient(180deg, rgba(30, 64, 128, 0.04), transparent 120px),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-card {
  min-height: 520px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #12305f center / cover no-repeat;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .shade {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.6rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 20, 46, 0.55) 28%, rgba(8, 20, 46, 0.94) 62%);
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3vw, 3.2rem);
  line-height: 0.9;
  font-weight: 800;
}

.service-card p {
  margin: 0 0 0.8rem;
  color: rgba(255, 252, 246, 0.9);
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.service-card li {
  padding-left: 1rem;
  position: relative;
}

.service-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--yellow);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.machine {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.machine.feature {
  grid-row: span 2;
}

.machine img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.machine.feature img {
  height: 640px;
}

.machine-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.machine h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.95;
  font-weight: 700;
}

.machine p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.machine a {
  align-self: flex-start;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.values-after {
  margin-top: 1rem;
}

.gallery {
  padding-top: 0;
}

.value {
  background: var(--navy);
  color: white;
  padding: 1.3rem 1.15rem 1.4rem;
  min-height: 180px;
}

.value:nth-child(2) {
  background: var(--navy-deep);
}

.value:nth-child(3) {
  background: var(--yellow);
  color: var(--navy-ink);
}

.value:nth-child(4) {
  background: var(--navy-ink);
}

.value span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.value h3 {
  margin: 0.8rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 0.95;
  font-weight: 700;
}

.value p {
  margin: 0;
  font-size: 0.98rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filters button[aria-pressed="true"],
.filters button:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.shot {
  margin: 0;
  position: relative;
}

.shot[hidden] {
  display: none;
}

.shot.land {
  grid-column: span 2;
}

.shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #d9d3c4;
  cursor: zoom-in;
}

.shot-btn img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shot.land .shot-btn img {
  aspect-ratio: 16 / 10;
}

.shot-btn:hover img {
  transform: scale(1.04);
}

.shot figcaption {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  background: rgba(13, 34, 72, 0.88);
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  pointer-events: none;
}

.urgency {
  background: var(--yellow);
  color: var(--navy-ink);
}

.urgency-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.urgency h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.9;
}

.urgency p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.08rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: start;
}

.data-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
}

.data-list div {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.data-list dt {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
}

.data-list dd {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
}

.data-list a {
  color: var(--navy-ink);
  font-weight: 700;
  text-decoration: none;
}

.data-list a:hover {
  text-decoration: underline;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0.95;
}

.panel > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc6b4;
  background: #fff;
  color: var(--ink);
  padding: 0.75rem 0.8rem;
  border-radius: 2px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-wrap {
  margin-top: 1.2rem;
  background: var(--paper-2);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.sede-photo {
  margin-top: 1rem;
}

.sede-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
}

.sede-photo figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 252, 246, 0.86);
  padding: 1.6rem 0 5.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-inner strong {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.footer-inner p {
  margin: 0.2rem 0 0;
}

.callbar {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 16, 32, 0.92);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  grid-column: 2;
  grid-row: 2;
  max-width: min(1100px, 100%);
  max-height: 78vh;
  margin: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox p {
  grid-column: 1 / -1;
  grid-row: 3;
  text-align: center;
  color: white;
  margin: 0.6rem 0 0;
}

.lb-btn {
  background: var(--yellow);
  color: var(--navy-ink);
  border: 0;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  cursor: pointer;
  font-weight: 700;
}

.lb-close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.lb-prev {
  grid-column: 1;
  grid-row: 2;
}

.lb-next {
  grid-column: 3;
  grid-row: 2;
}

@media (max-width: 980px) {
  .hero,
  .story,
  .service-grid,
  .contact-grid,
  .fleet-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .machine.feature {
    grid-row: auto;
  }

  .machine.feature img,
  .machine img {
    height: 260px;
  }

  .story-photo img {
    height: 460px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 45;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.4rem 6rem;
    gap: 1.1rem;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-size: 2rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-call {
    display: none;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .urgency-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--navy-ink);
  }

  .callbar a {
    text-align: center;
    text-decoration: none;
    padding: 0.9rem 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .callbar a:first-child {
    background: var(--yellow);
    color: var(--navy-ink);
  }

  .callbar a:last-child {
    color: white;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    display: none;
  }

  :root {
    --header: 5.4rem;
  }

  .brand img {
    height: 58px;
  }

  .hero-photo {
    min-height: 320px;
    order: -1;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .shot.land {
    grid-column: auto;
  }

  .lb-prev,
  .lb-next {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .shot-btn img,
  .btn,
  .nav {
    animation: none;
    transition: none;
  }
}
