/* ================================================
   NATURIVA — CSS STYLESHEET
   Palette: Deep Aubergine · Amber Gold · Warm Ivory
   Typography: Playfair Display + Inter
   ================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary:    #2D1840;   /* deep aubergine */
  --c-accent:     #C8890E;   /* amber gold      */
  --c-accent-lt:  #F0A830;   /* light amber     */
  --c-bg:         #F7F3ED;   /* warm ivory      */
  --c-bg-alt:     #EDE8DF;   /* parchment       */
  --c-card:       #FFFFFF;
  --c-text:       #1A1520;   /* near-black      */
  --c-text-muted: #5C5268;
  --c-green:      #4A7C54;
  --c-purple-mid: #7B5EA7;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:  12px;
  --radius-lg: 24px;
  --shadow:  0 4px 24px rgba(45,24,64,.08);
  --shadow-md: 0 8px 40px rgba(45,24,64,.12);
  --transition: .25s ease;
  --max-w:   1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

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

.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--c-bg-alt); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-desc { color: var(--c-text-muted); font-size: 17px; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); color: var(--c-primary); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn--primary {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,137,14,.35);
}
.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn--outline:hover {
  background: var(--c-primary);
  color: #fff;
}
.btn--full { width: 100%; justify-content: center; }

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__img  { width: 38px; height: 38px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -.01em;
}
.logo--light .logo__text { color: #fff; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,243,237,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,24,64,.08);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--c-accent); }
.nav__link--cta {
  background: var(--c-primary);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 600;
}
.nav__link--cta:hover { background: var(--c-accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-primary);
  padding-top: 72px;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
}

/* Signature: onion-ring concentric circles in hero */
.hero::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  top: 50%;
  right: -180px;
  transform: translateY(-50%);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(200,137,14,.15),
    0 0 0 40px rgba(200,137,14,.06),
    0 0 0 80px rgba(200,137,14,.05),
    0 0 0 120px rgba(200,137,14,.04),
    0 0 0 160px rgba(200,137,14,.03),
    0 0 0 200px rgba(200,137,14,.02),
    0 0 0 240px rgba(200,137,14,.015);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}
.hero .section-label { color: var(--c-accent-lt); }
.hero__title {
  color: #fff;
  margin-bottom: 24px;
  font-style: italic;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}
.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.75;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  font-size: 1.4rem;
  animation: bounce 1.8s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- INTRO ---------- */
.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro__text h2 { margin-bottom: 20px; }
.intro__text p  { color: var(--c-text-muted); margin-bottom: 16px; }

.intro__image {
  position: relative;
}
.intro__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.intro__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.intro__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.intro__badge span { font-size: 12px; font-weight: 500; opacity: .9; }

/* ---------- BENEFITS ---------- */
.benefits {
  overflow: hidden;
}

