/* ===========================
   DANJO — Design tokens
=========================== */
:root {
  --lime: #C8FF00;
  --lime-dark: #a8d900;
  --green: #1a5c3a;
  --green-dark: #12432a;
  --green-light: #e8f5ee;
  --white: #ffffff;
  --gray-900: #1a1a1a;
  --gray-700: #454545;
  --gray-500: #767676;
  --gray-200: #e6e6e3;
  --gray-100: #f5f5f2;
  --bg: #fbfbf9;

  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', 'Poppins', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(26,26,26,0.06);
  --shadow-md: 0 12px 32px rgba(26,26,26,0.10);

  --container-w: 1180px;
  --transition: 0.25s ease;
}

/* ===========================
   Reset
=========================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--gray-900);
}
p { margin: 0 0 1em; color: var(--gray-700); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--lime);
  color: var(--gray-900);
}
.btn--primary:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--dark {
  background: var(--gray-900);
  color: var(--white);
}
.btn--dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #000;
}

/* ===========================
   Header
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,251,249,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.is-scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}
.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green);
  color: var(--lime);
  font-weight: 800;
  font-size: 1.15rem;
}
.logo__text { color: var(--gray-900); }

.nav__list {
  display: flex;
  gap: 32px;
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--gray-900); }
.nav__link:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   Hero
=========================== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 90px 0 70px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg svg { width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(200,255,0,0.15);
  color: var(--lime);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.hero__title span { color: var(--lime); }
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--lime);
}
.hero__stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}
.badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--gray-900);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 260px;
}
.badge-card--alt {
  background: var(--green-dark);
  color: var(--white);
  margin-left: 40px;
}
.badge-card div { display: flex; flex-direction: column; }
.badge-card strong { font-family: var(--font-heading); font-size: 0.95rem; }
.badge-card span { font-size: 0.8rem; opacity: 0.7; }

/* ===========================
   Sections (generic)
=========================== */
.section {
  padding: 96px 0;
}
.section--tinted {
  background: var(--green-light);
}
.section--dark {
  background: var(--gray-900);
}
.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head--light h2 { color: var(--white); }
.section__desc--light { color: rgba(255,255,255,0.7); }

.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.tag--light {
  background: rgba(200,255,0,0.12);
  color: var(--lime);
}
.section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.section__desc {
  font-size: 1.05rem;
  color: var(--gray-500);
}

/* ===========================
   Why grid
=========================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-card__icon svg { width: 24px; height: 24px; }
.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* ===========================
   Certification cards
=========================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--lime);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.cert-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.cert-card__icon svg { width: 28px; height: 28px; }
.cert-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cert-card p {
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.cert-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.cert-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

/* ===========================
   Services
=========================== */
.services {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
}
.service {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: flex-start;
}
.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: none; }
.service__num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lime-dark);
  min-width: 48px;
}
.service__body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.service__body p { margin: 0; font-size: 0.95rem; }

/* ===========================
   Testimonials
=========================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #212121;
  border: 1px solid #313131;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.stars {
  color: var(--lime);
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.testimonial p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial__author div { display: flex; flex-direction: column; }
.testimonial__author strong { color: var(--white); font-size: 0.92rem; }
.testimonial__author span { color: rgba(255,255,255,0.55); font-size: 0.82rem; }

/* ===========================
   CTA banner
=========================== */
.cta-banner {
  background: var(--lime);
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 24px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 6px;
}
.cta-banner p { margin: 0; color: #2a2a2a; }

/* ===========================
   Contact
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 500;
}
.contact-list svg { width: 22px; height: 22px; flex-shrink: 0; }

.social-links {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { transform: translateY(-3px); background: var(--lime); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-900);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--gray-100);
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #d64545;
}
.form-error {
  color: #d64545;
  font-size: 0.78rem;
  min-height: 1em;
  margin-top: 4px;
}
.form-success {
  color: var(--green);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  margin: 16px 0 0;
  min-height: 1.2em;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 16px 0 20px;
  max-width: 320px;
}
.logo--footer .logo__text { color: var(--white); }
.social-icon--footer { background: rgba(255,255,255,0.08); }
.social-icon--footer:hover { background: var(--lime); }

.footer__col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--lime); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer__bottom-inner p { margin: 0; }

/* ===========================
   Back to top
=========================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ===========================
   Responsive
=========================== */
@media (max-width: 1024px) {
  .why-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { flex-direction: row; align-items: stretch; }
  .badge-card--alt { margin-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.is-open { max-height: 400px; }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .nav__list li { border-bottom: 1px solid var(--gray-100); }
  .nav__list li:last-child { border-bottom: none; }
  .nav__link { display: block; padding: 14px 0; }
  .nav__link::after { display: none; }
  .hamburger { display: flex; }
  .header__actions .btn--sm { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .why-grid, .cert-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__stats { gap: 24px; }
  .hero__visual { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .contact-form { padding: 24px; }
}
