@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg: #f4efe6;
  --bg-alt: #ece3d6;
  --ink: #1f1b17;
  --muted: #6a5e52;
  --accent: #0f6b4a;
  --accent-soft: #dcefe5;
  --card: #fffaf2;
  --line: rgba(31, 27, 23, 0.12);
  --shadow: 0 20px 40px rgba(31, 27, 23, 0.12);
  --header-offset: 96px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: var(--header-offset);
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at top left, #fff7ea 0%, #f4efe6 40%, #e7dccb 100%);
  color: var(--ink);
  line-height: 1.6;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  position: relative;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.6;
  z-index: -1;
}

.page::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #e3f2e8 0%, rgba(227, 242, 232, 0) 70%);
  top: -120px;
  right: 10%;
}

.page::after {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #f1dfc9 0%, rgba(241, 223, 201, 0) 70%);
  bottom: -120px;
  left: -80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 40px;
  position: sticky;
  top: 0;
  background: linear-gradient(to bottom, rgba(244, 239, 230, 0.95) 0%, rgba(244, 239, 230, 0.6) 80%, rgba(244, 239, 230, 0) 100%);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  padding: 24px 0 64px;
}

.hero-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--accent);
  font-size: 14px;
}

.hero-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  margin-bottom: 4px;
}

.card-head p {
  color: var(--muted);
  max-width: 180px;
}

.pulse {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(15, 107, 74, 0.4);
  animation: ripple 2.6s infinite;
}

.card-body {
  display: grid;
  gap: 18px;
}

.metric p {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.metric h3 {
  font-size: 20px;
  margin: 4px 0;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 64px 0;
  scroll-margin-top: var(--header-offset);
}

.section.dark {
  background: #1f1b17;
  color: #f8f3ea;
  padding: 72px 40px;
  border-radius: 32px;
}

.section.dark .section-title p {
  color: rgba(248, 243, 234, 0.7);
}

.section-title {
  margin-bottom: 32px;
  max-width: 720px;
}

.section-title h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.solution-card,
.service-card,
.field-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(31, 27, 23, 0.08);
  min-height: 220px;
}

.solution-card h3,
.service-card h3,
.field-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.solution-card p,
.service-card p,
.field-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.solution-card ul {
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.solution-card li::before {
  content: "-";
  margin-right: 8px;
  color: var(--accent);
}

.timeline {
  display: grid;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  border-radius: 20px;
}

.step span {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.step h3 {
  margin-bottom: 4px;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: "Space Grotesk", sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 107, 74, 0.3);
  border-color: var(--accent);
}

.contact-aside {
  background: #f1e7d9;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
}

.contact-aside h3 {
  margin-bottom: 12px;
}

.contact-aside p {
  color: var(--muted);
  margin-bottom: 16px;
}

.contact-aside ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-aside li::before {
  content: "->";
  margin-right: 8px;
  color: var(--accent);
}

.contact-note {
  background: #fff3e2;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
}

.open-list {
  background: linear-gradient(135deg, rgba(15, 107, 74, 0.08), rgba(255, 250, 242, 0.95));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(31, 27, 23, 0.08);
}

.open-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.open-list li {
  background: #fff;
  border: 1px solid rgba(31, 27, 23, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 8px 16px rgba(31, 27, 23, 0.08);
}

.open-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex: 0 0 10px;
  box-shadow: 0 0 0 4px rgba(15, 107, 74, 0.12);
}

.open-list li:last-child {
  grid-column: 1 / -1;
  background: var(--card);
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 24px;
  flex-wrap: wrap;
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

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

  .grid.three {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 18px 48px;
  }

  .section.dark {
    padding: 48px 20px;
  }

  .nav {
    gap: 12px;
  }

  .hero-card {
    padding: 20px;
  }
}
