/* ==========================================================================
   Mr Walking Pads — Mango & Ultramarine design system
   Light only. No black. No dark mode. No dark sections.
   ========================================================================== */

@font-face {
  font-family: "Gabarito";
  src: url("/fonts/gabarito-variable.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Mango & Ultramarine palette */
  --ink: #17206b;          /* headlines, body text — replaces black */
  --ink-soft: #2c3583;
  --muted: #5c6699;        /* captions, secondary text */
  --mango: #ff6b00;        /* every CTA, every action */
  --mango-dark: #e05f00;
  --mango-light: #fff1e6;
  --sun: #ffd029;          /* price / numeric accent */
  --surface: #ffffff;
  --tint: #eef1fe;         /* alternating section band */
  --tint-strong: #dfe4fb;
  --line: #d7ddf7;
  --success: #1a8a5f;
  --readout-bg: #17206b;
  --readout-fg: #ffd029;

  --font-body: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 68ch;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(23, 32, 107, 0.06), 0 8px 24px rgba(23, 32, 107, 0.08);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;

  --bottom-bar-h: 72px;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom, 0));
}
@media (min-width: 880px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }

p { margin: 0 0 1em; }
.prose { max-width: var(--measure); }
.prose p, .prose ul, .prose ol { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--mango-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }

.tabular { font-variant-numeric: tabular-nums; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tint-band { background: var(--tint); }

section.block { padding: var(--space-5) 0; }
@media (max-width: 640px) {
  section.block { padding: var(--space-4) 0; }
}

/* ---------------- Skip link ---------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.75em 1.2em; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 1.25rem;
  max-width: 1120px; margin: 0 auto;
  min-height: 56px;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 800; font-size: 1.02rem; text-decoration: none; color: var(--ink);
}
.brand__logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.brand__name { line-height: 1.1; }
.header-actions { display: flex; align-items: center; gap: 0.55rem; }

.nav-toggle {
  border: none; background: transparent; width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--ink);
}
.nav-toggle:hover { background: var(--tint); }
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav {
  display: none;
  position: fixed; inset: 0; z-index: 50;
  background: var(--surface);
  padding: 1.25rem;
  overflow-y: auto;
}
.site-nav.is-open { display: block; }
.site-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.site-nav__close { border: none; background: var(--tint); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav__links a {
  display: block; padding: 0.95em 0.15em; text-decoration: none; font-weight: 700; font-size: 1.2rem;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.site-nav__drawer-ctas { display: none; }

@media (min-width: 880px) {
  .nav-toggle,
  .site-nav__top,
  .site-nav__drawer-ctas { display: none; }
  .site-nav {
    display: flex;
    position: static;
    inset: auto;
    padding: 0;
    margin-left: auto;
    background: transparent;
    overflow: visible;
    align-items: center;
  }
  .site-nav__links {
    display: flex;
    gap: 1.6rem;
    align-items: center;
  }
  .site-nav__links a {
    border: none;
    padding: 0.2em 0;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--ink-soft);
  }
  .site-nav__links a:hover { color: var(--mango-dark); }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.8em 1.3em; border-radius: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  min-height: 48px;
  line-height: 1;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease, filter 140ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #ff8124 0%, #ff6b00 58%, #f25e00 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 22px rgba(255,107,0,0.28);
}
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 12px 26px rgba(255,107,0,0.34);
}
.btn-secondary { background: var(--tint); color: var(--ink); }
.btn-secondary:hover { background: var(--tint-strong); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: rgba(23, 32, 107, 0.16);
  box-shadow: 0 1px 0 rgba(23, 32, 107, 0.04);
}
.btn-outline:hover {
  border-color: var(--mango);
  color: var(--mango-dark);
  background: var(--mango-light);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.42);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-block { width: 100%; }
.btn-lg { padding: 0.95em 1.55em; font-size: 1.02rem; min-height: 52px; }
.btn-sm { min-height: 40px; padding: 0.55em 1.05em; font-size: 0.88rem; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-order { display: none; }
@media (min-width: 880px) {
  .header-order { display: inline-flex; }
}

/* ---------------- Mobile order bar (edge-to-edge, native-app style) ---------------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(23, 32, 107, 0.06);
}
.dock__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 48px;
  padding: 0.65em 0.6em;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.72rem, 2.6vw, 0.84rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.dock__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.dock__btn--call {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.dock__btn--wa {
  background: linear-gradient(180deg, #ff8124 0%, #ff6b00 58%, #f25e00 100%);
  color: #fff;
  border: 1.5px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}
@media (min-width: 880px) { .dock { display: none; } }

/* Desktop inline order box replaces bottom bar affordance */
.order-box {
  background: var(--tint); border-radius: var(--radius-lg); padding: var(--space-3);
  display: flex; flex-direction: column; gap: 0.75rem;
}

/* ---------------- Hero ---------------- */
.hero { padding: 0 0 var(--space-4); }
.hero__grid { display: grid; gap: 0; }
.hero__media {
  margin: 0 -1.25rem;
}
.hero__copy { padding-top: 1.15rem; }
@media (min-width: 900px) {
  .hero { padding: var(--space-4) 0 var(--space-5); }
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: var(--space-5);
  }
  .hero__copy { order: 1; padding-top: 0; }
  .hero__media { order: 2; margin: 0; }
}
.eyebrow-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  background: var(--mango-light); color: var(--mango-dark);
  font-weight: 800; font-size: 0.82rem;
  padding: 0.4em 0.85em; border-radius: 999px;
}
.hero h1 { margin-bottom: 0.5rem; }
.hero__sub { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin-bottom: 1.4rem; }

