/* The Mail Hub — combined site mockup
   Brand: Mail Hub green (from logo #007000) + APRC red/navy for passport areas */

:root {
  --green: #007000;
  --green-deep: #0b3d1c;
  --green-ink: #0f2a17;
  --green-tint: #eef6ec;
  --green-line: #d5e7d1;
  --aprc-red: #c20937;
  --aprc-navy: #2f3170;
  --aprc-tint: #f4f5fb;
  --ink: #16201a;
  --muted: #5b675f;
  --line: #e4e8e5;
  --bg: #ffffff;
  --soft: #f7f8f6;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 32, 20, .06), 0 8px 24px rgba(16, 32, 20, .06);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.section { padding: 88px 0; }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #005c00; }
.btn-ghost { border-color: var(--green-line); color: var(--green-ink); background: #fff; }
.btn-light { background: #fff; color: var(--green-ink); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-navy { background: var(--aprc-navy); color: #fff; }

/* Passport info card (home page) */
.aprc-card {
  position: relative; overflow: hidden; background: var(--aprc-navy); color: #fff;
  border-radius: 20px; padding: 40px 36px 32px; box-shadow: var(--shadow);
  border-top: 6px solid var(--aprc-red);
}
.aprc-card::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 44px solid rgba(255,255,255,.05);
}
.aprc-card .big { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; margin-bottom: .4rem; }
.aprc-card p { color: #d7d9f0; margin-bottom: 1.4rem; }
.aprc-card ul { list-style: none; padding: 0; margin: 0; }
.aprc-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem; }
.aprc-card li span { color: #d7d9f0; text-align: right; }
.aprc-card a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }

.form-note { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }
.form-status { margin: .8rem 0 0; font-weight: 700; font-size: .95rem; }
.form .req { color: #b42318; font-weight: 700; }
.form select:invalid { color: var(--muted); }
.form select option { color: var(--ink); }
.form-status:empty { display: none; }
.form-status.success { color: var(--green); }
.form-status.error { color: #b42318; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button[disabled] { opacity: .7; cursor: wait; transform: none; }
button.menu-btn { cursor: pointer; font-family: inherit; }

/* Top bar */
.topbar { background: var(--green-deep); color: #d9eadb; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; color: #fff; font-weight: 600; }
.topbar .wrap > div { display: flex; flex-wrap: wrap; column-gap: 1.2rem; row-gap: .2rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover, .nav a.active { color: var(--green); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; background:
  radial-gradient(900px 420px at 85% 10%, var(--green-tint), transparent 70%),
  radial-gradient(600px 300px at 0% 100%, #f3f7f2, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--green); }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.hero-facts { display: flex; gap: 2rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-facts strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }

.hero-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); text-decoration: none; display: block;
  transition: transform .15s ease, border-color .15s ease;
}
.tile:hover { transform: translateY(-2px); border-color: var(--green-line); }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); margin-bottom: 14px; }
.tile h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.tile p { font-size: .88rem; color: var(--muted); margin: 0; }
.tile.wide { grid-column: span 2; display: flex; align-items: center; gap: 18px; background: var(--aprc-tint); border-color: #e3e5f3; }
.tile.wide img { height: 46px; width: auto; }
.tile.wide p { color: #4a4d72; }

/* Family strip */
.family { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.family .wrap { display: flex; align-items: center; justify-content: center; gap: 48px; padding: 26px 0; flex-wrap: wrap; }
.family small { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; }
.family img { height: 48px; width: auto; }
.family img[src*="3k-logo"] { height: 62px; }

/* Services grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); margin-bottom: 16px; }
.card.passport .ico { background: #fbe9ee; color: var(--aprc-red); }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.card .more { font-weight: 700; color: var(--green); text-decoration: none; font-size: .92rem; }
.card.passport .more { color: var(--aprc-navy); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--soft); color: var(--muted); margin-left: .35rem; vertical-align: middle; }

/* Passport feature */
.passport-band { background: var(--aprc-tint); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.aprc-logo { height: 64px; width: auto; margin-bottom: 18px; }
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 26px; }
.price {
  background: #fff; border: 1px solid #e3e5f3; border-radius: 14px; padding: 16px;
}
.price b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--aprc-navy); }
.price span { font-size: .82rem; color: #5a5d80; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.passport-band .checks li::before { background-color: var(--aprc-navy); }
.photo-card { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 4/3; background: #222; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .stamp {
  position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 12px; padding: 12px 16px;
  font-size: .85rem; box-shadow: var(--shadow);
}
.photo-card .stamp b { display: block; font-family: var(--font-head); font-size: 1.1rem; }

/* Ship to Guam */
.guam-band { background: var(--green-deep); color: #e6f0e7; position: relative; overflow: hidden; }
.guam-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.04);
}
.guam-band h2 { color: #fff; }
.guam-band .eyebrow { color: #8fd18a; }
.guam-band .lead { color: #c3d8c6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 24px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: #8fd18a; color: var(--green-deep); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; font-family: var(--font-head); }
.step h3 { color: #fff; }
.step p { color: #c3d8c6; font-size: .95rem; margin: 0; }
.by-3k { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.08); border-radius: 999px; padding: .35rem .9rem .35rem .4rem; margin-bottom: 18px; font-size: .88rem; }
.by-3k .mark { background: #fff; border-radius: 999px; padding: .3rem .8rem; display: inline-flex; align-items: center; }
.by-3k .mark img { height: 36px; width: auto; display: block; }

.guam-band .checks li { color: #c3d8c6; }
.guam-band .checks li::before { background-color: #3f9a3c; }
.ico-dark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(143, 209, 138, .16); color: #8fd18a; margin-bottom: 14px; }
.mini-steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 44px; color: #c3d8c6; }
.mini-steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: #8fd18a; color: var(--green-deep); font-weight: 800; display: grid; place-items: center; font-family: var(--font-head);
}
.mini-steps b { color: #fff; }

/* Two-up cards */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { background: var(--soft); border-radius: 20px; padding: 34px; }
.fee-list { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.fee-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed #d8ddd9; font-size: .95rem; }
.fee-list li b { font-family: var(--font-head); white-space: nowrap; }

/* Locations */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.loc { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: #fff; }
.loc h3 { font-size: 1.4rem; }
.loc dl { display: grid; grid-template-columns: 90px 1fr; gap: .5rem 1rem; margin: 1rem 0 1.4rem; font-size: .95rem; }
.loc dt { color: var(--muted); font-weight: 600; }
.loc dd { margin: 0; }
.loc dd a { font-weight: 700; text-decoration: none; color: var(--green-ink); }
.hours { background: var(--green-tint); border-radius: 14px; padding: 18px 22px; display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 18px; font-size: .95rem; }
.hours b { display: block; font-family: var(--font-head); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: .8rem 0 0; }

/* Contact form */
.contact { background: var(--soft); }
.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: .35rem; font-size: .86rem; font-weight: 700; }
.form .full { grid-column: span 2; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid #d6dcd8; border-radius: 10px; background: #fff;
}
.form textarea { min-height: 110px; resize: vertical; }

/* Footer */
.footer { background: var(--green-ink); color: #b9c9bd; padding: 64px 0 28px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; }
.footer a { text-decoration: none; color: #dfe9e1; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer .logos { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.footer .logos span { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-flex; align-items: center; }
.footer .logos img { height: 34px; width: auto; }
.footer .logos img[src*="3k-logo"] { height: 42px; margin: -4px 0; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #8fa395; }

/* Passport page */
.page-hero { position: relative; color: #fff; padding: 96px 0 72px; background: var(--aprc-navy); overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero .wrap { position: relative; }
.page-hero .crumbs { font-size: .85rem; color: #d7d9f0; margin-bottom: 18px; }
.page-hero .crumbs a { color: #fff; }
.page-hero h1 { max-width: 44rem; }
.page-hero .lead { color: #e3e5f6; }
.aprc-chip { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 22px; color: var(--ink); font-size: .85rem; font-weight: 600; }
.aprc-chip img { height: 38px; width: auto; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: #fff; position: relative; }
.plan.pop { border: 2px solid var(--aprc-navy); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -12px; left: 24px; background: var(--aprc-red); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.plan .amt { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--aprc-navy); line-height: 1; margin: .4rem 0 .6rem; }
.plan .amt small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table td b { font-family: var(--font-head); }
.note { background: #fff8e6; border: 1px solid #f2e2b0; border-radius: 14px; padding: 18px 22px; font-size: .95rem; }
.disclaimer { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--aprc-red); padding-left: 14px; }


/* Ship to Guam page */
.page-hero.green { background: var(--green-deep); }
.page-hero.green::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  border: 70px solid rgba(255,255,255,.04);
}
.page-hero.green .lead { color: #c3d8c6; }
.page-hero.green .crumbs { color: #a9c4ad; }
.chip-3k { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 16px; font-weight: 600; font-size: .88rem; margin-bottom: 22px; }
.chip-3k img { height: 48px; width: auto; display: block; }
.address-card { background: #fff; border: 2px dashed var(--green-line); border-radius: 20px; padding: 30px; }
.address-card address { font-style: normal; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.5; margin: 14px 0 20px; }
.address-card address b { color: var(--green); }
.address-card button { cursor: pointer; font-family: inherit; }
/* "Your Name" shows as a blank to fill in until the visitor types their name */
.fill-name { background: #fff3c4; border: 2px dashed #e0a100; border-radius: 8px; padding: 0 .35em; color: #8a5a00; font-weight: 700; white-space: nowrap; transition: background .2s, border-color .2s; }
.fill-name.filled { background: var(--green-tint); border-style: solid; border-color: var(--green-line); color: var(--ink); white-space: normal; }
.fill-name.nudge { animation: nudge .5s ease 2; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.name-fill { display: grid; gap: .35rem; margin: 0 0 16px; font-size: .86rem; font-weight: 700; max-width: 360px; }
.name-fill input { font: inherit; font-weight: 400; font-size: 1rem; padding: .75rem .9rem; border: 2px solid #e0a100; border-radius: 10px; background: #fffdf5; }
.name-fill input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.how { counter-reset: h; list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.how li { counter-increment: h; position: relative; padding-left: 54px; }
.how li::before {
  content: counter(h); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-family: var(--font-head); display: grid; place-items: center;
}
.how li b { display: block; font-family: var(--font-head); font-size: 1.12rem; margin-bottom: .15rem; }
.how li span { color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tl { background: #fff; border: 1px solid var(--green-line); border-radius: 16px; padding: 20px; }
.tl small { display: block; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--green); font-size: .72rem; margin-bottom: 6px; }
.tl b { font-family: var(--font-head); font-size: 1.4rem; display: block; }
.tl span { color: var(--muted); font-size: .88rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split, .two-up, .locations { grid-template-columns: 1fr; }
  .grid-3, .plans, .steps, .timeline { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header .wrap { position: relative; }
  .header.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: -4vw; right: -4vw;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 4vw 18px;
  }
  .header.nav-open .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header.nav-open .nav a.btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
}
@media (max-width: 620px) {
  .grid-3, .plans, .steps, .price-row, .hero-panel, .form, .timeline { grid-template-columns: 1fr; }
  .tile.wide, .form .full { grid-column: auto; }
  .section { padding: 64px 0; }
  .topbar .hide-sm { display: none; }
  .topbar { font-size: .8rem; }
  .topbar .wrap { flex-direction: column; align-items: center; gap: .25rem; padding: .5rem 0; }
  .topbar .wrap > div { justify-content: center; column-gap: 1rem; }
  .topbar .wrap > div + div { order: -1; }
  .footer .cols { grid-template-columns: 1fr; }
}
