:root {
  --ink: #102b25;
  --ink-soft: #39524c;
  --green: #0e6656;
  --green-2: #16806a;
  --mint: #dff2ea;
  --mint-2: #eef8f4;
  --sand: #f1e4c9;
  --gold: #cfa35d;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(16, 43, 37, 0.12);
  --shadow: 0 24px 70px rgba(14, 66, 55, 0.14);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { display: block; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: 112px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(251, 250, 246, .9);
  box-shadow: 0 10px 35px rgba(16, 43, 37, .08);
  backdrop-filter: blur(18px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 102, 86, .25);
}
.brand-mark svg { width: 30px; height: 30px; }
.brand strong { display: block; font-size: 16px; line-height: 1.1; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 11px; letter-spacing: .05em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; color: var(--ink-soft); transition: color .2s ease; }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--green);
  transition: right .25s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--green); }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff !important; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: var(--white); }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: .2s ease; }

.hero {
  position: relative;
  min-height: 850px;
  display: flex;
  align-items: center;
  padding-top: 155px;
  padding-bottom: 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(223, 242, 234, .9), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(241, 228, 201, .62), transparent 28%),
    linear-gradient(135deg, #fbfaf6 0%, #f2f7f3 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(14, 102, 86, .08);
  border-radius: 50%;
  right: -180px;
  top: -150px;
  box-shadow:
    0 0 0 55px rgba(14, 102, 86, .025),
    0 0 0 110px rgba(14, 102, 86, .02),
    0 0 0 165px rgba(14, 102, 86, .015);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow span { width: 34px; height: 2px; background: currentColor; }
.eyebrow.centered { justify-content: center; }
.eyebrow.light { color: #8fd5c3; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(52px, 6.1vw, 86px); line-height: 1.03; }
h1 em { color: var(--green); font-style: normal; }
h2 { margin-bottom: 22px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.1; }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.3; }
.hero-lead { max-width: 650px; margin-bottom: 32px; color: var(--ink-soft); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 15px 30px rgba(14, 102, 86, .22); }
.button-primary:hover { background: #0a584a; }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.62); color: var(--ink); }
.button-ghost svg, .button-dark svg { width: 20px; fill: currentColor; }
.button-dark { background: var(--ink); color: #fff; }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--ink-soft); font-size: 13px; }
.hero-note p { margin: 0; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 34px; height: 34px; display: grid; place-items: center; margin-left: -8px; border: 3px solid var(--paper); border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 10px; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: var(--green); color: white; }
.avatar-stack span:nth-child(2) { background: #d5e8df; }

.hero-visual { position: relative; min-height: 550px; }
.photo-frame { position: absolute; inset: 38px 5px 30px 30px; overflow: hidden; border-radius: 42px 42px 160px 42px; box-shadow: var(--shadow); background: #ccdcd5; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.photo-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 42, 34, .82), transparent 46%); }
.photo-caption { position: absolute; left: 28px; bottom: 27px; display: flex; align-items: center; gap: 12px; color: white; }
.caption-dot { width: 10px; height: 10px; border-radius: 50%; background: #8cd4bd; box-shadow: 0 0 0 7px rgba(140, 212, 189, .18); }
.photo-caption strong, .photo-caption small { display: block; }
.photo-caption strong { font-size: 16px; }
.photo-caption small { color: rgba(255,255,255,.72); font-size: 12px; }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 18px 45px rgba(16, 43, 37, .15); backdrop-filter: blur(12px); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 17px; }
.floating-card small { color: var(--ink-soft); font-size: 11px; }
.floating-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--mint); color: var(--green); }
.floating-icon.sand { background: var(--sand); color: #8b6426; }
.floating-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-population { top: 0; right: -26px; }
.card-founded { left: -24px; bottom: 8px; }
.hero-scroll { position: absolute; left: 50%; bottom: 34px; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; transform: translateX(-50%) rotate(90deg); transform-origin: center; }
.hero-scroll span { width: 40px; height: 1px; background: var(--ink-soft); }

.stats { position: relative; z-index: 3; margin-top: -42px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid rgba(14, 102, 86, .12); border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: 0 18px 50px rgba(16,43,37,.09); backdrop-filter: blur(16px); }
.stat { position: relative; padding: 28px 30px; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-number { display: block; margin-bottom: 5px; color: var(--green); font-family: "Playfair Display", Georgia, serif; font-size: 34px; font-weight: 700; line-height: 1; }
.stat p { margin: 0; color: var(--ink-soft); font-size: 12px; }

.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.section-heading h2 { margin-bottom: 0; }
.about-copy p { color: var(--ink-soft); }
.lead-copy { color: var(--ink) !important; font-size: 20px; font-weight: 600; line-height: 1.65; }
.profile-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 20px; margin-top: 58px; }
.profile-card { min-height: 235px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.profile-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(16,43,37,.09); }
.profile-main { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; background: var(--ink); color: #fff; }
.profile-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.profile-main p { color: rgba(255,255,255,.68); }
.profile-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.12); color: #fff; }
.profile-icon.mint { background: var(--mint); color: var(--green); }
.profile-icon.gold { background: var(--sand); color: #936d32; }
.profile-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kicker { display: block; margin-bottom: 12px; color: var(--green-2); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.profile-main .kicker { color: #8fd5c3; }

.potential { background: #eff5f0; }
.center-heading { max-width: 760px; margin: 0 auto 55px; text-align: center; }
.center-heading p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 350px; padding: 30px 26px; overflow: hidden; border: 1px solid rgba(14,102,86,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.82); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 24px 50px rgba(16,43,37,.1); }
.feature-number { position: absolute; right: 18px; top: 8px; color: rgba(14,102,86,.08); font-family: "Playfair Display", serif; font-size: 76px; font-weight: 700; line-height: 1; }
.feature-icon { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 70px; border-radius: 18px; background: var(--mint); color: var(--green); }
.feature-icon svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.history { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.history::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -260px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02); }
.history-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 95px; }
.history-intro { position: sticky; top: 130px; align-self: start; }
.history-intro p { color: rgba(255,255,255,.68); }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; color: #9edcca; font-size: 14px; font-weight: 800; }
.text-link span { font-size: 22px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.timeline { position: relative; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 10px; width: 1px; background: rgba(255,255,255,.15); }
.timeline-item { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 28px; padding: 0 0 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -38px; top: 8px; width: 15px; height: 15px; border: 4px solid var(--ink); border-radius: 50%; background: #8fd5c3; box-shadow: 0 0 0 1px rgba(143,213,195,.45); }
.timeline-year { color: #8fd5c3; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.timeline-item h3 { margin-bottom: 8px; color: #fff; }
.timeline-item p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.inline-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; margin-bottom: 45px; }
.inline-heading p { margin: 0; color: var(--ink-soft); }
.sanatorium-feature { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); background: var(--mint-2); }
.sanatorium-image { min-height: 520px; overflow: hidden; }
.sanatorium-image img { width: 100%; height: 100%; object-fit: cover; }
.sanatorium-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px; }
.place-tag { display: inline-flex; width: max-content; margin-bottom: 16px; padding: 7px 12px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sanatorium-copy h3 { font-family: "Playfair Display", serif; font-size: 40px; }
.sanatorium-copy p { color: var(--ink-soft); }
.check-list { display: grid; gap: 10px; margin: 8px 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; }
.sanatorium-copy .button { align-self: flex-start; }
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.place-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.place-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(16,43,37,.09); }
.place-art { height: 205px; display: grid; place-items: center; overflow: hidden; }
.place-art svg { width: 100%; height: 100%; }
.place-art.river { background: linear-gradient(160deg, #d8eee7, #b9d8cb); }
.place-art.river path:first-child { fill: #6aa892; opacity: .55; }
.place-art.river path:last-child { stroke: #effbf7; stroke-width: 9; }
.place-art.orchard { background: linear-gradient(160deg, #edf1d5, #d6e7bd); }
.place-art.orchard circle { fill: #7ca66b; opacity: .88; }
.place-art.orchard path { stroke: #755a3b; stroke-width: 8; stroke-linecap: round; }
.place-art.park { background: linear-gradient(160deg, #efe3cf, #e6d1ae); }
.place-art.park path { fill: none; stroke: #9e7445; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.place-content { padding: 25px; }
.place-content p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }

.map-section { background: #f0f4ef; }
.map-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.map-copy p { color: var(--ink-soft); }
.map-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.map-facts div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.65); }
.map-facts span, .map-facts strong { display: block; }
.map-facts span { margin-bottom: 5px; color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.map-facts strong { font-size: 13px; }
.map-frame { position: relative; min-height: 520px; overflow: hidden; border: 10px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #d9e6df; }
.map-frame iframe { width: 100%; height: 520px; border: 0; filter: saturate(.78) contrast(.96); }
.map-label { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 12px 32px rgba(16,43,37,.15); backdrop-filter: blur(12px); }
.map-label strong, .map-label small { display: block; }
.map-label small { color: var(--ink-soft); font-size: 11px; }
.map-pin { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--green); color: #fff; }
.map-pin svg { width: 21px; fill: currentColor; }

.community { padding-top: 75px; padding-bottom: 75px; background: var(--paper); }
.community-card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; overflow: hidden; padding: 62px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #0d5d4f, #133f36); color: #fff; box-shadow: var(--shadow); }
.community-card::after { content: ""; position: absolute; width: 340px; height: 340px; right: -110px; top: -170px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.02); }
.community-card > * { position: relative; z-index: 1; }
.community-card h2 { font-size: clamp(35px, 4vw, 53px); }
.community-card p { margin-bottom: 0; color: rgba(255,255,255,.68); }
.community-form { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.community-form label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 800; }
.input-row { display: flex; gap: 10px; }
.input-row input { width: 100%; min-width: 0; padding: 15px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; outline: none; background: rgba(255,255,255,.12); color: #fff; }
.input-row input::placeholder { color: rgba(255,255,255,.5); }
.input-row input:focus { border-color: #8fd5c3; box-shadow: 0 0 0 3px rgba(143,213,195,.15); }
.input-row button { border: 0; border-radius: 14px; padding: 0 20px; background: #fff; color: var(--ink); font-weight: 800; }
.community-form small { display: block; margin-top: 11px; color: rgba(255,255,255,.52); font-size: 10px; }

.site-footer { padding: 75px 0 24px; background: #0b211c; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .9fr 1fr; gap: 55px; }
.brand-light .brand-mark { background: #1a7b68; }
.brand-light small { color: rgba(255,255,255,.54); }
.footer-brand p, .footer-meta p { color: rgba(255,255,255,.55); font-size: 13px; }
.footer-brand p { max-width: 330px; margin-top: 20px; }
.footer-links h3, .footer-meta h3 { margin-bottom: 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: 13px; transition: color .2s ease; }
.footer-links a:hover { color: #9edcca; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.42); font-size: 11px; }
.footer-bottom p { margin: 0; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 15px; background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(16,43,37,.22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; max-width: calc(100% - 40px); padding: 13px 18px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 15px 35px rgba(16,43,37,.2); font-size: 13px; opacity: 0; visibility: hidden; transform: translate(-50%, 15px); transition: .25s ease; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }
  .hero-grid { gap: 42px; }
  .hero-visual { min-height: 500px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-icon { margin-bottom: 45px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .9fr; }
  .footer-meta { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .nav-toggle { display: block; position: relative; z-index: 102; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 25px; padding: 90px 30px; background: rgba(251,250,246,.98); font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease; }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-cta { margin-top: 8px; }
  .hero { min-height: auto; padding-top: 135px; }
  .hero-grid, .split-grid, .history-grid, .map-grid, .community-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .hero-visual { min-height: 520px; }
  .photo-frame { inset: 20px 35px 30px 35px; }
  .card-population { right: 0; }
  .card-founded { left: 0; }
  .hero-scroll { display: none; }
  .stats { margin-top: -26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-grid { gap: 35px; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .profile-main { grid-column: 1 / -1; }
  .history-intro { position: static; }
  .history-grid { gap: 60px; }
  .inline-heading { grid-template-columns: 1fr; gap: 22px; }
  .sanatorium-feature { grid-template-columns: 1fr; }
  .sanatorium-image { min-height: 390px; }
  .place-grid { grid-template-columns: 1fr; }
  .place-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .place-art { height: 100%; min-height: 240px; }
  .map-grid { gap: 45px; }
  .community-card { gap: 35px; padding: 42px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }
  .brand small { display: none; }
  h1 { font-size: clamp(44px, 13vw, 64px); }
  h2 { font-size: clamp(35px, 10vw, 48px); }
  .hero { padding-top: 120px; padding-bottom: 78px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-note { align-items: flex-start; }
  .hero-visual { min-height: 430px; }
  .photo-frame { inset: 20px 5px 35px 5px; border-radius: 28px 28px 100px 28px; }
  .floating-card { min-width: 168px; padding: 11px 13px; }
  .floating-card strong { font-size: 14px; }
  .card-population { right: -3px; }
  .card-founded { left: -3px; bottom: 0; }
  .stats { margin-top: 0; padding-top: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 22px 24px; }
  .stat:not(:last-child)::after { left: 24px; right: 24px; top: auto; bottom: 0; width: auto; height: 1px; }
  .stat:nth-child(2)::after { display: block; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .profile-grid, .feature-grid { grid-template-columns: 1fr; }
  .profile-main { grid-column: auto; grid-template-columns: 1fr; }
  .feature-card { min-height: 300px; }
  .timeline { padding-left: 28px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-item::before { left: -28px; }
  .sanatorium-copy { padding: 34px 26px; }
  .sanatorium-copy h3 { font-size: 34px; }
  .sanatorium-image { min-height: 300px; }
  .place-card { display: block; }
  .place-art { height: 210px; min-height: auto; }
  .map-facts { grid-template-columns: 1fr; }
  .map-frame, .map-frame iframe { min-height: 430px; height: 430px; }
  .community-card { padding: 34px 24px; border-radius: 26px; }
  .input-row { flex-direction: column; }
  .input-row button { min-height: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
  .footer-brand, .footer-meta { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
