:root {
  --bg: #e8dac6;
  --bg-soft: #ddccb5;
  --surface: #f3e8d8;
  --text: #0b1b16;
  --muted: #3e534a;
  --line: #c5b399;
  --accent: #0c4a38;
  --accent-strong: #072a20;
  --max-width: 1140px;
  --radius: 16px;
  --shadow: 0 18px 36px rgba(7, 42, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(12, 74, 56, 0.14), transparent 36%),
    radial-gradient(circle at 95% 7%, rgba(7, 42, 32, 0.1), transparent 32%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(205, 191, 174, 0.75);
  backdrop-filter: blur(8px);
  background: rgba(239, 231, 219, 0.92);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(7, 42, 32, 0.2);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--accent);
  background: linear-gradient(145deg, #106048, #08372a);
  color: #fff;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(7, 42, 32, 0.34);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-ghost {
  background: transparent;
  color: var(--accent-strong);
}

.section {
  padding: 5.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(229, 220, 207, 0.9), rgba(229, 220, 207, 0.56));
  border-top: 1px solid rgba(205, 191, 174, 0.78);
  border-bottom: 1px solid rgba(205, 191, 174, 0.78);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.79rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  max-width: 16ch;
  margin-bottom: 1.3rem;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.hero-lead {
  margin: 1.25rem 0 1.6rem;
  max-width: 58ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-points li + li {
  margin-top: 0.35rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.hero-card-title {
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(205, 191, 174, 0.95);
  color: var(--muted);
}

.hero-card li:last-child {
  border-bottom: 0;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.services-stack {
  display: grid;
  gap: 0;
  padding-bottom: 26vh;
}

.service-slab {
  min-height: 52vh;
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  pointer-events: none;
}

.service-slab + .service-slab {
  margin-top: -26vh;
}

.service-slab:nth-child(1) {
  z-index: 4;
}

.service-slab:nth-child(2) {
  z-index: 5;
}

.service-slab:nth-child(3) {
  z-index: 6;
}

.service-slab:nth-child(4) {
  z-index: 7;
}

.service-body {
  position: relative;
  z-index: 3;
  width: 50%;
  min-height: 52vh;
  padding: 2.15rem 2.2rem 2rem;
  background: rgba(244, 236, 223, 0.98);
  border: 1px solid rgba(197, 179, 153, 0.92);
  border-radius: 22px;
  border-right: 1px solid rgba(197, 179, 153, 0.9);
  backdrop-filter: blur(1px);
  box-shadow:
    0 28px 46px rgba(7, 42, 32, 0.12),
    0 6px 14px rgba(7, 42, 32, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  --shadow-x: 0px;
  --shadow-y: 0px;
  pointer-events: auto;
}

.service-slab:nth-child(even) .service-body {
  margin-left: auto;
  border-right: 1px solid rgba(197, 179, 153, 0.92);
  border-left: 1px solid rgba(197, 179, 153, 0.92);
}

.service-index {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.12em;
}

.service-body h3 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.service-lead {
  margin: 0.9rem 0 0.95rem;
  color: var(--muted);
  max-width: 52ch;
}

.service-body ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-body li + li {
  margin-top: 0.35rem;
}

.service-media {
  display: none;
}

.service-cta {
  margin-top: 1.25rem;
}

.service-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.service-reveal .service-body {
  opacity: 1;
  transform: none;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.service-reveal .service-media {
  opacity: 1;
  transform: none;
  transition: none;
}

.service-reveal:nth-child(even) .service-body {
  transform: none;
}

.service-reveal:nth-child(even) .service-media {
  transform: none;
}

.service-visible {
  opacity: 1;
  transform: none;
}

.service-visible .service-body,
.service-visible .service-media {
  opacity: 1;
  transform: none;
}

.service-body:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-x) calc(34px + var(--shadow-y)) 56px rgba(7, 42, 32, 0.22),
    0 10px 22px rgba(7, 42, 32, 0.13);
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.process-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.7rem;
  align-items: stretch;
}

.flow-step {
  background: rgba(243, 232, 216, 0.85);
  border: 1px solid rgba(197, 179, 153, 0.95);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 10px 22px rgba(7, 42, 32, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(7, 42, 32, 0.14);
}

.flow-step span {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-strong);
  margin-bottom: 0.7rem;
}

.flow-step p {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.flow-arrow {
  align-self: center;
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 700;
  opacity: 0.7;
  animation: flowPulse 1.7s ease-in-out infinite;
}

@keyframes flowPulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

.case-card {
  position: relative;
  overflow: hidden;
}

.case-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 86px;
  background: radial-gradient(circle, rgba(12, 74, 56, 0.3), transparent 68%);
}

.case-metric {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-strong);
  margin: 0;
}

.price-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.price-card li + li {
  margin-top: 0.35rem;
}

.price-note {
  color: var(--muted);
  margin-top: 0.45rem;
}

.featured {
  border: 1px solid rgba(12, 74, 56, 0.72);
  box-shadow: 0 20px 30px rgba(7, 42, 32, 0.2);
}

.badge {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: rgba(12, 74, 56, 0.18);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.faq-wrap details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.faq-wrap details + details {
  margin-top: 0.7rem;
}

.faq-wrap summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-wrap p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.contact-list li + li {
  margin-top: 0.32rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.32rem;
  width: 100%;
  border: 1px solid #c8b9a6;
  border-radius: 10px;
  background: #f9f3ea;
  font: inherit;
  color: var(--text);
  padding: 0.7rem 0.75rem;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0.7rem 0 0;
  color: #5d6d64;
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(205, 191, 174, 0.85);
  padding: 1.25rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #57685f;
  font-size: 0.9rem;
}

.footer-wrap div {
  display: flex;
  gap: 0.9rem;
}

.section-reveal,
.section-reveal-delay {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal-delay {
  transition-delay: 0.2s;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-slab {
    min-height: auto;
  }

  .services-stack {
    gap: 1rem;
    padding-bottom: 0;
  }

  .service-slab + .service-slab {
    margin-top: 0;
  }

  .service-body,
  .service-slab:nth-child(even) .service-body {
    width: 100%;
    min-height: auto;
    margin-left: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(197, 179, 153, 0.9);
    border-radius: 16px;
  }

  .service-media,
  .service-slab:nth-child(even) .service-media {
    display: none;
  }

  .cards-4,
  .cards-3,
  .pricing-track,
  .process-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    display: none;
  }

  .cards-4,
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section {
    padding: 4.2rem 0;
  }

  .cards-4,
  .cards-3,
  .pricing-track {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-sm {
    display: none;
  }
}
