/* Vitality Spring — brand stylesheet
   Palette taken from the packaging: navy field, cyan wave, and the Vanuatu
   flag tricolour used as a thin signature rule. */

:root {
  --navy-900: #041C4A;
  --navy-800: #06225A;
  --navy-700: #0B3C8C;
  --blue-600: #1157B8;
  --cyan-500: #29ABE2;
  --cyan-300: #7FD0F0;
  --ice-100:  #EAF4FB;
  --ice-50:   #F5FAFD;
  --white:    #FFFFFF;

  /* Vanuatu flag */
  --vu-red:    #D21034;
  --vu-green:  #009543;
  --vu-yellow: #FDCE12;

  --ink:       #14213D;
  --ink-muted: #53617D;
  --rule:      #DCE7F2;

  --font-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(6, 34, 90, .06), 0 4px 12px rgba(6, 34, 90, .06);
  --shadow-md: 0 2px 4px rgba(6, 34, 90, .08), 0 12px 32px rgba(6, 34, 90, .10);
  --shadow-lg: 0 8px 24px rgba(6, 34, 90, .12), 0 32px 64px rgba(6, 34, 90, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }

p { margin: 0 0 1.1em; }
a { color: var(--blue-600); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

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

/* ---------- Vanuatu tricolour rule: the brand's signature divider ---------- */
.tricolour {
  height: 4px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg,
    var(--vu-red)    0 33.33%,
    var(--vu-yellow) 33.33% 66.66%,
    var(--vu-green)  66.66% 100%);
}

/* ---------- Preview notice ---------- */
.preview-bar {
  background: var(--vu-yellow);
  color: #3D2E00;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: .5rem var(--pad);
  letter-spacing: .01em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 34, 90, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
  position: relative;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--cyan-500); }
.nav a.btn { border-bottom: 2px solid transparent; }
.nav a.btn:hover { border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  color: white;
  padding: .5rem .7rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .65rem 1.15rem; font-size: .92rem; }

.btn-primary { background: var(--cyan-500); color: var(--navy-900); box-shadow: 0 6px 20px rgba(41, 171, 226, .35); }
.btn-primary:hover { background: #3FBBEE; }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-solid { background: var(--navy-700); color: var(--white); }
.btn-solid:hover { background: var(--blue-600); }

/* ---------- Hero ----------
   Split layout: copy sits on a solid navy field, photography occupies a panel
   on the right. Keeps the headline off the image entirely, and lets a portrait
   source photo fill a tall panel near its native resolution. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 74vh, 720px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 0% 50%, rgba(17, 87, 184, .55) 0%, rgba(4, 20, 50, 0) 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, #072C6E 100%);
}

.hero-media {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 46%;
  z-index: -1;
  overflow: hidden;
}
/* <picture> is inline by default, which leaves it auto-height — the image's
   height:100% would then resolve against nothing and fall back to intrinsic
   size, blowing the panel out. Make the wrapper a full-height block. */
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
/* feather the panel's left edge into the navy field */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy-900) 0%,
    rgba(4, 28, 74, .72) 22%,
    rgba(4, 28, 74, .18) 55%,
    rgba(4, 28, 74, 0) 100%);
}

.hero .wrap { width: 100%; position: relative; }
.hero-inner { max-width: min(50%, 620px); padding-block: clamp(3rem, 7vw, 5rem); }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero .eyebrow { color: var(--cyan-300); }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 33rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy-800);
  color: var(--white);
  padding-block: 2.25rem;
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.75rem 2rem;
}
.trust li { display: flex; gap: .9rem; align-items: flex-start; }
.trust .ico { flex: 0 0 auto; width: 26px; height: 26px; color: var(--cyan-500); margin-top: 2px; }
.trust strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.trust span { font-size: .88rem; color: rgba(255,255,255,.66); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tint { background: var(--ice-50); }

.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head .eyebrow { color: var(--blue-600); font-weight: 700; letter-spacing: .16em; font-size: .78rem; margin-bottom: .75rem; }
.section-head p { color: var(--ink-muted); font-size: 1.08rem; margin-bottom: 0; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Product cards ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--cyan-300); }
.card .media {
  aspect-ratio: 4 / 3;
  background: var(--ice-100);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .35rem; }
.card .size {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: .6rem;
}
.card p { font-size: .93rem; color: var(--ink-muted); margin-bottom: 1rem; }
.card .price { margin-top: auto; font-family: var(--font-display); font-weight: 700; color: var(--navy-700); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split .copy h2 { margin-bottom: .6em; }
.split .copy p { color: var(--ink-muted); }

.feature-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; }
.feature-list .ico { flex: 0 0 auto; width: 24px; height: 24px; color: var(--cyan-500); margin-top: 3px; }
.feature-list strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy-800); }
.feature-list span { font-size: .93rem; color: var(--ink-muted); }

/* ---------- Equipment ---------- */
.grid-equipment { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.equip {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.equip .media { background: var(--ice-100); aspect-ratio: 3 / 4; overflow: hidden; }
.equip .media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.equip .body { padding: 1.5rem; }
.equip p { color: var(--ink-muted); font-size: .95rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-600) 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 38rem; margin-inline: auto; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .5rem;
}
.contact-item p { margin-bottom: 0; color: var(--ink-muted); }

.pending {
  display: inline-block;
  background: #FFF4CC;
  border: 1px dashed #E0B700;
  border-radius: 6px;
  padding: .1rem .5rem;
  font-size: .85rem;
  color: #7A5D00;
  font-style: normal;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding-block: 3rem 2rem; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer img.mark { height: 54px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(255,255,255,.62); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-300); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* stack the hero: photo becomes a band beneath the copy */
  .hero { display: block; min-height: 0; }
  .hero-media {
    position: relative;
    width: 100%;
    height: clamp(220px, 42vw, 320px);
    z-index: 0;
  }
  .hero-media::after {
    background: linear-gradient(180deg, var(--navy-900) 0%, rgba(4, 28, 74, .35) 30%, rgba(4, 28, 74, 0) 70%);
  }
  .hero-inner { max-width: none; padding-block: clamp(2.5rem, 9vw, 3.5rem); }

  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-800);
    padding: .5rem var(--pad) 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a.btn { margin-top: .9rem; border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
