/* onebox.com.py - ONE BOX Courier. Phone first; no external fonts or CDNs. */
:root {
  --brand: #00858a;
  --brand-600: #006f73;
  --brand-700: #005a5e;
  --brand-50: #e8f6f6;
  --brand-100: #cdeceb;
  --ink: #0f2427;
  --ink-2: #3c5256;
  --muted: #64777a;
  --line: #dfe8e8;
  --bg: #ffffff;
  --tint: #f4f9f9;
  --dark: #0b2b2e;
  --accent: #ffb547;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(8, 52, 56, .25);
  --shadow-lg: 0 30px 60px -25px rgba(8, 52, 56, .45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.2em; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 133, 138, .7); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { border-color: var(--brand); color: var(--brand-700); background: #fff; }
.btn-outline:hover { background: var(--brand-50); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--brand-50); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: #25d366; color: #073b1c; }
.ic { flex: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo img { width: 104px; height: auto; }
.burger { display: inline-flex; background: none; border: 0; color: var(--ink); padding: 8px; border-radius: 10px; cursor: pointer; }
.burger .close { display: none; }
.burger[aria-expanded="true"] .open { display: none; }
.burger[aria-expanded="true"] .close { display: inline; }
.nav { position: fixed; inset: 70px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 22px; display: none; box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow: auto; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.nav-cta .btn-primary { flex: 1 1 100%; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); }
.lang:hover { border-color: var(--brand); color: var(--brand-700); }
@media (min-width: 1040px) {
  .burger { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 24px; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
  .nav ul { display: flex; gap: 4px; }
  .nav li a { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .95rem; color: var(--ink-2); }
  .nav li a:hover { color: var(--brand-700); background: var(--brand-50); }
  .nav-cta { margin: 0; flex-wrap: nowrap; }
  .nav-cta .btn-primary { flex: none; }
  .logo img { width: 118px; }
}

/* hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1000px 500px at 85% -10%, var(--brand-100), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, #fff4df, transparent 60%), #fff; padding: 36px 0 56px; }
.hero-in { display: grid; gap: 36px; align-items: center; }
.kicker { display: inline-block; color: var(--brand-700); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .9em; }
.hero h1 { margin-bottom: .35em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.cta-row .btn { flex: 1 1 220px; }
.badges { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.badges li { display: inline-flex; align-items: center; gap: 6px; }
.badges .ic { color: var(--brand); }
.note { font-size: .92rem; color: var(--muted); background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; max-width: 36em; }
.hero-art { position: relative; padding-bottom: 70px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.mailbox-card { position: absolute; left: 4%; right: 4%; bottom: 0; background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.mc-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.mc-head b { display: block; }
.mc-head small { color: var(--muted); }
.mc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; }
.mailbox-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mailbox-card li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; background: var(--tint); border-radius: 12px; font-size: .95rem; }
.mailbox-card small { color: var(--muted); }
.flag svg { width: 30px; height: 20px; border-radius: 4px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.flag-lg svg { width: 54px; height: 36px; border-radius: 6px; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 90px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .cta-row .btn { flex: none; }
  .hero-art { padding: 0 0 40px 40px; }
  .mailbox-card { left: -10px; right: auto; width: 330px; bottom: 0; }
}

/* sections */
.sec { padding: 64px 0; }
.sec-tint { background: var(--tint); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head p:not(.kicker) { color: var(--ink-2); font-size: 1.08rem; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }

.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow); }
.step p { color: var(--ink-2); margin: 0; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.cards { list-style: none; padding: 0; margin: 0 0 56px; display: grid; gap: 16px; }
.card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin: 0; }
.card-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-50); color: var(--brand-700); margin-bottom: 14px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.split { display: grid; gap: 28px; align-items: center; background: #fff; border-radius: 28px; padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-art { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.split-copy { padding: 6px 8px 12px; }
.split-copy h3 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
.split-copy p { color: var(--ink-2); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; padding: 24px; gap: 48px; } .split-copy { padding: 0 24px 0 0; } }

.origins { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 16px; }
.origin { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(180deg, #fff, var(--tint)); }
.origin h3 { margin: 14px 0 4px; font-size: 1.3rem; }
.origin p { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .88rem; }
@media (min-width: 800px) { .origins { grid-template-columns: repeat(3, 1fr); } }

.stores { display: grid; gap: 20px; background: var(--dark); color: #e6f2f2; border-radius: 28px; padding: 28px; }
.stores h3 { color: #fff; font-size: 1.4rem; }
.stores p { color: #b9d2d3; margin: 0; }
.stores ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stores a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.stores a:hover { background: var(--brand); border-color: var(--brand); }
@media (min-width: 900px) { .stores { grid-template-columns: .8fr 1.2fr; align-items: center; padding: 40px; gap: 40px; } }

.sec-dark { background: linear-gradient(160deg, var(--brand-700), var(--dark) 70%); color: #e6f2f2; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .kicker { color: var(--accent); }
.sec-dark .sec-head p:not(.kicker) { color: #c4dcdc; }
.ag-grid { display: grid; gap: 22px; margin-bottom: 40px; }
.agencies { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.agency { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.agency h3 { margin: 0 0 2px; font-size: 1.05rem; }
.agency p { margin: 0; color: #bcd5d6; font-size: .93rem; }
.agency .addr { color: #fff; }
.ag-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--accent); }
.maplink { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; font-size: .9rem; margin-top: 4px; }
.delivery { background: #fff; color: var(--ink); border-radius: 24px; padding: 14px 14px 22px; }
.delivery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 18px; }
.delivery h3 { color: var(--ink); display: flex; gap: 10px; align-items: center; padding: 0 8px; }
.delivery h3 .ic { color: var(--brand); }
.delivery p { color: var(--ink-2); margin: 0; padding: 0 8px; }
@media (min-width: 700px) { .agencies { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ag-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.cities { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 32px; }
.cities p { color: #bcd5d6; }
.cities ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: .9rem; color: #e1eeee; }

.faq-wrap { display: grid; gap: 16px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: .8fr 1.6fr; gap: 56px; } .faq-wrap .sec-head { position: sticky; top: 100px; align-self: start; } }
.faq details { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--brand-100); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { color: var(--brand); transition: transform .2s; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

.cta-sec { padding-top: 0; }
.cta-box { position: relative; display: grid; gap: 20px; align-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; border-radius: 32px; padding: 32px 24px; overflow: hidden; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #d9f0f0; }
.cta-box .small { font-size: .92rem; margin: 0; }
.cta-photo { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid rgba(255, 255, 255, .25); }
@media (min-width: 900px) { .cta-box { grid-template-columns: 260px 1fr; padding: 48px 56px; gap: 48px; } .cta-photo { width: 260px; } }
.contact { margin-top: 40px; text-align: center; }
.contact-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; align-items: center; }
.cline { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 600; text-decoration: none; }

/* footer */
.foot { background: var(--dark); color: #b9d2d3; padding: 56px 0 24px; font-size: .95rem; }
.foot-grid { display: grid; gap: 32px; }
.foot h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #dcebeb; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 14px; }
.foot-logo img { width: 100px; }
.social { display: flex; gap: 14px; }
.foot-bar { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem; }
.powered { opacity: .8; }
.powered strong { color: #fff; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: var(--shadow-lg); }
.wa-float svg { width: 30px; height: 30px; }

.page { padding: 56px 0 80px; min-height: 50vh; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.center-row { justify-content: center; }
.center-row .btn { flex: none; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
