/* ============================================================
   base.css — shared across ALL pages
   GrowMyStudio
   ============================================================ */

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

/* ── TOKENS ── */
:root {
  --bg:         #F9FAF7;
  --bg2:        #F2F5F0;
  --teal:       #1E5F5F;
  --teal2:      #2D7A7A;
  --teal-pale:  #E6F0F0;
  --teal-mid:   #3D8F8F;
  --coral:      #E8705A;
  --coral-d:    #D45D48;
  --text:       #111917;
  --muted:      #657168;
  --border:     #E2E8E2;
  --white:      #FFFFFF;
  --r:          18px;
  --rs:         10px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }

/* ── SECTION COMMON ── */
.section-wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
.section-h { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; margin-top: .4rem; }
.section-sub { font-size: 1rem; color: var(--muted); margin-top: .85rem; max-width: 520px; line-height: 1.7; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 5%;
  transition: background .3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(249,250,247,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
/* Sticky variant (used on inner pages) */
nav.sticky {
  position: sticky;
  top: 0;
  background: rgba(249,250,247,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  user-select: none;
}
.nav-logo .l-grow  { font-size: 1.1rem; font-weight: 800; color: var(--teal); }
.nav-logo .l-sep   { font-size: 1.1rem; font-weight: 300; color: #C8D4D0; margin: 0 3px; }
.nav-logo .l-my    { font-size: 1.1rem; font-weight: 400; color: #5A8A8A; }
.nav-logo .l-sep2  { font-size: 1.1rem; font-weight: 300; color: #C8D4D0; margin: 0 3px; }
.nav-logo .l-studio{ font-size: 1.1rem; font-weight: 800; color: var(--teal); }
.nav-links { display: flex; gap: 2.25rem; align-items: center; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.btn-nav {
  background: var(--coral);
  color: #fff !important;
  padding: .55rem 1.35rem;
  border-radius: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(232,112,90,.25);
}
.btn-nav:hover { background: var(--coral-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,112,90,.3); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ── MOBILE MENU ── */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--white); z-index: 190; padding: 100px 8% 40px; flex-direction: column; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.mobile-menu .btn-nav { align-self: flex-start; padding: .75rem 1.75rem; font-size: .95rem; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--coral);
  color: #fff;
  padding: .9rem 1.85rem;
  border-radius: 11px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(232,112,90,.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--coral-d); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(232,112,90,.35); }
.btn-ghost {
  color: var(--teal);
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.btn-ghost:hover { gap: 10px; }
.btn-ghost.outlined {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
  padding: .85rem 1.75rem;
  border-radius: 11px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  transition: border-color .2s, color .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.btn-ghost.outlined:hover { border-color: var(--teal); color: var(--teal); }

/* ── FOOTER ── */
footer { background: var(--text); padding: 40px 5%; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-family: 'Plus Jakarta Sans', sans-serif; display: inline-flex; align-items: baseline; line-height: 1; user-select: none; }
.footer-logo .l-grow  { font-size: 1rem; font-weight: 800; color: #fff; }
.footer-logo .l-sep   { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.2); margin: 0 3px; }
.footer-logo .l-my    { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.65); }
.footer-logo .l-sep2  { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.2); margin: 0 3px; }
.footer-logo .l-studio{ font-size: 1rem; font-weight: 800; color: #fff; }
.footer-copy  { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-email a { font-size: .82rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-email a:hover { color: white; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
