/* ===== Lõo Talu kuused ===== */

/* Fondid on oma serveris (Google Fonts ei saa külastaja IP-d).
   Bricolage Grotesque ja Figtree: SIL Open Font License 1.1 */
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(assets/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(assets/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --green-900: #0C2A21;
  --green-800: #12362B;
  --green-700: #1C4A3B;
  --green-line: #3B5E52;
  --sage: #8FB0A2;
  --mist: #C9DAD2;
  --mint: #DCE6E1;
  --bg: #EEF3F1;
  --text-2: #3F584E;
  --border: #9DB3AA;
  --gold: #F2B84B;
  --red: #B3243B;
  --red-dark: #8F1B2E;
  --white: #FFFFFF;

  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--green-800);
  background: var(--bg);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--green-800); transition: color .2s; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--display); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--green-800); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.h2 {
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 10px 20px; }
.btn-lg { padding: 16px 30px; min-height: 56px; }
.btn-gold { background: var(--gold); color: var(--green-800); }
.btn-gold:hover { color: var(--green-800); background: #F7C766; box-shadow: 0 10px 24px -10px rgba(242,184,75,.8); }
.btn-dark { background: var(--green-800); color: var(--bg); }
.btn-dark:hover { color: var(--white); background: var(--green-700); box-shadow: 0 10px 24px -12px rgba(18,54,43,.7); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 12px 26px -12px rgba(179,36,59,.8); }
.btn-outline-light { border-color: var(--bg); color: var(--bg); }
.btn-outline-light:hover { background: var(--bg); color: var(--green-800); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 54, 43, .96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); background: rgba(12, 42, 33, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bg); font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -0.01em; }
.brand:hover { color: var(--white); }
.brand-tree { transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.brand:hover .brand-tree { transform: rotate(-8deg) scale(1.06); }

.nav-desktop { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; }
.nav-desktop a:not(.btn) { color: var(--bg); text-decoration: none; padding: 8px 0; position: relative; }
.nav-desktop a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-desktop a:not(.btn):hover::after, .nav-desktop a.active::after { transform: scaleX(1); }
.nav-desktop a:not(.btn):hover { color: var(--white); }

.menu-toggle {
  display: none; position: relative; z-index: 61;
  width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 12px; width: 24px; height: 2.5px; border-radius: 2px; background: var(--bg);
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--green-900);
  padding: calc(var(--header-h) + 32px) 24px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 48px) 38px);
  transition: clip-path .55s var(--ease);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 48px) 38px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a:not(.btn) {
  color: var(--bg); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: clamp(32px, 9vw, 44px); line-height: 1.15;
  padding: 10px 0; border-bottom: 1px solid var(--green-line);
}
.mobile-menu nav .btn { margin-top: 28px; align-self: flex-start; font-size: 18px; padding: 16px 30px; }
.mobile-menu nav > *, .mobile-contact {
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.mobile-menu.open nav > *, .mobile-menu.open .mobile-contact {
  opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .06s);
}
.mobile-contact { color: var(--mist); margin-top: 32px; }
.mobile-contact a { color: var(--gold); font-weight: 700; }

/* ===== Hero ===== */
.hero { background: var(--green-800); color: var(--bg); position: relative; overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px; padding-top: 56px; position: relative; z-index: 1; }
.hero-text { flex: 1 1 520px; min-width: 0; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-weight: 800; font-size: clamp(44px, 7vw, 92px); line-height: .96; letter-spacing: -0.03em; text-wrap: balance; }
.underlined { position: relative; display: inline-block; }
.underlined svg { position: absolute; left: 0; bottom: -0.14em; width: 100%; height: .2em; overflow: visible; }
.underlined path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.1s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { max-width: 34em; font-size: 20px; color: var(--mist); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  list-style: none; margin: 12px 0 0; padding: 20px 0 0; border-top: 1px solid var(--green-line);
  display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 17px;
}
.hero-facts strong { color: var(--gold); }

.hero-art {
  flex: 1 1 380px; min-width: 0; min-height: 540px; align-self: stretch; margin-bottom: 72px;
  border-radius: 20px; overflow: hidden; position: relative;
  background: var(--green-700);
}
.forest { position: absolute; inset: 0; width: 100%; height: 100%; }
.forest .layer { will-change: transform; }
.sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.sway.s2 { animation-duration: 7.5s; animation-delay: -2s; }
.sway.s3 { animation-duration: 8s; animation-delay: -4s; }
@keyframes sway { 0%,100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.moon { animation: glow 5s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .85; } 50% { opacity: 1; } }

