/* ==========================================================================
   Pebble Spring Water — Site 4: Mountain Spring / White Header variant
   Same immersive feel as Site 3, but with a clean white sticky header.
   ========================================================================== */

:root {
  --slate-50:   #f3f6f7;
  --slate-100:  #e3eaec;
  --slate-200:  #c5d1d4;
  --slate-400:  #6a808a;
  --slate-600:  #324a55;
  --slate-800:  #14242c;
  --slate-900:  #0b1418;

  --glacier:    #d6ecf2;
  --ice:        #a8d6dd;
  --aqua-500:   #2da9b7;
  --aqua-600:   #1d8a96;

  --moss:       #5d8a64;
  --moss-2:     #82a17c;
  --gold:       #d4b35c;

  --bg:         #fafbfb;
  --ink:        #0b1418;
  --ink-soft:   #41525a;
  --white:      #ffffff;
  --line:       rgba(11, 20, 24, 0.08);

  --sans:       'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display:    'Manrope', 'Inter', sans-serif;

  --container:  1280px;
  --shadow:     0 30px 80px rgba(11, 20, 24, 0.22);
  --shadow-sm:  0 6px 20px rgba(11, 20, 24, 0.08);
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--aqua-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--aqua-500); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--slate-900);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); font-weight: 700; letter-spacing: -0.025em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.eyebrow {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--aqua-600);
}

.serif-em { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; }

/* ---------- Variant bar ---------- */
.variant-bar {
  background: var(--slate-900);
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 0.8rem;
}
.variant-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.variant-bar__label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; color: rgba(255,255,255,0.6); }
.variant-bar__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.variant-bar__links a {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  color: rgba(255,255,255,0.85); text-decoration: none; transition: all .2s ease;
}
.variant-bar__links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.variant-bar__links a.is-current { background: var(--aqua-500); color: #fff; font-weight: 700; }
.variant-bar__home { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.78rem; }
.variant-bar__home:hover { color: #fff; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Nav — clean white sticky header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__brand img { height: 70px; }
.nav__links { display: flex; list-style: none; padding: 0; margin: 0; gap: 2px; align-items: center; }
.nav__links a {
  display: block;
  padding: 10px 16px;
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.nav__links a:hover { color: var(--aqua-600); background: var(--slate-50); }
.nav__cta { margin-left: 12px; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--slate-900);
  margin: 5px auto;
  transition: all .25s ease;
}

@media (max-width: 960px) {
  .nav__inner { height: 80px; padding: 0 24px; }
  .nav__brand img { height: 56px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(11, 20, 24, 0.12);
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease);
}
.btn--primary { background: var(--aqua-500); color: #fff; box-shadow: 0 14px 40px rgba(45, 169, 183, 0.45); }
.btn--primary:hover { background: var(--aqua-600); transform: translateY(-2px); box-shadow: 0 20px 50px rgba(29, 138, 150, 0.55); }
.btn--ghost-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.2); color: #fff; }
.btn--dark { background: var(--slate-900); color: #fff; }
.btn--dark:hover { background: var(--slate-800); }
.btn--large { padding: 18px 36px; font-size: 1rem; }
.btn--icon { padding: 14px 18px; }

/* ---------- Hero — full-bleed cinematic (Site 4: starts below white nav) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--slate-900);
}
@media (max-width: 960px) { .hero { min-height: calc(100vh - 80px); } }
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,20,24,0.85) 0%, rgba(11,20,24,0.3) 35%, rgba(11,20,24,0.4) 65%, rgba(11,20,24,0.92) 100%),
    linear-gradient(90deg, rgba(11,20,24,0.6) 0%, transparent 60%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
  width: 100%;
}
.hero h1 {
  color: #fff;
  max-width: 16ch;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 32px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--ice), var(--aqua-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.hero__lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: 40px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.3); margin-top: 12px; }
.hero__scroll-dot {
  position: absolute; bottom: 0; left: 50%;
  width: 5px; height: 5px;
  background: var(--aqua-500); border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { bottom: 40px; opacity: 0; }
  50% { opacity: 1; }
  100% { bottom: 0; opacity: 0; }
}

.hero__badges {
  display: flex; gap: 24px; align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
}
.hero__badge { display: inline-flex; align-items: center; gap: 8px; }
.hero__badge::before { content: '★'; color: var(--gold); font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--dark { background: var(--slate-900); color: rgba(255,255,255,0.85); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.7); }
.section--dark .eyebrow { color: var(--ice); }

.section--slate { background: var(--slate-50); }

/* ---------- Marquee / value strip ---------- */
.value-strip {
  background: var(--slate-900);
  color: #fff;
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.value-strip__inner {
  display: flex; gap: 80px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.value-strip__item {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; gap: 80px;
}
.value-strip__item::after { content: '◆'; color: var(--aqua-500); font-style: normal; font-size: 0.6rem; }

/* ---------- Feature grid (5-stage) ---------- */
.process-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.process-cards .process-card {
  background: #fff;
  padding: 40px 28px;
  transition: background .3s var(--ease);
}
.process-cards .process-card:hover { background: var(--slate-50); }
.process-card__num {
  display: inline-block;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--aqua-600);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.process-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.process-card p { font-size: 0.9rem; line-height: 1.55; margin: 0; }
@media (max-width: 1100px) { .process-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .process-cards { grid-template-columns: 1fr; } }

/* ---------- Split feature with full-bleed image ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 600px;
}
.split--reverse .split__image { order: 2; }
.split__image { position: relative; overflow: hidden; }
.split__image img {
  width: 100%; height: 100%; object-fit: cover; min-height: 480px;
}
.split__copy {
  padding: 80px clamp(24px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.split__copy h2 { margin-bottom: 24px; }
.split__copy .btn { align-self: flex-start; margin-top: 16px; }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__image { order: 0; }
  .split__copy { padding: 64px 24px; }
}

/* ---------- Product cards — premium */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.product-tile {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4/5;
  background: var(--slate-900);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.product-tile:hover { transform: translateY(-6px); }
.product-tile__bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--aqua-500), var(--slate-800));
  transition: transform .8s var(--ease);
}
.product-tile:nth-child(2) .product-tile__bg { background: linear-gradient(160deg, var(--ice), var(--slate-600)); }
.product-tile:nth-child(3) .product-tile__bg { background: linear-gradient(160deg, var(--glacier), var(--slate-400)); }

.product-tile::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4), transparent 50%);
}
.product-tile__body {
  position: absolute; inset: 0; padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 2; color: #fff;
}
.product-tile__num {
  font-family: Georgia, serif; font-style: italic; font-size: 1.1rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.product-tile h3 { color: #fff; font-size: 2.2rem; letter-spacing: -0.03em; }
.product-tile p { color: rgba(255,255,255,0.85); font-size: 0.95rem; max-width: 30ch; }
.product-tile__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; margin-top: 16px; }

/* ---------- Big metrics ---------- */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  overflow: hidden;
}
.metric {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.metric:last-child { border-right: 0; }
.metric__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}
.metric__num em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ice);
}
.metric__label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 800px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review {
  background: #fff;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--gold); margin-bottom: 16px; letter-spacing: 2px; }
.review__quote {
  font-family: Georgia, serif; font-style: italic;
  font-size: 1.1rem; line-height: 1.55; color: var(--slate-900);
  margin-bottom: 20px;
}
.review__name { font-weight: 700; color: var(--slate-900); font-size: 0.95rem; }
.review__src { font-size: 0.82rem; color: var(--slate-400); }

.trust-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 56px; }
.trust-row img { height: 64px; border-radius: 8px; box-shadow: var(--shadow-sm); }

