:root {
  --bg: #eef3f1;
  --bg-deep: #d7e4df;
  --ink: #1c2a26;
  --ink-soft: #3d4f49;
  --muted: #5f716a;
  --accent: #2f6f5e;
  --accent-hover: #245749;
  --line: rgba(28, 42, 38, 0.12);
  --paper: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 50px rgba(28, 42, 38, 0.08);
  --font-display: "Literata", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #c9ddd4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, #dce8e3 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #f7f9f8 45%, var(--bg-deep) 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--space);
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 241, 0.78);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav a:hover,
.header-cta:hover {
  color: var(--accent);
}

.header-cta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: min(100vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 34, 30, 0.18) 0%, rgba(20, 34, 30, 0.55) 100%),
    url("https://images.unsplash.com/photo-1499209974431-9dddcece7f88?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: clamp(4rem, 12vh, 8rem) var(--space) clamp(3rem, 8vh, 5rem);
  color: #f4f8f6;
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.15s;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.3s;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(244, 248, 246, 0.88);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.45s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.6s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #f7fbf9;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border: 1px solid rgba(244, 248, 246, 0.45);
  color: #f4f8f6;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(244, 248, 246, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: clamp(4rem, 10vh, 7rem) var(--space);
}

.section-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.facts li {
  padding-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.facts span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.services {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.service-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.service-list li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.contact .section-inner {
  max-width: 40rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.contact .btn-ghost:hover {
  border-color: rgba(47, 111, 94, 0.45);
  background: #fff;
}

.site-footer {
  padding: 2rem var(--space) 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(1.5%, -1%, 0);
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

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

  .facts li {
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .brand,
  .hero h1,
  .hero-lead,
  .hero-actions {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
