/* Root theme */
:root {
  --color-forest: #3e6f57;
  --color-forest-dark: #2f5642;
  --color-sage: #e6f1ea;
  --color-mist: #f6fbf8;
  --color-text: #1d2a26;
  --color-muted: #4f6154;
  --color-accent: #79b791;
  --shadow-soft: 0 14px 35px rgba(38, 61, 47, 0.12);
  --font-body: "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --font-headings: "DM Serif Display", "Georgia", serif;
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-mist);
  line-height: 1.7;
  font-size: 18px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--color-forest);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  transform: translateY(0);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-headings);
  color: var(--color-forest);
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin-top: 0;
}

a {
  color: var(--color-forest-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-header {
  position: relative;
  background: linear-gradient(135deg, rgba(57, 108, 84, 0.95), rgba(136, 188, 156, 0.85));
  color: #fff;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem clamp(1rem, 3vw, 3rem);
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background-color: rgba(33, 56, 46, 0.7);
  z-index: 50;
}

.brand {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav {
  position: relative;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 1rem;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav__list a:hover,
.nav__list a:focus {
  color: #fff;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(57, 108, 84, 0.95), rgba(136, 188, 156, 0.85)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  color: #fff;
  padding: 6rem 1.5rem;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39, 66, 54, 0.85), rgba(88, 135, 109, 0.6));
}

.hero__content {
  position: relative;
  max-width: 720px;
  z-index: 1;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
  color: #fff;
}

.hero__subtitle {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button--primary {
  background-color: var(--color-accent);
  color: #153225;
  box-shadow: var(--shadow-soft);
}

.button--primary:hover,
.button--primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(17, 41, 28, 0.16);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background-color: transparent;
}

.button--ghost:hover,
.button--ghost:focus {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.button--ghost-dark {
  border-color: rgba(62, 111, 87, 0.2);
  color: var(--color-forest);
}

.button--ghost-dark:hover,
.button--ghost-dark:focus {
  background-color: rgba(62, 111, 87, 0.08);
}

.button--secondary {
  background: #fff;
  color: var(--color-forest);
  border: 1px solid transparent;
}

.button--outline {
  border: 1px solid var(--color-forest);
  color: var(--color-forest);
  background-color: transparent;
}

.button--outline:hover,
.button--outline:focus {
  background-color: rgba(60, 104, 83, 0.08);
  transform: translateY(-1px);
}

.hero .button--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero .button--outline:hover,
.hero .button--outline:focus {
  background-color: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 4.5rem 1.5rem;
}

.section--light {
  background-color: var(--color-mist);
}

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

.section__inner--split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.section__inner--grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.section__inner--highlight {
  align-items: stretch;
}

.portrait {
  margin: 0;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.portrait figcaption {
  margin: 0;
  padding: 1.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  background: #f1f7f3;
}

.highlight {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9f7 100%);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.highlight img {
  width: 100%;
  height: auto;
  display: block;
}

.highlight figcaption {
  margin: 0;
  padding: 1.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.feature-list {
  padding-left: 1.2rem;
  margin: 1.5rem 0 0;
}

.feature-list li {
  margin-bottom: 0.75rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.card .button {
  margin-top: 1rem;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.card--focus {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf7 100%);
  border-top: 4px solid var(--color-accent);
}

.card .button:first-of-type {
  margin-top: 0.5rem;
}

.card--accent {
  border-top: 6px solid var(--color-accent);
}

.card .button--ghost-dark {
  border-color: rgba(62, 111, 87, 0.25);
}

.card--details {
  background: #f8fdfa;
  border-radius: 24px;
}

.list {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.list li {
  margin-bottom: 0.5rem;
}

.small {
  font-size: 0.93rem;
  color: var(--color-muted);
}

.contact-card {
  background: #fff;
  border-left: 6px solid var(--color-accent);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.contact-card__item {
  margin-bottom: 1.25rem;
}

.footer {
  background-color: var(--color-forest-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 1.5rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--color-muted);
  max-width: 700px;
}

.step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.step-list li {
  padding-left: 3rem;
  position: relative;
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.1rem;
  background: var(--color-accent);
  color: #153225;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-list__heading {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-forest);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
}

.footer__link:hover,
.footer__link:focus {
  color: #fff;
}

@media (min-width: 768px) {
  .section__inner--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section__inner--grid {
    grid-template-columns: 1.6fr 1.2fr;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .nav__toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 17px;
  }

  .hero {
    padding: 5rem 1rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
  }

  .nav__list {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    flex-direction: column;
    align-items: flex-start;
    background: rgba(30, 52, 43, 0.95);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    min-width: 200px;
    display: none;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__list a {
    padding: 0.35rem 0;
  }
}
