/* ============================================================
   Genatis — Design System
   Light‑mode · Warm · Editorial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---------- Brand palette ---------- */
:root {
  --cream:       #F2EFEA;
  --cream-dark:  #E8E4DD;
  --white:       #FFFFFF;
  --terracotta:  #C0553A;
  --terracotta-light: #D4724E;
  --terracotta-bg: rgba(192,85,58,0.06);
  --charcoal:    #2E2B28;
  --charcoal-70: rgba(46,43,40,0.7);
  --charcoal-50: rgba(46,43,40,0.5);
  --charcoal-30: rgba(46,43,40,0.3);
  --charcoal-10: rgba(46,43,40,0.1);
  --charcoal-05: rgba(46,43,40,0.05);
  --warm-gray:   #8A857E;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.25s ease;

  --fs-hero:  clamp(2.6rem, 5.5vw, 4.2rem);
  --fs-h1:    clamp(1.9rem, 3.5vw, 2.8rem);
  --fs-h2:    clamp(1.4rem, 2.5vw, 2rem);
  --fs-h3:    clamp(1.05rem, 1.8vw, 1.3rem);
  --fs-body:  1rem;
  --fs-small: 0.875rem;
  --fs-xs:    0.75rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.2; }
h4, h5, h6 { font-family: 'DM Sans', sans-serif; font-weight: 600; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section   { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(242,239,234,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--charcoal-10);
  transition: var(--transition);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.4rem;
  color: var(--charcoal); letter-spacing: -0.3px;
}
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__link {
  font-size: var(--fs-small); font-weight: 500; color: var(--warm-gray);
  transition: color var(--transition);
}
.nav__link:hover, .nav__link--active { color: var(--charcoal); }

.nav__cta {
  padding: 0.5rem 1.3rem; border-radius: var(--radius-full);
  font-size: var(--fs-small); font-weight: 600;
  background: var(--terracotta); color: #fff; border: none;
  transition: var(--transition);
}
.nav__cta:hover { background: var(--terracotta-light); }

/* Mobile nav */
.nav__hamburger {
  display: none; background: none; border: none; color: var(--charcoal);
  width: 28px; height: 28px; cursor: pointer;
}
.nav__mobile {
  display: none; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0;
  border-top: 1px solid var(--charcoal-10); background: var(--cream);
}
.nav__mobile .nav__link { padding: 0.6rem 0; font-size: 1rem; }

@media (max-width: 768px) {
  .nav__hamburger { display: block; }
  .nav__links { display: none; }
  .nav__mobile.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.6rem; border-radius: var(--radius-full);
  font-size: var(--fs-body); font-weight: 600;
  transition: var(--transition); border: none; cursor: pointer; white-space: nowrap;
}
.btn--primary {
  background: var(--terracotta); color: #fff;
}
.btn--primary:hover { background: var(--terracotta-light); transform: translateY(-1px); }

.btn--outline {
  background: transparent; color: var(--charcoal);
  border: 1.5px solid var(--charcoal-30);
}
.btn--outline:hover { border-color: var(--charcoal); }

.btn--ghost {
  background: var(--terracotta-bg); color: var(--terracotta);
  border: 1px solid rgba(192,85,58,0.15);
}
.btn--ghost:hover { background: rgba(192,85,58,0.1); }

/* ---------- Card ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.card:hover {
  border-color: var(--charcoal-30);
  box-shadow: 0 8px 30px rgba(46,43,40,0.06);
  transform: translateY(-3px);
}

/* ---------- Section headings ---------- */
.section-label {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--terracotta); margin-bottom: 0.75rem;
}
.section-title {
  font-size: var(--fs-h1); margin-bottom: 0.75rem; color: var(--charcoal);
}
.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: var(--charcoal-50);
  max-width: 560px; line-height: 1.75;
}
.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header .section-subtitle { margin: 0 auto; }

/* ---------- Divider ---------- */
.divider {
  height: 1px; border: none; background: var(--charcoal-10); margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 0 1.5rem; background: var(--charcoal); color: rgba(255,255,255,0.6);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand-name {
  font-family: 'DM Serif Display', serif; font-size: 1.4rem;
  color: #fff; margin-bottom: 0.75rem;
}
.footer__brand-desc { font-size: var(--fs-small); max-width: 260px; line-height: 1.7; }
.footer__col-title {
  font-weight: 600; font-size: var(--fs-xs); margin-bottom: 1rem;
  color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link { font-size: var(--fs-small); transition: color var(--transition); }
.footer__link:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.footer__copy { font-size: var(--fs-xs); }
.footer__socials { display: flex; gap: 0.75rem; }
.footer__social {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5);
  transition: var(--transition); font-size: 0.85rem;
}
.footer__social:hover { border-color: rgba(255,255,255,0.3); color: #fff; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.22s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.34s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.46s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-accent { color: var(--terracotta); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.w-full { width: 100%; }

/* ---------- Pricing highlight ---------- */
.pricing-popular {
  border: 2px solid var(--terracotta); position: relative;
}
.pricing-popular::before {
  content: 'Most Popular';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 0.2rem 0.9rem; border-radius: var(--radius-full);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.5px;
  background: var(--terracotta); color: #fff;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--charcoal-30); border-radius: 3px; }

/* ---------- Selection ---------- */
::selection { background: rgba(192,85,58,0.15); color: var(--charcoal); }

