/* ==========================================================================
   Nutrivoo — Layout, Containers, Sticky Header & Footer
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--narrow {
  max-width: 900px;
}

@media (min-width: 640px) {
  .container { padding-inline: 1.75rem; }
}

.section-pad {
  padding-block: 4.25rem;
}

@media (min-width: 1024px) {
  .section-pad { padding-block: 5.5rem; }
}

.section-header {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Sticky Glassmorphic Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 250, 246, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 6px 24px -10px rgba(8, 42, 32, 0.1);
}

.site-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand-lockup__mark {
  width: 36px;
  height: auto;
  transition: transform 0.25s var(--ease-out);
}

@media (min-width: 640px) {
  .brand-lockup { gap: 0.65rem; }
  .brand-lockup__mark { width: 40px; }
}

.brand-lockup:hover .brand-lockup__mark {
  transform: scale(1.06);
}

.brand-lockup__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-lockup__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: #269B73;
  letter-spacing: -0.03em;
}

.brand-lockup__name span {
  color: #19644E;
}

.brand-lockup--light .brand-lockup__name {
  color: var(--emerald-400);
}

.brand-lockup--light .brand-lockup__name span {
  color: #FFFFFF;
}

.brand-lockup__sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.brand-lockup--light .brand-lockup__sub {
  color: rgba(209, 250, 229, 0.78);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.65rem;
}

@media (min-width: 980px) {
  .site-nav { display: flex; }
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-body);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--emerald-700);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2.5px;
  border-radius: var(--radius-pill);
  background: var(--emerald-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 479px) {
  .site-header__actions .btn--primary {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }
  .brand-lockup__name {
    font-size: 1.18rem;
  }
  .brand-lockup__sub {
    display: none;
  }
}

@media (min-width: 640px) {
  .site-header__actions { gap: 0.75rem; }
}

.btn-link-video {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-strong);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.btn-link-video:hover {
  color: var(--emerald-700);
  background: var(--bg-soft);
}

@media (min-width: 640px) {
  .btn-link-video { display: inline-flex; }
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--ink-strong);
}

@media (min-width: 980px) {
  .mobile-menu-btn { display: none; }
}

.mobile-drawer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 18px 32px -12px rgba(15, 23, 42, 0.14);
}

.mobile-drawer__inner {
  padding-block: 1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer__link {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-body);
}

.mobile-drawer__link:hover {
  background: var(--bg-soft);
  color: var(--emerald-700);
}

.mobile-drawer__cta {
  padding-top: 0.75rem;
  margin-top: 0.4rem;
  border-top: 1px solid var(--border-subtle);
}

/* Footer (Contrast Deep Forest Slate) */
.site-footer {
  background: var(--forest-950);
  color: #CBD5E1;
  padding-top: 4rem;
  padding-bottom: 2.25rem;
  border-top: 1px solid rgba(110, 231, 183, 0.12);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 860px) {
  .site-footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  }
}

.site-footer__tagline {
  margin-top: 0.95rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: #94A3B8;
  max-width: 360px;
}

.playstore-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(110, 231, 183, 0.24);
  color: #FFFFFF;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.playstore-badge-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald-400);
  transform: translateY(-2px);
}

.playstore-badge-btn small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--emerald-300);
}

.playstore-badge-btn strong {
  font-size: 0.92rem;
}

.site-footer__col h4 {
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #94A3B8;
}

.site-footer__col a:hover {
  color: var(--emerald-300);
}

.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-footer__motto {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
}

.site-footer__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.35), transparent);
}

.site-footer__pillars {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald-300);
  text-align: center;
}

.site-footer__bottom {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94A3B8;
}

@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; }
}

.site-footer__copy {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.version-pill {
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-300);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.site-footer__credits strong {
  color: #FFFFFF;
}

