:root {
  /* Design tokens */
  --bg: #FEFBF6;
  --text: #4B4D39;
  --muted: #6A6A6A;
  --accent: #A2C26C;
  --highlight: #FAC95F;

  --border: #4B4D39;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1100px;
}

/* Base reset */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }

/* Reduce animations if user prefers */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid #DDDDDD;
  transition: box-shadow .2s ease;
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 84px;
  object-fit: contain;
}

/* Navbar links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  line-height: 1;
  padding: .25rem .1rem;
  border-radius: 6px;
  transition: color .2s ease, background-color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--accent);
  background-color: transparent;
  outline: none;
}

/* Mobile nav toggle */
.nav-toggle { display: none; }

.menu-btn {
  display: none;
  width: 40px;
  height: 32px;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.menu-btn span:nth-child(1){ top: 4px; }
.menu-btn span:nth-child(2){ top: 14px; }
.menu-btn span:nth-child(3){ top: 24px; }

/* Animate hamburger into X */
.nav-toggle:checked + .menu-btn span:nth-child(1){
  top: 14px; transform: rotate(45deg);
}
.nav-toggle:checked + .menu-btn span:nth-child(2){ opacity: 0; }
.nav-toggle:checked + .menu-btn span:nth-child(3){
  top: 14px; transform: rotate(-45deg);
}

/* Mobile menu layout */
@media (max-width: 768px){
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 1rem;
  }
}

/* Services section wrapper */
.services {
  background: var(--bg);
  padding: 64px 16px 80px;
  color: var(--text);
}

.services__inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Services title + subtitle */
.services__title {
  margin: 0 0 12px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.2;
}

.services__subtitle {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.6;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--text);
}

/* Highlighted word inside subtitle */
.hl {
  background: var(--highlight);
  padding: .1em .35em;
  border-radius: 12px;
}

/* Services card list */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

/* Service card */
.service-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  background: #FFF;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 22px 26px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.service-card:hover {
  border-color: #3d3f2f;
}

/* Card text */
.service-card__text h3 {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(1.125rem, 2.6vw, 1.375rem);
  line-height: 1.25;
  color: var(--text);
}

.service-card__text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: .98rem;
}

/* Learn more button */
.btn-learn {
  width: auto;
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;

  background: #FFF;   /* default background */
  color: var(--text);        /* default text */
}

.btn-learn:hover {
  background: var(--text);   /* dark background on hover */
  color: #FFF;        /* light text on hover */
}


.btn-learn:active { transform: translateY(1px); }

/* Responsive adjustments */
@media (max-width: 992px) {
  .services { padding: 48px 16px 64px; }
  .services__subtitle { padding: 0 8px; }
}

@media (max-width: 640px) {
  .service-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .btn-learn {
    width: 100%;              /* full width */
    margin-top: 12px;         /* space between text and button */
    height: 44px;             /* consistent height */
    border-radius: 999px;     /* pill shape */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


@media (max-width: 400px) {
  .services { padding: 40px 12px 56px; }
  .service-card { padding: 16px 14px; }
}

/* Footer */
.light-footer {
  background: #c8dc9f;  /* soft green like “Our Process” */
  color: var(--text);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
}

.light-footer .footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-2);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-4);
}

.light-footer .footer-logo {
  height: 70px;
  margin-bottom: 1rem;
}

.light-footer .footer-brand p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.6;
}

.light-footer .footer-links h4,
.light-footer .footer-contact h4 {
  margin-bottom: .75rem;
  font-size: 1.1rem;
  color: var(--text);
}

.light-footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.light-footer .footer-links li { margin-bottom: .5rem; }
.light-footer .footer-links a {
  text-decoration: none;
  color: var(--text);
  font-size: .95rem;
  transition: color .2s ease;
}
.light-footer .footer-links a:hover { color: var(--accent); }

.light-footer .footer-contact p {
  font-size: .95rem;
  margin: .25rem 0;
}
.light-footer .footer-contact a {
  color: var(--text);
  text-decoration: none;
}
.light-footer .footer-contact a:hover { text-decoration: underline; }

.light-footer .footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.15);
  margin-top: var(--space-4);
  text-align: center;
  padding: 1rem;
  font-size: .85rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .light-footer .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .light-footer .footer-brand,
  .light-footer .footer-links,
  .light-footer .footer-contact { margin-bottom: var(--space-3); }
}
