:root {
  --bg: #f3f0eb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #172011;
  --muted: #5f6959;
  --line: rgba(23, 32, 17, 0.08);
  --red: #651313;
  --red-deep: #4f0d0d;
  --gold: #8b775d;
  --ink: #091305;
  --shadow: 0 24px 60px rgba(9, 19, 5, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(101, 19, 19, 0.14), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(36, 60, 20, 0.14), transparent 24%),
    linear-gradient(180deg, #f1ede7 0%, var(--bg) 48%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.35;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.nav a,
.nav-cta,
.button,
.quote-card-head strong,
.section-heading h2,
.service-card h3,
.benefit-grid h3,
.process-grid h3,
.footer h2,
.route-list h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 148px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 17, 0.08);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.lang-button.active {
  background: var(--ink);
  color: white;
}

.lang-button:hover,
.lang-button:focus-visible {
  background: rgba(23, 32, 17, 0.08);
  color: var(--ink);
}

.nav a,
.nav-cta,
.button {
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible,
.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--red);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
}

.nav-cta,
.button-primary {
  background: var(--ink);
  color: white;
}

.button-secondary {
  color: var(--ink);
  border: 1px solid rgba(23, 32, 17, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.nav-cta:hover,
.button:hover,
.nav-cta:focus-visible,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero {
  display: block;
  padding: 78px 54px 74px;
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  min-height: 560px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 240, 235, 0.9) 0%, rgba(243, 240, 235, 0.7) 30%, rgba(243, 240, 235, 0.3) 56%, rgba(243, 240, 235, 0.16) 100%),
    linear-gradient(180deg, rgba(101, 19, 19, 0.06) 0%, rgba(36, 60, 20, 0.12) 100%),
    url("assets/hero-logistics-bg.png") right 18px center / contain no-repeat;
  transform: scale(1);
}

.hero-copy,
.quote-card {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 530px;
  padding: 18px 20px 22px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.62) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(9, 19, 5, 0.06);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 800;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(101, 19, 19, 0.08);
  box-shadow: 0 10px 24px rgba(9, 19, 5, 0.05);
}

.hero h1,
.footer h2,
.section-heading h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.85rem);
  max-width: 10.5ch;
  line-height: 0.96;
}

.hero-text {
  color: rgba(23, 32, 17, 0.78);
  font-size: 1.08rem;
  line-height: 1.68;
  max-width: 40ch;
  margin: 20px 0 0;
}

.hero-intro {
  margin: 0 0 16px;
  max-width: 48ch;
  color: var(--red);
  font-size: 0.78rem;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hero-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(23, 32, 17, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(9, 19, 5, 0.08);
}

.hero-cta-primary {
  background: var(--ink);
  color: #fff;
}

.hero-cta-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.15;
}

.hero-cta-note {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-cta-primary .hero-cta-note {
  color: rgba(255, 255, 255, 0.76);
}

.hero-cta-card:hover,
.hero-cta-card:focus-visible {
  transform: translateY(-2px);
}

.hero-cta-card:hover .hero-cta-note,
.hero-cta-card:focus-visible .hero-cta-note {
  color: inherit;
}

.quote-card,
.testimonial-card,
.contact-panel {
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.quote-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  max-width: 520px;
  width: 100%;
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: auto -70px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 19, 19, 0.18), transparent 66%);
}

.hero h1 {
  color: var(--ink);
  text-shadow: none;
}

.hero .button {
  padding: 12px 18px;
}

.quote-card-head p,
.quote-note,
.section-heading.compact h2,
.route-list p,
.benefit-grid p,
.process-grid p,
.footer-copy p,
.contact-panel p {
  color: var(--muted);
}

.quote-card-head p {
  font-size: 0.98rem;
  margin: 0 0 8px;
}

.quote-card-head strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.quote-section {
  padding-top: 34px;
}

.quote-section-heading {
  max-width: 580px;
}

.quote-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
  margin-top: 28px;
}

.quote-section-copy {
  padding: 0;
  max-width: 640px;
  text-align: center;
}