/* Lauaarvutis täidab hero kogu ekraani (päise all) */
@media (min-width: 861px) {
  .hero { display: flex; flex-direction: column; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .hero-inner { flex: 1 1 auto; width: 100%; align-items: center; padding-top: 48px; }
  .hero-text { padding-bottom: 48px; }
  .hero-art { margin-bottom: 48px; min-height: 0; height: calc(100svh - var(--header-h) - 96px); min-height: 480px; max-height: 760px; }
}

/* taustapilt (kõik kuused kaugemalt) + parempoolne üksiku kuuse pilt */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,42,33,.92) 0%, rgba(12,42,33,.75) 45%, rgba(12,42,33,.45) 100%); }
.hero-bg:not(:has(img))::after { display: none; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* snowfall */
.snow { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.snow i {
  position: absolute; top: -10px; width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff; opacity: var(--o);
  animation: fall var(--t) linear var(--delay) infinite;
}
@keyframes fall {
  0% { transform: translate3d(0, -10px, 0); }
  100% { transform: translate3d(var(--x), 110vh, 0); }
}

/* ===== Miks ===== */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 80px; align-items: center; margin-bottom: 72px; }
.story-text { display: flex; flex-direction: column; gap: 16px; }
.story-lead { font-size: 20px; color: var(--text-2); max-width: 32em; }
.story-photo { margin: 0; aspect-ratio: 4 / 5; max-height: 460px; width: 100%; border-radius: 24px; overflow: hidden; background: var(--mint); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story:has(.story-photo.is-empty) { grid-template-columns: 1fr; margin-bottom: 56px; }
.story-photo.is-empty { display: none; }
.ways-title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.15; margin-bottom: 24px; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; margin-bottom: 48px; }
  .story-photo { aspect-ratio: 16 / 10; max-height: none; }
}

/* ===== Cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.section > .h2 { margin-bottom: 40px; }
.card {
  background: var(--white); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(18,54,43,.35); }
.card h3 { font-weight: 700; font-size: 28px; line-height: 1.1; }
.card p { color: var(--text-2); }
.card p { margin-bottom: 12px; }
.card .btn { align-self: flex-start; margin-top: auto; padding: 13px 24px; }

.split-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 44px; }
.split-head .h2 { max-width: 20em; }
.split-head p { max-width: 34em; font-size: 20px; line-height: 1.55; color: var(--green-800); opacity: .82; }
@media (max-width: 560px) {
  .split-head p { font-size: 18px; }
}

/* ===== Height chart ===== */
.chart {
  --m: 120px;
  background: var(--white); border-radius: 24px; padding: 40px 24px 32px;
  display: flex; gap: 12px;
}
.chart-scale { flex: 0 0 52px; display: flex; flex-direction: column-reverse; font-size: 14px; font-weight: 600; color: var(--text-2); }
.chart-scale div { height: var(--m); border-top: 2px solid var(--green-800); padding-top: 4px; }
.chart-scale .half { height: calc(var(--m) / 2); }
.chart-area {
  flex: 1 1 auto; min-width: 0; position: relative; height: calc(var(--m) * 3.5);
  background-image: linear-gradient(to top, var(--mint) 0 2px, transparent 2px);
  background-size: 100% var(--m); background-position: bottom; background-repeat: repeat-y;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; justify-items: center;
  border-bottom: 2px solid var(--green-800);
}
.ceiling { position: absolute; left: 0; right: 0; bottom: calc(var(--m) * 2.5); border-top: 2px dashed var(--red); z-index: 2; pointer-events: none; }
.ceiling-label { position: absolute; left: 0; bottom: calc(var(--m) * 2.5 + 6px); z-index: 2; font-size: 14px; font-weight: 600; color: var(--red); background: var(--white); padding: 2px 10px 2px 4px; border-radius: 6px; }
.tree { transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.1s var(--ease); }
.tree-s { height: calc(var(--m) * 1.6); width: min(84px, 80%); }
.tree-m { height: calc(var(--m) * 2.4); width: min(132px, 86%); transition-delay: .15s; }
.tree-l { height: calc(var(--m) * 3.5); width: min(200px, 92%); transition-delay: .3s; }
.chart.in .tree { transform: scaleY(1); }

.price-grid { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.price {
  background: var(--green-800); color: var(--bg); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(12,42,33,.7); }
.price h3 { font-weight: 700; font-size: 26px; }
.price .size { font-weight: 600; color: var(--gold); }
.price p { color: var(--mist); }
.price .amount { margin-top: auto; padding-top: 20px; font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--white); }

