/* Fondid on serveris endal (mitte Google'ist): üks päring vähem ja kiirem esmane joonistus. */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/inter-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;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/inter-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url(fonts/inter-tight-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;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url(fonts/inter-tight-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 {
  --navy: #0E233F;
  --navy-2: #16304f;
  --gold: #B7A57A;
  --gold-dark: #9c8b62;
  --ink: #0E233F;
  --muted: #5d6b7e;
  --line: #e4e0d6;
  --bg: #faf8f4;
  --card: #ffffff;
  --radius: 14px;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.08; margin: 0; letter-spacing: -0.03em; }
h1 { font-weight: 200; }
h3 { font-weight: 400; letter-spacing: -0.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 12px;
}
.lead { font-size: 18px; font-weight: 300; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 26px;
  font-size: 15px; font-weight: 500; text-decoration: none; transition: all .2s;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-top: 6px solid var(--gold);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250,248,244,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: block; position: relative; }
.logo { height: 40px; width: auto; filter: brightness(0) invert(1); transition: filter .3s; }
.scrolled .logo { filter: none; }
.logo-invert { filter: brightness(0) invert(1); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a, .header-phone { text-decoration: none; font-size: 15px; font-weight: 500; color: #fff; transition: color .2s; }
.nav a:hover { color: var(--gold); }
.header-phone { padding: 9px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 22px; white-space: nowrap; }
.scrolled .nav a, .scrolled .header-phone { color: var(--navy); }
.scrolled .header-phone { border-color: var(--gold); }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 180px 0 90px; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s;
}
.hero-bg.loaded { opacity: .28; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy) 25%, rgba(14,35,63,.55) 70%, rgba(14,35,63,.3));
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(42px, 6.6vw, 80px); font-weight: 200; margin-bottom: 24px; }
.hero .lead { max-width: 560px; color: rgba(255,255,255,.82); margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* "✓ Esimene konsultatsioon tasuta" nuppude all */
.perk { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.88); }
.perk-check { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); }
.perk-check::after {
  content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.about-text .perk, .why-cta .perk { color: var(--muted); }
.why-cta { display: flex; flex-direction: column; align-items: center; margin: 44px 0 0; }
.why-cta .perk { margin-top: 14px; }
.stats { display: flex; gap: 56px; margin: 72px 0 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.stats div { margin: 0; }
.stats dt { font-family: var(--display); font-size: 44px; font-weight: 200; letter-spacing: -0.03em; color: var(--gold); line-height: 1; }
.stats dd { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }

/* Sections */
.section { padding: 96px 0; }
.section h2 { font-size: clamp(34px, 4.5vw, 52px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }

.live { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3aa66a; box-shadow: 0 0 0 0 rgba(58,166,106,.5); animation: pulse 2s infinite; }
.live.error .dot { background: #c9973a; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(58,166,106,0); } 100% { box-shadow: 0 0 0 0 rgba(58,166,106,0); } }

/* Filters */
.filters { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 4px; }
.seg button {
  border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 9px 20px; border-radius: 22px; cursor: pointer; transition: all .2s;
}
.seg button span { opacity: .6; font-weight: 400; margin-left: 2px; }
.seg button.active { background: var(--navy); color: #fff; }
.filter-right { display: flex; gap: 10px; flex-wrap: wrap; }
.select select {
  appearance: none; font: inherit; font-size: 14px; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230E233F' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--line); border-radius: 26px; padding: 11px 40px 11px 18px; cursor: pointer;
}

/* Grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: 0 1px 2px rgba(14,35,63,.06); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; text-align: left; border: 0; padding: 0; font: inherit; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(14,35,63,.25); }
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: #e9e5dc; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.94); color: var(--navy);
}
.badge.rent { background: var(--navy); color: #fff; }
.badge.new-price { background: var(--gold); color: #fff; }
.badge.reserved { background: #8a3b3b; color: #fff; }
.photo-count { position: absolute; right: 12px; bottom: 12px; font-size: 12px; color: #fff; background: rgba(0,0,0,.45); padding: 3px 9px; border-radius: 12px; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-price { font-family: var(--display); font-size: 30px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.card-price small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.card-title { font-size: 16px; font-weight: 600; margin: 12px 0 2px; }
.card-loc { font-size: 14px; color: var(--muted); margin: 0; }
.card-headline { font-size: 14px; color: var(--gold-dark); margin: 10px 0 0; font-weight: 500; }
.card-headline::first-letter { text-transform: uppercase; }
.card-specs { display: flex; gap: 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.card-body > .card-specs { margin-top: 18px; }
.card-specs b { color: var(--ink); font-weight: 600; }
.card.reserved-card .card-media img { filter: grayscale(.4); }

.skeleton { min-height: 440px; background: linear-gradient(90deg, #efebe3 25%, #f6f3ed 50%, #efebe3 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; cursor: default; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.all-link { text-align: center; margin: 48px 0 0; }
.why-cta { text-align: center; margin: 44px 0 0; }

.section-note { max-width: 460px; margin: 0; color: var(--muted); font-size: 16px; }

/* Miks Dream Vara */
.why { background: #fff; }
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-grid li { background: #fff; padding: 28px 24px; }
.why-grid b { display: block; font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 10px; }
.why-grid b::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.why-grid span { font-size: 14px; color: var(--muted); }

/* Protsess */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps[hidden] { display: none; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 26px 24px; position: relative; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 48px; font-weight: 200; line-height: 1; color: var(--gold); display: block; margin-bottom: 10px; }
.steps b { display: block; font-size: 16px; margin-bottom: 6px; }
.steps span { font-size: 14px; color: var(--muted); }

/* Meie lugu */
.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-text h2 { margin-bottom: 24px; }
.about-text p:not(.eyebrow):not(.perk) { font-size: 17px; color: #34455b; margin: 0 0 18px; }
.about-text .btn { margin-top: 12px; }

/* Meeskond */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.person { display: grid; grid-template-columns: 220px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); min-height: 320px; }
.person-body { padding: 28px 28px 26px; display: flex; flex-direction: column; }
.person-body .eyebrow { margin-bottom: 6px; font-size: 11px; }
.person-body h3 { font-size: 32px; margin-bottom: 12px; }
.person-body > p:not(.eyebrow):not(.person-contact) { font-size: 14px; color: #34455b; margin: 0 0 14px; }
.awards { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.awards li { font-size: 13px; font-weight: 500; padding-left: 22px; position: relative; }
.awards li::before { content: "★"; color: var(--gold); position: absolute; left: 0; }
.person-contact { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; }
.person-contact a { text-decoration: none; color: var(--gold-dark); }
.person-contact a:hover { text-decoration: underline; }

/* Lisateenused */
.extras { background: #fff; }
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.extra img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.extra h3 { font-size: 30px; margin-bottom: 10px; }
.extra p { margin: 0; color: #34455b; font-size: 15px; }

/* Edulood */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.story { background: #fff; border-radius: var(--radius); padding: 26px 24px; border-top: 3px solid var(--gold); }
.story h3 { font-size: 22px; margin-bottom: 10px; }
.story p { margin: 0; font-size: 14px; color: var(--muted); }

/* Kliendid meist */
.testimonials { background: #fff; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.client { display: flex; flex-direction: column; gap: 14px; }
.client .quote { flex: 1; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--navy); cursor: pointer;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .9; }
.video:hover img { transform: scale(1.03); opacity: 1; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,35,63,.7), transparent 55%); pointer-events: none; }
.video .play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; z-index: 1;
  border-radius: 50%; background: rgba(255,255,255,.95); transition: transform .2s, background .2s;
}
.video .play::before {
  content: ""; position: absolute; top: 50%; left: 50%; margin: -10px 0 0 -6px;
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent var(--navy);
}
.video:hover .play { transform: scale(1.08); background: #fff; }
.video:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.video-name { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-weight: 500; font-size: 15px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.playing::after, .video.playing .play, .video.playing .video-name { display: none; }
.quote { margin: 0; padding: 32px 28px; background: var(--bg); border-radius: var(--radius); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 20px; font-family: var(--display); font-size: 19px; line-height: 1.5; font-weight: 300; letter-spacing: -0.01em; }
.quote blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.quote figcaption b { color: var(--navy); font-weight: 600; }
.quote figcaption { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact .lead { color: rgba(255,255,255,.75); margin-top: 16px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.contact-list span { color: rgba(255,255,255,.6); }
.contact-list a, .contact-list b { color: #fff; text-decoration: none; font-weight: 500; text-align: right; }
.contact-list a:hover { color: var(--gold); }

/* Kontaktivorm */
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 36px 32px; display: grid; gap: 14px; }
.contact-form h3 { font-size: 28px; }
.form-note { margin: -8px 0 6px; font-size: 14px; color: var(--gold-dark); font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.contact-form label em { font-style: normal; font-weight: 400; opacity: .8; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); width: 100%;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s;
}
.contact-form textarea { resize: vertical; min-height: 84px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.contact-form input.invalid { border-color: #b4544e; }
.contact-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 500; margin-top: 6px; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #2f7d52; font-weight: 500; }
.form-status.error { color: #b4544e; }
.form-object { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 10px 14px; font-size: 14px; }
.form-object[hidden] { display: none; }
.form-object span { color: var(--muted); white-space: nowrap; }
.form-object b { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-object button { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }

.site-footer { background: #0a1a30; color: rgba(255,255,255,.55); font-size: 13px; }
.footer-inner { display: flex; align-items: center; gap: 24px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { margin-left: auto; }

/* Modal */
.modal {
  width: min(1100px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0;
  border-radius: 18px; background: #fff; color: var(--ink); overflow: hidden;
}
.modal::backdrop { background: rgba(8,18,33,.7); backdrop-filter: blur(4px); }
.modal-inner { max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.95); font-size: 26px; line-height: 1; cursor: pointer; color: var(--navy);
}
/* Fotod on horisontaalsed (3:2) – näitame alati tervet pilti, ilma lõikamata */
.gallery { position: relative; background: #0b1626; aspect-ratio: 3 / 2; max-height: 72vh; width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); font-size: 28px; line-height: 1; cursor: pointer; color: var(--navy);
}
.gal-btn.prev { left: 14px; } .gal-btn.next { right: 14px; }
.gal-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(0,0,0,.5); padding: 4px 12px; border-radius: 14px; }
.modal-body { padding: 36px 40px 40px; max-width: 820px; }
.modal-body h3 { font-size: 34px; margin: 10px 0 4px; }
.modal-body .loc { color: var(--muted); margin: 0 0 20px; }
.modal-body .price { font-family: var(--display); font-size: 38px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.modal-body .price small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.spec-grid div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.spec-grid span { display: block; font-size: 12px; color: var(--muted); }
.spec-grid b { font-size: 17px; }
.modal-body .features { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.modal-body .desc { font-size: 15px; color: #34455b; margin: 0 0 26px; white-space: pre-line; }
.modal-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.modal-actions .btn { height: 48px; padding: 0 16px; white-space: nowrap; font-size: 14px; border: 0; cursor: pointer; font-family: inherit; font-weight: 500; }
.modal-actions .btn-line { border: 1px solid var(--line); background: #fff; }
.modal-cta-note { margin: 10px 0 0; font-size: 13px; color: var(--gold-dark); text-align: center; }
.modal-section { margin: 0 0 26px; }
.modal-section h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 12px; }
.fact-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fact-table th, .fact-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table th { font-weight: 400; color: var(--muted); width: 42%; padding-right: 12px; }
.fact-table td { font-weight: 500; }
.broker-box { display: flex; align-items: center; gap: 14px; background: var(--bg); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
.broker-box img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; filter: grayscale(1); }
.broker-box div { display: grid; font-size: 14px; }
.broker-box span { color: var(--muted); font-size: 12px; }
.broker-box a { color: var(--ink); text-decoration: none; font-weight: 500; }
.map-link { color: var(--gold-dark); font-size: 14px; font-weight: 500; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border: 1px solid var(--line); color: var(--navy); }
.btn-line:hover { border-color: var(--gold); }

@media (max-width: 1100px) {
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-media img { aspect-ratio: 3 / 2; }
  .extras-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  /* ---- Üldine: väiksem kiri ja vahed, et oleks vähem kerimist ---- */
  body { font-size: 15px; line-height: 1.5; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .header-inner { height: 60px; }
  .header-phone { margin-left: auto; font-size: 13px; padding: 7px 12px; }
  .logo { height: 30px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .14em; margin-bottom: 8px; }
  .lead { font-size: 15.5px; }
  .section { padding: 44px 0; }
  .section h2 { font-size: 26px; }
  .section-head { margin-bottom: 18px; gap: 10px; }
  .section-note { font-size: 14px; }

  /* Külgsuunas libistatavad read (kuulutused, sammud, edulood, kliendid) */
  .grid, .steps, .story-grid, .client-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 2px 16px 12px; scrollbar-width: none;
  }
  .grid::-webkit-scrollbar, .steps::-webkit-scrollbar, .story-grid::-webkit-scrollbar, .client-grid::-webkit-scrollbar { display: none; }
  .grid > *, .steps > *, .story-grid > *, .client-grid > * { scroll-snap-align: start; scroll-margin-left: 16px; }
  .steps[hidden] { display: none; }

  /* Avavaade */
  .hero { padding: 100px 0 36px; }
  .hero h1 { font-size: 34px; margin-bottom: 14px; }
  .hero .lead { margin-bottom: 22px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; height: 48px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 28px; padding-top: 20px; }
  .stats dt { font-size: 24px; }
  .stats dd { font-size: 12px; margin-top: 4px; }

  /* Kuulutused */
  .grid .card { flex: 0 0 80%; }
  .card:hover { transform: none; }
  .card-body { padding: 14px 16px 16px; }
  .card-price { font-size: 22px; }
  .card-title { margin-top: 8px; font-size: 15px; }
  .card-loc, .card-headline { font-size: 13px; }
  .card-headline { margin-top: 6px; }
  .card-specs { padding-top: 12px; font-size: 13px; gap: 14px; }
  .card-body > .card-specs { margin-top: 12px; }
  .all-link { margin-top: 14px; }
  .all-link .btn { width: 100%; height: 46px; }

  /* Müük meiega: 2 veergu, ainult pealkiri + lühike tekst */
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid li { padding: 14px 12px; }
  .why-grid b { font-size: 14px; margin-bottom: 4px; }
  .why-grid b::before { display: none; }
  .why-grid span { font-size: 12px; line-height: 1.4; display: block; }
  .why-cta { margin-top: 20px; }
  .why-cta .btn { width: 100%; height: 48px; }

  /* Protsess: libistatavad kaardid */
  .seg#processTabs { width: 100%; } .seg#processTabs button { flex: 1; padding: 8px; font-size: 13px; }
  .steps li { flex: 0 0 68%; padding: 16px; }
  .steps li::before { font-size: 30px; margin-bottom: 6px; }
  .steps b { font-size: 14px; }
  .steps span { font-size: 13px; }

  /* Meie lugu */
  .about-inner { gap: 20px; }
  .about-media img { aspect-ratio: 16 / 9; }
  .about-text h2 { margin-bottom: 14px; }
  .about-text p:not(.eyebrow):not(.perk) { font-size: 14.5px; margin-bottom: 12px; }

  /* Meeskond: väike foto nime kõrval */
  .team-grid { gap: 12px; }
  .person { grid-template-columns: 96px 1fr; }
  .person img { width: 96px; height: 120px; min-height: 0; aspect-ratio: auto; border-radius: 0; }
  .person-body { padding: 14px 14px 14px 16px; }
  .person-body .eyebrow { font-size: 9.5px; margin-bottom: 4px; }
  .person-body h3 { font-size: 21px; margin-bottom: 8px; }
  .person-body > p:not(.eyebrow):not(.person-contact) { font-size: 13px; margin-bottom: 10px; grid-column: 1 / -1; }
  .awards { margin-bottom: 10px; gap: 4px; }
  .awards li { font-size: 12px; padding-left: 18px; }
  .person-contact { font-size: 13px; gap: 4px 14px; }

  /* Lisateenused: pilt vasakul, tekst paremal */
  .extras-grid { gap: 16px; }
  .extra { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }
  .extra img { aspect-ratio: 1 / 1; margin: 0; border-radius: 10px; }
  .extra h3 { font-size: 19px; margin-bottom: 4px; }
  .extra p { font-size: 13px; line-height: 1.45; }

  /* Edulood */
  .story { flex: 0 0 72%; padding: 16px; }
  .story h3 { font-size: 17px; margin-bottom: 6px; }
  .story p { font-size: 13px; line-height: 1.45; }

  /* Kliendid: video + tsitaat libistataval kaardil */
  .client { flex: 0 0 84%; gap: 8px; }
  .video .play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .video .play::before { border-width: 8px 0 8px 13px; margin: -8px 0 0 -4px; }
  .video-name { left: 14px; bottom: 10px; font-size: 13px; }
  .quote { padding: 16px; }
  .quote blockquote { font-size: 14px; margin-bottom: 10px; }
  .quote blockquote::before { font-size: 40px; margin-bottom: 2px; }
  .quote figcaption { font-size: 11px; }

  /* Kontakt */
  .contact-inner { gap: 24px; }
  .contact-list { margin-top: 18px; }
  .contact-list li { padding: 10px 0; font-size: 13.5px; }
  .contact-form { padding: 20px 16px; gap: 10px; }
  .contact-form h3 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-form input, .contact-form textarea { padding: 10px 12px; }
  .contact-form textarea { min-height: 64px; }
  .footer-inner { padding-top: 20px; padding-bottom: 20px; gap: 10px; font-size: 12px; }
  .footer-inner p:last-child { margin-left: 0; }

  /* Nupud + "✓ Esimene konsultatsioon tasuta" */
  .perk { justify-content: center; margin-top: 14px; font-size: 13px; }
  .about-text .btn { width: 100%; height: 48px; }

  /* Detailvaade */
  .modal { width: 100%; max-height: 100%; height: 100%; max-width: 100%; border-radius: 0; }
  .modal-inner { max-height: 100vh; height: 100%; }
  .modal-body { padding: 20px 16px 28px; }
  .modal-body h3 { font-size: 24px; }
  .modal-body .price { font-size: 28px; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0; }
  .spec-grid div { padding: 8px 10px; }
  .spec-grid span { font-size: 11px; }
  .spec-grid b { font-size: 14px; }
  .modal-actions { grid-template-columns: 1fr 1fr; }
  .modal-actions .btn-gold { grid-column: 1 / -1; }
  .modal-actions .btn { height: 44px; }
  .modal-body .desc { font-size: 14px; }
}
