@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@500,700&display=swap');

:root {
  --rhine-pine: #365F55;
  --bavarian-meadow: #8FA889;
  --riesling-sun: #C6A55F;
  --castle-terracotta: #956555;
  --alpine-cloud: #F3F6F1;
  --forest-slate: #4E625A;
  --woodland-ink: #27302D;
  --hero-grad: linear-gradient(135deg, #284A45 0%, #365F55 48%, #789286 100%);
  --soft-grad: linear-gradient(180deg, #F3F6F1 0%, #E4ECE6 100%);
  --btn-grad: linear-gradient(135deg, #B89450 0%, #D0B878 100%);
  --nature-grad: linear-gradient(160deg, #365F55 0%, #627E71 100%);
  --photo-overlay: rgba(32, 66, 61, 0.32);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-head: 'Cabinet Grotesk', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --font-meta: 'IBM Plex Sans', 'Manrope', sans-serif;
  --container: 1180px;
  --radius: 14px;
  --shadow-soft: 0 18px 48px rgba(39, 48, 45, 0.08);
  --shadow-lift: 0 24px 56px rgba(39, 48, 45, 0.12);
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden !important;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--woodland-ink);
  background: var(--alpine-cloud);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--riesling-sun);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #D0B878;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
  overflow-x: clip;
  max-width: 100%;
}

.section--soft {
  background: var(--soft-grad);
}

.section--nature {
  background: var(--nature-grad);
  color: #F3F6F1;
}

.section--slate {
  background: var(--forest-slate);
  color: #F3F6F1;
}

.eyebrow {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--castle-terracotta);
  margin-bottom: 14px;
}

.section--nature .eyebrow,
.section--slate .eyebrow {
  color: var(--riesling-sun);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.h-section {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--woodland-ink);
  margin-bottom: 18px;
}

.section--nature .h-section,
.section--slate .h-section {
  color: #F7FAF6;
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  max-width: 62ch;
  color: rgba(39, 48, 45, 0.82);
}

.section--nature .lead,
.section--slate .lead {
  color: rgba(243, 246, 241, 0.86);
}

.meta {
  font-family: var(--font-meta);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(39, 48, 45, 0.62);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(149, 101, 85, 0.12);
  color: var(--castle-terracotta);
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-primary {
  background: var(--btn-grad);
  color: #27302D;
  box-shadow: 0 10px 28px rgba(198, 165, 95, 0.28);
}

.btn-primary:hover {
  background: #D8C48E;
  color: #27302D;
  box-shadow: 0 14px 36px rgba(198, 165, 95, 0.38);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #F3F6F1;
  border: 1px solid rgba(243, 246, 241, 0.42);
}

.btn-secondary:hover {
  background: rgba(243, 246, 241, 0.1);
  color: #fff;
  border-color: rgba(243, 246, 241, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--rhine-pine);
  border: 1px solid rgba(54, 95, 85, 0.28);
}

.btn-ghost:hover {
  background: rgba(54, 95, 85, 0.06);
  color: var(--rhine-pine);
  border-color: var(--rhine-pine);
}

.link-underline {
  position: relative;
  color: inherit;
  font-weight: 600;
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.link-underline:hover::after {
  transform: scaleX(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(54, 95, 85, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(243, 246, 241, 0.08);
  overflow-x: clip;
  max-width: 100%;
}

.site-header.is-scrolled {
  background: rgba(40, 74, 69, 0.97);
  box-shadow: 0 10px 30px rgba(20, 40, 36, 0.18);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  color: #F3F6F1;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo span {
  color: var(--riesling-sun);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: rgba(243, 246, 241, 0.88);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--riesling-sun);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 246, 241, 0.28);
  border-radius: 12px;
  background: rgba(243, 246, 241, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #F3F6F1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(40, 74, 69, 0.98);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 48px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}

.nav-mobile.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav-mobile a {
  color: #F3F6F1;
  font-family: var(--font-head);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 246, 241, 0.12);
}

.nav-mobile a:hover {
  color: var(--riesling-sun);
}

.site-footer {
  background: var(--forest-slate);
  color: rgba(243, 246, 241, 0.86);
  padding: 72px 0 36px;
  overflow-x: clip;
  max-width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  max-width: 34ch;
  line-height: 1.65;
  color: rgba(243, 246, 241, 0.72);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 15px;
  margin-bottom: 18px;
  color: #F7FAF6;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(243, 246, 241, 0.72);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--riesling-sun);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(243, 246, 241, 0.12);
  font-size: 13px;
  color: rgba(243, 246, 241, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
