:root {
  --blue: #1a618f;
  --blue-dark: #0d3f60;
  --blue-light: #eaf4fa;
  --yellow: #ffcd29;
  --white: #ffffff;
  --ink: #112633;
  --muted: #60727d;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, h4, .font-display { font-family: "Sora", sans-serif; }

::selection { background: var(--yellow); color: var(--blue-dark); }

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

.nav-link {
  position: relative;
  color: #344c5a;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: color .2s ease;
}

.nav-link:hover, .nav-link.active { color: var(--blue); }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1rem;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

.hero-grid {
  background-image:
    linear-gradient(90deg, rgba(8, 48, 75, .95) 0%, rgba(13, 68, 102, .81) 48%, rgba(10, 46, 69, .22) 100%),
    url("noticia-tarifa.jpg");
  background-position: center;
  background-size: cover;
}

.page-hero {
  background-image:
    linear-gradient(90deg, rgba(13, 63, 96, .97), rgba(26, 97, 143, .78)),
    url("noticia-tarifa.jpg");
  background-position: center 48%;
  background-size: cover;
}

.dot-pattern {
  background-image: radial-gradient(rgba(255,255,255,.22) 1.2px, transparent 1.2px);
  background-size: 17px 17px;
}

.road-line {
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.92) 0 28px, transparent 28px 48px);
}

.card-lift { transition: transform .25s ease, box-shadow .25s ease; }
.card-lift:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(13, 63, 96, .14); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: .8rem;
  background: var(--yellow);
  padding: .86rem 1.2rem;
  color: var(--blue-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.04); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: .8rem;
  padding: .82rem 1.15rem;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  transition: background .2s ease;
}

.btn-outline:hover { background: rgba(255,255,255,.12); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 1.8rem; height: 3px; border-radius: 99px; background: var(--yellow); }

.field {
  width: 100%;
  border: 1px solid #d9e3e8;
  border-radius: .8rem;
  background: #fff;
  padding: .85rem 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 97, 143, .12); }

.mobile-menu { transform-origin: top; }

@media (max-width: 767px) {
  .nav-link.active::after { display: none; }
  .hero-grid { background-position: 58% center; }
}

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