@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Colores, tipografia y bases. */
:root {
  --navy: #262b30;
  --ink: #262b30;
  --accent: #bc3038;
  --muted: #68666a;
  --line: #e5dedd;
  --cream: #f8f4f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  background: #fffdfc;
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #a4262e;
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
}

h2 {
  font-size: clamp(30px, 3.3vw, 45px);
  font-weight: 600;
  letter-spacing: -1.6px;
  line-height: 1.2;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  letter-spacing: -.6px;
}

.container {
  width: min(1200px, calc(100% - 80px));
  margin: auto;
}

.eyebrow {
  color: #a4262e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 23px;
}

.eyebrow.light {
  color: var(--accent);
}

.section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 45px;
}

.section-heading>p {
  max-width: 365px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 0;
}

.caption {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 20px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 15px;
}

.skip:focus {
  top: 10px;
}

/* Cabecera y navegacion compartida. */
.topbar {
  padding: 11px 0;
  color: #e8e2e0;
  background: var(--navy);
  font-size: 9px;
  letter-spacing: 1.6px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-window {
  display: block;
  width: 218px;
  height: 75px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
}

nav a[aria-current='page']:not(.button) {
  text-decoration: underline;
  text-decoration-color: #a4262e;
  text-underline-offset: 8px;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--accent);
  color: #262b30;
  font-size: 12px;
  font-weight: 700;
  padding: 18px 25px;
  cursor: pointer;
  transition: background .2s;
}

.button:hover {
  background: #9e242c;
}

.button span {
  font-size: 21px;
}

.button.small {
  padding: 16px 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 600;
}

.text-link span {
  font-size: 20px;
}

/* Portada editorial con fotografia a sangre. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  background: var(--navy);
  color: white;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 44%;
  z-index: -2;
  background: url('../img/route.jpg') 65% center / cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #262b30 10%, #262b30f5 37%, #262b3066 75%, #262b3020);
}

.hero-content {
  padding-top: 70px;
  padding-bottom: 65px;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero .eyebrow i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 9px;
}

h1 {
  font-size: clamp(50px, 5.9vw, 83px);
  line-height: 1.06;
  letter-spacing: -4px;
  font-weight: 600;
  margin-bottom: 30px;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-content>p {
  color: #e0dbd9;
  line-height: 1.9;
  font-size: 14px;
  max-width: 425px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 48px;
  font-size: 10px;
  color: #d8d1cf;
  letter-spacing: .4px;
}

.hero-note span {
  color: var(--accent);
  margin-right: 15px;
}

.photo-label {
  position: absolute;
  right: 36px;
  bottom: 35px;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.photo-label span {
  margin-left: 28px;
}

/* Beneficios y servicios de inicio. */
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 33px 0;
  border-bottom: 1px solid var(--line);
}

.value-strip>div {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}

.value-strip>div:first-child {
  padding-left: 0;
}

.value-strip>div:last-child {
  border-right: 0;
}

.value-strip>div>span {
  font-size: 11px;
  color: #a4262e;
}

.value-strip p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.value-strip small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}

.home-intro {
  max-width: 530px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  margin-top: 23px;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 45px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.home-service-link {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-right: 1px solid var(--line);
  transition: background .2s;
}

.home-service-link:first-child {
  padding-left: 0;
}

.home-service-link:last-child {
  border-right: 0;
}

.home-service-link:hover {
  background: #fbefed;
}

.home-service-link h3 {
  font-size: 25px;
  line-height: 1.3;
  margin-top: 25px;
}

.home-service-link p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.service-action {
  margin-top: auto;
  padding-top: 15px;
  font-size: 12px;
  font-weight: 700;
}

.service-number {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #a4262e;
  font-weight: 700;
  margin-bottom: 18px;
}

.home-contact {
  background: var(--accent);
  padding: 55px 0;
}

.home-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-contact .eyebrow {
  color: #262b30;
}

.home-contact h2 {
  font-size: 34px;
}

.home-contact p {
  font-size: 13px;
  margin: 15px 0 0;
}

.home-contact .button {
  background: var(--navy);
  color: white;
  flex-shrink: 0;
}

/* Servicios e ilustraciones referenciales. */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr .85fr;
  gap: 22px;
}

.service {
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}

.service-art {
  height: 196px;
  position: relative;
  overflow: hidden;
  background: #f3eeeb;
  padding: 12px;
}

.service-art>span {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #e6deda;
  position: absolute;
  top: 12px;
  left: 20px;
}

.service-art svg {
  width: 100%;
  height: 100%;
  position: relative;
  fill: #fff;
  stroke: #777577;
  stroke-width: 2;
}

.service-art .glass {
  fill: #555458;
}

.service-art .line {
  fill: none;
  stroke: #c9c1be;
}