/* ===== Dates ===== */
.band-red { background: var(--red); color: var(--white); }
.band-red .split-head p { color: var(--white); }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.day {
  background: var(--white); color: var(--green-800); border-radius: 16px; padding: 20px 18px;
  display: flex; flex-direction: column; gap: 2px; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.day:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.day span { font-weight: 600; }
.day b { font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1; }
.day em { margin-top: 10px; font-style: normal; font-size: 15px; font-weight: 700; color: var(--red); }
.day-last { background: var(--gold); }
.day-last em { color: var(--green-800); }
.day.past { opacity: .5; }
.day.next { box-shadow: 0 0 0 3px var(--gold); }
.day.next::before {
  content: "järgmine"; position: absolute; top: -11px; left: 14px;
  background: var(--green-800); color: var(--gold); font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; line-height: 1.5;
}
.day.today::before { content: "täna"; }
.note { margin-top: 36px; max-width: 40em; }
.callout {
  margin-top: 28px; padding: 20px 24px; border-radius: 16px; display: inline-block;
  font-weight: 600; background: var(--green-800);
}
.callout a { color: var(--white); font-weight: 800; white-space: nowrap; }
.callout a:hover { color: var(--gold); }

/* ===== Tšoi ===== */
.tsoi { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.tsoi-photo {
  flex: 1 1 380px; min-width: 0; margin: 0; height: 520px;
  border-radius: 20px; overflow: hidden; background: var(--mint);
}
.tsoi-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 75%; transform: scale(1.45); transform-origin: 76% 68%; }
.tsoi-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tsoi-text p { color: var(--text-2); }

/* ===== Order form ===== */
.band-mint { background: var(--mint); }
.order { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.order-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.order-text > p { color: var(--text-2); }
@media (min-width: 900px) { .order-text { position: sticky; top: 100px; } }

.form {
  flex: 1 1 480px; min-width: 0; background: var(--white); border-radius: 24px; padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 30px 60px -40px rgba(18,54,43,.5);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
label, legend { font-weight: 600; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  font: inherit; color: inherit; width: 100%;
  padding: 13px 14px; min-height: 52px;
  border: 2px solid var(--border); border-radius: 12px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 110px; }
input:hover, select:hover, textarea:hover { border-color: var(--green-800); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(242,184,75,.45); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
  border-right: 2.5px solid var(--green-800); border-bottom: 2.5px solid var(--green-800);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 14px;
  border: 2px solid var(--border); border-radius: 999px; font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor;
  box-shadow: inset 0 0 0 3px var(--white); transition: background-color .2s, box-shadow .2s;
}
.chip:hover span { border-color: var(--green-800); }
.chip input:checked + span { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.chip input:checked + span::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--green-800); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form .btn { align-self: flex-start; }
.form-note { font-size: 16px; color: var(--text-2); }
.err { display: none; color: var(--red); font-size: 15px; font-weight: 600; margin-top: -8px; }
.err.show { display: block; animation: shake .4s; }
.field .err { margin-top: 0; }
input.invalid { border-color: var(--red); }
@keyframes shake { 20%,60% { transform: translateX(-4px); } 40%,80% { transform: translateX(4px); } }
.form-success { background: #E7F2EC; border-left: 4px solid var(--green-800); padding: 16px 18px; border-radius: 10px; font-size: 16px; }
.form-success:not([hidden]), .form-error:not([hidden]) { animation: pop .5s var(--ease); }
.form-error { background: #FBE9EC; border-left: 4px solid var(--red); padding: 16px 18px; border-radius: 10px; font-size: 16px; }
.form-error a { font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form { position: relative; }
.btn:disabled { cursor: wait; opacity: .85; transform: none; }
.btn.is-loading svg { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

/* ===== Location ===== */
.location { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.location-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
address { font-style: normal; display: flex; flex-direction: column; gap: 16px; }
address .btn { align-self: flex-start; }
.muted-text { color: var(--text-2); }
.contacts { margin-top: 8px; }
.contacts a { font-weight: 700; }
.map {
  flex: 1 1 480px; min-width: 0; min-height: 420px; border-radius: 20px; overflow: hidden;
  background: var(--mint); box-shadow: 0 30px 60px -40px rgba(18,54,43,.5);
}
.map { position: relative; display: flex; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; animation: pop .5s var(--ease); }
.map-consent { position: relative; flex: 1; min-height: 420px; display: flex; align-items: flex-end; padding: 20px; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 34%; width: 44px; transform: translate(-50%, -100%); animation: bob 2.4s ease-in-out infinite; filter: drop-shadow(0 8px 8px rgba(18,54,43,.25)); }
@keyframes bob { 0%,100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, calc(-100% - 8px)); } }
.map-card {
  position: relative; width: 100%; background: var(--white); border-radius: 16px; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  box-shadow: 0 16px 30px -20px rgba(18,54,43,.5);
}
.map-card p { flex: 1 1 240px; font-size: 15px; color: var(--text-2); }
.map-card strong { display: block; font-size: 17px; color: var(--green-800); margin-bottom: 2px; }
.map-card .btn { padding: 13px 24px; }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: var(--mist); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 16px; }
.site-footer strong { color: var(--bg); }

/* Floating order button (mobile) */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none;
  background: var(--gold); color: var(--green-800); font-weight: 700; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  transform: translateY(120px); transition: transform .45s var(--ease);
}
.fab.show { transform: none; }
.fab:hover { color: var(--green-800); }

/* ===== Reveal on scroll ===== */
.js .hero .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .hero .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .fab { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 17px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .brand { font-size: 20px; }
  .brand-tree { width: 24px; height: 31px; }
  .hero-inner { padding-top: 56px; gap: 0; }
  .hero-text { padding-bottom: 48px; gap: 0; }
  .hero h1 { font-size: clamp(40px, 11vw, 52px); line-height: 1.04; }
  .lead { font-size: 18px; line-height: 1.65; margin-top: 28px; }
  .btn-row { margin-top: 40px; gap: 12px; }
  .btn-row .btn { flex: 1 1 100%; min-height: 56px; }
  .hero-facts {
    margin-top: 40px; padding-top: 28px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 16px; line-height: 1.4; color: var(--mist);
  }
  .hero-facts strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 24px; line-height: 1.1; }
  .hero-art { min-height: 420px; border-radius: 16px; margin-bottom: 56px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .story { gap: 36px; margin-bottom: 72px; }
  .story-text { gap: 20px; }
  .story-lead { font-size: 18px; line-height: 1.65; }
  .ways-title { font-size: 26px; margin-bottom: 24px; }
  .grid-3 { gap: 20px; }
  .card { padding: 28px 24px; gap: 14px; }
  .card p { margin-bottom: 16px; line-height: 1.65; }
  .split-head { gap: 18px; margin-bottom: 40px; }
  .split-head p { line-height: 1.65; }
  .price-grid { margin-top: 20px; }
  .price { padding: 28px 24px; gap: 10px; }
  .days { gap: 14px; }
  .note { margin-top: 40px; }
  .callout { margin-top: 24px; line-height: 1.6; }
  .tsoi { gap: 40px; }
  .tsoi-text { gap: 22px; }
  .tsoi-text p { line-height: 1.65; }
  .order { gap: 40px; }
  .order-text { gap: 18px; }
  .form { gap: 24px; }
  .location { gap: 40px; }
  address { gap: 20px; }
  .footer-inner { flex-direction: column; gap: 8px; padding-top: 40px; padding-bottom: 104px; }
  .chart { --m: 76px; padding: 28px 12px 20px 8px; border-radius: 20px; gap: 6px; }
  .chart-scale { flex-basis: 44px; font-size: 12px; }
  .ceiling-label { font-size: 12px; max-width: 34%; line-height: 1.2; }
  .day { padding: 16px; }
  .day b { font-size: 48px; }
  .days { grid-template-columns: repeat(2, 1fr); }
  .day-last { grid-column: 1 / -1; }
  .tsoi-photo { height: 440px; flex-basis: 100%; }
  .form { padding: 24px 18px; border-radius: 20px; }
  .form .btn { align-self: stretch; }
  .map, .map iframe { min-height: 340px; }
  .callout { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tree { transform: none; }
  .underlined path { stroke-dashoffset: 0; }
  .snow { display: none; }
}

/* ===== Galerii ===== */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-item { aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: var(--mint); }
.gallery-wide { grid-column: span 2; aspect-ratio: auto; position: relative; }
.gallery-wide .gallery-link { position: absolute; inset: 0; }
.gallery-link { display: block; width: 100%; height: 100%; }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery-link:hover img { transform: scale(1.04); }
.gallery-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-item { border-radius: 14px; }
  .gallery-wide { aspect-ratio: 4 / 3; }
}

.lightbox { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: transparent; }
.lightbox::backdrop { background: rgba(8, 24, 19, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; }
.lb-btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--gold); color: var(--green-800); outline: none; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
