/* Mobiilipood: olemasolev sinine kujundus, ühtne komponentide süsteem. */
:root {
  --navy: #071735;
  --blue: #0068f5;
  --cyan: #00a8ef;
  --muted: #4d607a;
  --line: #d7e5f6;
  --radius: 15px;
  --radius-small: 11px;
  --shadow: 0 5px 16px #043a7610;
  --shadow-large: 0 10px 32px #063b7910;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--navy); background: #fff; font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; padding-right: var(--scrollbar-width, 0px); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #008ad8; outline-offset: 4px; }
main:focus { outline: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 150; top: 10px; left: 16px; padding: 12px 18px; border-radius: var(--radius-small); color: #fff; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
/* Päis ja navigatsioon */
.site-header { position: sticky; top: 0; z-index: 30; background: #ffffffF5; border-bottom: 1px solid #e8eff8; backdrop-filter: blur(12px); box-shadow: 0 3px 24px #06337308; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-icon { width: 30px; height: 42px; flex: none; color: var(--cyan); filter: drop-shadow(0 3px 4px #008cff24); }
.brand-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; }
.brand strong { display: block; font-size: 27px; line-height: 1.1; letter-spacing: -1.1px; }
.brand small { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 22px; }
.main-nav a { display: flex; align-items: center; height: 100%; min-height: 44px; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 650; white-space: nowrap; transition: color .18s, border-color .18s; }
.main-nav a.active { color: var(--blue); border-color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.review-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #124b9d; background: linear-gradient(#fff, #f1f7ff); box-shadow: 0 3px 9px #0756b708; font-size: 13px; font-weight: 750; white-space: nowrap; transition: border-color .18s, color .18s; }
.header-detail { display: flex; align-items: center; gap: 10px; font-size: 12px; white-space: nowrap; }
.header-detail > span:first-child { color: var(--blue); font-size: 22px; }
.header-detail strong, .header-detail small, .phone a { display: block; }
.header-detail small { color: var(--muted); font-size: 12px; }
.header-detail.phone { font-size: 13px; line-height: 1.65; }
.menu-toggle { display: none; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: var(--radius-small); padding: 10px; color: var(--navy); background: #f6faff; }
.menu-toggle span { display: block; height: 2px; width: 22px; margin: 4px 0; border-radius: 2px; background: currentColor; transition: transform .18s, opacity .18s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Avalehe foto ja sissejuhatus */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #edf8ff; border-bottom: 1px solid #bcdcf5; }
.hero-grid { position: relative; display: grid; min-height: 490px; }
.hero-copy { position: relative; z-index: 2; max-width: 555px; padding: 52px 0 35px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.hero h1, .page-hero h1 { margin: 0 0 20px; font-size: 60px; font-weight: 850; line-height: 1.06; letter-spacing: -2.7px; }
.hero h1 span { padding-right: .08em; color: var(--blue); background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.intro { max-width: 505px; margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-buttons { display: flex; align-items: stretch; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 53px; padding: 13px 27px; border: 1px solid transparent; border-radius: var(--radius-small); font-weight: 800; line-height: 1.35; text-align: center; transition: transform .18s, box-shadow .18s, filter .18s; }
.btn-primary { color: #fff; background: linear-gradient(125deg, #0077cc, #0062ef); box-shadow: 0 9px 22px #0068f52c, inset 0 1px 0 #ffffff55; }
.btn-call { color: #fff; border-color: #09894d; background: linear-gradient(125deg, #078443, #087e46); box-shadow: 0 9px 20px #05965020, inset 0 1px 0 #ffffff44; }
.trust-row { display: grid; grid-template-columns: 1.15fr 1.1fr 1fr; gap: 18px; margin-top: 28px; }
.trust-row > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.trust-row > div > span { flex: none; color: var(--blue); }
.trust-row p { margin: 0; font-size: 11px; line-height: 1.45; }
.trust-row strong, .trust-row small { display: block; }
.trust-row small { color: var(--muted); font-size: 11px; }
.hero-visual { position: absolute; inset: 0; z-index: -1; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; filter: contrast(1.035) saturate(1.08); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f5fbff 0%, #f5fbfff5 24%, #f5fbffde 38%, #f5fbff00 57%); }
.hero-badges { position: absolute; z-index: 3; top: 50%; right: 100px; transform: translateY(-50%); display: grid; gap: 12px; width: 202px; }
.hero-badges > div { display: flex; align-items: center; gap: 10px; min-height: 78px; padding: 15px 13px; background: linear-gradient(135deg, #fffffff7, #f4fafff2); border: 1px solid #fff; border-radius: var(--radius); box-shadow: 0 8px 24px #03397921, inset 0 0 0 1px #d8e9f6; backdrop-filter: blur(8px); }
.hero-badges span { display: grid; place-items: center; flex: none; width: 38px; height: 42px; border-radius: var(--radius-small); color: #0074da; background: linear-gradient(145deg, #e7f5ff, #d4ecff); }
.hero-badges p { margin: 0; font-size: 13px; line-height: 1.4; }
.hero-badges strong, .hero-badges small { display: block; }
.hero-badges small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.trust-row svg, .hero-badges svg, .prices svg, .steps svg { display: block; width: 25px; height: 25px; }
/* Teenuse- ja hinnakaardid */
.section { padding-block: 40px; }
.section h2, .distance-section h2 { margin: 0 0 22px; font-size: 31px; letter-spacing: -1px; line-height: 1.2; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.service-grid article { position: relative; min-width: 0; overflow: hidden; padding: 18px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, #fff 55%, #f0f7ff); box-shadow: var(--shadow); transition: border-color .18s, box-shadow .18s; }
.top-services article::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: var(--radius); color: var(--blue); box-shadow: inset 0 0 0 1px #ffffffbf, 0 6px 15px #1268d217; }
.service-icon svg { width: 28px; height: 28px; }
.service-icon.blue { background: #e2efff; }
.service-icon.mint { background: #d7f8ed; color: #008875; }
.service-icon.aqua { background: #d9f7f6; color: #008395; }
.service-icon.lilac { background: #ece7ff; color: #563be9; }
.service-grid h3 { margin: 0 0 9px; font-size: 15px; line-height: 1.35; overflow-wrap: break-word; }
.service-grid p { overflow-wrap: anywhere; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-grid p br { display: none; }
.prices { margin-top: 18px; }
.prices article { padding: 17px 14px; background: linear-gradient(160deg, #f8fcff, #edf6ff); }
.prices h3 { display: flex; align-items: center; gap: 8px; min-height: 43px; font-size: 13px; }
.prices h3 span { display: grid; place-items: center; flex: none; width: 28px; height: 34px; color: var(--blue); }
.prices svg { width: 24px; height: 24px; }
.prices > article > strong { display: block; margin: 10px 0; color: var(--blue); font-size: 24px; line-height: 1.35; letter-spacing: -.6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices > article > strong small { font-size: 17px; font-weight: 500; }
.prices em { display: inline-block; margin-top: 10px; padding: 5px 8px; border-radius: var(--radius-small); background: #d9faec; color: #00664a; font-size: 11px; line-height: 1.4; font-style: normal; font-weight: 800; }
/* Remont pakiautomaadiga */
.distance-section { overflow: hidden; padding: 34px 0 38px; border-top: 1px solid #d4eafa; background: radial-gradient(ellipse at 95% 90%, #b9e5ff 0, transparent 45%), linear-gradient(110deg, #edf8ff, #f7fcff 65%, #e0f2ff); }
.distance-section > .shell { position: relative; min-height: 210px; padding-right: 238px; }
.distance-section h2 { margin-bottom: 9px; font-size: 29px; }
.distance-section > .shell > p { margin: 0 0 28px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps article { position: relative; display: grid; grid-template-columns: 32px 1fr; align-content: start; gap: 9px; min-width: 0; }
.steps article:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 74px; right: 0; height: 1px; background: linear-gradient(90deg, #8ebfee, #d7ecff); }
.steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #02a8f5, #0063ee); box-shadow: 0 5px 10px #0068f526; font-size: 14px; }
.steps article > span { grid-column: 2; grid-row: 1; align-self: center; color: #0084eb; }
.steps article > div { grid-column: 1 / -1; }
.steps h3 { margin: 2px 0 6px; font-size: 14px; line-height: 1.4; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.text-action { padding: 0; border: 0; color: inherit; background: none; font: inherit; font-weight: inherit; text-align: left; text-decoration: underline; text-decoration-color: #afcde9; text-underline-offset: 4px; }
.locker-visual { position: absolute; right: -4px; bottom: -17px; width: 224px; text-align: center; }
.locker-visual img { width: 218px; height: 236px; object-fit: contain; filter: drop-shadow(0 12px 12px #06396330); }
.locker-visual span { display: block; margin-top: 4px; color: #0756b7; font-size: 15px; font-weight: 800; font-style: italic; }
/* Kompaktne ja ühtlane jalus */
.site-footer { padding: 25px 0; border-top: 3px solid #0087ec; color: #fff; background: radial-gradient(ellipse at 10% 0, #113b66, transparent 65%), #071a31; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .95fr 1.1fr; align-items: start; gap: 26px; }
.footer-grid > div { min-width: 0; }
.footer-grid--simple { grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer h3 { margin: 0 0 7px; font-size: 14px; }
.site-footer p, .site-footer a { margin: 0 0 5px; color: #d9e5f4; font-size: 13px; line-height: 1.5; }
.site-footer a { display: block; }
.site-footer p { max-width: 340px; }
.site-footer .footer-brand { display: flex; margin-bottom: 10px; color: #fff; }
.footer-brand strong { font-size: 24px; }
.footer-brand small { color: #b5cbe4; }
.footer-map { position: relative; min-height: 90px; height: 90px; overflow: hidden; border: 1px solid #375472; border-radius: var(--radius); background: #e8f3ff; }
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer-map a { position: absolute; right: 8px; bottom: 8px; margin: 0; padding: 7px 10px; border-radius: 8px; background: #fff; color: #0064d8; font-weight: 800; }
/* Kontakt ja tingimused */
.page-hero { padding: 56px 0; border-bottom: 1px solid #cfe4f6; background: radial-gradient(ellipse at 90% 0, #c3eaff, transparent 55%), linear-gradient(120deg, #edf8ff, #fafdff); }
.page-hero h1 { margin-bottom: 12px; font-size: 54px; line-height: 1.12; letter-spacing: -2px; overflow-wrap: break-word; }
.page-hero p:last-child { color: var(--muted); font-size: 18px; line-height: 1.65; }
.contact-hero { padding-block: 36px; }
.contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: 48px; }
.contact-hero-copy > p:last-child { max-width: 580px; margin-bottom: 0; }
.contact-photo { display: block; min-width: 0; }
.contact-location-photo { width: 100%; height: auto; border: 1px solid #c9dff3; border-radius: var(--radius); box-shadow: 0 12px 30px #063b7920; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; }
.contact-card, .map-card, .terms-card { min-width: 0; padding: 30px; border: 1px solid #d4e4f7; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-large); }
.contact-card, .terms-card { border-top: 3px solid #008bef; }
.contact-card h2 { margin-top: 0; }
.contact-card dl { margin: 0; }
.contact-card dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-card dt { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-card dd { margin: 4px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-actions .btn { flex: 1 1 180px; padding-inline: 18px; font-size: 15px; }
.map-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; background: #edf6ff; }
.map-card iframe { display: block; flex: 1; width: 100%; min-height: 420px; border: 0; }
.map-card > a { display: flex; justify-content: center; align-items: center; min-height: 54px; padding: 14px 16px; background: #fff; color: var(--blue); font-weight: 800; text-align: center; }
.terms-card { max-width: 900px; margin-block: 38px; padding: 30px 42px; }
.terms-card p { margin: 0; padding: 16px 0; border-bottom: 1px solid #e8eef6; color: #33445f; line-height: 1.65; }
.terms-card p:last-child { border: 0; color: var(--navy); font-weight: 750; }
/* Hinnapäring: native dialog hoiab fookuse aknas. */
.modal { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 20px; border: 0; color: var(--navy); background: transparent; overflow: hidden; }
.modal[open] { display: grid; place-items: center; }
.modal::backdrop { background: #030d21b8; backdrop-filter: blur(5px); }
.modal-card { display: flex; flex-direction: column; position: relative; width: min(560px, 100%); max-height: 100%; overflow: hidden; padding: 0; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px #0000004d; }
.modal-heading { position: relative; flex: none; padding: 30px 30px 22px; background: #fff; }
.modal-card .eyebrow { padding-right: 42px; }
.modal-card h2 { margin: 0; padding-right: 18px; font-size: 30px; letter-spacing: -.7px; line-height: 1.2; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #eff5fd; font-size: 28px; line-height: 1; }
.modal-card form { display: grid; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; gap: 14px; padding: 0 30px 30px; }
.modal-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 750; }
.modal-card input, .modal-card textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #bdcde0; border-radius: 9px; color: var(--navy); background: #fbfdff; font-size: 16px; line-height: 1.4; }
.modal-card textarea { resize: vertical; min-height: 104px; max-height: 45vh; }
.modal-card input:focus, .modal-card textarea:focus { outline: 3px solid #cfe4ff; outline-offset: 0; border-color: var(--blue); }
.form-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-note a { color: #0056c9; text-decoration: underline; text-underline-offset: 3px; }
/* Hover ainult seadmetel, mis seda päriselt toetavad. */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--blue); border-color: var(--blue); }
  .review-button:hover { border-color: var(--blue); color: var(--blue); }
  .btn:hover { transform: translateY(-2px); filter: brightness(.96); }
  .service-grid article:hover { border-color: #bfd7f5; box-shadow: 0 10px 25px #0f448619; }
  .site-footer a:hover { color: #6fd4ff; }
  .site-footer .footer-map a:hover { color: #004397; }
  .text-action:hover, .contact-card dd a:hover, .phone a:hover { color: var(--blue); }
}
@media (max-width: 1250px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 18px; }
  .header-detail:not(.phone) { display: none; }
  .hero-copy { max-width: 510px; }
  .hero h1 { font-size: 56px; }
  .hero-badges { right: 54px; width: 195px; }
}
@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .header-detail.phone { display: none; }
  .header-inner, .main-nav { gap: 18px; }
  .main-nav a { font-size: 14px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid h3 { font-size: 16px; }
  .prices h3 { min-height: 43px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-map { grid-column: 1 / -1; }
  .hero-copy { max-width: 480px; }
  .hero h1 { font-size: 53px; }
  .hero-visual::after { background: linear-gradient(90deg, #f5fbff 0%, #f5fbfff5 33%, #f5fbffdc 46%, #f5fbff00 68%); }
  .hero-badges { right: 24px; }
  .distance-section > .shell { padding-right: 205px; }
  .locker-visual { width: 195px; }
  .locker-visual img { width: 190px; }
  .contact-hero-grid { gap: 32px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .contact-card { padding: 26px; }
}
/* Tahvel: foto ja tekst eraldi, ükski tekst ei jää foto peale. */
@media (max-width: 900px) {
  html { scroll-padding-top: 24px; }
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; min-height: 76px; gap: 12px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; order: 3; }
  .main-nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .main-nav.open { display: flex; }
  .main-nav a { height: auto; min-height: 48px; padding: 12px; border: 0; border-radius: 9px; font-size: 15px; }
  .main-nav a.active { background: #edf5ff; }
  .hero-grid { min-height: 0; padding-top: 258px; padding-bottom: 28px; }
  .hero-visual { height: 286px; }
  .hero-visual img { object-position: 68% 52%; }
  .hero-visual::after { background: linear-gradient(0deg, #edf8ff 0%, #edf8ff00 28%); }
  .hero-copy { max-width: none; padding: 16px 0 24px; }
  .hero h1 { font-size: 50px; }
  .intro { max-width: 670px; }
  .trust-row { max-width: 680px; }
  .trust-row p, .trust-row small { font-size: 12px; }
  .hero-badges { position: static; width: 100%; transform: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-badges > div { min-height: 78px; padding: 12px; }
  .distance-section > .shell { padding-right: 0; }
  .steps { grid-template-columns: 1fr; padding-right: 230px; gap: 20px; }
  .steps article { grid-template-columns: 30px 1fr; gap: 12px; }
  .steps article > div { grid-column: 2; grid-row: 1; }
  .steps article > span, .steps article::after { display: none; }
  .steps h3 { margin-top: 4px; }
  .steps p { font-size: 14px; }
  .locker-visual { bottom: 0; right: 0; width: 205px; }
  .locker-visual img { width: 205px; height: 230px; }
}
@media (max-width: 760px) {
  .shell { width: min(640px, calc(100% - 32px)); }
  .brand strong { font-size: 24px; }
  .brand-icon { width: 27px; height: 39px; }
  .brand small { font-size: 10px; }
  .hero-grid { padding-top: 224px; padding-bottom: 26px; }
  .hero-visual { height: 252px; }
  .hero-copy { padding: 12px 0 22px; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(34px, 6.2vw, 46px); letter-spacing: -1.8px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .intro { font-size: 16px; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { flex: 1; padding-inline: 14px; font-size: 14px; }
  .trust-row { gap: 16px; margin-top: 24px; }
  .hero-badges > div { flex-direction: column; align-items: flex-start; gap: 9px; }
  .hero-badges span { width: 34px; height: 36px; }
  .section { padding-block: 32px; }
  .section h2, .distance-section h2 { font-size: 27px; letter-spacing: -.7px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-grid article { padding: 17px 14px; }
  .service-grid h3 { font-size: 15px; }
  .prices h3 { font-size: 13px; min-height: 44px; }
  .prices > article > strong { font-size: 23px; }
  .distance-section { padding-block: 30px; }
  .steps { padding-right: 195px; }
  .locker-visual { width: 180px; }
  .locker-visual img { width: 180px; height: 220px; }
  .locker-visual span { font-size: 13px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .footer-grid > div:first-child, .footer-map { grid-column: 1 / -1; }
  .site-footer { padding-block: 24px; }
  .site-footer a:not(.brand):not(.footer-map a) { min-height: 32px; display: flex; align-items: center; }
  .footer-map { height: 90px; }
  .page-hero { padding-block: 40px; }
  .page-hero h1 { font-size: 40px; line-height: 1.12; letter-spacing: -1.5px; }
  .page-hero p:last-child { font-size: 17px; }
  .contact-hero { padding-block: 30px; }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .map-card iframe { flex: auto; height: 330px; min-height: 330px; }
  .terms-card { margin-block: 28px; padding: 12px 24px; }
}
@media (max-width: 560px) {
  .services h2 { font-size: 26px; letter-spacing: -1px; }
  .review-button { width: 44px; padding: 0; }
  .review-star { font-size: 19px; }
  .review-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero-grid { padding-top: 196px; }
  .hero-visual { height: 225px; }
  .hero h1 { font-size: clamp(32px, 9.7vw, 44px); letter-spacing: -1.6px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { flex: auto; font-size: 15px; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
  .trust-row p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 6px; }
  .trust-row svg { width: 23px; height: 23px; }
  .hero-badges { grid-template-columns: 1fr; gap: 8px; }
  .hero-badges > div { flex-direction: row; align-items: center; min-height: 65px; padding: 11px 14px; gap: 12px; }
  .hero-badges p { font-size: 14px; }
  .hero-badges small { font-size: 12px; }
  .service-grid article { padding: 16px 12px; }
  .service-grid h3 { font-size: 14px; }
  .service-grid p { font-size: 13px; line-height: 1.6; }
  .prices h3 { gap: 5px; min-height: 55px; font-size: 12px; }
  .prices h3 span { width: 23px; }
  .prices svg { width: 21px; height: 21px; }
  .prices > article > strong { font-size: clamp(19px, 5.6vw, 23px); letter-spacing: -.4px; }
  .steps { padding-right: 0; }
  .locker-visual { position: static; width: 100%; margin-top: 18px; }
  .locker-visual img { width: 185px; height: 200px; margin-inline: auto; }
  .locker-visual span { font-size: 15px; }
  .page-hero h1 { font-size: clamp(31px, 8.5vw, 38px); }
  .contact-card { padding: 23px; }
  .contact-actions { display: grid; }
  .contact-actions .btn { width: 100%; }
  .modal { padding: 12px; }
  .modal-card { border-radius: var(--radius); }
  .modal-heading { padding: 24px 20px 20px; }
  .modal-card form { padding: 0 20px 24px; }
  .modal-card h2 { padding-right: 24px; font-size: 26px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 9px; }
  .brand-icon { width: 24px; height: 35px; }
  .service-grid { gap: 10px; }
  .prices article { padding-inline: 10px; }
  .prices h3 { flex-direction: column; align-items: flex-start; min-height: 77px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div, .footer-map { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Kontakt: kontaktandmed ja majapilt kohe esimeses vaates. */
.contact-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.contact-summary { min-width: 0; }
.contact-summary h1 { margin-bottom: 18px; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.contact-details > div { min-width: 0; padding: 10px 0; border-bottom: 1px solid #cfdfef; }
.contact-details .contact-address, .contact-details .contact-email { grid-column: 1 / -1; }
.contact-details dt { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-details dd { margin: 4px 0 0; font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.contact-summary .contact-actions { margin-top: 20px; }
.contact-summary .contact-actions .btn { flex: 1 1 auto; }
.contact-map-section .map-card iframe { height: 340px; min-height: 340px; flex: auto; }
@media (max-width: 1100px) {
  .contact-overview { gap: 28px; }
  .contact-details { column-gap: 16px; }
  .contact-summary .contact-actions .btn { padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 760px) {
  .contact-overview { grid-template-columns: 1fr; gap: 28px; }
  .contact-summary h1 { margin-bottom: 12px; }
  .contact-summary .contact-actions { display: flex; }
  .contact-map-section .map-card iframe { height: 300px; min-height: 300px; }
}
@media (max-width: 430px) {
  .contact-summary .contact-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .contact-summary .contact-actions .btn { font-size: 15px; }
  .contact-details { column-gap: 12px; }
  .contact-details dd { font-size: 15px; }
}
