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

:root {
  --accent:       #22c55e;
  --accent-dark:  #16a34a;
  --accent-light: rgba(34, 197, 94, 0.12);
  --text:         #f1f5f9;
  --muted:        #94a3b8;
  --bg:           #0f172a;
  --card:         #1e293b;
  --border:       #334155;
  --warm:         #141f35;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  font-size: .85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ── Layout ── */
.container {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.section {
  padding: 5rem 0;
}

.section--warm {
  background: var(--warm);
}

/* ── Section label ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-family: 'Inter', system-ui, sans-serif;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Divider ── */
.divider {
  width: 50px;
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 0 20px rgba(34, 197, 94, .35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
  box-shadow: 0 2px 8px rgba(22, 163, 74, .12);
}

/* ── Nav ── */
.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.nav__brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav__links a:hover { color: var(--accent); }
.nav__links a.active { color: var(--accent); }

.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: .82rem !important;
  transition: background .15s !important;
}
.nav__cta:hover { background: var(--accent-dark) !important; color: #fff !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform .2s, opacity .2s;
}

/* ── Hero ── */
.hero {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -100px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 400px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.hero__image-col {
  position: sticky;
  top: 80px;
}

.hero__avatar {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12), 0 0 40px rgba(34, 197, 94, 0.25);
  display: block;
}

.hero__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 680px;
  letter-spacing: -.01em;
}

.hero__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ── Hero Stats ── */
.hero__stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: .9rem 1rem;
  border-right: 1px solid var(--border);
  background: var(--card);
}
.hero__stat:last-child { border-right: none; }

.hero__stat-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero__stat-label {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
  margin-top: 2px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--accent-light);
  color: var(--accent);
  letter-spacing: .01em;
}

/* ── Why Me Pillars ── */
.section--pillars {
  background: var(--warm);
  padding: 4rem 0;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pillar__num {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .75rem;
}

.pillar__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .65rem;
  line-height: 1.4;
}

.pillar__body {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Services ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
}

.service-card {
  background: var(--card);
  padding: 1.75rem 2rem;
  border-top: 2px solid transparent;
  transition: border-color .15s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-top-color: var(--accent); }

.service-card--wide {
  grid-column: 1 / -1;
}

.service-card__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .65rem;
  line-height: 1.35;
}

.service-card__desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 0;
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.service-card__list li {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.1rem;
  position: relative;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .75rem;
  top: 2px;
}
.service-card__list li strong {
  color: var(--text);
  font-weight: 600;
}

.service-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.25rem;
}

.chip {
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--accent-light);
  color: var(--accent);
  letter-spacing: .01em;
}

/* ── Cert Badges ── */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}

.cert-badge {
  display: inline-flex;
  flex-direction: column;
  padding: .6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  border-top: 2px solid var(--accent);
}

.cert-badge__name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.cert-badge__issuer {
  font-size: .68rem;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}

/* ── About ── */
.about__body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 700px;
}
.about__body p + p { margin-top: 1.1rem; }
.about__body strong { color: var(--text); font-weight: 700; }

/* ── About meta blocks ── */
.about__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}

.meta-block {
  background: var(--card);
  padding: 1.25rem 1.5rem;
  border-top: 2px solid transparent;
  transition: border-color .15s;
}
.meta-block:hover { border-top-color: var(--accent); }

.meta-block__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.meta-block__value {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .25rem;
  line-height: 1.35;
}
.meta-block__sub {
  font-size: .78rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .about__meta { grid-template-columns: 1fr; }
}

/* ── Contact ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__text p {
  font-size: .925rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.contact__info li {
  font-size: .875rem;
  color: var(--muted);
}
.contact__info a {
  color: var(--accent);
  font-weight: 500;
}
.contact__info a:hover { text-decoration: underline; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: .875rem;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--card);
  outline: none;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .15);
}
.form-group textarea { resize: vertical; }

.form__success {
  font-size: .875rem;
  color: var(--accent);
  padding: 10px 14px;
  border: 1px solid var(--accent-light);
  background: var(--accent-light);
  border-radius: 4px;
  font-weight: 500;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: .8rem;
  color: var(--muted);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Footer links ── */
.footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.footer__links a {
  color: var(--muted);
  font-size: .8rem;
  transition: color .15s;
}
.footer__links a:hover { color: var(--accent); }

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s, opacity .2s;
  z-index: 50;
  line-height: 1;
}
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }
.back-to-top[hidden] { display: none; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .section--pillars { padding: 3rem 0; }

  .hero__stats { flex-wrap: wrap; }
  .hero__stat { flex: 1 1 calc(50% - 1px); border-bottom: 1px solid var(--border); }
  .hero__stat:nth-child(2) { border-right: none; }
  .hero__stat:nth-child(3), .hero__stat:nth-child(4) { border-bottom: none; }

  .hero__layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero__image-col { position: static; display: flex; justify-content: center; }
  .hero__avatar { width: 140px; height: 140px; }
  .pillars__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 58px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
  }
  .nav__links.open a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav__links.open .nav__cta {
    background: transparent;
    color: var(--accent) !important;
    padding: .65rem 0;
    border-radius: 0;
    font-size: .85rem !important;
  }
  .nav__toggle { display: flex; }
  .nav { position: relative; }

  .footer__inner { flex-direction: column; gap: 6px; text-align: center; }
}
