:root {
  --forest: #173d2d;
  --sage: #7f9d7a;
  --moss: #4f6b45;
  --sand: #e7dec8;
  --ivory: #f7f4ea;
  --terracotta: #b86b42;
  --ink: #162119;
  --muted: #5b675f;
  --line: rgba(23, 61, 45, 0.16);
  --shadow: 0 24px 70px rgba(14, 36, 26, 0.16);
  color-scheme: light;
  font-family: Arial, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

html, body { margin: 0; overflow-x: clip; }

body {
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  right: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  right: clamp(14px, 3vw, 42px);
  left: clamp(14px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 9px 12px 9px 18px;
  border: 1px solid rgba(247, 244, 234, 0.5);
  border-radius: 22px;
  background: rgba(247, 244, 234, 0.86);
  box-shadow: 0 12px 42px rgba(14, 36, 26, 0.13);
  backdrop-filter: blur(16px);
}

.site-header__brand { display: block; flex: 0 0 auto; }
.site-header__brand img { width: clamp(190px, 22vw, 260px); height: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--moss);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(127, 157, 122, 0.17); color: var(--forest); }
.site-nav .site-nav__cta { background: var(--forest); color: #fff; }
.site-nav .site-nav__cta:hover, .site-nav .site-nav__cta:focus-visible { background: var(--moss); color: #fff; }

.site-header__menu {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: var(--forest);
  color: #fff;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
}

.scroll-world { position: relative; background: var(--forest); }
.sw-root { position: relative; height: calc(var(--sw-count, 6) * 115vh); min-height: 680vh; }
.sw-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: var(--forest); }
.sw-scenes, .sw-copies { position: absolute; inset: 0; }
.sw-scenes::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 28, 20, 0.82) 0%, rgba(11, 28, 20, 0.62) 27%, rgba(11, 28, 20, 0.12) 57%, transparent 76%),
    linear-gradient(0deg, rgba(7, 20, 14, 0.28), transparent 45%);
}

