/* =========================================================
   Pacific HPP — Stylesheet
   Sections: 1. Variables & Reset  2. Typography  3. Layout helpers
   4. Buttons  5. Header/Nav  6. Hero  7. Sections & Cards
   8. Steps/Process  9. Shelf-life  10. Forms  11. FAQ Accordion
   12. Footer  13. Dark CTA band  14. Responsive
   ========================================================= */

/* ---------- 1. Variables & Reset ---------- */
:root {
  --teal: #3b8fa3;
  --teal-dark: #2b6d7d;
  --teal-darker: #1f5361;
  --teal-light: #eaf5f8;
  --teal-light-2: #d7ecf1;
  --black: #16191a;
  --ink: #1f2426;
  --grey-900: #2b2f31;
  --grey-700: #4a5153;
  --grey-500: #6b7377;
  --grey-300: #c7cdd0;
  --grey-100: #f4f6f7;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(20, 30, 33, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 30, 33, 0.10);
  --shadow-lg: 0 20px 48px rgba(20, 30, 33, 0.16);
  --container: 1180px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}

/* ---------- 2. Typography scale ---------- */
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--grey-700); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--grey { background: var(--grey-100); }
.section--teal-light { background: var(--teal-light); }
.text-center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(59, 143, 163, 0.35);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(59, 143, 163, 0.45); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--teal-dark); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-dark);
}
.btn-outline-dark:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--grey-300);
  height: var(--header-h);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--black);
  flex-shrink: 0;
  white-space: nowrap;
}
.logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.logo .logo-sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-top: -2px;
}
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--grey-900);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--teal-dark); background: var(--teal-light); }
.main-nav a.active { color: var(--teal-dark); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.93rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--black); border-radius: 2px; transition: 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 96px;
  background: linear-gradient(160deg, var(--teal-light) 0%, #ffffff 62%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59,143,163,0.16), rgba(59,143,163,0) 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead {
  font-size: 1.15rem;
  color: var(--grey-700);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 0.9rem; color: var(--grey-500); margin-top: 18px; }
.hero-visual {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--grey-300);
}
.hero-visual .stat-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; }
.hero-stat { text-align: center; flex: 1; }
.hero-stat .num { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.7rem; color: var(--teal-dark); }
.hero-stat .lbl { font-size: 0.78rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: 0.04em; }

/* page hero (non-home) */
.page-hero {
  padding: 56px 0 60px;
  background: linear-gradient(160deg, var(--teal-light) 0%, #ffffff 70%);
  text-align: center;
}
.page-hero .eyebrow { display: block; }
.page-hero p { max-width: 640px; margin: 16px auto 0; font-size: 1.08rem; }

/* ---------- 7. Sections & Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-badge { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-badge svg { width: 28px; height: 28px; stroke: var(--teal-dark); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img, .split .img-box { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.img-box {
  background: var(--teal-light);
  border: 1px solid var(--grey-300);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-box svg { width: 45%; opacity: 0.9; }

.badge-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--grey-900);
}
.pill-badge svg { width: 16px; height: 16px; stroke: var(--teal-dark); }

.list-check { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--grey-700); }
.list-check svg { width: 20px; height: 20px; stroke: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- 8. Steps / Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step { position: relative; text-align: center; padding: 36px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--grey-300); box-shadow: var(--shadow-sm); }
.step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(59,143,163,0.4);
}
.step .icon-badge { margin: 10px auto 18px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; }
.step-arrow {
  display: none;
}

/* ---------- 9. Shelf-life ---------- */
.shelf-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.shelf-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.shelf-card .icon-badge { margin: 0 auto 14px; }
.shelf-card h4 { font-size: 0.98rem; margin-bottom: 10px; color: var(--black); font-family: "Poppins", sans-serif; font-weight: 600; }
.shelf-card .duration {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 4px;
}
.shelf-card .duration-note { font-size: 0.78rem; color: var(--grey-500); }

table.shelf-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
table.shelf-table th, table.shelf-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--grey-300); }
table.shelf-table th { background: var(--teal-dark); color: var(--white); font-family: "Poppins", sans-serif; font-weight: 600; }
table.shelf-table tr:last-child td { border-bottom: none; }
table.shelf-table tr:nth-child(even) td { background: var(--grey-100); }

/* ---------- 10. Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--grey-900); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59,143,163,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--grey-500); margin-top: 4px; }
#form-success {
  display: none;
  background: var(--teal-light);
  border: 1px solid var(--teal);
  color: var(--teal-darker);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 24px;
}
#form-success.show { display: block; }

.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon-badge { flex-shrink: 0; }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.95rem; margin: 0; }

/* ---------- 11. FAQ Accordion ---------- */
.accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.acc-item { background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); overflow: hidden; }
.acc-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
}
.acc-question .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.acc-item.open .acc-question .plus { transform: rotate(45deg); background: var(--teal); color: var(--white); }
.acc-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.acc-answer-inner { padding: 0 24px 20px; color: var(--grey-700); font-size: 0.96rem; }
.acc-item.open .acc-answer { max-height: 400px; }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--black); color: var(--grey-300); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { color: var(--grey-300); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--grey-300); font-size: 0.94rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-col p { color: var(--grey-300); font-size: 0.94rem; margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--grey-500);
}
.footer-bottom .badges { display: flex; gap: 10px; }
.footer-bottom .badges span {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.76rem;
  color: var(--grey-300);
}

/* ---------- 13. Dark CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-darker), var(--teal-dark));
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; font-size: 1.08rem; }
.cta-band .btn-primary { background: var(--white); color: var(--teal-darker); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.cta-band .btn-primary:hover { background: var(--teal-light); }

/* generic dark section */
.section--dark { background: var(--black); color: var(--grey-300); }
.section--dark h2 { color: var(--white); }
.section--dark p { color: var(--grey-300); }

/* ---------- 14. Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 9px 11px; font-size: 0.89rem; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .img-box { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .shelf-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .main-nav, .nav-cta .btn-outline-dark { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 10px; }
  .mobile-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-300);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 14px 8px; border-bottom: 1px solid var(--grey-100); font-weight: 500; }
  .mobile-nav .btn { margin-top: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .shelf-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
  h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .shelf-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
