/* ============================================================
   Wellness Way Guide — travel accessories
   Palette: rust #C15B33 · navy #22354C · tan #E9DCC5
   Fonts:   Oswald (condensed display) · Source Sans 3 (body)
   ============================================================ */

:root {
  --rust: #C15B33;
  --rust-deep: #9E4523;
  --navy: #22354C;
  --navy-deep: #182738;
  --tan: #E9DCC5;
  --tan-deep: #D3BE99;
  --white: #FFFFFF;
  --ink: #22303F;
  --ink-muted: #64748B;
  --radius: 0;
  --shadow-soft: 0 6px 20px rgba(24, 39, 56, 0.1);
  --shadow-lift: 0 16px 40px rgba(24, 39, 56, 0.18);
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.container { width: min(1240px, 92%); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--tan); padding: 10px 18px;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.12;
  text-transform: uppercase; letter-spacing: 0.015em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 30px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--tan); transform: translateY(-2px); }
.btn-light { background: var(--tan); color: var(--navy); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--tan); }
.btn-dark:hover { background: var(--rust); color: var(--white); transform: translateY(-2px); }
.btn-add { width: 100%; padding: 12px 18px; font-size: 13px; background: var(--navy); color: var(--white); }
.btn-add:hover { background: var(--rust); }
.btn-add.added { background: var(--rust); color: var(--white); cursor: default; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--navy); color: var(--tan);
  text-align: center; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 16px; font-weight: 500; font-family: var(--font-display);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--navy);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.logo {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.logo em { font-style: normal; color: var(--rust); }
.logo .tld { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--ink-muted); margin-left: 2px; text-transform: lowercase; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--navy); text-decoration: none; font-family: var(--font-display);
  font-weight: 500; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 2px; border-bottom: 3px solid transparent; transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--rust); border-bottom-color: var(--rust); }
.main-nav a:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius); border: none; background: transparent;
  color: var(--navy); cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: var(--navy); color: var(--tan); }
.icon-btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.cart-count {
  position: absolute; top: 1px; right: -1px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--rust); color: var(--white); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; }
