:root {
  --ink: #081229;
  --navy: #061873;
  --blue: #0b4db3;
  --marine: #063a5d;
  --teal: #0f8b8d;
  --amber: #f4a72c;
  --paper: #f7f9fc;
  --white: #ffffff;
  --muted: #627188;
  --line: #d8e0ea;
  --shadow: 0 22px 60px rgba(6, 24, 115, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: transparent;
  box-shadow: none;
  color: var(--white);
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(230px, 25vw, 380px);
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 14px 28px rgba(2, 10, 32, 0.28));
}

.container-section-menu-2 {
  display: flex;
}

.container-display-flex-2 {
  margin-top: 0px;
  color: black;
  margin-bottom: 50px;
  display: flex;
  justify-content: end;
}

.container-display-flex-3 {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.menu-selected-2 {
  color: var(--blue);
}

.menu-selected-3 {
  color: var(--amber);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin-block: 5px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("assets/hero-flota-servotec.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__overlay {
  background: rgba(4, 18, 45, 0.66);
}

.hero__content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 230px 0 156px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow--dark {
  color: var(--blue);
}

.brand-word {
  text-transform: none;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero__lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--amber);
  color: #14110a;
}

.button--light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero__facts {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: -76px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.hero__facts div {
  min-height: 118px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.hero__facts strong,
.hero__facts span {
  display: block;
}

.hero__facts strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 1.08;
}

.hero__facts span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding-top: clamp(120px, 12vw, 170px);
  background: var(--white);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: start;
}

.intro__copy {
  margin: 38px 0 0;
  font-size: 1.08rem;
}

.section__header {
  max-width: 780px;
  margin-bottom: 46px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(8, 18, 41, 0.06);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card--watermark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88)),
    var(--white);
}

.service-card--watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.24;
  filter: saturate(1.05);
}

.service-card--watermark h3 {
  color: #020817;
}

.service-card--watermark p {
  color: #172033;
  font-weight: 600;
}

.service-card--renta::before {
  background-image: url("assets/service-renta-watermark.jpeg");
}

.service-card--adiestramiento::before {
  background-image: url("assets/service-adiestramiento-watermark.jpeg");
}

.service-card--construccion::before {
  background-image: url("assets/service-service-construccion-watermark.jpeg");
}

.service-card--asesoria::before {
  background-image: url("assets/service-service-asesoria-watermark.jpeg");
}



.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-weight: 800;
}

.service-card:nth-child(2) .service-card__icon {
  background: var(--teal);
}

.service-card:nth-child(3) .service-card__icon {
  background: var(--marine);
}

.service-card:nth-child(4) .service-card__icon {
  background: var(--amber);
  color: #171307;
}

.service-card p,
.value p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.fleet {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 680px;
  background: var(--white);
}

.fleet__image {
  min-height: 520px;
}

.fleet__image img,
.showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet__content {
  align-self: center;
  padding: clamp(42px, 7vw, 92px);
}

.fleet__content p {
  font-size: 1.05rem;
}

.fleet-h2 {
  font-size: 38px;
}



.check-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #243148;
  font-weight: 700;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px var(--white), 0 0 0 2px var(--teal);
}

.showcase {
  background: #eaf0f7;
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.showcase__item {
  margin: 0;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase__item--large {
  grid-row: span 2;
}

.tech {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  background: var(--marine);
  color: var(--white);
}

.tech__content {
  align-self: center;
  padding: clamp(54px, 8vw, 104px);
}

.tech__content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.tech__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tech__metrics span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.tech__panel {
  min-height: 560px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(32px, 6vw, 88px);
  background:
    linear-gradient(135deg, rgba(6, 24, 115, 0.08), rgba(15, 139, 141, 0.14)),
    var(--white);
}

.tech-card {
  position: relative;
  padding: 28px 28px 28px 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(8, 18, 41, 0.08);
}

.tech-card span {
  position: absolute;
  left: 26px;
  top: 28px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.tech-card:nth-child(2) span {
  background: var(--teal);
}

.tech-card:nth-child(3) span {
  background: var(--amber);
  color: #171307;
}

.tech-card h3 {
  color: var(--ink);
}

.tech-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.values {
  background: var(--white);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.value {
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.value span {
  display: block;
  width: 54px;
  height: 6px;
  margin-bottom: 24px;
  background: var(--amber);
}

.value:nth-child(2) span {
  background: var(--teal);
}

.value:nth-child(3) span {
  background: var(--blue);
}

.contact {
  padding: clamp(76px, 10vw, 128px) 20px;
  background: var(--navy);
  color: var(--white);
}

.contact__inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact__inner p {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.contact__links a {
  padding: 13px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 56px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 210px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer__content {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 20px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
  }

  .hero__facts,
  .intro__grid,
  .fleet,
  .tech,
  .values__grid {
    grid-template-columns: 1fr;
  }

  .hero__facts {
    margin-top: -52px;
  }

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

  .fleet__image,
  .tech__panel {
    min-height: 420px;
  }

}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    width: 178px;
    padding: 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero__content {
    width: calc(100% - 32px);
    padding: 156px 0 112px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
  }

  .hero__lead {
    font-size: clamp(1.02rem, 5.2vw, 1.32rem);
    line-height: 1.5;
  }

  .hero__actions,
  .contact__links {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact__links a,
  .social-links a {
    width: 100%;
  }

  .hero__facts {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .hero__facts div {
    min-height: auto;
  }

  .section__inner {
    width: calc(100% - 32px);
  }

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

  .showcase__item--large {
    grid-row: auto;
  }

  .fleet__content,
  .tech__content {
    padding: 48px 20px;
  }

  .tech__panel {
    padding: 42px 16px;
  }

  .tech-card {
    padding: 24px;
  }

  .tech-card span {
    position: static;
    margin-bottom: 20px;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }

  .site-footer__content,
  .site-footer__social {
    justify-items: center;
    justify-content: center;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