.service-art circle {
  fill: #303034;
  stroke: none;
}

.service-art .hub {
  fill: #b5adaa;
}

.service-art small {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 7px;
  letter-spacing: 1px;
  color: #71696a;
}

.service-body {
  padding: 26px;
}

.service-body p,
.custom-service p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.service-body a,
.custom-service a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 25px;
}

.service-body a span,
.custom-service a span {
  font-size: 20px;
}

.custom-service {
  background: var(--navy);
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.custom-service .service-number {
  color: var(--accent);
}

.custom-service .route-symbol {
  font-size: 68px;
  color: var(--accent);
  line-height: 1;
  margin: 7px 0 27px;
}

.custom-service h3 {
  font-size: 28px;
  line-height: 1.25;
}

.custom-service p {
  color: #d9d2cf;
}

.custom-service a {
  margin-top: auto;
  border-color: #6d6365;
}

/* Nosotros, historia y unidades. */
.about {
  padding: 85px 0;
  background: #faf5f2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-grid p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

.about-grid .large-copy {
  font-size: 23px;
  line-height: 1.65;
  color: var(--ink);
}

.dark {
  margin-top: 15px;
}

.fleet-row {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 27px 0;
}

.fleet-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.fleet-mark {
  font-size: 35px;
  color: var(--ink);
  background: var(--accent);
  padding: 12px 20px;
}

.fleet-row h3 {
  margin-bottom: 9px;
}

.fleet-row p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.fleet-row>a {
  margin-left: auto;
  font-size: 24px;
  padding: 12px;
}

/* Respaldo documental. */
.trust {
  background: var(--navy);
  color: white;
  padding: 85px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.trust h2 {
  margin-bottom: 23px;
}

.trust p {
  font-size: 13px;
  color: #d9d2cf;
  line-height: 1.9;
  max-width: 360px;
}

.outline {
  background: transparent;
  color: white;
  border-color: #817477;
  margin-top: 15px;
}

.outline:hover {
  color: var(--ink);
}

.trust-list article {
  display: flex;
  gap: 25px;
  padding: 23px 0;
  border-bottom: 1px solid #51494b;
}

.trust-list article:first-child {
  padding-top: 0;
}

.trust-list article>span {
  color: var(--accent);
  font-size: 11px;
  padding-top: 5px;
}

.trust-list h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.trust-list p {
  margin-bottom: 0;
}

/* Cotizacion: los datos y el envio por WhatsApp se mantienen. */
.quote {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 85px;
}

.quote-intro {
  padding-top: 25px;
}

.quote-intro .page-heading {
  font-size: 47px;
  margin-bottom: 25px;
}

.quote-intro .page-heading>span {
  color: #a4262e;
}

.quote-intro>p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 330px;
}

.quote-detail {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 25px;
  display: flex;
  gap: 20px;
}

.quote-detail>span {
  font-size: 30px;
  color: #a4262e;
}

.quote-detail strong {
  font-size: 13px;
}

.quote-detail p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}

form {
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
}

form h3 {
  font-size: 23px;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px;
}

label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8cecb;
  background: #fffdfc;
  padding: 12px;
  font-size: 12px;
  color: var(--ink);
  min-height: 43px;
  border-radius: 0;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #a4262e;
  outline-offset: 1px;
}

input::placeholder,
textarea::placeholder {
  color: #7d7374;
}

select {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 15px;
  margin-bottom: 18px;
}

textarea {
  resize: vertical;
}

.privacy {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin: 16px 0;
}

.submit {
  width: 100%;
}

#form-status {
  font-size: 12px;
  margin: 13px 0 0;
  line-height: 1.7;
}

#request-result {
  margin-top: 22px;
}

.copy-button {
  background: var(--navy);
  color: white;
  border: 0;
  padding: 12px;
  cursor: pointer;
  margin-top: 8px;
}

/* Contacto y horarios en el pie de todas las paginas. */
footer {
  background: #f6efec;
  padding: 45px 0 25px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 35px;
}

.footer-main>p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}

.company-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.company-contact a:hover {
  text-decoration: underline;
}

.business-hours {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
}

.business-hours strong {
  display: block;
  margin-bottom: 5px;
}

.business-hours p {
  margin: 0;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e6dcd7;
  padding-top: 22px;
  font-size: 10px;
  color: var(--muted);
}

/* Datos corporativos y documentos descargables. */
.company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
  margin-top: 35px;
}

.company-facts>div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.company-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.company-facts .fact-wide {
  grid-column: 1 / -1;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 35px;
}

.document-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  display: flex;
  flex-direction: column;
}

.document-card h3 {
  font-size: 22px;
  line-height: 1.4;
}

