/* ---------- Exposensia static rebuild ----------
   Brand tokens (leaf green + deep navy + warm neutrals).
   No build step — edit this file directly and re-deploy.
   ------------------------------------------------ */

:root {
  /* Palette — pulled from the live exposensia.com WordPress source */
  --brand-green: #85be00;         /* primary leaf green (svg strokes confirmed) */
  --brand-green-dark: #6ea000;    /* hover state for the leaf green */
  --brand-green-soft: #f1f8da;    /* soft tint for accent panels */
  --ink: #0d2540;                 /* deep navy used on the original headers */
  --ink-soft: #1f3a5c;
  --slate: #64748b;
  --paper: #ffffff;               /* page background — pure white to match origin */
  --paper-warm: #f6f7f3;          /* subtle off-white only used for product chips */
  --line: #e5e7eb;
  --white: #ffffff;
  --body: #1f2433;

  /* Type */
  --font-sans: 'Red Hat Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Red Hat Display', 'Inter', sans-serif;

  /* Layout */
  --container: 1180px;
  --gap: 1.25rem;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 37, 64, 0.06), 0 2px 8px rgba(13, 37, 64, 0.04);
  --shadow-md: 0 4px 12px rgba(13, 37, 64, 0.08), 0 12px 32px rgba(13, 37, 64, 0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-green-dark); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--paper { background: var(--paper-warm); }
.section--green { background: var(--brand-green-soft); }
.section--white { background: var(--white); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 1rem;
}
.section--ink .eyebrow { color: var(--brand-green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--brand-green);
  color: var(--ink);
}
.btn--primary:hover { background: var(--brand-green-dark); color: var(--white); }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--on-ink {
  background: var(--brand-green);
  color: var(--ink);
}
.btn--on-ink:hover { background: var(--white); color: var(--ink); }
.btn--ghost-on-ink {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost-on-ink:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.nav a:hover { color: var(--brand-green-dark); }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand-green);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ---------- Nav dropdowns ---------- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__toggle {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  position: relative;
}
.nav-dropdown__toggle:hover,
.nav-dropdown.is-open .nav-dropdown__toggle {
  color: var(--brand-green-dark);
}
.nav-dropdown__toggle.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand-green);
  border-radius: 2px;
}
.nav-dropdown__caret {
  font-size: 0.7em;
  line-height: 1;
  transition: transform 0.15s ease;
}
.nav-dropdown.is-open .nav-dropdown__caret { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.nav-dropdown__menu a:hover {
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}
.nav-dropdown__menu a.is-active {
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
}
/* Bridge the gap between toggle and menu so the hover state isn't lost when
   moving the pointer across the small whitespace between them. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 0.85rem;
}

/* ---------- Hero (slideshow + overlay text — mirrors the live site) ---------- */
.hero-slideshow {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 70vh, 720px);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-slideshow__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform 1.0s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.hero-slideshow__slide.is-active { transform: translateX(0); }
.hero-slideshow__slide.is-prev { transform: translateX(-100%); }
.hero-slideshow__slide.is-resetting {
  transition: none;
  transform: translateX(100%);
}
.hero-slideshow__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(13, 37, 64, 0.42) 0%, rgba(13, 37, 64, 0.55) 100%),
    radial-gradient(60% 80% at 50% 50%, rgba(13, 37, 64, 0) 0%, rgba(13, 37, 64, 0.35) 100%);
}
.hero-slideshow__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: clamp(440px, 70vh, 720px);
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  color: var(--white);
}
.hero-slideshow__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-slideshow__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero-slideshow__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background: var(--brand-green);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease;
}
.hero-slideshow__cta:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--ink);
}
.hero-slideshow__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 0; right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.hero-slideshow__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, transform 0.18s;
}
.hero-slideshow__dot.is-active {
  background: var(--brand-green);
  transform: scale(1.25);
}
.hero-slideshow__dot:hover { background: var(--white); }

/* ---------- Cards & product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-green);
}
.product-card__image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-bottom: 1.1rem;
}
.product-card__image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.product-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__link:hover h3 { color: var(--brand-green-dark); }
.product-card h3 { margin: 0 0 0.4rem; font-size: 1.25rem; color: var(--ink); transition: color 0.18s ease; }
.product-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-green-dark);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.product-card__desc {
  color: var(--slate);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1rem;
}
.product-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-card__actions .btn { font-size: 0.85rem; padding: 0.55rem 1rem; }

/* ---------- Feature blocks (alternating image/text) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature--reverse .feature__media { order: 2; }
.feature__media {
  background: transparent;
}
.feature__media img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}
.feature__body p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Value-prop strip ---------- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.value-strip__item h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.35rem; }
.value-strip__item p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin: 0; }

/* ---------- Bundles ---------- */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.bundle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.bundle-card__image {
  aspect-ratio: 4 / 3;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.bundle-card__image img { max-width: 85%; max-height: 85%; object-fit: contain; transition: transform 0.18s ease; }
.bundle-card {
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.bundle-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-green);
}
.bundle-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.bundle-card__link:hover h3 { color: var(--brand-green-dark); }
.bundle-card__link:hover .bundle-card__image img { transform: scale(1.03); }
.bundle-card h3 { font-size: 1.1rem; margin: 0 0 0.4rem; transition: color 0.18s ease; }
.bundle-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--slate);
}
.bundle-card ul li::before { content: "— "; color: var(--brand-green-dark); }
.bundle-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-green-dark);
  font-size: 1.1rem;
  margin: auto 0 0.75rem;
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.product-detail__image {
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  aspect-ratio: 1 / 1;
}
.product-detail__image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-detail__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-green-dark);
  font-size: 2rem;
  margin: 0 0 1rem;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  color: var(--ink);
  font-weight: 700;
}
.spec-table td { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 2rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--brand-green); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.footer-grid p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.footer-grid img { height: 32px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.95; }
.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.social-row a:hover { background: var(--brand-green); color: var(--ink); border-color: var(--brand-green); }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero__grid, .feature, .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .feature--reverse .feature__media { order: 0; }
  .value-strip { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 1.25rem;
    align-items: flex-start;
  }
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }
  /* Mobile: flatten dropdowns into the stacked menu so every link is reachable
     without hover. Toggle becomes a label, menu items inline-stack underneath. */
  .nav.open .nav-dropdown { width: 100%; }
  .nav.open .nav-dropdown__toggle {
    pointer-events: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate);
    font-weight: 700;
    cursor: default;
  }
  .nav.open .nav-dropdown__toggle.is-active::after { display: none; }
  .nav.open .nav-dropdown__caret { display: none; }
  .nav.open .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    padding: 0.5rem 0 0;
    min-width: 0;
    background: transparent;
  }
  .nav.open .nav-dropdown__menu a {
    padding: 0.45rem 0;
    white-space: normal;
  }
  .nav.open .nav-dropdown::before { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Stub-cart modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 37, 64, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}
.modal.open { display: flex; }
.modal__card {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 460px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.modal__card h3 { margin: 0 0 0.6rem; }
.modal__card p { color: var(--slate); margin-bottom: 1.5rem; }
