/* ============================================================
   daytum site.css — modern theme (2026 revamp)
   Palette: deep forest #0b4316 / #074216 · brand green #398055
            emerald #2E9E6B · ink #10231A · off-white #F5F8F6
   ============================================================ */

:root {
  --forest-900: #06290f;
  --forest-800: #0b4316;
  --forest-700: #0e5a1d;
  --green-600: #398055;
  --emerald-500: #2e9e6b;
  --emerald-400: #43c086;
  --ink: #10231a;
  --ink-soft: #3f524a;
  --paper: #ffffff;
  --mist: #f4f8f5;
  --line: #dfe9e2;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16,35,26,.06), 0 4px 14px rgba(16,35,26,.05);
  --shadow-md: 0 2px 4px rgba(16,35,26,.06), 0 12px 32px rgba(16,35,26,.10);
  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-700); text-decoration: none; }
a:hover { color: var(--emerald-500); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--emerald-400); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .5rem 1.1rem; font-size: .92rem; }
.btn-primary { background: var(--paper); color: var(--forest-900); }
.btn-primary:hover { background: #eaf6ee; color: var(--forest-900); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--emerald-500); color: #fff; }
.btn-accent:hover { background: var(--emerald-400); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- top bar ---------- */
.topbar { background: var(--forest-900); color: #cfe3d4; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #cfe3d4; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: .9rem; }
.topbar-social a { display: inline-flex; opacity: .85; }
.topbar-social a:hover { opacity: 1; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-menu a { font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink); }
.nav-menu a:hover { color: var(--emerald-500); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--forest-800); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #eaf4ee;
  background:
    radial-gradient(ellipse 70% 60% at 78% 12%, rgba(46,158,107,.35), transparent 60%),
    radial-gradient(ellipse 55% 55% at 8% 90%, rgba(57,128,85,.28), transparent 55%),
    linear-gradient(160deg, var(--forest-900) 0%, var(--forest-800) 55%, #0a3d17 100%);
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
}
.hero-inner { max-width: 820px; }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-400);
  border: 1px solid rgba(67,192,134,.4);
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; margin-bottom: 1.1rem; }
.hero-accent { color: var(--emerald-400); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #d8e8dd; max-width: 62ch; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin: 2rem 0 2.4rem; }
.hero-points { list-style: none; display: flex; gap: .5rem 1.6rem; flex-wrap: wrap; padding: 0; margin: 0; font-size: .95rem; color: #cfe3d4; }
.hero-points li::before { content: "✓"; color: var(--emerald-400); margin-right: .45rem; font-weight: 700; }

/* ---------- generic sections ---------- */
.section { padding: 5.5rem 0; }
.section-tinted { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--emerald-500);
  margin-bottom: .6rem;
}

/* ---------- about ---------- */
.about-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.about-text h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.about-text p { color: var(--ink-soft); }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-md); background: #fff; }

/* ---------- cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: #e9f4ec; color: var(--forest-700); margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.18rem; }
.card p { color: var(--ink-soft); font-size: .97rem; flex-grow: 1; }
.link { font-family: var(--font-head); font-weight: 600; font-size: .95rem; margin-top: .8rem; }

/* ---------- clients ---------- */
.clients { padding: 2.8rem 0; }
.clients-label { text-align: center; font-family: var(--font-head); color: var(--ink-soft); letter-spacing: .06em; margin-bottom: 1.6rem; }
.clients-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.4rem; }
.clients-row img { max-height: 46px; width: auto; opacity: .72; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.clients-row img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.testimonial {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.3rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
}
.testimonial blockquote { margin: 0; font-size: 1rem; color: var(--ink); quotes: none; }
.testimonial figcaption { font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--forest-700); }
.testimonial figcaption span { color: var(--ink-soft); font-weight: 500; }

/* ---------- instructors ---------- */
.instructors { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 860px; }
.instructor { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); }
.instructor img { width: 132px; height: 132px; object-fit: cover; object-position: top; border-radius: 50%; margin: 0 auto 1.1rem; border: 3px solid #e9f4ec; }
.instructor h3 { margin-bottom: .15rem; }
.instructor-role { font-family: var(--font-head); font-size: .9rem; color: var(--emerald-500); font-weight: 600; margin-bottom: .8rem; }
.instructor-bio { color: var(--ink-soft); font-size: .95rem; }
.instructor-social { display: flex; justify-content: center; gap: .8rem; margin-top: 1rem; }
.instructor-social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); color: var(--forest-700); align-items: center; justify-content: center; transition: background .15s ease, color .15s ease; }
.instructor-social a:hover { background: var(--forest-800); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--forest-800), var(--forest-700));
  color: #eaf4ee; padding: 4rem 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-copy { max-width: 640px; }
.cta-copy h2 { color: #fff; font-size: 1.9rem; }
.cta-copy p { color: #d8e8dd; margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1.05rem; }
.contact-note { color: var(--ink-soft); font-size: .92rem; }
.form-control {
  width: 100%; padding: .75rem .95rem; margin-bottom: .9rem;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .97rem; color: var(--ink); background: #fbfdfb;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus { outline: none; border-color: var(--emerald-500); box-shadow: 0 0 0 3px rgba(46,158,107,.15); background: #fff; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-row-2 .form-control { margin-bottom: 0; }
.form textarea { resize: vertical; }
.form button {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #fff;
  background: var(--emerald-500); border: 0; border-radius: 999px;
  padding: .8rem 2rem; cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.form button:hover { background: var(--emerald-400); transform: translateY(-1px); }
.form-ok { background: #e7f6ec; color: var(--forest-800); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 500; }
.form-error { background: #fdecea; color: #a03a2e; border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 500; }
.text-center { text-align: center; }
.validation { color: #a03a2e; font-size: .85rem; margin: -.5rem 0 .6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-900); color: #b9cfc2; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
.footer-brand p { margin: 1rem 0 0; max-width: 30ch; color: #9fb8a8; font-size: .92rem; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .95; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.footer-col a { color: #b9cfc2; }
.footer-col a:hover { color: var(--emerald-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .88rem; color: #8da898; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .cards-3 { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none; padding: .6rem 4%;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: .85rem .2rem; border-bottom: 1px solid #eef4ef; }
  .nav-menu a.btn { border: 0; text-align: center; margin: .7rem 0; }
}
@media (max-width: 560px) {
  .section { padding: 3.8rem 0; }
  .hero { padding: 4.5rem 0 4rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}
