/* ============================================================
   Lämpökamu — avaliku lehe stiil
   Puhas, hele, palju valget pinda. Punane/kollane AINULT aktsendina.
   ============================================================ */

:root {
  --red:        #d5232d;
  --red-dark:   #b01d26;
  --yellow:     #f5b301;
  --bg:         #ffffff;
  --bg-soft:    #f5f5f7;
  --text:       #1d1d1f;
  --text-muted: #6e6e73;
  --line:       #e5e5e7;
  --radius:     14px;
  --nav-h:      64px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.04);
  --shadow-md:  0 4px 10px rgba(0,0,0,.06), 0 14px 34px rgba(0,0,0,.08);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--text); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- Navigatsioon ---------------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s, background .35s;
}
.site-nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.86); }

.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -0.02em; }
.brand-logo { height: 40px; width: auto; }
.footer-brand .brand-logo { height: 34px; }
.brand-mark { color: var(--red); display: inline-flex; }
.brand-name { font-weight: 300; }
.brand-name strong { font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  transition: color .2s; padding: 6px 0;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }

/* Tooterühmade rippmenüü */
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
/* Nähtamatu sild lingi ja paneeli vahel — hover ei katke teel alla.
   PEAB olema nav-item'i (mitte dropdown'i) pseudo, sest suletud dropdown'il
   on pointer-events: none ja ta ei hoia hover'it. */
.nav-item.has-dropdown::after {
  content: ''; position: absolute; top: 100%; left: -24px; right: -24px; height: 16px;
}
.nav-item .chevron { transition: transform .25s var(--ease-out); }
.nav-item:hover .chevron, .nav-item:focus-within .chevron { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 6px);
  min-width: 240px; padding: 8px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
}
/* Nähtamatu "sild" nupu ja paneeli vahel, et hover ei katkeks */
.dropdown::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-links .dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-links .dropdown a:hover { background: var(--bg-soft); color: var(--text); }
.nav-links .dropdown a:first-child { color: var(--text); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s;
}

/* ---------------- Nupud ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-size: 16px;
  padding: 13px 28px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s;
  font-family: inherit;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 6px 20px rgba(213,35,45,.28); }
.btn-secondary {
  background: var(--bg-soft); color: var(--text);
}
.btn-secondary:hover { background: #ebebee; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ---------------- Pildikarussell ---------------- */
.carousel { position: relative; overflow: hidden; }
main > .carousel:first-child { margin-top: var(--nav-h); }
.carousel-track { display: grid; }
.carousel-slide {
  grid-area: 1 / 1; display: block; opacity: 0; pointer-events: none;
  transition: opacity 1s var(--ease-out);
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img {
  /* Pilt näidatakse TERVIKUNA — kõrgus tuleb pildi proportsioonist,
     midagi ei kärbita. Laius kohaneb ekraaniga, kõrgus järgneb. */
  width: 100%; height: auto; display: block;
}
.carousel-caption {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; padding: 0 6vw; max-width: 720px;
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.45) 55%, transparent 100%);
}
.carousel-caption h2 {
  font-size: clamp(19px, 2.6vw, 32px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 4px;
}
.carousel-caption p { font-size: clamp(13px, 1.4vw, 16px); color: var(--text-muted); max-width: 480px; }
.carousel-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 9px;
}
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.22); padding: 0; transition: background .25s, transform .25s;
}
.carousel-dot.active { background: var(--red); transform: scale(1.2); }

/* Kui karussell on esimene, ei vaja järgnev hero suurt ülaruumi */
.carousel + .hero { padding-top: 72px; }

