:root {
  color-scheme: light;
  --paper: #f3f7fb;
  --surface: #fff;
  --ink: #142a42;
  --muted: #475b6e;
  --line: #d5e1eb;
  --accent: #84def3;
  --soft: #edf5fb;
  --green: #1d643f;
  --amber: #805500;
  --red: #9a352c;
  --display: 'Avenir Next', 'Century Gothic', 'Trebuchet MS', system-ui, sans-serif;
  --sans: 'Avenir Next', Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.52; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #227389; outline-offset: 3px; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(2.55rem, 5vw, 5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 3rem); }
h3 { font-size: 1.27rem; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 5rem, 1320px); margin: 0 auto; }
.muted, .help { color: var(--muted); }
.help { font-size: .875rem; margin-top: .35rem; }
.loading { padding-block: 4rem; }
.skip { position: absolute; top: 0; left: 1rem; padding: .75rem; background: white; transform: translateY(-120%); z-index: 5; }
.skip:focus { transform: none; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); text-decoration: none; max-width: 100%; font-weight: 800; font-size: 1.125rem; letter-spacing: -.055em; }
.wordmark b { font-weight: 500; }
.brand-logo { width: 54px; height: auto; object-fit: contain; flex: none; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
.top { background: #f9fcff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 77px; }
.top nav, .top-actions, .actions, .inline { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.top nav { gap: 1.6rem; }
.top nav a { text-decoration: none; font-size: .938rem; font-weight: 700; }
.top nav a:hover, .top nav a[aria-current] { color: #196076; text-decoration: underline; text-underline-offset: 5px; }
.button { min-height: 44px; padding: .66rem .95rem; border: 1px solid transparent; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-size: .938rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: .48rem; cursor: pointer; text-align: center; }
.button:hover { filter: brightness(1.12); }
.button:disabled { opacity: .55; cursor: wait; }
.button.whatsapp { background: #126343; color: #fff; }
.button.accent { background: var(--accent); color: var(--ink); }
.button.light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button.ghost { background: transparent; border-color: #8098ac; color: #fff; }
.button.subtle { color: var(--ink); background: var(--soft); }
.button.danger { color: var(--red); background: #fff3f1; border-color: #f0d8d2; }
.button.tiny { min-height: 37px; padding: .37rem .65rem; font-size: .875rem; }
.text-link { text-underline-offset: 3px; font-weight: 700; }
.eyebrow { color: #26576a; display: inline-flex; width: fit-content; gap: .6rem; align-items: center; font-size: .825rem; line-height: 1.2; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: .5rem; height: .5rem; background: #247b93; border-radius: 50%; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); min-height: 548px; background: var(--ink); color: #f9fcff; }
.hero-copy { padding: clamp(2.5rem, 6.1vw, 7rem) clamp(2.1rem, 5.5vw, 6rem) 3.8rem max(2.5rem, calc((100vw - 1320px) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 1.45rem; }
.hero h1 { letter-spacing: -.069em; line-height: 1.03; max-width: 13ch; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero p { color: #dcebf6; max-width: 34ch; font-size: 1.125rem; }
.hero .eyebrow { color: #bbebf8; }
.hero .eyebrow::before { background: var(--accent); }
.hero .actions { margin-top: .5rem; }
.hero .button { min-height: 51px; padding-inline: 1.13rem; }
.hero-media { display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 4rem); background: #f8fafc; }
.hero-media img { width: min(100%, 525px); height: auto; object-fit: contain; }
.strip { background: #e8f2f9; border-bottom: 1px solid #d5e1eb; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-item { padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: .9rem; border-right: 1px solid #d5e1eb; }
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border-right: 0; }
.strip-icon, .step-icon { display: grid; place-items: center; background: #d3eaf4; width: 43px; height: 43px; border-radius: 10px; flex: 0 0 auto; }
.marketing { padding-block: 4.25rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.section-head .eyebrow { margin-bottom: .9rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.card h3 { margin: .55rem 0; letter-spacing: -.035em; }
.card p + p { margin-top: .6rem; }
.card-link { display: inline-block; margin-top: .85rem; }
.home-planning { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.home-planning h2 { font-size: 1.5rem; margin-bottom: .55rem; }
.store-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: .65rem; }
.store-link { display: grid; justify-items: center; align-content: center; gap: .4rem; height: 100%; padding: .6rem; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.store-link img { width: 100%; max-width: 120px; height: 44px; object-fit: contain; }
.store-link:hover { border-color: #247b93; text-decoration: underline; }
#tiendas { scroll-margin-top: 1rem; }
.step-icon { margin-bottom: 1.05rem; background: #e9f4fa; }
.dark-band { border-radius: 16px; padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1.7rem; }
.dark-band h2 { margin-bottom: .55rem; }
.dark-band p { color: #dcebf6; }
.footer { border-top: 1px solid var(--line); padding-block: 1.6rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer .footer-actions { justify-content: space-between; }
.footer .wrap + .footer-actions { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: .55rem 1.05rem; }
.footer small { font-size: .875rem; color: var(--muted); }
.page { padding-block: 2.7rem 5rem; min-height: 72vh; }
.page-title { margin-bottom: 1.65rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.page-title h1 { margin: .35rem 0 .5rem; }
.page-title p { color: var(--muted); }
.page h1, .desk h1 { font-size: clamp(2.2rem, 4.2vw, 3.65rem); }
.quote-panel { padding: clamp(1.2rem, 3vw, 2rem); }
.home-quote { padding-top: 0; }
.quote-page { max-width: 1120px; }
.quote-page .quote-panel { max-width: 760px; }
.origin-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.origin-option { min-height: 56px; display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .8rem; font-weight: 750; cursor: pointer; }
.origin-option:has(input:checked) { border-color: #287c93; background: var(--soft); }
.dimension-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.help-page { max-width: 1050px; }
.help-topics { display: grid; gap: .85rem; }
.help-topic { scroll-margin-top: 1rem; }
.help-topic h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin-bottom: .5rem; }
.help-topic .button { margin-top: .75rem; }
.better-quote small { display: block; margin-top: .65rem; color: #e1ebf5; font-size: .9rem; }
.quote-page .better-quote { margin-top: 1.2rem; }
.better-quote { border-left: 5px solid #e26854; }
.better-quote p { font-weight: 800; font-size: clamp(1.25rem, 3vw, 2.1rem); color: var(--accent); line-height: 1.12; }
.form { display: grid; gap: 1rem; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { font-weight: 800; margin-bottom: .45rem; }
.field, .field > span { display: block; }
.field > span { margin-bottom: .35rem; font-size: .9375rem; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-grid .full { grid-column: 1 / -1; }
input:not([type=checkbox]):not([type=radio]), select, textarea { color: var(--ink); background: #fff; border: 1px solid #c3d2df; border-radius: 7px; width: 100%; min-height: 44px; padding: .55rem .68rem; }
input[type=checkbox], input[type=radio] { accent-color: #196076; width: 17px; height: 17px; flex: 0 0 auto; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2346554d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .65rem center; padding-right: 2rem; }
.choice { display: flex; align-items: flex-start; gap: .48rem; cursor: pointer; }
.line-item { display: flex; justify-content: space-between; gap: 1rem; padding: .63rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.line-item strong { white-space: nowrap; }
.form-error { color: var(--red); font-weight: 700; font-size: .9375rem; }
.callout { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem 1rem; color: #254960; background: var(--soft); border: 1px solid #d5e1eb; border-radius: 8px; margin-bottom: 1rem; }
.callout .icon { margin-top: .16rem; }
.desk { display: grid; min-height: calc(100vh - 78px); max-width: 1500px; margin-inline: auto; grid-template-columns: 220px minmax(0, 1fr); }
.sidebar { padding: 1.9rem 1rem; border-right: 1px solid var(--line); background: #f7fafc; }
.sidebar p { padding: .55rem .75rem; font-size: .835rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.side-nav { display: grid; gap: .34rem; }
.side-nav button { border: 0; background: transparent; text-align: left; color: var(--ink); border-radius: 7px; cursor: pointer; padding: .65rem .7rem; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.side-nav button[aria-current] { background: #dceef7; }
.side-nav button:hover { background: #e4eef6; }
.desk-main { min-width: 0; padding: clamp(1.15rem, 3.5vw, 3rem); }
.desk-main .page-title { margin-bottom: 1.1rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.metric { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 1rem; min-width: 0; }
.metric small { color: var(--muted); font-size: .875rem; }
.metric strong { display: block; font-family: var(--display); font-size: clamp(1.25rem, 2.45vw, 2rem); letter-spacing: -.06em; line-height: 1.25; margin-top: .55rem; overflow-wrap: anywhere; }
.metric:last-child { background: #e3f4fb; border-color: #c7e9f4; }
.section-card { padding: 0; overflow: clip; }
.card-head { padding: 1.1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: .7rem; flex-wrap: wrap; }
.card-head h2 { font-size: 1.35rem; letter-spacing: -.04em; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; padding: 0 1.2rem 1rem; }
.filters .field { width: min(100%, 240px); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9375rem; }
thead { background: #eff5f9; }
th { font-size: .875rem; color: #44586b; font-weight: 700; }
th, td { border-top: 1px solid var(--line); padding: .78rem 1rem; white-space: nowrap; }
td:first-child, th:first-child { padding-left: 1.2rem; }
td small { color: var(--muted); display: block; font-size: .825rem; }
tbody tr:hover { background: #f6fafd; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: .3rem; border-radius: 5px; padding: .23rem .48rem; background: #edf1ea; color: #394d3c; font-size: .825rem; font-weight: 700; white-space: nowrap; }
.pill.flying { color: #24446b; background: #eaf0fb; }
.pill.payable, .pill.pending { color: var(--amber); background: #fff0d4; }
.pill.paid, .pill.ready, .pill.verified, .pill.delivered, .pill.collected { color: #225330; background: #e5f3e2; }
.pill.rejected { color: var(--red); background: #f8e8e4; }
.empty { padding: 1.7rem; color: var(--muted); }
.portal-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-grid .card { display: grid; gap: .68rem; }
.portal-order-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.portal-order-top .code { color: var(--muted); font-size: .875rem; font-weight: 700; }
.portal-grid .actions { margin-top: .3rem; }
dialog { margin: auto; border: 1px solid var(--line); border-radius: 13px; padding: 0; width: min(calc(100vw - 1.2rem), 770px); max-height: 91vh; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #11242091; }
.dialog-head { padding: 1rem 1.25rem; background: #fff; position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .7rem; align-items: center; }
.dialog-head h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
.dialog-body { padding: 1.2rem; display: grid; gap: 1rem; }
.dialog-body .card h3 { margin-top: 0; }
.details { margin: 0; display: grid; gap: .55rem; }
.details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .85rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; max-width: 100%; overflow-wrap: anywhere; font-weight: 650; }
.timeline { padding-left: 0; margin: .7rem 0 0; list-style: none; display: grid; gap: 0; }
.timeline li { border-left: 2px solid #dbe4d7; padding: .1rem 0 .8rem 1rem; margin-left: .35rem; position: relative; }
.timeline li::before { content: ''; width: .65rem; height: .65rem; background: #c0d3b5; border: 1px solid #839f78; border-radius: 50%; position: absolute; left: -.39rem; top: .35rem; }
.timeline li:last-child::before { background: #557740; }
.timeline small { color: var(--muted); display: block; font-size: .875rem; }
.payment-line { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.payment-line:last-child { border-bottom: 0; }
.payment-line .actions { margin-top: .45rem; }
#toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 5; border-radius: 8px; background: var(--ink); color: white; padding: .8rem 1rem; max-width: min(400px, calc(100% - 2rem)); box-shadow: 0 3px 15px #182c2670; }
@media (max-width: 1100px) {
  .desk { grid-template-columns: 166px minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-copy { padding-left: 1.5rem; padding-right: 1.3rem; }
  .top nav { gap: .65rem; }
  .top .wrap { gap: .65rem; }
  .hero { min-height: 505px; }
  .strip-item { padding: 1rem .75rem; gap: .5rem; }
  .desk { grid-template-columns: 1fr; }
  .sidebar { padding: .65rem 1rem; border-bottom: 1px solid var(--line); border-right: 0; }
  .sidebar p { display: none; }
  .side-nav { display: flex; flex-wrap: wrap; }
}
@media (max-width: 980px) {
  .top .wrap { flex-wrap: wrap; justify-content: space-between; min-height: 0; padding-block: .65rem; }
  .top nav { order: 3; width: 100%; justify-content: space-between; padding-top: .5rem; border-top: 1px solid var(--line); }
  .top nav a { font-size: .875rem; }
}
@media (max-width: 650px) {
  .wordmark { gap: .4rem; font-size: 1rem; }
  .brand-logo { width: 42px; }
  .top-actions { gap: .4rem; }
  .top-actions .button { padding-inline: .6rem; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-block: 2.4rem 2.2rem; }
  .hero-media img { width: min(83%, 320px); }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 4.3rem); }
  .strip .wrap, .home-planning { grid-template-columns: minmax(0, 1fr); }
  .strip-item, .strip-item:first-child { border-right: 0; border-bottom: 1px solid #d5e1eb; padding-inline: 0; }
  .strip-item:last-child { border-bottom: 0; }
  .cards, .portal-grid { grid-template-columns: 1fr; }
  .section-head, .dark-band, .page-title { align-items: flex-start; flex-direction: column; }
  .marketing { padding-block: 2.5rem; }
  .home-quote { padding-top: 0; }
  .page { padding-block: 1.75rem 3rem; }
  .dialog-body { padding: .8rem; }
}

.purchase-notices { margin-bottom: 1rem; }
#quote-whatsapp { margin-top: 1rem; }


.volume-advice { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; padding: 1rem; margin-bottom: 1.15rem; border-radius: .7rem; background: var(--soft); }
.volume-advice p { flex: 1 1 18rem; }

.quote-product { border: 1px solid var(--line); border-radius: .75rem; padding: .85rem; }
.quote-product legend { font-weight: 750; padding: 0 .35rem; }
.quote-product-action { align-self: end; }
.quote-total, .link-help { margin-top: 1rem; }
.quote-grand-total { padding: .3rem .85rem; border-radius: .6rem; background: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.footer .social-links { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding-block: 0.75rem; }
.social-links a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; color: inherit; }