.price-row { display: flex; align-items: baseline; gap: 0.75rem; margin: 1.2rem 0; flex-wrap: wrap; }
.readout {
  display: inline-flex; align-items: baseline; gap: 0.35em;
  background: var(--readout-bg); color: var(--readout-fg);
  padding: 0.4em 0.7em; border-radius: 10px;
  font-weight: 800; font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: 0.01em;
}
.readout small { font-size: 0.42em; font-weight: 700; color: var(--readout-fg); opacity: 0.85; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }

.promise-list { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 0.6rem; }
.promise-list li {
  display: flex; align-items: flex-start; gap: 0.7em;
  background: var(--tint); border-radius: var(--radius-sm); padding: 0.75em 0.9em;
}
.promise-list .icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mango); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 900;
}
.promise-list strong { display: block; }
.promise-list span.detail { color: var(--muted); font-size: 0.92rem; }

.hero-ctas { display: none; }
@media (min-width: 880px) {
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
}

/* Gallery */
.gallery {
  display: flex; overflow-x: auto; gap: 0; scroll-snap-type: x mandatory;
  border-radius: 0; padding-bottom: 0;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.gallery__item {
  flex: 0 0 100%; scroll-snap-align: start;
  border-radius: 0; overflow: hidden; background: var(--tint);
  aspect-ratio: 1 / 1;
}
@media (min-width: 900px) {
  .gallery {
    gap: 0.75rem;
    border-radius: var(--radius-lg);
    padding-bottom: 0.4rem;
  }
  .gallery__item { flex-basis: 100%; border-radius: var(--radius-lg); }
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.55rem; padding: 0 1.25rem; }
@media (min-width: 900px) {
  .gallery__dots { padding: 0; margin-top: 0.6rem; }
}
.gallery__dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--line); display: inline-block;
}
.gallery__dots span[aria-current="true"] { background: var(--mango); }

/* ---------------- Homepage splits + square shots (1080×1080) ---------------- */
.split {
  display: grid;
  gap: 1.2rem 1.6rem;
  align-items: start;
  grid-template-areas:
    "shot"
    "head"
    "body";
}
.split .section-head { grid-area: head; margin-bottom: 0; }
.split .shot { grid-area: shot; }
.split .feature-grid { grid-area: body; }
.split > div:not(.section-head) { grid-area: body; }
.split .feature-grid { grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    grid-template-areas:
      "head shot"
      "body shot";
    gap: 0.6rem 2.5rem;
  }
  .split--flip {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    grid-template-areas:
      "shot head"
      "shot body";
  }
  .shot { position: sticky; top: 5rem; }
}
@media (min-width: 1100px) {
  .split .feature-grid { grid-template-columns: 1fr 1fr; }
}

.shot {
  margin: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 1080px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--tint);
  border: 1px solid var(--line);
}
.shot picture,
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 899px) {
  .split .shot,
  .media-first .shot {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
    max-width: none;
    border-radius: 0;
    border: none;
  }
}

.spec-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

/* ---------------- Cards / grids ---------------- */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) {
  .media-first { display: flex; flex-direction: column; gap: 1.4rem; }
  .media-first__media { order: -1; }
}
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.25rem;
}
.card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.section-head { margin-bottom: 1.6rem; }
.section-head p { color: var(--muted); max-width: 60ch; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 0.7em 0.4em; }
.spec-table td:first-child { color: var(--muted); font-weight: 600; width: 45%; }
.spec-table td:last-child { font-weight: 700; text-align: right; }

/* Generic markdown table (comparisons etc.) */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.6em 0.7em; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 700; font-size: 0.85rem; }
.prose tr.is-highlight td { background: var(--mango-light); font-weight: 700; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1em 1.2em; font-weight: 800;
  display: flex; justify-content: space-between; align-items: center; gap: 1em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--mango); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 1.2em 1.1em; color: var(--muted); }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--mango-dark); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 700; }

/* Uses / benefits lists */
.feature-grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-item { display: flex; gap: 0.75em; align-items: flex-start; }
.feature-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mango); margin-top: 0.5em; flex-shrink: 0; }
.feature-item h4 { margin: 0 0 0.15em; font-size: 1rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* CTA band */
.cta-band {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: var(--space-4); text-align: left;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.78); }

/* Footer */
.site-footer { background: var(--tint); padding: var(--space-5) 0 calc(var(--space-4) + var(--bottom-bar-h)); }
@media (min-width: 880px) { .site-footer { padding-bottom: var(--space-5); } }
.footer-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.7rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--mango-dark); }
.footer-bottom {
  margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--tint-strong);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; font-size: 0.85rem; color: var(--muted);
}

/* Blog */
.post-card { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.post-card__img { aspect-ratio: 16/10; background: var(--tint); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1rem 1.1rem 1.2rem; }
.post-card__meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.3rem; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.post-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.post-meta-bar {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--muted); font-size: 0.9rem;
  border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.6rem;
}
.author-box {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--tint); border-radius: var(--radius-md); padding: 1.1rem; margin-top: var(--space-4);
}
.author-box__avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--mango);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; flex-shrink: 0;
}
.author-box h4 { margin: 0 0 0.1em; font-size: 0.98rem; }
.author-box p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reviews empty state */
.empty-state {
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4); text-align: center; color: var(--muted);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mango); outline-offset: 2px;
}