/* ---------- Image gallery — masonry feel ---------- */
.gallery-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-stack__item { overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-sm); }
.gallery-stack__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform 1s var(--ease); }
.gallery-stack__item:hover img { transform: scale(1.04); }
.gallery-stack__item--tall { grid-row: 1 / 3; aspect-ratio: auto; }
.gallery-stack__item--tall img { aspect-ratio: 3/4; }
@media (max-width: 700px) { .gallery-stack { grid-template-columns: 1fr; } .gallery-stack__item--tall { grid-row: auto; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card-3 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease);
}
.blog-card-3:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-3 img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.blog-card-3:hover img { transform: scale(1.06); }
.blog-card-3::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,24,0.92) 0%, rgba(11,20,24,0.4) 40%, transparent 70%);
}
.blog-card-3__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px; z-index: 2; color: #fff;
}
.blog-card-3__date { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice); margin-bottom: 10px; font-weight: 700; }
.blog-card-3 h3 { color: #fff; font-size: 1.35rem; line-height: 1.2; margin-bottom: 6px; }
.blog-card-3 p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }

/* ---------- Final CTA — full-bleed photo ---------- */
.final-cta {
  position: relative;
  padding: clamp(100px, 14vw, 200px) 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.final-cta__bg {
  position: absolute; inset: 0;
}
.final-cta__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,20,24,0.7) 0%, rgba(11,20,24,0.85) 100%);
}
.final-cta__inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: 0 24px; }
.final-cta h2 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 24px; }
.final-cta p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-900);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { height: 114px; margin-bottom: 16px; }
.footer__tag { color: rgba(255,255,255,0.7); max-width: 32ch; }
.footer__col h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: rgba(255,255,255,0.7); font-size: 0.94rem; }
.footer__col a:hover { color: var(--ice); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