.mobile-nav {
  display: none; flex-direction: column; padding: 6px 4% 16px;
  border-top: 1px solid rgba(34, 53, 76, 0.15);
}
.mobile-nav a {
  color: var(--navy); text-decoration: none; font-family: var(--font-display);
  font-weight: 500; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 4px; border-bottom: 1px solid rgba(34, 53, 76, 0.1);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero { padding: 0; background: var(--tan); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; min-height: 560px;
  width: 100%; max-width: none; margin: 0;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 6% 64px 4%; }
.eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 20px; color: var(--navy); }
.lede { font-size: 17px; color: var(--ink-muted); max-width: 44ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-meta { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-meta li {
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--navy); display: flex; align-items: center; gap: 10px;
}
.hero-meta li::before {
  content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-left: 8px solid var(--rust); flex: none;
}
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--tan); padding: 12px 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft);
}
.chip svg { color: var(--rust); flex: none; }
.chip-a { top: 28px; left: -14px; }
.chip-b { bottom: 30px; right: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
.chip-stars { color: var(--rust); letter-spacing: 2px; font-size: 13px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); border-bottom: 1px solid rgba(233, 220, 197, 0.2); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 14px; color: var(--rust); }
.trust-item svg { flex: none; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong {
  color: var(--tan); font-family: var(--font-display); font-weight: 500; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.trust-item span { font-size: 13px; color: rgba(233, 220, 197, 0.75); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 8px; color: var(--navy); }
.section-head p { color: var(--ink-muted); font-size: 16px; }

/* ---------- Category tiles ---------- */
.categories { padding: 76px 0 20px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { position: relative; display: block; overflow: hidden; box-shadow: var(--shadow-soft); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile-label {
  position: absolute; left: 0; bottom: 0; right: auto;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--rust); color: var(--white); padding: 12px 20px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s ease;
}
.tile:hover .tile-label { background: var(--navy); color: var(--tan); }
.tile-arrow { transition: transform 0.2s ease; }
.tile:hover .tile-arrow { transform: translateX(5px); }
.tile:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

/* ---------- Bestsellers ---------- */
.bestsellers { padding: 76px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--white); border: 1px solid rgba(34, 53, 76, 0.18);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.product-media { position: relative; overflow: hidden; border-bottom: 3px solid var(--tan); }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px;
}
.badge-hot { background: var(--rust); color: var(--white); }
.badge-new { background: var(--navy); color: var(--tan); }
.product-info { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.product-info h3 { font-size: 17.5px; color: var(--navy); }
.stars-row { display: flex; align-items: center; gap: 8px; }
.stars { color: var(--rust); letter-spacing: 2px; font-size: 14px; }
.count { font-size: 13px; color: var(--ink-muted); }
.product-desc { font-size: 14px; color: var(--ink-muted); flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--navy); }
.compare { color: var(--ink-muted); text-decoration: line-through; font-size: 14.5px; }

/* ---------- Editorial band ---------- */
.band {
  background:
    linear-gradient(100deg, rgba(24, 39, 56, 0.88) 14%, rgba(34, 53, 76, 0.55) 55%, rgba(24, 39, 56, 0.2)),
    url("images/s5-band.webp") center / cover no-repeat;
  min-height: 470px; display: flex; align-items: center;
}
.band-inner { width: min(1240px, 92%); margin-inline: auto; }
.band-copy { max-width: 540px; color: var(--tan); padding: 72px 0; }
.eyebrow-light { color: var(--rust); }
.band-copy h2 { font-size: clamp(30px, 3.8vw, 48px); color: var(--white); margin-bottom: 16px; }
.band-copy p { color: rgba(255, 255, 255, 0.82); margin-bottom: 30px; }

/* ---------- Steps ---------- */
.steps { padding: 76px 0 30px; background: var(--tan); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: var(--white); border-left: 5px solid var(--rust);
  padding: 32px 28px; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.step-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 600;
  color: var(--tan-deep); display: block; margin-bottom: 10px; line-height: 1;
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--navy); }
.step-card p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 76px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--tan); padding: 30px; display: flex; flex-direction: column; gap: 14px;
}
.testimonial-card .stars { color: var(--rust); }
.testimonial-card blockquote { font-size: 15px; color: var(--navy); flex: 1; }
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--rust); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 54px 0; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--navy); color: var(--tan); padding: 78px 0; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.newsletter .eyebrow { color: var(--rust); }
.newsletter h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.newsletter-copy p { color: rgba(233, 220, 197, 0.75); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.newsletter-form input {
  flex: 1 1 240px; padding: 14px 20px;
  border: 2px solid rgba(233, 220, 197, 0.35); background: rgba(233, 220, 197, 0.08);
  color: var(--white); font-family: var(--font-body); font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(233, 220, 197, 0.45); }
.newsletter-form input:focus { outline: none; border-color: var(--rust); background: rgba(233, 220, 197, 0.12); }
.newsletter-form .btn-primary { background: var(--rust); color: var(--white); }
.newsletter-form .btn-primary:hover { background: var(--tan); color: var(--navy); }
.form-note { flex-basis: 100%; font-size: 12.5px; color: rgba(233, 220, 197, 0.5); }
.form-success { flex-basis: 100%; font-weight: 700; color: var(--tan); font-size: 16px; }
.form-error { border-color: #E08A63 !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(233, 220, 197, 0.75); border-top: 3px solid var(--rust); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 0 42px;
}
.logo-light { color: var(--tan); }
.logo-light em { color: var(--rust); }
.logo-light .tld { color: rgba(233, 220, 197, 0.5); }
.footer-brand p { font-size: 14.5px; margin: 16px 0 20px; max-width: 34ch; }
.footer-widget {
  background: rgba(193, 91, 51, 0.12); border: 1px solid rgba(193, 91, 51, 0.4);
  padding: 18px 20px;
}
.footer-widget h4 {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px;
}
.footer-widget ul { list-style: none; }
.footer-widget li { font-size: 13.5px; padding: 3px 0; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tan); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a { color: rgba(233, 220, 197, 0.7); text-decoration: none; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--rust); }
.footer-col a:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.payments-title { margin-top: 24px; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.payments li {
  margin: 0; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(233, 220, 197, 0.3); padding: 5px 10px; color: rgba(233, 220, 197, 0.85);
}
.footer-bottom { border-top: 1px solid rgba(233, 220, 197, 0.14); padding: 22px 0; font-size: 13.5px; color: rgba(233, 220, 197, 0.5); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--rust); color: var(--white); font-family: var(--font-display);
  font-weight: 500; font-size: 14.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 28px; box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile img, .product-card, .product-media img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 4% 40px; }
  .hero-media { order: -1; }
  .hero-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .chip-a { left: 8px; }
  .chip-b { right: 8px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tile-grid { grid-template-columns: 1fr; }
  .steps-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 28px; }
  .categories, .bestsellers, .testimonials, .steps { padding-top: 56px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 38px; }
  .logo { font-size: 17px; }
}
