/* DynamiBox — site styles, built on the brand kit (05_Web_Starter/dynamibox-brand-tokens.css) */
:root {
  /* brand kit colors */
  --navy: #08275A;
  --navy-deep: #041a40;
  --red: #DC1028;
  --red-dark: #b50c20;
  --accent: #2B5689;
  --light: #F5F7FA;
  --ink: #17233B;
  /* derived */
  --ink-2: #3a4763;
  --muted: #5f6b84;
  --line: #e2e7ef;
  --card: #ffffff;
  --blue-soft: #e8eef8;
  --red-soft: #fde8eb;
  --on-navy: #c9d6ec;
  --highlight: #9cc2ff;      /* readable accent on navy */
  --ok: #138a5a;
  /* aliases used inside page markup */
  --coral: var(--red); --coral-dark: var(--red-dark); --sky: var(--accent); --sun: var(--highlight);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(8, 39, 90, .06), 0 8px 24px rgba(8, 39, 90, .08);
  --shadow-lg: 0 2px 4px rgba(8, 39, 90, .08), 0 24px 56px rgba(8, 39, 90, .18);
  --wrap: 1180px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
  /* the logo's red/navy swoosh, as a reusable line */
  --swoosh: linear-gradient(90deg, var(--red) 0 62%, transparent 62% 66%, var(--navy) 66% 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--red); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 660px; margin-bottom: 44px; }
.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.slogan { font-weight: 800; letter-spacing: .22em; font-size: .85rem; direction: ltr; unicode-bidi: isolate; }
.slogan i { font-style: normal; color: var(--red); margin-inline: .5em; }

