@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --paper: #f7f8f5;
  --ink: #173b4b;
  --muted: #526b73;
  --accent: #b49a59;
  --line: #dce3df;
  --wash: #edf2ef;
  --gutter: clamp(24px, 6.5vw, 112px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.7 Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.045em; }
h2 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.16; }
h3 { font-size: 23px; line-height: 1.35; letter-spacing: -.03em; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #eadfbf; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-accent { stroke: var(--accent); }
.social-icon { width: 21px; height: 21px; fill: currentColor; flex-shrink: 0; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 50; padding: 12px 20px; background: var(--paper); }
.skip-link:focus { top: 16px; }

/* A quiet header, with a single contact action. */
.header {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand > span { font-size: 24px; line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.brand-sub { display: block; margin-top: 7px; font-size: 10px; line-height: 1; letter-spacing: .3em; font-weight: 600; }
.desktop-nav { display: flex; gap: 32px; margin-left: auto; font-size: 16px; }
.desktop-nav a { padding: 10px 0; color: var(--muted); transition: color .25s; }
.desktop-nav a:hover { color: var(--ink); }
.header-contact { display: inline-flex; align-items: center; gap: 12px; margin-left: 28px; min-height: 44px; font-size: 16px; }
.header-contact .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.header-contact:hover .icon { transform: translateX(4px); }
.menu-toggle { display: none; }
.mobile-nav { position: absolute; top: 80px; left: 0; right: 0; padding: 16px var(--gutter) 28px; background: var(--paper); box-shadow: 0 18px 24px #173b4b08; }
.mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 56px;
  padding: 14px 25px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  transition: background .3s, border-color .3s, transform .4s var(--ease), box-shadow .3s;
}
.button:hover { background: #2d5361; border-color: #2d5361; box-shadow: 0 8px 24px #173b4b12; transform: translateY(-2px); }
.button .icon { width: 19px; height: 19px; transition: transform .3s var(--ease); }
.button:hover .icon { transform: translateX(3px); }

/* The photo banner introduces the brand; the animated process follows it. */
.hero { --accent: #f4cf63; position: relative; isolation: isolate; overflow: hidden; min-height: min(740px, calc(100svh - 96px)); display: flex; align-items: center; background: #09283e; color: #fff; }
.hero-media { position: absolute; inset: -24px 0; z-index: -3; }
.hero-image { position: absolute; top: 0; right: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 92%; filter: saturate(1.12) contrast(1.04); transform: translate3d(0, var(--image-y, 0px), 0) scale(1.025); animation: image-arrive 1.8s var(--ease) both; }
.hero-wash { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #031e33ed 0%, #031e33cc 27%, #031e3366 48%, #031e3210 73%), linear-gradient(0deg, #031e3299, #031e3200 42%, #031e3233); }
.hero-content { position: relative; padding: 56px var(--gutter) 100px; width: 100%; }
.hero-brand { font-size: clamp(80px, 10.8vw, 156px); line-height: .95; letter-spacing: -.06em; font-weight: 700; text-transform: uppercase; width: fit-content; animation: arrive 1s .18s var(--ease) both; }
.hero-brand span { display: block; font-size: 12px; line-height: 1.6; letter-spacing: .52em; padding-left: 5px; margin-top: 18px; font-weight: 500; color: var(--accent); }
.hero h1 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.15; margin-top: 34px; animation: arrive 1s .26s var(--ease) both; }
.hero-period { color: var(--accent); }
.hero-description { max-width: 370px; color: #e1e9ee; margin-top: 22px; font-size: 18px; animation: arrive 1s .34s var(--ease) both; }
.hero .button { margin-top: 30px; background: var(--accent); border-color: var(--accent); color: #09283e; animation: arrive 1s .42s var(--ease) both; }
.hero .button:hover { background: #ffe194; border-color: #ffe194; box-shadow: 0 8px 24px #041e3233; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 26px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff73; border-radius: 50%; color: #fff; transition: color .3s, border-color .3s, transform .3s; }
.scroll-cue:hover { color: var(--accent); border-color: var(--accent); transform: translateY(3px); }
.scroll-cue .icon { width: 18px; height: 18px; }
@keyframes image-arrive {
  from { opacity: 0; transform: translate3d(0, var(--image-y, 0px), 0) scale(1.1); }
  to { opacity: 1; transform: translate3d(0, var(--image-y, 0px), 0) scale(1.025); }
}

.hero-whatsapp { position: absolute; top: 24px; right: var(--gutter); z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #25d36666; border-radius: 50%; background: #09283ee6; color: #25d366; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.hero-whatsapp .social-icon { width: 26px; height: 26px; }
.hero-whatsapp:hover { background: #164b46; border-color: #25d366; transform: translateY(-2px); }
.hero-whatsapp:focus-visible { outline-color: #25d366; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.import-process { --accent: #926d24; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "intro story"; align-items: center; gap: clamp(40px, 5vw, 88px); background: #fff; color: var(--ink); border-top: 1px solid #e1e8eb; }
.process-intro { grid-area: intro; min-width: 0; }
.process-intro .eyebrow { color: #526b78; }
.process-intro > p:last-child { color: #526b78; font-size: 18px; max-width: 32ch; margin-top: 24px; }
.import-story { grid-area: story; position: relative; min-width: 0; width: 100%; max-width: 640px; margin-inline: auto; --step-progress: 0; animation: arrive 1.1s .25s var(--ease) both; }
.story-heading { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; color: #526b78; }
.story-heading > span { font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.story-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #a8bdc8; border-radius: 50%; background: transparent; color: #173b4b; transition: border-color .25s, color .25s; }
.story-toggle:hover { color: var(--accent); border-color: var(--accent); }
.story-toggle .icon { width: 18px; height: 18px; }
.story-toggle .play-icon { display: none; }
.import-story[data-user-paused="true"] .pause-icon { display: none; }
.import-story[data-user-paused="true"] .play-icon { display: block; }
.story-canvas { display: block; width: 100%; height: auto; max-height: 310px; overflow: visible; margin: 8px 0 10px; }
.story-scene { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .7s var(--ease); pointer-events: none; }
.import-story[data-step="0"] .scene-goods,
.import-story[data-step="1"] .scene-contact,
.import-story[data-step="2"] .scene-transit,
.import-story[data-step="3"] .scene-delivery { opacity: 1; transform: translateY(0); }
.scene-line { fill: none; stroke: #234f65; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted-line { stroke: #7896a5; }
.accent-line { stroke: var(--accent); }
.scene-surface { fill: #f3f7f8; stroke: #9eb7c3; stroke-width: 1.5; }
.scene-dot { fill: #7896a5; }
.product-choice { fill: #fff; stroke: #cad8df; stroke-width: 1.5; }
.selected-product { fill: #fff6df; stroke: var(--accent); }
.parcel-face { fill: #f1dfb9; }
.parcel-tape { stroke: #b18b2d; }
.vehicle-hull { fill: #e4edf2; }
.goods-cursor { transform-box: fill-box; transform-origin: center; }
.goods-check, .message-in, .delivery-check { transform-box: fill-box; transform-origin: center; }
.import-story[data-step="0"] .goods-cursor { animation: choose-goods 5s var(--ease) both; }
.import-story[data-step="0"] .goods-check { animation: stamp-in .65s 1.4s var(--ease) both; }
.import-story[data-step="1"] .message-out { animation: arrive .8s .1s var(--ease) both; }
.import-story[data-step="1"] .message-in { animation: stamp-in .8s 1.1s var(--ease) both; }
.import-story[data-step="3"] .delivered-parcel { animation: arrive 1s .1s var(--ease) both; }
.import-story[data-step="3"] .delivery-check { animation: stamp-in .7s .8s var(--ease) both; }
.import-story[data-step="3"] .delivery-confetti { animation: stamp-in 1s 1s var(--ease) both; }
.import-story[data-running="false"] *, .import-story[data-running="false"] *::after { animation-play-state: paused !important; }
.import-story[data-user-paused="true"] .goods-check,
.import-story[data-user-paused="true"] .message-out,
.import-story[data-user-paused="true"] .message-in,
.import-story[data-user-paused="true"] .delivered-parcel,
.import-story[data-user-paused="true"] .delivery-check,
.import-story[data-user-paused="true"] .delivery-confetti { animation: none; opacity: 1; transform: none; }
.advisor-halo { fill: #edf3f6; stroke: #c6ad70; stroke-width: 1.5; }
.message-bubble { fill: #e8f0f4; stroke: #aec4d0; stroke-width: 1.5; }
.reply-bubble { fill: #f4cf63; stroke: none; }
.scene-text { fill: #173b4b; font-family: Manrope, Arial, sans-serif; font-size: 24px; font-weight: 500; }
.reply-text { fill: #09283e; font-size: 23px; }
.globe-disc { fill: #f5f8fa; }
.globe-land { fill: #dbe7ed; stroke: #789aaa; stroke-width: 1.3; stroke-linejoin: round; }
.globe-outline { fill: none; stroke: #88a8b9; stroke-width: 1.5; }
.map-peru { fill: #edf3f6; stroke: #678b9d; stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.transport-route { fill: none; stroke: #b18b2d; stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.route-endpoint { fill: #09283e; stroke: #7895a3; stroke-width: 1.5; }
.destination-point { fill: var(--accent); stroke: var(--accent); }
.route-label { font: 22px Manrope, Arial, sans-serif; fill: #526b78; }
.lima-label { font: 500 18px Manrope, Arial, sans-serif; fill: #234f65; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.plane-body { fill: #e4edf2; }
.plane-cockpit, .plane-windows { fill: #234f65; }
.plane-engine { fill: #f3f7f8; }
.ship-containers { fill: #f8eacb; stroke: #234f65; stroke-width: 2; stroke-linejoin: round; }
.import-story[data-transport="sea"] .vehicle-air,
.import-story[data-transport="air"] .vehicle-sea { visibility: hidden; }
.ground-shadow { fill: #eaf0f2; }
.delivery-receipt { fill: #f3f7f8; stroke: #9eb7c3; stroke-width: 1.5; }
.receipt-fold { fill: #e8f0f4; stroke: #9eb7c3; stroke-width: 1.5; stroke-linejoin: round; }
.receipt-text { fill: #234f65; font: 500 23px Manrope, Arial, sans-serif; }
.story-caption { min-height: 80px; text-align: center; }
.story-caption h3 { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.story-caption p { color: #526b78; font-size: 16px; margin-top: 8px; }
.story-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 16px 0 0; list-style: none; }
.story-steps li { min-width: 0; }
.story-steps button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 100%; min-height: 68px; border: 0; padding: 14px 0 0; background: none; color: #526b78; font-size: 15px; line-height: 1.5; text-align: left; transition: color .25s; }
.story-steps button span { font-size: 12px; letter-spacing: .08em; }
.story-steps button::before, .story-steps button::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #cad7dd; }
.story-steps button::after { background: var(--accent); transform: scaleX(0); transform-origin: left; }
.story-steps button[aria-current="step"] { color: var(--accent); }
.story-steps button[aria-current="step"]::after { transform: scaleX(var(--step-progress)); }
.story-steps button:hover { color: var(--ink); }
.story-steps button:disabled { opacity: 1; cursor: default; }
@keyframes choose-goods { 0%, 10% { transform: translate(30px, 18px); } 32%, 42% { transform: translate(-15px, -12px); } 48%, 100% { transform: translate(-15px, -9px); } }
@keyframes stamp-in { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

.section { padding: 96px var(--gutter); }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.6; margin-bottom: 22px; }
.section-heading { margin-bottom: 56px; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.service > .icon { width: 34px; height: 34px; margin-bottom: 24px; transition: transform .5s var(--ease); }
.service:hover > .icon { transform: translateY(-4px); }
.service h3 { margin-bottom: 14px; }
.service p { max-width: 33ch; color: var(--muted); font-size: 18px; line-height: 1.75; }
.service:nth-child(2) { --reveal-delay: 80ms; }
.service:nth-child(3) { --reveal-delay: 160ms; }

.contact { background: var(--wash); text-align: center; padding-top: 88px; padding-bottom: 82px; }
.contact h2 { font-size: clamp(40px, 4.5vw, 64px); }
.contact-content > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); font-size: 18px; }
.contact .button { margin-top: 30px; }
.contact-number { display: block; width: fit-content; margin: 18px auto 0; min-height: 44px; padding: 8px 0; font-size: 16px; color: var(--muted); transition: color .25s; }
.contact-number:hover { color: var(--ink); }
.footer { display: flex; align-items: center; gap: 32px; padding: 26px var(--gutter); color: var(--muted); font-size: 14px; }
.footer > p { margin-right: auto; }
.instagram-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; transition: color .25s; }
.instagram-link:hover { color: var(--ink); }
.instagram-link .social-icon { width: 18px; height: 18px; }
.back-top { width: 44px; height: 44px; display: grid; place-items: center; }
.back-top .icon { width: 18px; height: 18px; transition: transform .3s; }
.back-top:hover .icon { transform: translateY(-3px); }

/* Content stays visible when JavaScript or motion is unavailable. */
.reveal.is-pending { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--reveal-delay, 0ms), transform .9s var(--ease) var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }




@media (max-width: 1050px) {
  .header { gap: 24px; }
  .desktop-nav { gap: 22px; }
  .header-contact { margin-left: 8px; }
  .service-list { gap: 32px; }
}

@media (max-width: 760px) {
  .header { height: 80px; gap: 20px; }
  .brand img { width: 40px; height: 40px; }
  .brand > span { font-size: 22px; }
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 0; padding: 0; background: transparent; width: 44px; min-width: 44px; height: 44px; margin-right: -8px; }
  .menu-toggle span { display: block; width: 21px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .section { padding: 72px var(--gutter); }
  .service-list { grid-template-columns: 1fr; gap: 38px; }
  .service { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 22px; }
  .service > .icon { grid-column: 1; grid-row: 1 / 3; width: 28px; height: 28px; margin-top: 3px; margin-bottom: 0; }
  .service h3, .service p { grid-column: 2; }
  .service h3 { margin-bottom: 10px; }
  .service p { max-width: 52ch; }
  .service:nth-child(2), .service:nth-child(3) { --reveal-delay: 0ms; }
  .contact { padding-top: 72px; padding-bottom: 64px; }
  .footer { flex-wrap: wrap; gap: 12px 20px; }
  .footer > p { width: 100%; }
  .back-top { margin-left: auto; }
}

@media (max-width: 480px) {
  .header { gap: 10px; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .brand > span { font-size: 21px; }
  .header-contact { font-size: 15px; gap: 7px; }
  .header-contact .icon { width: 16px; height: 16px; }
  .button { padding: 14px 20px; font-size: 16px; gap: 12px; }
  .section-heading { margin-bottom: 42px; }
  .eyebrow { letter-spacing: .09em; }
  .service { gap: 0 18px; }
  .service h3 { font-size: 22px; }
  .service p { font-size: 18px; }
  .contact .button { max-width: 100%; }
  .contact .social-icon { width: 20px; height: 20px; }
  .footer { font-size: 14px; }
}

@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .header-contact { display: none; }
  .menu-toggle { margin-left: auto; }
  .service { grid-template-columns: 28px minmax(0, 1fr); gap: 0 16px; }
  .service > .icon { width: 26px; height: 26px; }
  .contact .button { font-size: 15px; gap: 10px; }
  .footer-location { display: block; }
}


@media (max-width: 1100px) {
  .story-heading > span { font-size: 10px; letter-spacing: .08em; }
  .story-steps { gap: 10px; }
  .story-steps button { font-size: 14px; }
}
@media (max-width: 900px) {
  .import-story { max-width: 600px; }
  .story-heading > span { font-size: 12px; }
  .story-caption h3 { font-size: 26px; }
  .story-canvas { max-height: 320px; }
  .story-steps button { font-size: 16px; }
}
@media (max-width: 560px) {
  .story-heading > span { font-size: 10px; letter-spacing: .08em; }
  .story-canvas { margin-top: 12px; max-height: 260px; }
  .story-caption { min-height: 84px; }
  .story-caption h3 { font-size: 22px; }
  .story-caption p { font-size: 16px; }
  .story-steps { gap: 10px; margin-top: 12px; }
  .story-steps button { font-size: 14px; }
  }
@media (max-width: 360px) {
  .story-steps { gap: 8px; }
  .story-steps button { font-size: 13px; }
  .story-caption h3 { font-size: 21px; }
}


@media (min-width: 1600px) { .hero-content { padding-top: 80px; padding-bottom: 112px; } }
@media (max-width: 1050px) { .hero-image { object-position: 53% 92%; } }
@media (max-width: 900px) {
  .import-process { grid-template-columns: 1fr; grid-template-areas: "intro" "story"; gap: 40px; }
  .process-intro > p:last-child { max-width: 45ch; }
}
@media (max-width: 760px) {
  .hero { min-height: min(710px, calc(100svh - 80px)); }
  .hero-content { padding-top: 56px; padding-bottom: 104px; }
  .hero-brand { font-size: clamp(72px, 14vw, 106px); }
  .hero h1 { font-size: clamp(36px, 6vw, 44px); }
  .hero-image { object-position: 48% 90%; }
  .hero-wash { background: linear-gradient(90deg, #031e33eb, #031e33a6 58%, #031e3233), linear-gradient(0deg, #031e3280, #031e3200 55%); }
  .hero-description { max-width: 350px; }
}
@media (max-width: 480px) {
  .hero { align-items: flex-start; }
  .hero-content { padding-top: 72px; padding-bottom: 112px; }
  .hero-brand { font-size: clamp(54px, 14.2vw, 68px); }
  .hero-brand span { font-size: 11px; letter-spacing: .5em; margin-top: 13px; }
  .hero h1 { font-size: 38px; margin-top: 30px; }
  .hero-description { max-width: 290px; font-size: 18px; margin-top: 20px; }
  .hero .button { margin-top: 26px; }
  .hero-whatsapp { top: 18px; width: 48px; height: 48px; }
  .hero-whatsapp .social-icon { width: 25px; height: 25px; }
}
@media (max-width: 360px) {
  .hero-brand { font-size: 54px; }
  .hero h1 { font-size: 36px; }
  .hero-description { max-width: 100%; }
  .hero .button { font-size: 15px; gap: 10px; padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .hero-image { transform: none; }
  .goods-check, .message-in, .delivery-check, .delivery-confetti { opacity: 1; transform: none; }
}