.quote-section-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: none;
}

.quote-form {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.quote-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.quote-progress-step {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 32, 17, 0.12);
  background: rgba(243, 240, 235, 0.86);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.quote-progress-step.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.quote-progress-step.is-complete {
  background: rgba(101, 19, 19, 0.1);
  border-color: rgba(101, 19, 19, 0.18);
  color: var(--red);
}

.quote-step-label {
  margin: 0 0 6px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-step {
  display: grid;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 700;
}

.quote-form input {
  width: 100%;
  border: 1px solid rgba(23, 32, 17, 0.1);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 17, 0.1);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  resize: vertical;
  min-height: 92px;
  background: rgba(255, 255, 255, 0.9);
}

.quote-form select {
  width: 100%;
  border: 1px solid rgba(23, 32, 17, 0.1);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  appearance: none;
}

.quote-form input:focus-visible {
  outline: 2px solid rgba(101, 19, 19, 0.25);
  outline-offset: 2px;
}

.quote-form textarea:focus-visible {
  outline: 2px solid rgba(101, 19, 19, 0.25);
  outline-offset: 2px;
}

.quote-form select:focus-visible {
  outline: 2px solid rgba(101, 19, 19, 0.25);
  outline-offset: 2px;
}

.split-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.button-wide {
  width: 100%;
  border: 0;
  cursor: pointer;
  margin-top: 4px;
}

.quote-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.quote-actions .button {
  flex: 1 1 0;
}

.quote-back[hidden],
.quote-next[hidden],
.quote-submit[hidden],
.quote-step[hidden] {
  display: none !important;
}

.quote-helper,
.form-status {
  color: var(--muted);
  line-height: 1.6;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-helper {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(243, 240, 235, 0.72);
  border: 1px solid rgba(23, 32, 17, 0.08);
  font-size: 0.92rem;
}

.form-status.is-success {
  color: #1d4d29;
  background: rgba(222, 244, 227, 0.92);
  border-color: rgba(29, 77, 41, 0.16);
}

.form-status.is-error {
  color: #7a1f1f;
  background: rgba(255, 230, 230, 0.96);
  border-color: rgba(122, 31, 31, 0.16);
}

.form-status.is-pending {
  color: #5a4a1e;
  background: rgba(252, 243, 214, 0.96);
  border-color: rgba(90, 74, 30, 0.16);
}

.email-preview {
  width: 100%;
  margin-top: 12px;
  min-height: 180px;
  border: 1px solid rgba(23, 32, 17, 0.08);
  border-radius: 18px;
  background: rgba(250, 248, 244, 0.98);
  padding: 14px 15px;
  font: 0.92rem/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: var(--text);
  resize: vertical;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.trust-band div {
  padding: 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 33, 38, 0.08);
}

.trust-band strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
}

.trust-band span {
  color: var(--muted);
}

.section {
  padding: 86px 0 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.section-heading h2,
.footer h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.story-grid,
.detail-grid,
.stats-panel,
.testimonial-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.service-grid,
.benefit-grid,
.process-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

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

.service-card,
.benefit-grid article,
.process-grid article {
  padding: 26px;
  border-radius: 28px;
}

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card span,
.process-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--red);
}

.service-card h3,
.route-list h3,
.benefit-grid h3,
.process-grid h3 {
  margin: 16px 0 10px;
  font-size: 1.5rem;
}

.service-card p,
.route-list p,
.benefit-grid p,
.process-grid p,
.testimonial-card span,
.contact-panel p,
.footer-copy p {
  line-height: 1.7;
}

