/* COLORFUL THEME CSS VARIABLES */
:root {
  --nutri-canvas: #0f2332;
  --nutri-surface: #173347;
  --nutri-card-bg: #1f425b;
  --nutri-vivid-accent: #f39c12;
  --nutri-vivid-hover: #e67e22;
  --nutri-teal-flash: #1abc9c;
  --nutri-fresh-lime: #2ecc71;
  --nutri-paper-ink: #f4f7f6;
  --nutri-muted-ink: #a0b2c6;
  --nutri-border-glow: rgba(26, 188, 156, 0.25);
  
  --nutri-grad-hero: linear-gradient(135deg, rgba(15, 35, 50, 0.90) 0%, rgba(23, 51, 71, 0.95) 100%);
  --nutri-grad-cta: linear-gradient(90deg, #1abc9c 0%, #3498db 100%);
  --nutri-grad-card: linear-gradient(145deg, #1f425b 0%, #153043 100%);

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* GENERAL RESET & SCROLL TIMELINE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scroll progress bar */
@keyframes progress-grow {
  to { width: 100%; }
}

.scroll-progress {
  height: 4px;
  width: 0;
  animation: progress-grow linear;
  animation-timeline: scroll();
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Scroll reveal animation */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: slide-up 0.6s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

/* TYPOGRAPHY OVERRIDES */
h1, h2, h3, h4 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* SECTION SPACING & LAYOUT WRAPPER */
.nutri-section-space {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
  position: relative;
}

.nutri-main-wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nutri-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.nutri-section-head p {
  color: var(--nutri-muted-ink);
  font-size: 1.1rem;
}

/* BUTTONS */
.nutri-pill-btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  background: var(--nutri-grad-cta);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 25px -5px rgba(26, 188, 156, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nutri-pill-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 30px -5px rgba(26, 188, 156, 0.6);
}

/* HEADER BAR (Variant 2: Nav Left + Logo Right) */
.nutri-header-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 35, 50, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nutri-header-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nutri-brand-box img {
  height: 42px;
  width: auto;
  display: block;
}

.nutri-nav-deck {
  display: flex;
  align-items: center;
}

.nutri-burger-checkbox {
  display: none;
}

.nutri-burger-trigger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.nutri-burger-trigger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--nutri-paper-ink);
  border-radius: 3px;
}

.nutri-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nutri-nav-list a {
  color: var(--nutri-paper-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nutri-nav-list a:hover {
  color: var(--nutri-teal-flash);
}

.nutri-nav-button {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--nutri-teal-flash);
  border-radius: 999px;
  color: var(--nutri-teal-flash) !important;
}

.nutri-nav-button:hover {
  background: var(--nutri-teal-flash);
  color: #ffffff !important;
}

/* HERO STAGE */
.nutri-hero-stage {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.nutri-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--nutri-grad-hero);
  z-index: 1;
}

.nutri-hero-shell {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}

.nutri-hero-caption {
  max-width: 680px;
}

.nutri-hero-subtext {
  font-size: 1.2rem;
  color: var(--nutri-muted-ink);
  margin-bottom: 2rem;
}

/* BENTO GRID (PRESET I) */
.nutri-bento-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.nutri-bento-cell {
  background: var(--nutri-grad-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--nutri-border-glow);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nutri-bento-cell:hover {
  transform: scale(1.02);
  border-color: var(--nutri-vivid-accent);
}

.nutri-span-4 { grid-column: span 4; }
.nutri-span-2 { grid-column: span 2; }
.nutri-span-3 { grid-column: span 3; }
.nutri-span-6 { grid-column: span 6; }

.nutri-bento-icon-bg {
  color: var(--nutri-vivid-accent);
  margin-bottom: 1.25rem;
}

.nutri-stat-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 2px dashed var(--nutri-teal-flash);
}

.nutri-big-stat {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--nutri-teal-flash);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.nutri-stat-label {
  font-size: 0.95rem;
  color: var(--nutri-muted-ink);
}

.nutri-round-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 188, 156, 0.15);
  color: var(--nutri-teal-flash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.nutri-wide-banner {
  background: linear-gradient(135deg, #1f425b 0%, #173347 100%);
}

.nutri-wide-flex {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nutri-wide-icon {
  color: var(--nutri-fresh-lime);
  flex-shrink: 0;
}

/* SPLIT CONTENT SECTIONS */
.nutri-split-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nutri-split-media {
  flex: 0 0 45%;
}

.nutri-split-text {
  flex: 0 0 55%;
}

.nutri-framed-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid var(--nutri-border-glow);
  object-fit: cover;
}

.nutri-check-list {
  list-style: none;
  margin-top: 1.5rem;
}

.nutri-check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--nutri-paper-ink);
  font-weight: 600;
}

.nutri-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nutri-teal-flash);
  font-weight: 800;
}

