/* Logistics only: shared navigation, footer and WhatsApp remain intact. */
.log-premium {
  --log-gold: #dfba73;
  --log-paper: #f8f7f4;
}
.log-premium section {
  padding: clamp(52px, 6vw, 92px) 0;
}
.log-premium .log-dark {
  background: #111416;
  color: #f8f7f4;
}
.log-premium .log-light {
  background: var(--log-paper);
  color: #191b1d;
}
.log-premium h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin: 20px 0;
}
.log-premium h1 span {
  color: var(--log-gold);
}
.log-premium h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.17;
  letter-spacing: -.025em;
  margin: 16px 0 22px;
}
.log-premium h3 {
  font-size: 1.12rem;
  line-height: 1.45;
  margin-bottom: 14px;
}
.log-premium p {
  line-height: 1.75;
}
.log-light p {
  color: #555751;
}
.log-dark p {
  color: #cdcac4;
}
.log-premium .section-tag {
  color: #926010;
  font-size: .73rem;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
}
.log-dark .section-tag {
  color: var(--log-gold);
}
.log-hero-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
}
.log-back {
  display: block;
  color: #ccc8be;
  font-size: .83rem;
  margin-bottom: 28px;
}
.log-hero-copy {
  padding-bottom: 22px;
}
.log-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.log-premium .btn-primary {
  background: #ddb366;
  color: #17130d;
  border-color: #ddb366;
  box-shadow: none;
}
.log-premium .btn-primary:hover {
  background: #ebc783;
}
.log-premium .btn-secondary {
  background: transparent;
  color: #f8f7f4;
  border-color: #74674f;
}
.log-premium .log-note {
  margin-top: 24px;
  font-size: .87rem;
}
.log-infrastructure {
  margin-top: 32px;
  border-top: 1px solid #514735;
}
.log-infrastructure svg {
  display: block;
  width: 100%;
  height: auto;
}
.log-route {
  fill: none;
  stroke: #4b4e4d;
  stroke-width: 2;
}
.log-trailer {
  fill: #20272c;
  stroke: #82785e;
  stroke-width: 2;
}
.log-cab {
  fill: #30383e;
  stroke: #dfba73;
  stroke-width: 3;
  stroke-linejoin: round;
}
.log-glass {
  fill: #111619;
  stroke: #b8b5ac;
  stroke-width: 2;
}
.log-detail {
  fill: none;
  stroke: #dfba73;
  stroke-width: 2;
}
.log-wheels {
  fill: #121518;
  stroke: #c3c2bb;
  stroke-width: 3;
}
.log-visual-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #cfc5b3;
  font-size: .82rem;
}
.log-heading {
  max-width: 880px;
  margin-bottom: 36px;
}
.log-grid {
  display: grid;
  gap: 24px;
}
.log-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.log-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.log-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.log-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 16px;
  padding: 28px;
}
.log-dark .log-card {
  background: #1d2428;
  border-color: #3f4548;
}
.log-editorial {
  padding: 24px 0;
  border-top: 1px solid #ad8548;
}
.log-step {
  padding: 24px 0;
  border-top: 2px solid #b98a3b;
}
.log-icon {
  width: 56px;
  height: 40px;
  margin-bottom: 22px;
  color: #936211;
}
.log-link {
  color: #835509;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: auto;
  padding-top: 22px;
}
.log-dark .log-link {
  color: #e0bb76;
}
.log-product ul {
  padding-left: 19px;
  margin: 24px 0;
  color: #cdcac4;
  line-height: 1.65;
}
.log-product li + li {
  margin-top: 10px;
}
.log-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  line-height: 1.65;
}
.log-comparison caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 18px;
}
.log-comparison th,
.log-comparison td {
  width: 25%;
  padding: 20px;
  border: 1px solid #d8d4ca;
  text-align: left;
  vertical-align: top;
}
.log-comparison thead th {
  background: #1a2024;
  color: #f8f7f4;
}
.log-comparison tbody th {
  background: #ece9e1;
}
.log-initial-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  padding-left: 20px;
  line-height: 1.6;
  color: #eee8dc;
}
.log-faq {
  max-width: 940px;
}
.log-faq details {
  border-bottom: 1px solid #d8d4ca;
  padding: 19px 0;
}
.log-faq summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
}
.log-faq p {
  padding-top: 14px;
}
.log-final {
  text-align: center;
}
.log-final h2,
.log-final p {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.log-final .log-actions {
  justify-content: center;
}
.log-premium a:focus-visible,
.log-premium summary:focus-visible {
  outline: 3px solid #b77915;
  outline-offset: 5px;
}
@media (max-width: 1050px) {
  .log-hero-top {
    grid-template-columns: 1fr;
  }
  .log-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .log-comparison th,
  .log-comparison td {
    padding: 13px;
  }
}
@media (max-width: 767px) {
  .log-three,
  .log-two,
  .log-four,
  .log-initial-data {
    grid-template-columns: 1fr;
  }
  .log-actions a {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .log-infrastructure svg {
    min-height: 155px;
  }
  .log-comparison,
  .log-comparison tbody,
  .log-comparison tr,
  .log-comparison th,
  .log-comparison td {
    display: block;
    width: 100%;
  }
  .log-comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .log-comparison tr + tr {
    margin-top: 24px;
  }
  .log-comparison td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: #835509;
    margin-bottom: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .log-premium *,
  .log-premium *::before,
  .log-premium *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Menú móvil: destinos accesibles en ventanas de poca altura. */
@media (max-width: 1050px) {
  body:has(> main.log-premium) > header #main-nav.is-open {
    max-height: calc(100dvh - 120px);
    flex-wrap: nowrap;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body:has(> main.log-premium) > header #main-nav.is-open > * {
    flex-shrink: 0;
  }
}

@media (max-width: 340px) {
  body:has(> main.log-premium) > header #main-nav.is-open {
    max-height: calc(100dvh - 185px);
  }
}

/* El cierre conserva el mismo eje que sus botones y nota. */
.log-final .log-heading {
  margin-inline: auto;
}

/* Separación entre párrafos y ancho coherente con la introducción. */
.log-premium #transparencia > .container > p {
  max-width: 880px;
}

.log-premium #transparencia > .container > p + p {
  margin-top: 20px;
}

/* Compensar el encabezado fijo únicamente en escritorio. */
@media (min-width: 1051px) {
  .log-premium .log-hero {
    padding-top: calc(89px + clamp(52px, 6vw, 92px));
  }
}

/* El título acompaña el ancho de la tabla convertida en bloques. */
@media (max-width: 767px) {
  .log-comparison caption {
    display: block;
    width: 100%;
  }
}