.document-card p,
.document-scope p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.document-card .button {
  margin-top: auto;
  padding: 14px;
  line-height: 1.7;
}

.document-card details {
  margin-top: 20px;
  font-size: 12px;
}

.document-card summary {
  cursor: pointer;
  padding: 10px 0;
}

.document-card details a {
  text-decoration: underline;
}

.document-scope {
  margin-top: 30px;
  padding: 25px;
  background: var(--cream);
  border-left: 3px solid #bc3038;
}

.document-scope p:last-child {
  margin-bottom: 0;
}

/* Campos y objetivos tactiles para pantallas pequenas. */
.form-grid>div,
.quote>*,
.about-grid>*,
.trust-grid>* {
  min-width: 0;
}

fieldset {
  min-width: 0;
  margin: 24px 0;
  padding: 22px 18px;
  border: 1px solid var(--line);
}

fieldset legend {
  font-size: 14px;
  font-weight: 700;
  padding: 0 8px;
}

#cargo-type {
  margin-bottom: 18px;
}

.form-grid select {
  margin-bottom: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .document-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .company-facts {
    grid-template-columns: 1fr;
  }

  .company-facts .fact-wide {
    grid-column: auto;
  }

  .document-card {
    padding: 22px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 48px;
    max-width: 100%;
  }

  nav a,
  .company-contact>a,
  .copy-button {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .faq summary,
  .document-card summary {
    min-height: 44px;
  }

  .footer-bottom a {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: clamp(32px, 8.2vw, 40px);
  }

  .button {
    white-space: normal;
    line-height: 1.6;
  }

  .hero-note span {
    display: block;
    margin-bottom: 5px;
  }
}

/* Adaptacion a tablets. */
/* Explorador accesible y preguntas frecuentes. */
.button,
.home-service-link,
.explorer-option {
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.button {
  border-radius: 7px;
}

.button:hover {
  transform: translateY(-2px);
}

.service-explorer {
  padding-top: 70px;
  padding-bottom: 30px;
}

.explorer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.explorer-heading h2 {
  font-size: clamp(28px, 3vw, 39px);
}

.explorer-heading>p {
  max-width: 260px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13px;
  margin-bottom: 0;
}

.explorer-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 32px 0 0;
}

.explorer-option {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  background: #f8f4f2;
  padding: 22px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font-size: 12px;
}

.explorer-option span {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
}

.explorer-option[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.explorer-option:hover {
  box-shadow: 0 -4px 0 var(--accent);
}

.explorer-panel {
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: space-between;
  padding: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0 0 12px 12px;
}

.explorer-panel>div {
  max-width: 650px;
}

.explorer-panel .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.explorer-panel h3 {
  font-size: 25px;
  margin-bottom: 15px;
}

.explorer-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 0;
}

.explorer-panel .button {
  flex-shrink: 0;
  max-width: 280px;
  line-height: 1.6;
}

.home-service-link {
  border-radius: 10px;
}

.home-service-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px #262b3010;
}

.faq {
  padding-top: 15px;
}

.faq h2 {
  margin-bottom: 35px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 25px;
  font-weight: 400;
  color: #a4262e;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.faq summary:focus-visible {
  outline: 2px solid #a4262e;
  outline-offset: 5px;
}

@media (max-width: 1050px) {
  .explorer-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}

@media (max-width: 760px) {
  .service-explorer {
    padding-top: 45px;
  }

  .explorer-heading {
    display: block;
  }

  .explorer-heading>p {
    margin-top: 20px;
    max-width: none;
  }

  .explorer-options {
    gap: 7px;
  }

  .explorer-option {
    flex-direction: column;
    gap: 8px;
    padding: 15px 8px;
    text-align: center;
  }

  .explorer-option span {
    font-size: 13px;
  }

  .explorer-panel {
    padding: 25px 20px;
  }

  .explorer-panel h3 {
    font-size: 22px;
  }

  .faq summary {
    font-size: 14px;
  }
}

@media (max-width: 1050px) {
  .container {
    width: calc(100% - 50px);
  }

  nav {
    gap: 14px;
  }

  .logo-window {
    width: 185px;
  }

  h1 {
    font-size: 64px;
  }

  .photo-label {
    display: none;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }

  .custom-service {
    grid-column: 1 / -1;
  }

  .custom-service .route-symbol {
    font-size: 45px;
    margin: 0 0 20px;
  }

  .custom-service a {
    margin-top: 15px;
  }

  .about-grid,
  .trust-grid,
  .quote {
    gap: 40px;
  }

  .home-service-link {
    padding: 25px;
  }

  .home-service-link h3 {
    font-size: 21px;
  }
}