.accent-red {
  background: linear-gradient(180deg, #651313, #4f0d0d);
  color: white;
}

.accent-red span,
.accent-red p {
  color: rgba(255, 255, 255, 0.8);
}

.accent-sand {
  background: linear-gradient(180deg, #ece8e0, #dcd5c9);
}

.accent-dark {
  background: linear-gradient(180deg, #243c14, #14270b);
  color: white;
}

.accent-dark span,
.accent-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.accent-line {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(24, 33, 38, 0.1);
}

.route-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-top: 30px;
  align-items: stretch;
}

.route-list,
.route-visual,
.story-card,
.detail-card,
.stats-panel,
.testimonial-mini,
.benefit-grid article,
.process-grid article,
.testimonial-card,
.footer {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(24, 33, 38, 0.08);
  border-radius: 30px;
}

.route-list {
  padding: 28px;
}

.story-grid {
  grid-template-columns: 1.15fr 1fr 0.85fr;
}

.story-card,
.detail-card,
.testimonial-mini {
  padding: 28px;
}

.story-card h3,
.detail-card h3,
.testimonial-mini h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.story-card p,
.detail-card p,
.testimonial-mini p,
.stats-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.story-card-main {
  background: linear-gradient(180deg, #f2f0eb, #e7e3db);
}

.accent-plain {
  background: linear-gradient(180deg, #ffffff, #f2efe9);
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(24, 33, 38, 0.08);
  border-radius: 26px;
}

.route-list article + article {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 33, 38, 0.08);
}

.route-visual {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #eef1e8, #dde5d5);
}

.route-map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stats-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 28px;
}

.stats-panel strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

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

.benefit-grid article,
.process-grid article {
  padding: 28px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dark-cta-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #243c14, #091305);
  color: white;
  box-shadow: var(--shadow);
}

.dark-cta-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.dark-cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.dark-cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.light-button {
  background: white;
  color: var(--ink);
}

.ghost-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-section {
  padding-bottom: 86px;
}

.testimonial-grid {
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  align-items: stretch;
}

.testimonial-card {
  padding: 36px;
}

.testimonial-card blockquote {
  margin: 0;
  max-width: 26ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.testimonial-card span {
  display: inline-block;
  margin-top: 20px;
}

.testimonial-mini {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 34px;
  margin-bottom: 32px;
}

.contact-panel {
  padding: 28px;
}

.contact-panel a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}

.contact-panel a + a {
  margin-top: 14px;
}

.contact-panel .contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1f8f4d;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.contact-panel .contact-whatsapp:hover,
.contact-panel .contact-whatsapp:focus-visible {
  color: #fff;
  background: #17753f;
}

.contact-panel p {
  margin: 18px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 1080px) {
  .route-layout,
  .quote-section-layout,
  .route-layout,
  .footer,
  .story-grid,
  .detail-grid,
  .stats-panel,
  .testimonial-grid,
  .dark-cta-card,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-grid,
  .trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-background {
    background:
      linear-gradient(90deg, rgba(243, 240, 235, 0.92) 0%, rgba(243, 240, 235, 0.74) 34%, rgba(243, 240, 235, 0.38) 62%, rgba(243, 240, 235, 0.2) 100%),
      linear-gradient(180deg, rgba(101, 19, 19, 0.06) 0%, rgba(36, 60, 20, 0.12) 100%),
      url("assets/hero-logistics-bg.png") right 10px bottom / cover no-repeat;
  }

  .service-grid article:last-child,
  .process-grid article:last-child {
    grid-column: auto;
  }

  .quote-card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    margin: 10px auto 20px;
  }

  .topbar,
  .topbar-actions,
  .nav,
  .hero-actions,
  .quote-section-layout,
  .route-layout,
  .story-grid,
  .detail-grid,
  .stats-panel,
  .testimonial-grid,
  .dark-cta-card,
  .service-grid,
  .benefit-grid,
  .process-grid,
  .footer,
  .trust-band,
  .split-fields {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    width: 100%;
  }

  .lang-switcher {
    justify-content: center;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 42px 22px 38px;
    min-height: auto;
  }

  .hero-copy {
    padding: 20px 18px 22px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .dark-cta-actions {
    justify-content: flex-start;
  }

  .section,
  .testimonial-section {
    padding-top: 64px;
  }

  .route-visual {
    min-height: 320px;
  }

  .contact-panel a {
    font-size: 1.25rem;
  }
}
