/* Homepage, 2026-10-22. Loaded after site.css and theme.css on /ru/ and /ro/ only.
   First screen: the photo of the blue building. Title on the sky; at the bottom a dock that
   leads people to an action: call, or pick the job they need. Hover answers every action. */
.homepage{background:var(--paper)}
.homepage .utility{display:none}
.homepage main h2{font-size:clamp(32px,3.4vw,48px);font-weight:700;line-height:1.1;letter-spacing:-.025em;color:var(--navy)}

/* ---------- Welcome screen (desktop from 1181px) ---------- */
.hero{--edge:max(var(--gutter),min(4vw,calc((100vw - var(--shell))/2)))}
.hero-frame{position:relative;overflow:hidden;background:#8ab4ea;height:max(560px,min(56.3vw,calc(100svh - 80px)))}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0}
/* Sizes in vw keep the text inside the sky: the roof edge runs from 55% to 21% of the width. */
.hero-copy{position:absolute;top:3.4vw;left:var(--edge);color:var(--navy)}
.hero-status{display:flex;align-items:center;gap:.6em;font-size:max(12px,.95vw);font-weight:600}
.status-dot{width:.62em;height:.62em;border-radius:50%;background:#5f6f92;flex-shrink:0}
.hero-status[data-state=open] .status-dot{background:#16a34a}.hero-status[data-state=closed] .status-dot{background:#e07b00}
.hero h1{font-size:max(30px,3.7vw);font-weight:800;line-height:1.02;letter-spacing:-.035em;margin-top:.4em}
.hero-lead{font-size:max(14px,1.15vw);font-weight:500;line-height:1.4;margin-top:.55em}

/* Dock: call + job picker, sitting on the asphalt and joining the white page below. */
.hero-dock{position:absolute;left:var(--edge);right:var(--edge);bottom:0;display:grid;grid-template-columns:minmax(230px,18vw) minmax(0,1fr);background:#fff}
.dock-call{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:16px;padding:0 24px;background:var(--red);color:#fff}
.dock-call::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--red-dark);transform:translateX(-101%);transition:transform .35s var(--ease)}
.dock-call:hover::before,.dock-call:focus-visible::before{transform:none}
.dock-call-icon{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.55);border-radius:50%}
.dock-call-icon .icon{width:22px;height:22px}
.dock-call:hover .dock-call-icon .icon{animation:ring .6s ease}
.dock-call-text{display:flex;flex-direction:column;line-height:1.2}
.dock-call-text small{font-size:13px;font-weight:500;opacity:.9}
.dock-call-text b{font-size:clamp(20px,1.6vw,26px);font-weight:800;letter-spacing:-.01em;margin-top:2px}
@keyframes ring{0%,100%{transform:none}20%{transform:rotate(-14deg)}40%{transform:rotate(12deg)}60%{transform:rotate(-8deg)}80%{transform:rotate(4deg)}}

.hero-pick{min-width:0}
.pick-title{padding:14px 22px 10px;font-size:15px;font-weight:700;color:var(--navy)}
.pick-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid var(--line)}
.pick{position:relative;display:flex;align-items:center;gap:12px;min-height:68px;padding:12px 34px 12px 18px;color:var(--navy);transition:background .2s,color .2s}
.pick+.pick{border-left:1px solid var(--line)}
.pick::before{content:"";position:absolute;left:0;right:0;top:-1px;height:3px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.pick-icon{display:grid;place-items:center;flex-shrink:0;color:var(--blue);transition:color .2s,transform .25s var(--ease)}
.pick-icon .icon{width:26px;height:26px}
.pick-name{font-size:15px;font-weight:700;line-height:1.25}
.pick-go{position:absolute;right:12px;top:50%;margin-top:-9px;opacity:0;transform:translateX(-6px);transition:opacity .2s,transform .25s var(--ease)}
.pick-go .icon{width:18px;height:18px}
.pick:hover,.pick:focus-visible{background:var(--blue);color:#fff}
.pick:hover::before,.pick:focus-visible::before{transform:none}
.pick:hover .pick-icon,.pick:focus-visible .pick-icon{color:#fff;transform:translateY(-2px)}
.pick:hover .pick-go,.pick:focus-visible .pick-go{opacity:1;transform:none}
.pick:focus-visible{outline-offset:-3px}

/* Facts strip under the photo */
.hero-facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}
.hero-facts>li{min-width:0}.hero-facts>li+li{border-left:1px solid var(--line)}
.hero-facts>li>a,.hero-facts>li:not(:has(a)){display:flex;align-items:center;gap:12px;padding:22px 22px;height:100%}
.hero-facts>li:first-child>a{padding-left:0}
.hero-facts>li>a:hover b{color:var(--red)}
.fact-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;background:#e9effb;color:var(--blue);font-size:19px;line-height:1}
.fact-icon .icon{width:20px;height:20px}
.hero-facts b{display:block;font-size:16.5px;font-weight:700;line-height:1.3;color:var(--navy);transition:color .15s}
.hero-facts small{display:block;font-size:13px;color:var(--muted);line-height:1.4;margin-top:1px}

/* ---------- Shared ---------- */
.home-sec{padding-block:clamp(56px,7vw,100px)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:36px}
.more{display:inline-flex;align-items:center;gap:10px;padding-bottom:4px;border-bottom:2px solid var(--red);font-size:15px;font-weight:700;color:var(--navy)}
.more .icon{width:18px;height:18px;transition:transform .2s var(--ease)}.more:hover .icon{transform:translateX(4px)}

/* ---------- Services ---------- */
.svc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.svc{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);background:#fff;transition:border-color .2s}
.svc:hover{border-color:var(--blue)}
.svc-media{display:block;overflow:hidden;aspect-ratio:4/3;background:#e4e8f0}
.svc-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.svc:hover .svc-media img{transform:scale(1.03)}
.svc-body{display:flex;flex-direction:column;flex:1;padding:22px 24px 8px}
.svc h3{font-size:22px;font-weight:700;line-height:1.2;letter-spacing:-.02em;color:var(--navy)}
.svc h3 a:hover{color:var(--red)}
.svc p{color:var(--muted);font-size:15px;line-height:1.6;margin-top:6px}
.svc-links{margin-top:auto;padding-top:16px}
.svc-links a{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-top:1px solid var(--line);font-size:15px;font-weight:600;line-height:1.4;transition:color .15s}
.svc-links a:hover{color:var(--red)}.svc-links .icon{width:17px;height:17px;color:var(--red);transition:transform .2s var(--ease)}.svc-links a:hover .icon{transform:translateX(4px)}

/* ---------- Workshop ---------- */
.garage{background:var(--sand)}
.garage-grid{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(40px,6vw,90px);align-items:center}
.garage-copy>p{color:var(--muted);font-size:17px;line-height:1.7;margin:18px 0 22px;max-width:420px}
.garage-mosaic{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}
.garage-mosaic figure{margin:0;min-width:0;display:flex;flex-direction:column}.g-a{grid-row:span 2}
.g-a .photo{flex:1}.g-b .photo,.g-c .photo{aspect-ratio:3/2}
.garage-mosaic .photo img{width:100%;height:100%;object-fit:cover}
.garage-mosaic figcaption{font-size:13px;color:var(--muted);padding-top:8px}

/* ---------- Symptoms: flat facade blue ---------- */
.help{background:var(--blue);color:#fff;padding-block:clamp(56px,7vw,100px)}
.help-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,7vw,110px);align-items:start}
.homepage .help h2{color:#fff}
.help-grid>div>p{color:#dbe5fb;font-size:17px;line-height:1.7;margin-top:18px;max-width:440px}
.help-phone{display:inline-flex;align-items:center;gap:14px;margin-top:28px;font-size:clamp(30px,3.2vw,42px);font-weight:700;letter-spacing:-.02em;line-height:1}
.help-phone .icon{width:50px;height:50px;padding:13px;background:#fff;color:var(--red);stroke-width:2}
.help-list{border-top:2px solid #fff}
.help-list>a:not(.more){display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.3);font-size:16.5px;font-weight:500;line-height:1.45}
.help-list>a:not(.more) .icon{width:18px;height:18px;transition:transform .2s var(--ease)}.help-list>a:not(.more):hover .icon{transform:translateX(5px)}
.help-list>a:not(.more):hover{text-decoration:underline;text-underline-offset:4px}
.more-light{color:#fff;border-color:#fff;margin-top:24px}

/* ---------- Reviews and contacts ---------- */
.homepage .reviews,.homepage .contact-section{padding-block:clamp(56px,7vw,100px)}

/* ---------- Responsive ---------- */
@media(max-width:1400px){.pick{padding-left:14px;gap:10px}.pick-icon .icon{width:22px;height:22px}.pick-name{font-size:14px}}
@media(max-width:1180px){
  /* The sky gets too small for text: photo on top, everything else under it. */
  .hero-frame{height:auto;overflow:visible;background:none}
  .hero-bg{position:static;display:block;width:100%;height:auto;aspect-ratio:2400/1351;object-position:50% 50%}
  .hero-copy{position:static;padding:30px var(--gutter) 0}
  .hero-status{font-size:14px}.hero h1{font-size:clamp(32px,4.4vw,48px)}.hero h1 br{display:none}.hero-lead{font-size:18px}
  .hero-dock{position:static;margin:22px var(--gutter) 0;grid-template-columns:1fr}
  .dock-call{min-height:72px}
  .pick-title{padding:24px 0 12px}
  .pick-row{grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-bottom:0}
  .pick{border-bottom:1px solid var(--line)}.pick+.pick{border-left:0}.pick:not(:nth-child(3n+1)){border-left:1px solid var(--line)}
  .hero-facts{grid-template-columns:1fr 1fr;margin-top:28px}.hero-facts>li:nth-child(3){border-left:0}.hero-facts>li:nth-child(3)>a,.hero-facts>li:nth-child(3):not(:has(a)){padding-left:0}.hero-facts>li:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:960px){
  .hero-bg{aspect-ratio:16/10;object-position:72% 50%}
  .svc-grid{grid-template-columns:1fr 1fr;gap:20px}
  .garage-grid,.help-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .hero-bg{aspect-ratio:4/3;object-position:84% 50%}
  .hero-copy{padding-top:24px}.hero h1{font-size:clamp(32px,9.4vw,44px)}.hero-lead{font-size:16.5px}
  .pick-row{grid-template-columns:1fr 1fr}
  .pick:not(:nth-child(3n+1)){border-left:0}.pick:nth-child(2n){border-left:1px solid var(--line)}
  .pick{min-height:60px;padding:10px 12px;gap:10px}.pick-go{display:none}
  .hero-facts{grid-template-columns:1fr}.hero-facts>li+li{border-left:0;border-top:1px solid var(--line)}
  .hero-facts>li>a,.hero-facts>li:not(:has(a)){padding:14px 0}
  .svc-grid{grid-template-columns:1fr}
  .garage-mosaic{grid-template-columns:1fr 1fr;gap:14px 12px}.g-a{grid-row:auto;grid-column:1/-1}.g-a .photo{flex:none;aspect-ratio:3/2}
  .help-list>a:not(.more){font-size:15.5px}.help-phone .icon{width:44px;height:44px;padding:12px}
}
@media(hover:none){.pick-go{display:none}}
@media(prefers-reduced-motion:reduce){.dock-call:hover .dock-call-icon .icon{animation:none}}

/* Desktop tiles: icon above the name so names fit in one line; wider call cell. */
@media(min-width:1181px){
  .hero-dock{grid-template-columns:minmax(270px,19vw) minmax(0,1fr)}
  .dock-call-text b{white-space:nowrap}
  .pick{flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:84px;padding:14px 16px}
  .pick-name{font-size:14.5px}
  .pick-go{top:14px;right:12px;margin-top:0}
}
@media(min-width:1181px){.pick{justify-content:flex-start}}
@media(min-width:1181px) and (max-width:1400px){.pick{padding:14px 12px}.pick-name{font-size:13.5px}.hero-dock{grid-template-columns:250px minmax(0,1fr)}.dock-call{padding:0 18px;gap:12px}.dock-call-icon{flex-basis:42px;width:42px;height:42px}}

/* ===== Refinement: real photo thumbnails in the picker, plain-text facts, calmer weights. ===== */
.hero h1{font-weight:700;letter-spacing:-.03em}
.pick-thumb{flex:0 0 46px;width:46px;height:46px;object-fit:cover;transition:transform .3s var(--ease),box-shadow .2s}
.pick:hover .pick-thumb,.pick:focus-visible .pick-thumb{box-shadow:0 0 0 2px #fff;transform:scale(1.04)}
@media(min-width:1181px){
  .pick{flex-direction:row;align-items:center;gap:12px;min-height:76px;padding:12px 30px 12px 14px}
  .pick-name{font-size:14.5px;line-height:1.25}
  .pick-go{top:50%;margin-top:-9px}
}
@media(min-width:1181px) and (max-width:1400px){.pick{padding:12px 12px}.pick-go{display:none}.pick-thumb{flex-basis:40px;width:40px;height:40px}.pick-name{font-size:13.5px}}
.hero-facts>li:not(:has(a)){display:block;padding:0}
.hero-facts>li>a,.hero-facts>li>div{display:block;padding:20px 24px;height:100%}
.hero-facts>li:first-child>a{padding-left:0}
.hero-facts b{font-size:17px;font-weight:700}
.hero-facts small{font-size:13.5px;margin-top:3px}
.fact-stars{color:var(--red);font-size:13px;letter-spacing:2px;margin-left:6px;vertical-align:1px}
@media(max-width:1180px){.hero-facts>li:nth-child(3)>div{padding-left:0}}
@media(max-width:700px){.hero-facts>li>a,.hero-facts>li>div{padding:14px 0}.pick-thumb{flex-basis:40px;width:40px;height:40px}}

/* Icons are back in the picker (owner preferred them to photo thumbnails): icon above the name on desktop. */
@media(min-width:1181px){
  .pick{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;min-height:84px;padding:14px 30px 14px 16px}
  .pick-go{top:14px;margin-top:0}
}
@media(min-width:1181px) and (max-width:1400px){.pick{padding:14px 12px}.pick-name{font-size:13.5px}}

/* Facts strip: short label on top, value below. */
.hero-facts small{margin:0 0 4px;font-size:13px;color:var(--muted)}
.hero-facts b{display:block}
.hero-facts b a:hover,.hero-facts>li>a:hover b{color:var(--red)}
.fact-note{font-size:14px;font-weight:500;color:var(--muted)}

/* H1: brand on the first line, the search phrase smaller on the second. */
.hero h1 .h1-brand,.hero h1 .h1-sub{display:block}
.hero h1 .h1-sub{font-size:.56em;font-weight:600;letter-spacing:-.015em;margin-top:.22em}

/* ===== Workshop identity, 2026-10-23: condensed headings, graphite and red, no navy. ===== */
.homepage main h2{font-family:var(--cond);font-size:clamp(36px,3.6vw,54px);font-weight:700;letter-spacing:0;line-height:1.02;color:var(--ink)}
.hero-copy{color:var(--ink)}
.hero h1{font-family:var(--cond);font-weight:700;letter-spacing:-.005em;line-height:1;font-size:max(34px,3.9vw)}
.hero h1 .h1-sub{font-weight:600;letter-spacing:0}
.hero-lead{font-size:max(15px,1.2vw);font-weight:500}
.hero-years{display:block;font-weight:700;margin-top:.15em}
.dock-call-text b{font-family:var(--cond);font-size:clamp(24px,1.9vw,30px);font-weight:700;letter-spacing:.01em}
.pick-title{font-family:var(--cond);font-size:18px;font-weight:600;color:var(--ink)}
.pick{color:var(--ink)}.pick-icon{color:var(--red)}
.pick-name{font-family:var(--cond);font-size:17px;font-weight:600;line-height:1.15}
.pick:hover,.pick:focus-visible{background:var(--ink);color:#fff}
.hero-facts b{font-family:var(--cond);font-size:21px;font-weight:600;color:var(--ink);letter-spacing:.01em}
.hero-facts b a{color:inherit}
.hero-facts .fact-note{display:block;font-family:'Fira Sans',Arial,sans-serif;font-size:13.5px;margin-top:2px}
.hero-facts .fact-note a{color:var(--ink);font-weight:600}
.hero-facts b .fact-note{display:inline;font-size:14px}
/* Opening hours in the strip: one row per day, day on the left, time on the right. */
.fact-hours{margin:2px 0 0;display:grid;gap:3px;max-width:290px}
.fact-hours>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.fact-hours dt{font-size:14.5px;color:var(--muted);white-space:nowrap}
.fact-hours dd{margin:0;font-family:var(--cond);font-size:19px;font-weight:600;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.fact-hours>div:last-child dd{color:var(--muted);font-weight:500}
.fact-mob{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px}
.fact-mob>a{font-family:var(--cond);font-size:19px;font-weight:600;color:var(--ink)}.fact-mob>a:hover{color:var(--red)}
.fact-mob .msg{flex-basis:32px;width:32px;height:32px}.fact-mob .msg .icon{width:17px;height:17px}
.more{font-family:var(--cond);font-size:19px;font-weight:600;color:var(--ink);border-bottom-width:2px}

/* Services: photo, then text on the page — no boxed cards. */
.svc-grid{gap:44px 28px}
.svc{border:0;background:none}
.svc-media{aspect-ratio:3/2}
.svc-body{padding:18px 0 0}
.svc h3{font-family:var(--cond);font-size:28px;font-weight:700;letter-spacing:0;line-height:1.05;color:var(--ink)}
.svc p{font-size:15.5px}
/* Card links, variant B (owner's pick): hairline graphite frame with a red tab on the left;
   on hover the frame fills graphite and the red arrow slides. Corners barely rounded. */
.svc-links{display:grid;gap:8px;padding-top:18px}
.svc-links a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 18px;border:1.5px solid var(--ink);border-radius:3px;background:transparent;color:var(--ink);font-family:var(--cond);font-size:19px;font-weight:600;line-height:1.2;transition:background .2s,color .2s}
.svc-links a:first-child{border-top-color:var(--ink)}
.svc-links a::before{content:"";position:absolute;left:-1.5px;top:10px;bottom:10px;width:4px;background:var(--red)}
.svc-link-name{display:block}
.svc-go{display:grid;place-items:center;flex-shrink:0}
.svc-links .svc-go .icon{width:18px;height:18px;color:var(--red);transition:transform .25s var(--ease)}
.svc-links a:hover,.svc-links a:focus-visible{background:var(--ink);color:#fff}
.svc-links a:hover .svc-go .icon,.svc-links a:focus-visible .svc-go .icon{transform:translateX(4px)}
.svc:hover .svc-media img{transform:scale(1.04)}
@media(max-width:700px){.svc-links a{font-size:18px;padding:11px 12px 11px 16px}}

/* Workshop */
.garage{background:var(--sand)}
.garage-copy>p{color:var(--ink);font-size:18px;line-height:1.65}

/* Symptoms band: facade blue with the ribs of the corrugated wall. */
/* Solid, slightly deeper facade blue: the rib texture made the text hard to read. */
.help{background:#1a46a3;background-image:none}
.help-grid>div>p{color:#fff;font-size:18px;opacity:.92}
.help-list>a:not(.more){font-size:18px;font-weight:500;padding:18px 0;border-bottom-color:rgba(255,255,255,.35)}
.help-phone{font-family:var(--cond);font-size:clamp(36px,3.8vw,52px);letter-spacing:.01em}
.help-list{border-top:3px solid #fff}
.help .more-light{color:#fff;border-color:#fff}
@media(min-width:1181px){.pick-name{font-size:17px}}
@media(min-width:1181px) and (max-width:1400px){.pick-name{font-size:15.5px}}
@media(max-width:700px){.pick-name{font-size:15.5px}.hero h1{font-size:clamp(36px,10.5vw,48px)}}

/* Desktop headline on the photo: soft dark wash over the left sky, white text with a light shadow. */
@media(min-width:1181px){
  .hero-frame::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(100deg,rgba(8,22,52,.62) 0%,rgba(8,22,52,.42) 30%,rgba(8,22,52,.12) 52%,rgba(8,22,52,0) 66%)}
  .hero-copy,.hero-dock{z-index:2}
  .hero-copy{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.35)}
  .hero h1{color:#fff}
  .hero-lead{color:#fff}.hero-years{color:#fff}
  .hero-status{color:#fff}
}

/* Hero heading: the real logo instead of typed "Titan Autoservice"; the city line stays text for search. */
.hero h1.h1-with-logo{line-height:1}
.h1-logo{display:block;width:clamp(220px,26vw,470px);height:auto;margin-left:-.4%}
.hero h1.h1-with-logo .h1-sub{display:block;font-size:max(26px,2.5vw);font-weight:700;margin-top:.3em}
@media(min-width:1181px){.h1-logo{filter:drop-shadow(0 4px 14px rgba(0,0,0,.35))}}
@media(max-width:1180px){.h1-logo{width:clamp(220px,40vw,370px)}.hero h1.h1-with-logo .h1-sub{font-size:clamp(26px,3.6vw,36px)}}
@media(max-width:700px){.h1-logo{width:min(68vw,280px)}.hero h1.h1-with-logo .h1-sub{font-size:clamp(24px,7vw,30px)}}

/* Phone first screen: smaller logo, lower photo, tighter gaps so the call button shows without scrolling. */
@media(max-width:700px){
  .hero-bg{aspect-ratio:16/10}
  .hero-copy{padding-top:14px}
  .hero-status{font-size:13px}
  .h1-logo{width:min(50vw,190px);margin-top:8px}
  .hero h1.h1-with-logo{margin-top:0}
  .hero h1.h1-with-logo .h1-sub{font-size:22px;margin-top:.2em}
  .hero-lead{font-size:15px;margin-top:.4em;line-height:1.35}
  .hero-dock{margin-top:14px}
  .dock-call{min-height:62px}
}
