/* Editorial layouts used by the secondary pages. Shared chrome stays in site.css. */
.section-soft {
  background: var(--paper, #f5f6f7);
  border-block: 1px solid #e9edf1;
}

.section-head:has(> .eyebrow) {
  display: block;
  max-width: 810px;
}
.section-head:has(> .eyebrow) > .eyebrow {
  color: var(--orange-dark, #b84208);
  margin-bottom: 15px;
  max-width: none;
}
.section-head:has(> .eyebrow) h2 { margin-bottom: 22px; }
.section-head:has(> .eyebrow) > p:not(.eyebrow) {
  max-width: 730px;
  margin-bottom: 20px;
}
.split > .section-head { margin-bottom: 0; }
.section-head:has(> .eyebrow) .button { margin-top: 8px; }

.page-hero > .split {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(35px, 5vw, 74px);
}
.page-hero > .split h1 {
  font-size: clamp(39px, 3.8vw, 58px);
  line-height: 1.09;
}
.page-hero > .split .lead { font-size: 17px; }
.page-hero figure.hero-image {
  margin: 0;
  max-height: none;
  overflow: visible;
}
.page-hero figure.hero-image img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border-radius: 6px;
}
.page-hero figure.hero-image figcaption {
  font-size: 9px;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 420px;
}
.page-hero .breadcrumb {
  align-items: baseline;
  flex-wrap: wrap;
  line-height: 1.7;
}
.page-hero .breadcrumb a { text-underline-offset: 4px; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero + .section { padding-top: 40px; }

.card.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.card.service-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.card.service-card .eyebrow {
  margin-bottom: 10px;
  font-size: 9px;
  letter-spacing: .11em;
}
.card.service-card h3 {
  margin-top: 0;
  line-height: 1.2;
}
.card.service-card h3 a:hover { color: var(--orange-dark, #b84208); }
.card.service-card .text-link { margin-top: auto; }
.section > .container > .grid-2 + p { margin: 28px 0 0; }
.section .card.card-body > p:last-child { margin-bottom: 0; }
.section .card.card-body .checklist:last-child { margin-bottom: 0; }
.section > .container.callout {
  margin-block: 0;
  padding: 36px 40px;
}
.section > .container.callout h2 { max-width: 820px; }
.section > .container.callout p { max-width: 890px; }
.section .grid-2 > .callout { margin-block: 0; }
.section .callout .text-link { margin-top: 10px; }

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.button-row + .muted {
  margin-top: 18px;
  font-size: 12px;
}

.table-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  background: #fff;
  border: 1px solid var(--line, #dce1e6);
  border-radius: 6px;
}
.comparison-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
}
.comparison-table th,
.comparison-table td {
  padding: 23px 26px;
  vertical-align: top;
}
.comparison-table thead {
  background: var(--navy, #061b52);
  color: #fff;
}
.comparison-table thead th {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
}
.comparison-table tbody th {
  width: 22%;
  min-width: 145px;
  color: var(--navy, #061b52);
  font-size: 13px;
  font-weight: 700;
}
.comparison-table tbody td { width: 39%; color: var(--muted, #5f6b7a); }
.comparison-table tbody tr + tr { border-top: 1px solid var(--line, #dce1e6); }
.comparison-table tbody tr:nth-child(even) { background: #f9fafb; }
.table-wrap + p { margin-top: 26px; margin-bottom: 0; }

.page-destinations .card.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
}
.page-destinations .card.card-body h2 { font-size: 30px; }
.page-destinations .card.card-body > p:not(.eyebrow) { font-size: 14px; }
.page-destinations .card.card-body .text-link { margin-top: auto; }
.page-about .section .split > img.hero-image {
  max-height: none;
  aspect-ratio: 1.1;
  object-fit: cover;
}
.page-about .grid-3 .card { padding: 30px; }
.page-about .grid-3 .card > p { font-size: 13px; color: var(--muted, #5f6b7a); }
.page-about .grid-3 .card .eyebrow { margin-bottom: 15px; }
.page-about .grid-3 .card .text-link { font-size: 12px; gap: 12px; }

.page-guides .grid-3 .card h2 { font-size: 28px; margin-bottom: 18px; }
.page-guides .grid-3 .card > p:not(.eyebrow) {
  color: var(--muted, #5f6b7a);
  font-size: 13px;
}
.page-guides #preparacion .split { align-items: start; }
.page-guides .numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cargo-checklist;
}
.page-guides .numbered-list li {
  counter-increment: cargo-checklist;
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 13px;
  line-height: 1.8;
}
.page-guides .numbered-list li + li { border-top: 1px solid #edf0f3; }
.page-guides .numbered-list li::before {
  content: counter(cargo-checklist, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--orange-dark, #b84208);
  font-size: 10px;
  font-weight: 800;
}
#cargo-volume-form .fields-grid { margin-bottom: 24px; }
#cargo-volume-form > .button { width: 100%; }
.volume-result {
  display: block;
  min-height: 84px;
  margin-top: 22px;
  padding: 20px;
  background: #f1f4f8;
  border-left: 3px solid var(--orange, #dc6018);
  border-radius: 3px;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 650;
  color: var(--navy, #061b52);
  overflow-wrap: anywhere;
}
.glossary { margin: 0; }
.glossary .card { padding: 27px 30px; }
.glossary dt h3 { font-size: 21px; margin-bottom: 14px; }
.glossary dd {
  margin: 0;
  color: var(--muted, #5f6b7a);
  font-size: 13px;
  line-height: 1.85;
}

.faq-nav {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line, #dce1e6);
  gap: 10px;
}
.faq-nav .button {
  font-size: 11px;
  min-height: 45px;
  padding: 12px 16px;
  border-color: #c7d0df;
}
.faq-group { padding-top: 55px; max-width: 980px; }
.faq-group h2 { font-size: 29px; margin-bottom: 26px; }
.faq-group .faq-list summary {
  font-size: 15px;
  line-height: 1.7;
  min-height: 28px;
}
.faq-group .faq-list summary::after {
  content: '+';
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid #e1e6ed;
  border-radius: 50%;
  color: var(--orange-dark, #b84208);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.faq-group .faq-list details[open] summary::after { content: '−'; }
.faq-group .faq-list details[open] summary { color: var(--orange-dark, #b84208); }
.faq-group .faq-list details p { max-width: 850px; padding-right: 46px; font-size: 14px; }
.faq-group .faq-list details { padding: 23px 0; }
.faq-group .faq-list details[open] { padding-bottom: 26px; }

.legal-copy { max-width: 850px; }
.legal-copy h2 {
  font-size: 25px;
  margin-bottom: 17px;
  line-height: 1.25;
}
.legal-copy h2:not(:first-child) {
  border-top: 1px solid var(--line, #dce1e6);
  margin-top: 38px;
  padding-top: 32px;
}
.legal-copy p { font-size: 14px; line-height: 1.95; color: var(--muted, #5f6b7a); }
.legal-copy p a { color: var(--navy, #061b52); text-decoration: underline; text-underline-offset: 4px; }
.legal-copy > .button { margin-top: 8px; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .page-services > main .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero > .split { gap: 35px; }
  .page-hero > .split h1 { font-size: 43px; }
  .page-hero > .split .lead { font-size: 15px; }
  .page-hero figure.hero-image img { aspect-ratio: 1; }
  .page-about .grid-3 .card { padding: 24px; }
  .page-about .grid-3 .card h3 { font-size: 21px; }
}

@media (max-width: 800px) {
  .page-hero > .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .page-hero > .split h1 { max-width: 740px; font-size: 48px; }
  .page-hero > .split .lead { max-width: 670px; font-size: 17px; }
  .page-hero figure.hero-image img { aspect-ratio: 1.85; }
  .page-guides #preparacion .split,
  .page-guides #calculadora .split { grid-template-columns: minmax(0, 1fr); }
  .page-guides #cargo-volume-form .fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-destinations .card.card-body { padding: 27px; }
  .page-destinations .card.card-body h2 { font-size: 27px; }
  .section > .container.callout { padding: 30px; }
}

@media (max-width: 680px) {
  .page-services > main .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .page-hero > .split h1 { font-size: clamp(35px, 9.2vw, 44px); }
  .page-hero > .split .lead { font-size: 15px; }
  .page-hero figure.hero-image img { aspect-ratio: 1.45; }
  .page-hero figure.hero-image figcaption { font-size: 8px; margin-top: 9px; }
  .page-hero + .section { padding-top: 23px; }
  .section-head:has(> .eyebrow) > p:not(.eyebrow) { font-size: 14px; }
  .split > .section-head h2 { font-size: 31px; }
  .card.service-card h3 { font-size: 24px; }
  .section > .container.callout { padding: 25px 23px; }
  .section .grid-2 > .callout { padding: 24px; }
  .section .callout h2 { font-size: 28px; }
  .button-row { align-items: stretch; }
  .button-row > .button { justify-content: center; }
  .page-guides .button-row > .button { width: 100%; }
  .comparison-table { min-width: 620px; font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 20px; }
  .page-destinations .card.card-body { padding: 27px 25px; }
  .page-about .section .split > img.hero-image { aspect-ratio: 1.3; }
  .page-about .grid-3 .card { padding: 27px; }
  .page-guides .numbered-list li { padding-left: 32px; font-size: 12px; }
  .page-guides #cargo-volume-form { padding: 25px 22px; }
  .volume-result { min-height: 75px; padding: 18px; font-size: 14px; }
  .glossary .card { padding: 25px; }
  .faq-nav { gap: 8px; padding-bottom: 25px; }
  .faq-nav .button { flex: 1 1 145px; padding: 11px 13px; font-size: 10px; }
  .faq-group { padding-top: 38px; }
  .faq-group h2 { font-size: 26px; margin-bottom: 23px; }
  .faq-group .faq-list summary { font-size: 13px; gap: 14px; }
  .faq-group .faq-list details { padding: 19px 0; }
  .faq-group .faq-list details p { padding-right: 0; font-size: 13px; }
  .legal-copy h2 { font-size: 23px; }
  .legal-copy p { font-size: 13px; }
}

@media print {
  .page-hero figure.hero-image,
  .page-guides #calculadora,
  .faq-nav { display: none !important; }
  .page-guides .section-soft { background: white; border: 0; }
  .page-guides .section { padding-block: 20px; }
  .page-guides .card { border-color: #bbb; padding: 20px; }
  .page-guides .numbered-list li { break-inside: avoid; }
  .page-guides #preparacion .card { break-inside: auto; }
  .page-guides .glossary > div { break-inside: avoid; }
  .section-head:has(> .eyebrow) { display: block; }
  .table-wrap { overflow: visible; }
  .comparison-table { min-width: 0; font-size: 10px; }
  .comparison-table th, .comparison-table td { padding: 10px; }
  .comparison-table thead { background: #eee; color: #000; }
  .faq-group { padding-top: 20px; }
}