/* signature accent: a red + navy swoosh bar on top of a card */
.airmail { position: relative; overflow: hidden; }
.airmail::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--swoosh); pointer-events: none; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, filter .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(220, 16, 40, .28); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.on-navy .btn-ghost, .hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.on-navy .btn-ghost:hover, .hero .btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- header */
.topbar { background: var(--navy-deep); color: var(--on-navy); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 7px; flex-wrap: wrap; }
.topbar b { color: #fff; }
.topbar .slogan { color: #fff; font-size: .72rem; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -3px; height: 3px; background: var(--swoosh); opacity: .9; }
.site-header .wrap { display: flex; align-items: center; gap: 26px; height: 78px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo:hover { text-decoration: none; }
.logo img { height: 46px; width: auto; display: block; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 8px; position: relative; }
.nav a:hover { color: var(--navy); background: var(--blue-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--red); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 10px 18px; }
.menu-toggle { display: none; margin-inline-start: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .nav, .header-cta .btn-ghost { display: none; }
  .site-header.open .nav {
    display: flex; flex-direction: column; position: absolute; inset-inline: 0; top: 78px;
    background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.open .nav a { padding: 12px 14px; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .logo img { height: 38px; }
  .topbar .slogan { display: none; }
}

/* ---------- hero (navy + world map, like the brand hero) */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 500px at 15% 40%, #1b4a8f 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding-block: clamp(56px, 8vw, 110px) clamp(72px, 10vw, 130px);
}
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 8px; background: var(--swoosh); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: #fff; position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: .02em; height: .16em; border-radius: 3px; background: var(--red); z-index: -1; }
.hero .eyebrow { color: #fff; }
.hero .lead { font-size: 1.2rem; color: var(--on-navy); max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--on-navy); font-size: .95rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: #fff; background: var(--red); border-radius: 50%; padding: 3px; }
.hero-art { position: relative; }
.hero-map {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: 56%; z-index: 0;
  background: url('/assets/brand/hero-map.jpg') center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, #000 50%, transparent);
  mask-image: linear-gradient(to right, #000 50%, transparent);
  opacity: .9;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-map { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }
}

/* address card in the hero = a DynamiBox shipping label */
.address-card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px 28px 24px; }
.address-card .stamp { position: absolute; top: 24px; inset-inline-start: 22px; width: 64px; height: 76px; }
.address-card .stamp img { width: 100%; height: 100%; object-fit: contain; }
.address-card .label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.address-card .addr { direction: ltr; text-align: left; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .98rem; line-height: 1.7; margin: 12px 0 18px; color: var(--navy); }
.address-card .addr b { color: var(--red); }
.address-card .route { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 2px dashed var(--line); font-weight: 700; color: var(--navy); }
.address-card .route .line { flex: 1; height: 3px; background: var(--swoosh); border-radius: 2px; position: relative; }
.address-card .route .line svg { position: absolute; top: -11px; inset-inline-start: 45%; width: 24px; height: 24px; color: var(--navy); }
.float-chip {
  position: absolute; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700;
}
.float-chip .dot { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.chip-1 { top: -26px; inset-inline-end: -10px; }
.chip-2 { bottom: -30px; inset-inline-start: -14px; }
@media (max-width: 520px) { .chip-1 { inset-inline-end: 0; } .chip-2 { inset-inline-start: 0; } }

/* ---------- strips & cards */
.stores-strip { background: var(--light); border-bottom: 1px solid var(--line); }
.stores-strip .wrap { display: flex; align-items: center; gap: 34px; padding-block: 22px; overflow-x: auto; scrollbar-width: none; }
.stores-strip .wrap::-webkit-scrollbar { display: none; }
.stores-strip span { font-weight: 800; color: #8c97ad; font-size: 1.1rem; white-space: nowrap; }
.stores-strip .muted { font-weight: 600; font-size: .9rem; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.grid-3 > .card { transition: transform .2s, box-shadow .2s, border-color .2s; }
.grid-3 > .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfd8e6; }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.icon-badge svg { width: 26px; height: 26px; }
.bg-coral { background: var(--red-soft); color: var(--red); }
.bg-sky { background: var(--blue-soft); color: var(--accent); }
.bg-sun { background: var(--navy); color: #fff; }
.bg-ok { background: #e1f4ec; color: var(--ok); }

/* ---------- steps: CHOOSE • CRUISE • USE */
.steps { counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 33px; inset-inline: 12%; height: 3px; border-radius: 2px; background: var(--swoosh); opacity: .35; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step .num {
  counter-increment: step; width: 66px; height: 66px; border-radius: 16px; margin: 0 auto 18px; transform: rotate(45deg);
  display: grid; place-items: center; background: #fff; border: 2px solid var(--navy); position: relative; z-index: 1;
}
.step .num::before { content: counter(step); transform: rotate(-45deg); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.step:last-child .num { background: var(--red); border-color: var(--red); }
.step:last-child .num::before { color: #fff; }
@media (max-width: 960px) { .steps::before { display: none; } }

/* ---------- navy band */
.band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e6ecf7;
  border-radius: 22px; padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden;
}
.band h2 { color: #fff; }
.band .muted { color: #aebcd6; }
.band .eyebrow { color: #fff !important; }
.band::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 8px; background: var(--swoosh); }
.band-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; margin-top: 2px;
}

/* ---------- photo strip */
.photo-band {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end;
  background: var(--navy) url('/assets/brand/plane.jpg') center / cover no-repeat; color: #fff;
}
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(8, 39, 90, .92) 0%, rgba(8, 39, 90, .55) 55%, rgba(8, 39, 90, .15) 100%); }
.photo-band .inner { position: relative; padding: clamp(28px, 5vw, 56px); max-width: 620px; }
.photo-band h2 { color: #fff; }
.photo-band p { color: var(--on-navy); }

/* ---------- forms & calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.calc-form { padding: 30px; }
.calc-result { padding: 30px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.calc-result h2, .calc-result h3 { color: #fff; }
.calc-result .price { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; margin: 6px 0 14px; color: #fff; }
.calc-result dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; color: var(--on-navy); font-size: .95rem; }
.calc-result dd { margin: 0; color: #fff; font-weight: 700; text-align: end; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--blue-soft); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--light); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 4px; }
.segmented input { display: none; }
.segmented label { text-align: center; padding: 9px; border-radius: 7px; cursor: pointer; font-weight: 700; color: var(--muted); }
.segmented input:checked + label { background: var(--navy); color: #fff; }
.note { font-size: .85rem; color: var(--muted); }
.notice { background: var(--blue-soft); border: 1px solid #c9d7ee; border-inline-start: 4px solid var(--navy); color: var(--navy); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .92rem; }
.form-ok { display: none; background: #e1f4ec; color: #0e6a45; border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 700; margin-top: 12px; }

/* ---------- tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-size: .85rem; letter-spacing: .04em; }
tr:nth-child(even) td { background: var(--light); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); }

/* ---------- plans */
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 2px; color: var(--navy); }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan ul { padding: 0; margin: 18px 0 24px; list-style: none; display: grid; gap: 8px; flex: 1; }
.plan li::before { content: "★"; color: var(--red); margin-inline-end: 8px; font-size: .8em; }
.plan.featured { border: 2px solid var(--navy); position: relative; box-shadow: var(--shadow-lg); }
.plan.featured .tag { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 800; padding: 3px 12px; border-radius: 6px; }

/* ---------- faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq details[open] { border-inline-start: 4px solid var(--red); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }

/* ---------- store directory */
.store-cat h3 { display: flex; align-items: center; gap: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--light); border: 1px solid var(--line); border-radius: 7px; padding: 5px 12px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.search { position: relative; max-width: 480px; }
.search input { padding-inline-start: 44px; }
.search svg { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }

/* ---------- inner page header (navy strip) */
.page-hero {
  padding-block: 60px 44px; color: #fff; position: relative;
  background: radial-gradient(700px 300px at 10% 0%, #1b4a8f 0%, transparent 65%), linear-gradient(160deg, var(--navy), var(--navy-deep));
}
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 6px; background: var(--swoosh); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); color: #fff; }
.page-hero .eyebrow { color: #fff; }
.page-hero .muted { color: var(--on-navy); }
.page-hero a { color: #fff; text-decoration: underline; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* ---------- footer */
.site-footer { background: var(--navy-deep); color: #aebcd6; margin-top: 40px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--swoosh); }
.site-footer .wrap { padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #aebcd6; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { margin-bottom: 14px; }
.site-footer .logo img { height: 50px; }
.site-footer .slogan { color: #fff; display: block; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .float-chip { animation: bob 5s ease-in-out infinite; }
  .chip-2 { animation-delay: -2.5s; }
  @keyframes bob { 50% { translate: 0 -8px; } }
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