/* Onion ring decoration in benefits section */
.benefits::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(45,24,64,.06),
    0 0 0 40px rgba(45,24,64,.04),
    0 0 0 80px rgba(45,24,64,.03),
    0 0 0 120px rgba(45,24,64,.02),
    0 0 0 160px rgba(45,24,64,.015);
  pointer-events: none;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background: var(--c-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(45,24,64,.06);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.benefit-card__icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  line-height: 1;
}
.benefit-card h3 {
  color: var(--c-primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.benefit-card p { color: var(--c-text-muted); font-size: 14px; line-height: 1.7; }

/* ---------- SCIENCE / STATS ---------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.stat-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45,24,64,.07);
  box-shadow: var(--shadow);
}
.stat-item__number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.stat-item__desc { font-size: 13px; color: var(--c-text-muted); line-height: 1.6; }

.science__image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- DAILY USE ---------- */
.daily-use__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.daily-use__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.daily-use__content h2 { margin-bottom: 32px; }

.tips-list { display: flex; flex-direction: column; gap: 24px; }
.tip-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.tip-item__marker {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,24,64,.07);
  border-radius: 50%;
}
.tip-item h4 { color: var(--c-primary); margin-bottom: 4px; }
.tip-item p  { font-size: 14px; color: var(--c-text-muted); }
.tip-item--highlight .tip-item__marker {
  background: rgba(200,137,14,.15);
}
.tip-item--highlight h4 { color: var(--c-accent); }

/* ---------- TESTIMONIALS ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--c-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45,24,64,.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-card__stars { color: var(--c-accent); font-size: 1rem; letter-spacing: 2px; }
.review-card__text  { color: var(--c-text); font-style: italic; font-family: var(--font-display); font-size: .97rem; line-height: 1.75; flex: 1; }
.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--c-bg-alt);
}
.review-card__author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--c-bg-alt);
}
.review-card__author strong { display: block; font-size: .9rem; color: var(--c-primary); }
.review-card__author span  { font-size: .8rem; color: var(--c-text-muted); }

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--c-card);
  border-radius: var(--radius);
  border: 1px solid rgba(45,24,64,.08);
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.faq-item__question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--c-accent);
  flex-shrink: 0;
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-item__question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-item__question:hover { background: rgba(45,24,64,.03); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item__answer.open { max-height: 200px; }
.faq-item__answer p {
  padding: 0 24px 22px;
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- CONTACT ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 16px; }
.contact__info p  { color: var(--c-text-muted); margin-bottom: 36px; }

.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--c-text-muted);
}
.contact__details-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__details a { color: var(--c-accent); font-weight: 500; }
.contact__details a:hover { text-decoration: underline; }

/* --- form --- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group   { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
}
.required { color: var(--c-accent); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(45,24,64,.18);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-card);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(200,137,14,.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #d94f4f; }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-error {
  font-size: 12px;
  color: #d94f4f;
  min-height: 16px;
  font-weight: 500;
}

/* success state */
.form-success {
  text-align: center;
  padding: 60px 32px;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74,124,84,.2);
}
.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { color: var(--c-primary); margin-bottom: 8px; }
.form-success p  { color: var(--c-text-muted); font-size: 15px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-primary);
  color: rgba(255,255,255,.75);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 72px 24px 56px;
}
.footer__brand .logo__text { color: #fff; }
.footer__brand p { font-size: 14px; margin-top: 12px; color: rgba(255,255,255,.5); }

.footer__nav h4,
.footer__legal h4,
.footer__contact h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-accent-lt);
  margin-bottom: 18px;
}
.footer__nav ul li,
.footer__legal ul li { margin-bottom: 10px; }
.footer__nav a,
.footer__legal a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__nav a:hover,
.footer__legal a:hover { color: var(--c-accent-lt); }

.footer__contact address {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}
.footer__contact a { color: var(--c-accent-lt); font-size: 14px; }
.footer__contact a:hover { text-decoration: underline; }
.footer__contact p { margin-bottom: 8px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px;
  text-align: center;
}
.footer__bottom .container { display: flex; flex-direction: column; gap: 6px; }
.footer__bottom p    { font-size: 13px; color: rgba(255,255,255,.4); }
.footer__disclaimer  { font-size: 12px; }

/* ---------- SUBPAGES ---------- */
.subpage-hero {
  background: var(--c-primary);
  padding: 140px 24px 72px;
  text-align: center;
}
.subpage-hero h1 { color: #fff; margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.subpage-hero p  { color: rgba(255,255,255,.65); font-size: 16px; }

.subpage-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.subpage-content h2 {
  font-size: 1.4rem;
  color: var(--c-primary);
  margin: 40px 0 12px;
}
.subpage-content h2:first-child { margin-top: 0; }
.subpage-content p  { color: var(--c-text-muted); margin-bottom: 14px; font-size: 15px; line-height: 1.8; }
.subpage-content ul { color: var(--c-text-muted); padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.subpage-content ul li { font-size: 15px; margin-bottom: 6px; line-height: 1.75; }
.subpage-content a  { color: var(--c-accent); }
.last-updated {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-bg-alt);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .intro__inner      { grid-template-columns: 1fr; gap: 48px; }
  .intro__badge      { bottom: -16px; right: -8px; }
  .daily-use__inner  { grid-template-columns: 1fr; gap: 48px; }
  .stats__grid       { grid-template-columns: repeat(2, 1fr); }
  .footer__inner     { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid rgba(45,24,64,.1);
    padding: 24px;
  }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 20px; }
  .burger { display: flex; }

  .benefits__grid { grid-template-columns: 1fr; }
  .reviews__grid  { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner  { grid-template-columns: 1fr; gap: 32px; }
  .stats__grid    { grid-template-columns: 1fr; }

  .hero::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
