/* Dancing Script 700 normal latin-ext */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/dancing-script-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Dancing Script 700 normal latin */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/dancing-script-normal-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;
}
/* Roboto 400 italic latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto 400 italic latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-italic-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;
}
/* Roboto 400 normal latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto 400 normal latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-normal-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;
}
/* Roboto 700 normal latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Roboto 700 normal latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-normal-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;
}
/* Bebas Neue latin-ext */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/bebas-neue-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bebas Neue latin */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/bebas-neue-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;
}

/* ---------- Põhi ---------- */
:root {
	--green: #5ea562;
	--green-d: #4d8951;
	--green-dd: #2f5a32;
	--green-l: #d2e7d5;
	--green-ll: #eaf3eb;
	--text: #1d231e;
	--muted: #5b655c;
	--display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
	--script: 'Dancing Script', 'Brush Script MT', cursive;
	--header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 17px/1.65 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--green-d); }
a:hover { color: var(--green-dd); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.small { font-size: 14px; }

/* ---------- Päis ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.top-in { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font: 700 26px/1 var(--script); color: #fff; text-decoration: none; white-space: nowrap; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.logo span { color: var(--green-l); }
.logo:hover { color: #fff; }
.top.solid, .view-404 .top { background: rgba(35, 55, 37, .96); box-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu a { display: block; padding: 8px 12px; color: #fff; text-decoration: none; font: 400 19px/1 var(--display); letter-spacing: 1px; border-radius: 4px; text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.menu a:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.menu a.call { background: var(--green); text-shadow: none; }
.menu a.call:hover { background: var(--green-d); }
.menu-btn { display: none; }

@media (max-width: 899px) {
	.menu-btn { display: block; background: rgba(0, 0, 0, .25); color: #fff; border: 1px solid rgba(255, 255, 255, .6); border-radius: 4px; padding: 7px 14px; font: 400 18px/1 var(--display); letter-spacing: 1px; cursor: pointer; }
	.menu { position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(35, 55, 37, .98); display: none; }
	.menu.open { display: block; }
	.menu ul { flex-direction: column; padding: 8px 20px 16px; }
	.menu a { font-size: 22px; padding: 12px 8px; }
	.menu a.call { margin-top: 8px; text-align: center; }
	.logo { font-size: 23px; }
}

/* ---------- Avapilt ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 480px; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .4) 100%); }
.hero-text { position: relative; z-index: 1; padding: 0 20px; }
.hero h1 { margin: 0; font: 700 clamp(46px, 9vw, 104px)/1 var(--script); text-shadow: 0 3px 18px rgba(0, 0, 0, .45); }
.hero h1 .t1 { color: var(--green-l); }
.tagline { margin: 14px 0 0; font: 400 clamp(22px, 3vw, 32px)/1 var(--display); letter-spacing: 3px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.icons { display: flex; justify-content: center; gap: 24px; margin-top: 22px; }
.icons img { width: 52px; height: 52px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.scroll-down { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 1; color: #fff; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- Sektsioonid ---------- */
.sec { padding: 80px 0; scroll-margin-top: var(--header-h); }
.sec h2, .notfound h1 { margin: 0 0 28px; text-align: center; font: 400 clamp(38px, 5vw, 52px)/1 var(--display); letter-spacing: 1.5px; color: var(--green-dd); }
.prose p { margin: 0 0 1.1em; }
.prose h3 { margin: 1.6em 0 .3em; font: 400 26px/1.1 var(--display); letter-spacing: 1px; color: var(--green-d); }
.prose > :last-child { margin-bottom: 0; }
#majutus { background: var(--green-ll); }

/* Galerii */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery a { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--green-ll); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }

/* Hinnakiri */
.sec-prices { background: var(--green-ll); padding-top: 0; }
.prices { width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 22px rgba(47, 90, 50, .1); font-size: 18px; }
.prices th { text-align: left; background: var(--green); color: #fff; font: 400 24px/1 var(--display); letter-spacing: 1px; padding: 12px 20px 10px; }
.prices td { padding: 10px 20px; border-bottom: 1px solid var(--green-ll); }
.prices td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.sec-prices .prose { margin-top: 20px; text-align: center; }

/* Lisateenused */
.sec-services { background: var(--green-l); }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 20px; }
.services li { text-align: center; }
.services a { display: inline-block; border-radius: 50%; overflow: hidden; width: 160px; height: 160px; box-shadow: 0 6px 18px rgba(47, 90, 50, .25); border: 4px solid #fff; }
.services img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.services a:hover img { transform: scale(1.08); }
.services p { margin: 12px auto 0; max-width: 220px; font-size: 16px; line-height: 1.45; }

/* Kontakt */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info h2 { text-align: left; }
.contact-info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 18px; }
.contact-info dt { font-weight: 700; }
.contact-info dd { margin: 0; }
.contact-form { background: var(--green-l); border-radius: 12px; padding: 28px; }
.contact-form h3 { margin: 0 0 18px; font: 400 32px/1 var(--display); letter-spacing: 1px; color: var(--green-dd); }
.contact-form label { display: block; margin-bottom: 12px; }
.contact-form label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-form input, .contact-form textarea { display: block; width: 100%; border: 1px solid transparent; border-radius: 6px; padding: 11px 13px; font-family: inherit; font-size: 16px; color: var(--text); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(94, 165, 98, .25); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #c0392b; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button { border: 0; border-radius: 6px; background: var(--green-d); color: #fff; padding: 12px 34px; font: 400 22px/1 var(--display); letter-spacing: 1.5px; cursor: pointer; transition: background-color .25s; }
.contact-form button:hover { background: var(--green-dd); }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.response { min-height: 1.4em; margin: 12px 0 0; font-weight: 700; }
.response .ok { color: var(--green-dd); }
.response .err { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map { margin-top: 60px; line-height: 0; }
.map iframe { display: block; width: 100%; height: 420px; filter: saturate(.9); }

/* 404 */
.notfound { padding-top: calc(var(--header-h) + 80px); min-height: 60vh; text-align: center; }

/* Jalus */
.foot { background: #233725; color: #cfe0d1; text-align: center; padding: 36px 20px; font-size: 16px; }
.foot p { margin: 0 0 6px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- Pildivaade ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(10, 16, 11, .94); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb img { max-width: 94vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 48px; height: 48px; border-radius: 50%; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .3); }
.lb .lb-x { top: 14px; right: 14px; }
.lb .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-cap { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; text-align: center; color: #ddd; font-size: 15px; }

@media (max-width: 599px) {
	.sec { padding: 56px 0; }
	.gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
	.services { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
	.services a { width: 130px; height: 130px; }
	.contact-form { padding: 20px; }
	.map iframe { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