/* Adaptacion a celulares. */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .topbar {
    font-size: 8px;
  }

  .topbar span {
    display: none;
  }

  .nav {
    height: 82px;
  }

  .logo-window {
    width: 195px;
    height: 66px;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    padding: 10px;
    font-size: 25px;
    color: var(--ink);
  }

  nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px;
    border-bottom: 1px solid var(--line);
  }

  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-photo {
    inset: 0;
    background-position: 65% center;
  }

  .hero::after {
    background: linear-gradient(90deg, #262b30f5, #262b30b0);
  }

  .hero-content {
    padding-top: 55px;
    padding-bottom: 50px;
  }

  h1 {
    font-size: clamp(42px, 10vw, 62px);
    letter-spacing: -2px;
  }

  .hero-content>p {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .hero-note {
    line-height: 1.8;
  }

  .value-strip {
    grid-template-columns: 1fr;
    padding: 5px 0;
  }

  .value-strip>div,
  .value-strip>div:first-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-strip>div:last-child {
    border: 0;
  }

  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading>p {
    margin-top: 25px;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .home-service-link,
  .home-service-link:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 27px 0;
  }

  .home-service-link h3 {
    margin-top: 10px;
    font-size: 24px;
  }

  .home-contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-contact h2 {
    font-size: 30px;
  }

  .services,
  .about-grid,
  .trust-grid,
  .quote {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .custom-service {
    grid-column: auto;
  }

  .about,
  .trust {
    padding: 55px 0;
  }

  .about-grid .large-copy {
    font-size: 20px;
  }

  .fleet-row {
    gap: 15px;
  }

  .fleet-mark {
    font-size: 25px;
    padding: 10px;
  }

  .fleet-row h3 {
    font-size: 18px;
  }

  .fleet-row p {
    font-size: 12px;
  }

  .quote-intro {
    padding-top: 0;
  }

  .quote-intro .page-heading {
    font-size: 38px;
  }

  form {
    padding: 25px 18px;
  }

  .form-grid {
    gap: 16px 12px;
  }

  .footer-main {
    flex-wrap: wrap;
  }

  .company-contact {
    width: 100%;
    border-top: 1px solid #e6dcd7;
    padding-top: 25px;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-bottom>span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Encabezado principal de las paginas interiores. */
.page-heading {
  font-size: clamp(30px, 3.3vw, 45px);
  font-weight: 600;
  letter-spacing: -1.6px;
  line-height: 1.2;
  margin-bottom: 0;
}
.admin-shell { max-width: 780px; padding-top: 48px; padding-bottom: 64px; }
.admin-shell h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.admin-card { border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 5vw, 36px); background: white; }
.admin-form { display: grid; gap: 14px; max-width: 440px; }
.admin-form input { width: 100%; min-height: 46px; padding: 10px 12px; font-size: 16px; border: 1px solid #68666a; border-radius: 8px; }
.admin-form .button { margin-top: 12px; }
.admin-nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 24px 0; }
.admin-nav form { margin: 0; }
.admin-error { padding: 14px; color: #861c24; background: #fff0f0; border-radius: 8px; }

/* Identidad ALVISA: rojo del logotipo, grafito y superficies c?lidas. */
:root {
  --brand-red: #bc3038;
  --brand-red-hover: #9e242c;
  --brand-light: #ff9a9f;
  --graphite: #262b30;
}
.button, .fleet-mark { color: #fff; }
.button { border-radius: 6px; transition: background .2s, box-shadow .2s; }
.button:hover { background: var(--brand-red-hover); box-shadow: 0 4px 16px #bc303824; }
.hero .eyebrow, .hero h1 em, .hero-note span,
.custom-service .service-number, .custom-service .route-symbol,
.trust-list article > span { color: var(--brand-light); }
.hero .eyebrow i { background: var(--brand-light); }
.home-contact { background: #fbefed; border-top: 1px solid #ead7d3; }
.home-contact .eyebrow { color: #a4262e; }
.home-service-link { border-top: 3px solid var(--brand-red); }
nav a[aria-current='page']:not(.button) { color: #a4262e; text-decoration-thickness: 2px; }
.explorer-option[aria-pressed="true"] { border-top: 4px solid var(--brand-red); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-red); outline-offset: 3px;
}
.admin-shell > a { color: #a4262e; font-weight: 600; }
.admin-card { border-top: 4px solid var(--brand-red); box-shadow: 0 12px 36px #262b3008; }
.admin-nav { position: static; background: transparent; padding: 0; }
.admin-nav form { padding: 0; border: 0; background: transparent; box-shadow: none; }
.admin-nav a { text-decoration-color: var(--brand-red); }
.client-multiline { white-space: pre-wrap; overflow-wrap: anywhere; }
.client-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.client-details dt { font-weight: 700; color: #555; }
.client-details dd { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .admin-nav { display: flex; width: auto; border: 0; }
}