.nutri-quote-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(26, 188, 156, 0.1);
  border-left: 4px solid var(--nutri-teal-flash);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--nutri-paper-ink);
}

/* DIVIDER WAVE */
.nutri-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--nutri-canvas);
}

.nutri-wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* CTA BANNER */
.nutri-cta-banner {
  background: var(--nutri-grad-cta);
  padding: 5rem 0;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.2);
}

/* TESTIMONIALS */
.nutri-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nutri-quote-card {
  background: var(--nutri-grad-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--nutri-border-glow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.nutri-quote-card p {
  font-size: 1rem;
  color: var(--nutri-paper-ink);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.nutri-quote-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--nutri-vivid-accent);
  font-family: var(--font-display);
}

/* FORM SECTION */
.nutri-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--nutri-surface);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--nutri-border-glow);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nutri-contact-info p {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--nutri-paper-ink);
}

.nutri-trust-list {
  list-style: none;
  margin-top: 2rem;
}

.nutri-trust-list li {
  margin-bottom: 0.5rem;
  color: var(--nutri-muted-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nutri-trust-list li::before {
  content: "★";
  color: var(--nutri-vivid-accent);
}

.nutri-active-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nutri-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nutri-field-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nutri-paper-ink);
}

.nutri-field-group input,
.nutri-field-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--nutri-canvas);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--nutri-paper-ink);
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.nutri-field-group input:focus,
.nutri-field-group textarea:focus {
  outline: none;
  border-color: var(--nutri-teal-flash);
}

.nutri-submit-btn {
  padding: 1rem;
  border: none;
  border-radius: 999px;
  background: var(--nutri-vivid-accent);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.nutri-submit-btn:hover {
  background: var(--nutri-vivid-hover);
  transform: translateY(-2px);
}

/* FAQ ACCORDION */
.nutri-faq-list {
  display: flex;
  flex-direction: column;
}

.nutri-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem 0;
}

.nutri-faq-q {
  color: var(--nutri-teal-flash);
  margin-bottom: 0.75rem;
}

.nutri-faq-a p {
  color: var(--nutri-paper-ink);
  font-size: 1rem;
}

/* FOOTER ZONE */
.nutri-footer-zone {
  background: #0a1823;
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.nutri-footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nutri-footer-brand img {
  height: 38px;
  width: auto;
}

.nutri-footer-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nutri-footer-nav a {
  color: var(--nutri-muted-ink);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nutri-footer-nav a:hover {
  color: #ffffff;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .nutri-bento-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .nutri-span-4, .nutri-span-2, .nutri-span-3, .nutri-span-6 {
    grid-column: span 2;
  }
  .nutri-quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nutri-burger-trigger {
    display: flex;
  }

  .nutri-nav-list {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--nutri-canvas);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }

  .nutri-burger-checkbox:checked ~ .nutri-nav-list {
    display: flex;
  }

  .nutri-bento-board {
    grid-template-columns: 1fr;
  }

  .nutri-span-4, .nutri-span-2, .nutri-span-3, .nutri-span-6 {
    grid-column: span 1;
  }

  .nutri-split-grid {
    flex-direction: column;
  }

  .nutri-split-media, .nutri-split-text {
    flex: 0 0 100%;
    width: 100%;
  }

  .nutri-form-layout {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .nutri-footer-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .nutri-footer-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .nutri-wide-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}