/* ---------------- Hero ---------------- */
.hero {
  padding: calc(var(--nav-h) + 96px) 0 96px;
  text-align: center;
  background:
    radial-gradient(1100px 480px at 50% -140px, #fef3f3 0%, rgba(255,255,255,0) 60%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.06;
  max-width: 820px; margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--text), #55555c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(17px, 2.2vw, 21px); color: var(--text-muted);
  max-width: 640px; margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ---------------- Sektsioonid ---------------- */
.section { padding: 88px 0; }
/* Tutvustus-sektsioon istub karusselli/pildi all tihedamalt */
.section.section-about { padding-top: 44px; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 44px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 14px;
}
.section-head p { font-size: 17.5px; color: var(--text-muted); }
/* Alalehe kompaktne pealkiri (tooted jm): ainult h1, kohe sisu kohal */
.page-head { margin-bottom: 40px; }
.page-head h1 {
  font-size: clamp(30px, 4.4vw, 44px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.12;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}

/* ---------------- Sektsioonirütm (avaleht) ----------------
   Suurtel ekraanidel täidab üks SUUR sektsioon (hero, tooted, eelised)
   umbes ühe ekraani; väikesed sektsioonid (tutvustus, CTA, partnerid)
   jäävad kompaktseks ja mahuvad kahekaupa ühele ekraanile. */
@media (min-width: 900px) and (min-height: 700px) {
  .hero {
    display: flex; align-items: center;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    padding: var(--nav-h) 0 48px;
  }
  .hero .container { width: 100%; }
  .section-tall {
    display: flex; align-items: center;
    min-height: 100vh; min-height: 100svh;
  }
  .section-tall .container { width: 100%; }
  /* Karusselliga avalehel on hero madalam — kaks plokki jagavad ruumi */
  .carousel + .hero { min-height: 0; padding: 88px 0 72px; }
}

/* Reveal-animatsioonid */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Miksi valita (Dell UltraSharp stiil) ----------------
   Kõik kaardid ÜHES reas (grid-auto-flow: column → N võrdset veergu). */
.features-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.feature-card {
  background: #fff; border-radius: var(--radius);
  padding: 40px 24px; text-align: center;
  border: 1px solid rgba(0,0,0,.04);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Õhuke hall ikoon üleval keskel — ei värvitud plaati */
.feature-icon {
  width: 56px; height: 56px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 22px;
  background: none; color: #86868b;
}
.feature-icon svg { width: 40px; height: 40px; stroke-width: 1.3; }
.feature-card h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 12px;
  letter-spacing: -0.01em; color: var(--text);
}
.feature-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
/* Kitsamal ekraanil murra ridadele (üks rida ei mahu enam loetavalt) */
@media (max-width: 900px) {
  .features-grid {
    grid-auto-flow: row; grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* ---------------- Tootekaardid ---------------- */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04);
  transition: transform .45s var(--ease-out), box-shadow .45s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Tootekaardi pilt TERVIKUNA kastis (ei kärbita) */
.product-img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; padding: 14px; }
.product-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: #c7c7cc;
  background: linear-gradient(160deg, #f7f7f9, #ededf0);
}

.product-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card-cat { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.product-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.product-card .tagline { font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.product-price small { font-size: 12.5px; font-weight: 500; color: var(--text-muted); display: block; }
.product-link { font-size: 14.5px; font-weight: 600; color: var(--red); white-space: nowrap; }
.product-link:hover { color: var(--red-dark); }

/* ---------------- Kategooria plokid tootelehel ---------------- */
.category-block { margin-bottom: 72px; }
.category-block:last-child { margin-bottom: 0; }
.category-head { max-width: 720px; margin-bottom: 32px; }
.category-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.category-head p { color: var(--text-muted); font-size: 16px; }

/* ---------------- Tootedetail ---------------- */
.breadcrumbs { font-size: 13.5px; color: var(--text-muted); margin-bottom: 28px; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { margin: 0 8px; color: #c7c7cc; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-detail-media { position: sticky; top: calc(var(--nav-h) + 24px); }
.product-detail-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
/* Tootepilt TERVIKUNA kastis (ei kärbita) — ristkülik jääb terveks */
.product-detail-img .product-img {
  aspect-ratio: 1/1; object-fit: contain; background: #fff; padding: 16px;
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
  width: 66px; height: 66px; border-radius: 10px; overflow: hidden; padding: 4px;
  border: 2px solid var(--line); background: #fff; cursor: pointer;
  transition: border-color .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb:hover { border-color: #c7c7cc; }
.gallery-thumb.active { border-color: var(--red); }
.product-detail h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 10px; }
.product-detail .tagline { font-size: 18px; color: var(--text-muted); margin-bottom: 22px; }
.product-detail .description { font-size: 16px; color: var(--text); margin-bottom: 30px; }

.detail-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.detail-price .amount { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.detail-price .from-label { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.detail-price-note { font-size: 13.5px; color: var(--text-muted); margin-bottom: 26px; }

.features-list { list-style: none; margin: 0 0 34px; }
.features-list li {
  position: relative; padding: 7px 0 7px 32px; font-size: 15.5px;
}
.features-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat, linear-gradient(#fff,#fff);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
  mask-composite: exclude;
  background-color: var(--red);
}

.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 34px; font-size: 15px; }
.specs-table th, .specs-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.specs-table th { color: var(--text-muted); font-weight: 500; width: 44%; }
.specs-table tr:nth-child(odd) { background: var(--bg-soft); }
.specs-table tr:nth-child(odd) th:first-child { border-radius: 8px 0 0 8px; }
.specs-table tr:nth-child(odd) td:last-child { border-radius: 0 8px 8px 0; }
.specs-table tr th, .specs-table tr td { border-bottom: 0; }

.models-table thead tr { background: transparent !important; }
.models-table thead th {
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-muted); width: auto; background: transparent !important;
}
.models-table th, .models-table td { width: auto; }
.models-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.models-table tbody td:last-child { font-weight: 600; }

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.subsection-title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 14px; }

/* ---------------- Partnerid ---------------- */
.partners-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px 48px; align-items: center;
}
.partner { display: inline-flex; align-items: center; min-height: 48px; }
.partner img {
  height: 44px; width: auto; max-width: 160px; object-fit: contain;
  filter: grayscale(1) opacity(.55); transition: filter .3s;
}
.partner:hover img { filter: none; }
.partner span {
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  color: #b7b7bd; transition: color .3s;
}
.partner:hover span { color: var(--text-muted); }

/* ---------------- Paigalduse leht (Asennus) ---------------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px; margin-top: 8px;
}
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

.asennus-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li {
  position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}
.check-list li strong { font-weight: 600; }
.asennus-price-text { font-size: 15.5px; line-height: 1.65; color: var(--text); }

.asennus-extras { max-width: 760px; margin: 44px auto 0; }
.asennus-extras .subsection-title { text-align: center; }
.extras-table td.num { text-align: right; font-weight: 600; white-space: nowrap; }
.extras-table tr:nth-child(odd) { background: #fff; }

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 22px;
}
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  list-style: none; position: relative; padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 20px; font-weight: 500; transition: transform .2s;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 10px; color: var(--text-muted); line-height: 1.6; font-size: 15px; }

.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.trust-card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 24px;
  text-align: center;
}
.trust-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.trust-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 760px) {
  .asennus-cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------------- CTA riba ---------------- */
.cta-band { text-align: center; padding: 84px 24px; background: var(--text); color: #fff; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 30px; }

/* ---------------- Kontakt ---------------- */
/* Kontaktileht: pealkiri + intro kohe vormi kohal, kogu plokk täidab ühe ekraani */
.contact-page .section-head { margin-bottom: 40px; }
.contact-page .section-head h1 {
  font-size: clamp(30px, 4.4vw, 44px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 14px;
}
.contact-page .section-head p { font-size: 17.5px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
@media (min-width: 900px) and (min-height: 760px) {
  .contact-page {
    display: flex; align-items: center;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
  }
  .contact-page > .container { width: 100%; }
}

.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact-grid > * { min-width: 0; }  /* grid-laps tohib kahaneda (nt fikseeritud laiusega Turnstile sees) */
.contact-info h2 { font-size: 22px; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.02em; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; padding: 12px 0; font-size: 16px; align-items: flex-start; }
.contact-list .ico {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
  background: #fdeaea; color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.contact-list a:hover { color: var(--red); }
.contact-list .lbl { display: block; font-size: 12.5px; color: var(--text-muted); }

.contact-form-card {
  background: #fff; border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,.04);
  scroll-margin-top: calc(var(--nav-h) + 24px);  /* #viesti ankur ei jää nav'i alla */
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--text);
  background: var(--bg-soft); border: 1px solid #d9d9de; border-radius: 12px;
  padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-row input:hover, .form-row textarea:hover { border-color: #c2c2c8; }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none; background: #fff; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213,35,45,.14);
}
.form-row .field-error { display: none; font-size: 13px; color: var(--red); margin-top: 6px; }
.form-row.has-error input, .form-row.has-error textarea { border-color: var(--red); }
.form-row.has-error .field-error { display: block; }

/* Honeypot — inimestele nähtamatu */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { display: none; border-radius: 12px; padding: 14px 18px; font-size: 15px; margin-bottom: 20px; }
.form-status.ok { display: block; background: #e8f6ec; color: #1d7a35; }
.form-status.err { display: block; background: #fdeaea; color: var(--red-dark); }

.turnstile-wrap { margin-bottom: 20px; min-height: 65px; }
/* Turnstile'i vidin on fikseeritud ~300px — väga kitsal ekraanil skaleeri */
@media (max-width: 430px) {
  .contact-form-card { padding: 26px 18px; }
  .cf-turnstile { transform: scale(.9); transform-origin: 0 0; }
}

/* ---------------- Footer ---------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { font-size: 18px; margin-bottom: 10px; }
.footer-slogan { color: var(--text-muted); font-size: 14.5px; }
.site-footer h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-list { list-style: none; }
.footer-list li { padding: 5px 0; font-size: 14.5px; color: var(--text-muted); }
.footer-list a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--text-muted); }

/* ---------------- Küpsise-nõusoleku bänner ---------------- */
.cookie-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); max-width: 760px; margin: 0 auto;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; justify-content: space-between;
}
.cookie-consent p { font-size: 14px; color: var(--text-muted); margin: 0; flex: 1; min-width: 220px; }
.cookie-consent a { color: var(--red); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------------- Mobiil ---------------- */
@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-media { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    /* NB: absolute (mitte fixed) — nav'i backdrop-filter teeb nav'ist
       containing block'i ja fixed-paneel võib maalduda sisu taha */
    position: absolute; top: var(--nav-h); left: 0; right: 0; z-index: 1001;
    background: #fff;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease-out), opacity .35s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--bg-soft); }
  /* Rippmenüü mobiilis: alati avatud, taandega read menüü sees */
  .nav-item.has-dropdown { position: static; }
  .nav-item.has-dropdown::after { display: none; }
  .nav-item .chevron { display: none; }
  .dropdown,
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    min-width: 0; padding: 0 0 4px 18px;
  }
  .dropdown::before { display: none; }
  .nav-links .dropdown a {
    white-space: normal; padding: 11px 0; border-radius: 0;
    font-size: 15.5px; border-bottom: 1px solid var(--bg-soft);
  }
  .nav-links .dropdown a:hover { background: transparent; }
  .nav-links .dropdown a:first-child { display: none; }  /* "Kaikki tuotteet" = emalink ise */
  .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); }
  .hero { padding: calc(var(--nav-h) + 64px) 0 72px; }
  .section { padding: 64px 0; }
}