.sw-scene { position: absolute; inset: 0; margin: 0; opacity: 0; will-change: opacity; }
.sw-scene picture, .sw-scene img, .sw-scene__video { width: 100%; height: 100%; }
.sw-scene img, .sw-scene__video {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.sw-scene__video { z-index: 1; }

.sw-copies { z-index: 10; pointer-events: none; }
.sw-copy {
  position: absolute;
  top: 50%;
  left: clamp(24px, 6vw, 88px);
  width: min(43vw, 570px);
  opacity: 0;
  color: #fff;
  text-align: right;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
  will-change: opacity, transform;
}
.sw-copy__number { display: block; color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .13em; direction: ltr; text-align: right; }
.sw-copy__eyebrow { display: block; margin-top: 16px; color: #d6e5d2; font-size: .83rem; font-weight: 800; letter-spacing: .08em; }
.sw-copy h2 { max-width: 12ch; margin: 10px 0 0 auto; font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.sw-copy p { max-width: 37ch; margin: 20px 0 0 auto; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.65; }
.sw-copy ul { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin: 25px 0 0; padding: 0; list-style: none; }
.sw-copy li { padding: 7px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(16,45,32,.38); color: #fff; font-size: .82rem; backdrop-filter: blur(8px); }
.sw-copy__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; pointer-events: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--terracotta); color: #fff; box-shadow: 0 12px 32px rgba(82, 36, 17, .26); }
.button--secondary { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(10px); }

.sw-route { position: absolute; z-index: 20; top: 50%; right: clamp(12px, 2.5vw, 34px); display: flex; flex-direction: column; gap: 9px; transform: translateY(-50%); }
.sw-route::before { content: ""; position: absolute; top: 17px; right: 17px; bottom: 17px; width: 1px; background: rgba(255,255,255,.28); }
.sw-route__dot { position: relative; display: grid; grid-template-columns: 1fr 34px; align-items: center; gap: 8px; min-height: 36px; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; }
.sw-route__dot span { padding: 5px 10px; border-radius: 999px; background: rgba(12, 31, 22, .58); font-size: .76rem; opacity: 0; transform: translateX(6px); transition: opacity 180ms ease, transform 180ms ease; backdrop-filter: blur(8px); }
.sw-route__dot i { position: relative; z-index: 1; display: block; width: 9px; height: 9px; margin: auto; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.24); transition: transform 180ms ease, background 180ms ease; }
.sw-route__dot:hover span, .sw-route__dot:focus-visible span, .sw-route__dot.is-active span { opacity: 1; transform: translateX(0); }
.sw-route__dot.is-active i { transform: scale(1.55); background: var(--terracotta); border-color: #fff; }

.sw-progress { position: absolute; z-index: 30; right: 0; bottom: 0; left: 0; height: 4px; background: rgba(255,255,255,.2); }
.sw-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: right center; background: var(--terracotta); }
.sw-hint { position: absolute; z-index: 20; bottom: 25px; left: 50%; display: grid; justify-items: center; gap: 8px; transform: translateX(-50%); color: rgba(255,255,255,.82); font-size: .75rem; font-weight: 700; letter-spacing: .08em; transition: opacity 150ms ease; }
.sw-hint i { position: relative; width: 23px; height: 35px; border: 1px solid rgba(255,255,255,.65); border-radius: 14px; }
.sw-hint i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; border-radius: 4px; background: #fff; transform: translateX(-50%); animation: scroll-cue 1.6s ease-in-out infinite; }
@keyframes scroll-cue { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

.section { padding: clamp(76px, 10vw, 140px) clamp(20px, 6vw, 88px); }
.section__inner { width: min(1180px, 100%); margin: 0 auto; }
.section__eyebrow { margin: 0 0 12px; color: var(--terracotta); font-size: .82rem; font-weight: 900; letter-spacing: .08em; }
.section h2 { max-width: 13ch; margin: 0; color: var(--forest); font-size: clamp(2.3rem, 5vw, 4.9rem); line-height: 1.05; letter-spacing: -.04em; }
.section__lead { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }

.services { background: var(--ivory); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.service-card { position: relative; min-height: 280px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.52); }
.service-card::after { content: ""; position: absolute; width: 170px; height: 170px; left: -80px; bottom: -90px; border-radius: 50%; background: rgba(127,157,122,.12); }
.service-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--forest); color: #fff; font-size: 1.4rem; }
.service-card h3 { margin: 26px 0 0; color: var(--forest); font-size: 1.35rem; }
.service-card p { margin: 12px 0 0; color: var(--muted); }

.about { background: var(--sand); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(40px, 7vw, 100px); }
.about__visual { position: relative; min-height: 470px; overflow: hidden; border-radius: 34px; box-shadow: var(--shadow); }
.about__visual img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.about__visual span { position: absolute; right: 18px; bottom: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(247,244,234,.88); color: var(--moss); font-size: .72rem; font-weight: 700; backdrop-filter: blur(8px); }
.about__copy h2 { max-width: 10ch; }
.about__copy p { margin: 22px 0 0; color: #425047; font-size: 1.08rem; }
.about__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.about__facts li { padding: 17px; border: 1px solid rgba(23,61,45,.13); border-radius: 18px; background: rgba(247,244,234,.58); }
.about__facts strong, .about__facts span { display: block; }
.about__facts strong { color: var(--forest); }
.about__facts span { margin-top: 2px; color: var(--muted); font-size: .9rem; }

.contact { position: relative; overflow: hidden; background: var(--forest); color: #fff; text-align: center; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; top: -300px; right: -180px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.contact .section__inner { position: relative; }
.contact h2 { max-width: 12ch; margin-inline: auto; color: #fff; }
.contact p { max-width: 580px; margin: 22px auto 0; color: rgba(255,255,255,.76); font-size: 1.12rem; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.contact__phone { display: block; margin-top: 20px; color: #dfeadd; font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 800; text-decoration: none; direction: ltr; }

.site-footer { padding: 26px clamp(20px, 6vw, 88px) 34px; background: #0e2a1e; color: rgba(255,255,255,.72); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1180px, 100%); margin: 0 auto; }
.site-footer img { width: 180px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer p { margin: 0; font-size: .82rem; }
.site-footer a { color: #fff; }

.mobile-actions { display: none; }

:focus-visible { outline: 3px solid #e39a73; outline-offset: 3px; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: 2; min-height: 380px; }
  .about__visual img { min-height: 380px; }
}

@media (max-width: 720px) {
  .site-header { top: 10px; right: 10px; left: 10px; min-height: 58px; border-radius: 18px; }
  .site-header__brand img { width: 174px; }
  .site-header__menu { display: grid; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(23,61,45,.14);
    border-radius: 18px;
    background: rgba(247,244,234,.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { text-align: center; }

  .sw-root { min-height: 650vh; }
  .sw-scenes::after { background: linear-gradient(0deg, rgba(9,25,17,.94) 0%, rgba(9,25,17,.67) 31%, rgba(9,25,17,.08) 68%, transparent 78%); }
  .sw-scene img, .sw-scene__video { object-position: center; }
  .sw-copy { top: auto; right: 20px; bottom: calc(64px + env(safe-area-inset-bottom)); left: 20px; width: auto; max-width: 580px; }
  .sw-copy h2 { max-width: 12ch; margin-right: 0; font-size: clamp(2.25rem, 11vw, 3.55rem); }
  .sw-copy p { max-width: 36ch; margin-right: 0; font-size: 1rem; }
  .sw-copy ul { gap: 6px; margin-top: 16px; }
  .sw-copy li { padding: 5px 10px; font-size: .74rem; }
  .sw-copy__cta { margin-top: 18px; }
  .sw-copy__cta .button { min-height: 44px; padding: 9px 15px; font-size: .84rem; }
  .sw-route { top: 31%; right: 5px; gap: 3px; }
  .sw-route::before { right: 17px; }
  .sw-route__dot { grid-template-columns: 1fr 34px; }
  .sw-route__dot span { display: none; }
  .sw-hint { bottom: 20px; }

  .section { padding: 76px 20px; }
  .section h2 { font-size: clamp(2.25rem, 11vw, 3.55rem); }
  .services-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .service-card { min-height: 0; padding: 25px; }
  .about__facts { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 88px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }

  .mobile-actions {
    position: fixed;
    z-index: 90;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 18px;
    background: rgba(14,42,30,.9);
    box-shadow: 0 12px 36px rgba(0,0,0,.24);
    backdrop-filter: blur(14px);
  }
  .mobile-actions a { display: grid; min-height: 46px; place-items: center; border-radius: 12px; color: #fff; font-size: .9rem; font-weight: 800; text-decoration: none; }
  .mobile-actions a:first-child { background: var(--terracotta); }
  .mobile-actions a:last-child { border: 1px solid rgba(255,255,255,.28); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .sw-scene img { transform: none !important; }
  .button:hover { transform: none; }
}
