/*
 * Sm@rt Tech Hub: design system, header, footer and home page sections.
 * Loaded on every page by the child theme.
 */

/* ============ Tokens ============ */
:root {
  --bench: #F3F5F8;
  --white: #FFFFFF;
  --ink: #16223A;
  --ink-2: #4A5874;
  --ink-3: #7A869C;
  --line: #D9E0EA;
  --line-soft: #E7ECF2;
  --label: #FFC83D;
  --label-deep: #F2B416;
  --label-soft: #FFF4D6;
  --stock: #17915A;
  --stock-soft: #E3F4EB;
  --wa: #1FAF55;

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wide: 118;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bench);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-stretch: 118%; font-variation-settings: "wdth" var(--wide); line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 200; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 58ch; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn-label { background: var(--label); color: var(--ink); }
.btn-label:hover { background: var(--label-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #22324F; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #179247; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.text-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--label); }
.text-link:hover { text-decoration-color: var(--ink); }

/* ============ Top strip + header ============ */
.strip { background: var(--ink); color: #DCE3EE; font-size: 14px; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.strip a { text-decoration: none; }
.strip a:hover { color: #fff; }
.strip-left, .strip-right { display: flex; align-items: center; gap: 22px; }
.strip-item { display: inline-flex; align-items: center; gap: 8px; }
.strip-item svg { width: 15px; height: 15px; color: var(--label); }
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.open-dot.closed { background: #F87171; box-shadow: 0 0 0 3px rgba(248,113,113,.25); }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { display: block; height: 62px; width: auto; max-width: none; }
.footer-logo .logo-img { height: 92px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav li { margin: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--label); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn svg, .hero-ctas .btn svg, .mobile-nav .btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }

/* ============ Hero ============ */
.hero { position: relative; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .media { position: absolute; inset: 0; }
.hero-bg img { filter: saturate(.85); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 38%, rgba(255,255,255,.72) 62%, rgba(243,245,248,.55) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 850; letter-spacing: -0.02em; line-height: 1.04; max-width: 13ch; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 50ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { margin-top: 36px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.hero-facts svg { width: 20px; height: 20px; color: var(--stock); flex-shrink: 0; }

/* Hero slider */
.slider { position: relative; border-radius: 28px; overflow: hidden; background: var(--bench); aspect-ratio: 5 / 5.6; max-height: 640px; width: 100%; isolation: isolate; box-shadow: 0 30px 60px -30px rgba(22,34,58,.35); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); z-index: 1; }
.slide .media { position: absolute; inset: 0; border-radius: 0; }
.slide .media img { transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .media img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,34,58,0) 45%, rgba(22,34,58,.45) 100%); pointer-events: none; }
.slide-card { position: absolute; left: 20px; right: 20px; bottom: 84px; z-index: 2; max-width: 400px; background: rgba(255,255,255,.96); border-radius: 18px; padding: 20px 22px; box-shadow: 0 12px 30px rgba(22,34,58,.18); }
.slide-tag { display: inline-block; background: var(--label); color: var(--ink); font-weight: 750; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.slide-title { margin-top: 10px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; line-height: 1.2; }
.slide-card p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.slide-card .text-link { display: inline-block; margin-top: 10px; font-size: 15px; }
.slider-ui { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dot { width: 44px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; align-items: center; }
.dot i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.5); overflow: hidden; position: relative; }
.dot i::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; }
.dot.is-active i::after { width: 100%; }
.slider.playing .dot.is-active i::after { width: 0; animation: dotfill var(--dur, 6s) linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(22,34,58,.2); }
.arrow:hover { background: var(--label); }
.arrow svg { width: 20px; height: 20px; }

/* Photo frames (with a clean fallback if an image fails to load) */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, #E6ECF4, #F6F8FB); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.is-missing { background: linear-gradient(135deg, #FFF4D6 0%, #EAF0FA 100%); }
.media.is-missing::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-weight: 800; font-size: 18px; color: var(--ink-2); font-variation-settings: "wdth" 112; }

/* ============ Brand rail ============ */
.brands { background: var(--bench); border-bottom: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 clamp(56px, 7vw, 80px); overflow: hidden; }
.brands-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin-bottom: clamp(24px, 3vw, 36px); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: brandScroll 32s linear infinite; padding: 2px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes brandScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.brand-logo { flex: 0 0 auto; width: 200px; height: 96px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 18px 26px; transition: border-color .2s, box-shadow .2s; }
.brand-logo:hover { border-color: var(--ink-3); box-shadow: 0 10px 24px -16px rgba(22,34,58,.4); }
.brand-logo img { height: 44px; width: auto; max-width: 140px; object-fit: contain; }
.brand-word { font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: #F5C400; font-variation-settings: "wdth" 100; text-transform: lowercase; }
.brand-word.mono { color: var(--ink); text-transform: none; font-size: 22px; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee-track [aria-hidden="true"] { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }

/* ============ Who we serve ============ */
.ways-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.ways-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; max-width: 18ch; }
.ways-head p { color: var(--ink-2); font-size: 18px; max-width: 44ch; justify-self: end; }
.ways { display: flex; gap: 14px; height: clamp(520px, 52vw, 620px); }
.way { position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; color: #fff; background: var(--ink); transition: flex-grow .65s var(--ease); isolation: isolate; }
.way.is-open { flex-grow: 2.1; }
.way > .media { position: absolute; inset: 0; z-index: -2; }
.way > .media img { transition: transform 1.2s var(--ease); transform: scale(1.08); }
.way.is-open > .media img { transform: scale(1); }
.way::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,24,48,.15) 0%, rgba(14,24,48,.35) 40%, rgba(14,24,48,.88) 100%); transition: background .5s; }
.way:not(.is-open)::before { background: linear-gradient(180deg, rgba(14,24,48,.25) 0%, rgba(14,24,48,.82) 100%); }
.way-toggle { position: absolute; inset: 0; width: 100%; padding: 26px; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.way.is-open .way-toggle { inset: 0 0 auto 0; height: auto; justify-content: flex-start; cursor: default; padding: 26px 28px; }
.way-who { font-size: 14px; font-weight: 600; color: #E6EBF3; opacity: .9; }
.way-name { font-size: clamp(22px, 2vw, 28px); font-weight: 800; font-variation-settings: "wdth" 114; line-height: 1.1; }
.way.is-open .way-who { display: inline-block; align-self: flex-start; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; opacity: 1; }
.way.is-open .way-name { display: none; }
.way-plus { position: absolute; right: 22px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.95); }
.way-plus::before, .way-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; margin: -1.25px 0 0 -8px; background: var(--ink); border-radius: 2px; }
.way-plus::after { transform: rotate(90deg); }
.way.is-open .way-plus { display: none; }
.way:not(.is-open):hover .way-plus { background: var(--label); }
.way-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.way.is-open .way-body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.way-body h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; max-width: 18ch; }
.way-body p { margin-top: 12px; color: #DCE3EE; max-width: 50ch; }
.way-facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 18px; }
.way-facts dt { font-size: 13px; color: #B9C4D6; font-weight: 600; }
.way-facts dd { margin: 4px 0 0; font-weight: 700; font-size: 15px; line-height: 1.35; }
.way-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--ink); }

/* ============ Parts drawers ============ */
.drawers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.drawer { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .25s var(--ease); }
.drawer:hover { border-color: var(--ink-3); transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(22,34,58,.45); }
.drawer-media { aspect-ratio: 16 / 11; }
.drawer-media img { transition: transform .5s var(--ease); }
.drawer:hover .drawer-media img { transform: scale(1.04); }
.drawer-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.drawer-label { align-self: flex-start; background: var(--label-soft); border: 1px solid #F1D98D; border-radius: 6px; padding: 4px 10px; font-weight: 750; font-size: 13px; font-variation-settings: "wdth" 108; }
.drawer h3 { margin-top: 12px; font-size: 19px; font-weight: 800; font-variation-settings: "wdth" 108; }
.drawer p { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.drawer .stock { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--stock); }
.drawer .stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--stock); }
.drawer.feature { border-color: var(--label-deep); box-shadow: inset 0 0 0 1px var(--label-deep); }
.drawer.feature .drawer-label { background: var(--label); border-color: var(--label-deep); }

/* ============ Screen grades ============ */
.grades { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grade-ui { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch; }
.grade-tabs { display: flex; flex-direction: column; gap: 8px; }
.grade-tab { text-align: left; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bench); cursor: pointer; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.grade-tab small { font-weight: 600; color: var(--ink-3); font-size: 13px; }
.grade-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grade-tab[aria-selected="true"] small { color: var(--label); }
.grade-panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; background: var(--white); }
.grade-panel h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.grade-panel .g-desc { margin-top: 12px; color: var(--ink-2); }
.grade-panel .g-best { margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--label); background: var(--label-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; }
.meters { display: grid; gap: 18px; align-content: center; }
.meter-row { display: grid; gap: 8px; }
.meter-row .m-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 650; }
.meter-row .m-top span:last-child { color: var(--ink-3); font-weight: 600; }
.meter { height: 12px; border-radius: 999px; background: var(--bench); border: 1px solid var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 999px; transition: width .6s var(--ease); }
.meter.price i { background: var(--label-deep); }
.grade-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* ============ Testimonials ============ */
.testimonials { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t-nav { display: flex; gap: 10px; }
.t-arrow { border: 1px solid var(--line); box-shadow: none; background: var(--white); }
.t-stage { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: stretch; }
.t-main { margin: 0; position: relative; border-radius: 28px; padding: clamp(28px, 4vw, 56px); background: var(--bench); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 420px; overflow: hidden; }
.t-main::before { content: "\201C"; position: absolute; right: 28px; top: -38px; font-size: 260px; line-height: 1; font-weight: 800; color: var(--label); opacity: .55; pointer-events: none; }
.t-top { display: flex; align-items: center; gap: 14px; position: relative; }
.t-type { background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.t-stars { color: #E6A200; font-size: 18px; letter-spacing: 2px; }
.t-quote { margin: 28px 0 0; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.38; font-weight: 600; letter-spacing: -0.01em; font-variation-settings: "wdth" 100; max-width: 34ch; position: relative; transition: opacity .3s; }
.t-quote.fade { opacity: 0; }
.t-person { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 14px; }
.t-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--label); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.t-person strong { display: block; font-size: 17px; }
.t-person span span, .t-person > span > span { display: block; font-size: 15px; color: var(--ink-2); }
.t-list { display: grid; gap: 10px; align-content: start; }
.t-item { position: relative; width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer; overflow: hidden; transition: border-color .2s, background-color .2s; }
.t-item:hover { border-color: var(--ink-3); }
.t-item .t-avatar { width: 44px; height: 44px; font-size: 15px; background: var(--bench); border: 1px solid var(--line); }
.t-item strong { display: block; font-size: 15px; }
.t-item small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.t-item[aria-selected="true"] { border-color: var(--ink); background: var(--bench); }
.t-item[aria-selected="true"] .t-avatar { background: var(--label); border-color: var(--label-deep); }
.t-item .t-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--label-deep); }
.t-stage.playing .t-item[aria-selected="true"] .t-bar { animation: dotfill var(--tdur, 7s) linear forwards; }

/* ============ Repairs ============ */
.repairs { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.repair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.repair-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.repair-card { background: var(--bench); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.repair-media { aspect-ratio: 16 / 9; }
.repair-card > div:last-child { padding: 14px 16px 16px; }
.repair-card strong { display: block; font-size: 16px; font-variation-settings: "wdth" 106; }
.repair-card span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }
.repair-promise { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.promise { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; padding: 10px 14px; border-radius: 10px; background: var(--stock-soft); color: #0F6B42; }
.promise svg { width: 18px; height: 18px; }

.quote { background: var(--bench); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); }
.quote h3 { font-size: 24px; font-weight: 800; }
.quote > p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.q-step { margin-top: 22px; }
.q-step > span { display: block; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 600; font-size: 15px; transition: background-color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid #C9D2DE; background: var(--white); font-size: 16px; }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid var(--label); outline-offset: 0; border-color: var(--ink); }
.q-summary { margin-top: 22px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px dashed #C9D2DE; font-size: 15px; color: var(--ink-2); }
.q-summary b { color: var(--ink); }
.q-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.q-error { margin-top: 10px; color: #B42318; font-size: 14px; font-weight: 600; min-height: 1px; }

/* ============ Accessories ============ */
.acc { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.acc-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.acc-media { aspect-ratio: 1 / 1; }
.acc-item strong { display: block; padding: 12px 14px; font-size: 15px; font-variation-settings: "wdth" 106; }
.acc-ways { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc-way { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: var(--white); }
.acc-way strong { display: block; font-size: 17px; }
.acc-way span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.acc-way.trade-way { background: var(--ink); color: #fff; border-color: var(--ink); }
.acc-way.trade-way span { color: #C3CCDA; }

/* ============ Gallery ============ */
.gallery-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.g-item { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); margin: 0; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item .media { position: absolute; inset: 0; }
.g-item .media img { transition: transform .6s var(--ease); }
.g-item:hover .media img { transform: scale(1.04); }
.g-item figcaption { z-index: 2; position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.g-item figcaption span { background: var(--white); border-radius: 8px; padding: 8px 12px; font-weight: 700; font-size: 14px; box-shadow: 0 1px 0 var(--line); }
.g-item figcaption em { font-style: normal; background: var(--label); border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 700; }
.g-item[hidden] { display: none; }
.tint-a { background: #EAF0FA; } .tint-b { background: #FFF4D6; } .tint-c { background: #E3F4EB; } .tint-d { background: #F0ECF8; }

/* ============ Why us ============ */
.why { background: var(--label-soft); border-top: 1px solid #F1D98D; border-bottom: 1px solid #F1D98D; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.why .lead { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #F1D98D; border-radius: var(--r-lg); overflow: hidden; border: 1px solid #F1D98D; }
.why-list li { background: var(--white); padding: 26px; }
.why-list strong { display: block; margin-top: 0; padding-top: 14px; border-top: 3px solid var(--label); display: inline-block; font-size: 18px; font-variation-settings: "wdth" 108; }
.why-list span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ============ Photo banner ============ */
.banner { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.banner-media { position: absolute; inset: 0; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,34,58,.82) 0%, rgba(22,34,58,.45) 55%, rgba(22,34,58,.1) 100%); }
.banner-inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.banner-card { max-width: 560px; color: #fff; }
.banner-card h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.banner-card p { margin-top: 16px; font-size: 18px; color: #DCE3EE; max-width: 46ch; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.banner .btn-ink { background: var(--label); color: var(--ink); }
@media (max-width: 720px) { .banner { min-height: 460px; } .banner::after { background: linear-gradient(180deg, rgba(22,34,58,.55) 0%, rgba(22,34,58,.85) 100%); } }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside p { color: var(--ink-2); margin-top: 16px; }
.faq-aside .btn { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 18px; position: relative; font-variation-settings: "wdth" 104; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316223A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; border: 1px solid var(--line); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--label); border-color: var(--label-deep); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 66ch; }

/* ============ Visit / contact ============ */
.visit { background: var(--white); border-top: 1px solid var(--line); }
.visit-full { display: block; }
.visit-full .section-head { max-width: 720px; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: clamp(340px, 42vw, 520px); background: var(--bench); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.visit-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 32px; }
.info-block h3 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; font-variation-settings: "wdth" 104; }
.info-block h3 svg { width: 18px; height: 18px; }
.info-block p, .info-block a { margin-top: 8px; display: block; color: var(--ink-2); font-size: 15px; text-decoration: none; }
.info-block a:hover { color: var(--ink); text-decoration: underline; }
.hours { margin-top: 8px; display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.hours div { display: flex; justify-content: space-between; gap: 12px; max-width: 240px; }
.hours div.today { color: var(--ink); font-weight: 700; }

.contact-card { background: var(--bench); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.contact-card h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.contact-card > p { margin-top: 10px; color: var(--ink-2); }
.form { margin-top: 24px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 10px; border-radius: 10px; border: 1px solid #C9D2DE; background: var(--white); font-weight: 650; font-size: 14px; line-height: 1.25; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--label); outline-offset: 2px; }
.trade-only[hidden] { display: none; }
.form-note { font-size: 13px; color: var(--ink-3); }
.form .btn { width: 100%; }

/* ============ Footer ============ */
.footer { background: var(--bench); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 15px; color: var(--ink-2); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-top p { margin-top: 12px; max-width: 40ch; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h3 { font-size: 15px; font-weight: 800; color: var(--ink); font-variation-settings: "wdth" 104; }
.footer-links ul { margin-top: 10px; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.credit { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--label); text-underline-offset: 3px; }
.credit:hover { text-decoration-color: var(--ink); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

/* ============ Floating WhatsApp + toast ============ */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(23,146,71,.35); text-decoration: none; }
.fab svg { width: 30px; height: 30px; }
.fab:hover { background: #179247; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 120; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: 15px; font-weight: 600; max-width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); box-shadow: 0 12px 30px rgba(22,34,58,.25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ Responsive ============ */
@media (max-width: 1140px) {
  .nav { gap: 22px; }
  .header-cta .btn-line { display: none; }
  .drawers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav, .header-cta .btn-label { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; inset: 116px 0 0 0; background: var(--white); z-index: 99; padding: 20px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--line); }
  .mobile-nav.open { display: block; }
  .mobile-nav .m-menu { margin: 0; padding: 0; list-style: none; }
  .mobile-nav a.m-link, .mobile-nav .m-menu a { display: block; padding: 16px 0; font-size: 20px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-soft); font-variation-settings: "wdth" 108; }
  .mobile-nav .btn { width: 100%; margin-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .slider { aspect-ratio: 4 / 3.4; max-height: 560px; }
  .drawers { grid-template-columns: repeat(2, 1fr); }
  .ways-head { grid-template-columns: 1fr; gap: 14px; }
  .ways-head p { justify-self: start; }
  .ways { flex-direction: column; height: auto; }
  .way { flex: none; height: 128px; transition: height .5s var(--ease); }
  .way.is-open { height: auto; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; }
  .way.is-open .way-toggle { position: relative; }
  .way.is-open .way-body { position: relative; }
  .way-toggle { padding: 22px; }
  .way-plus { bottom: 42px; }
  .t-stage { grid-template-columns: 1fr; }
  .t-list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .hero-bg::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.75) 100%); }
  .grade-ui { grid-template-columns: 1fr; }
  .grade-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .grade-tabs::-webkit-scrollbar { display: none; }
  .grade-tab { flex: 0 0 auto; }
  .grade-panel { grid-template-columns: 1fr; }
  .trade, .repair-grid, .acc, .why-grid, .faq-grid, .visit-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 720px) {
  .strip-hide-sm { display: none !important; }
  .header .wrap { height: 72px; }
  .logo-img { height: 50px; }
  .footer-logo .logo-img { height: 76px; }
  .mobile-nav { inset: 108px 0 0 0; }
  .hero-facts { grid-template-columns: 1fr; }
  .brand-logo { width: 150px; height: 76px; padding: 14px 18px; border-radius: 14px; }
  .brand-logo img { height: 34px; }
  .brand-word { font-size: 24px; }
  .brand-word.mono { font-size: 18px; }
  .marquee-track { gap: 12px; animation-duration: 26s; }
  @keyframes brandScroll { to { transform: translateX(calc(-50% - 6px)); } }
  .visit-info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .brand-logo { height: 56px; }
  .brand-logo img { height: 24px; }
  .slide-card { bottom: 76px; left: 14px; right: 14px; padding: 16px 18px; }
  .slider-ui { left: 14px; right: 14px; bottom: 16px; }
  .acc-board { grid-template-columns: repeat(3, 1fr); }
  .drawers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .drawer-body { padding: 14px; }
  .drawer h3 { font-size: 16px; }
  .drawer p { font-size: 14px; }
  .slider { aspect-ratio: 4 / 4.6; }
  .acc-ways { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-item.tall { grid-row: span 1; }
  .g-item.wide { grid-column: span 1; }
  .why-list { grid-template-columns: 1fr; }
  .way-facts { grid-template-columns: 1fr; gap: 10px; }
  .way-body { padding: 22px; }
  .t-main { min-height: 0; }
  .t-main::before { font-size: 150px; top: -22px; right: 14px; opacity: .4; }
  .way.is-open .way-toggle { padding: 20px 20px 0; }
  .way-body { padding: 20px; }
  .t-list { display: none; }
  .t-stage { gap: 0; }
  .visit-info { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
}
@media (max-width: 420px) {
  .visit-info { grid-template-columns: 1fr; }
  .logo-img { height: 46px; }
  .dot { width: 26px; }
  .dots { gap: 6px; }
  .arrow { width: 40px; height: 40px; }
  .drawers { grid-template-columns: 1fr; }
  .repair-list { grid-template-columns: 1fr; }
  .acc-board { grid-template-columns: repeat(2, 1fr); }
  .slider { aspect-ratio: 4 / 5.4; }
  .slide-card p { display: none; }
  .hero-ctas .btn { width: 100%; }
  .seg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ================================================================
   WordPress / Hello Elementor / Elementor compatibility
   ================================================================ */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
.nav .current-menu-item > a { color: var(--ink); border-bottom-color: var(--label); }

/* Elementor's own image rules must not override the design */
body .media img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
body .brand-logo img { height: 44px; width: auto; max-width: 140px; object-fit: contain; }
body .logo-img { height: 62px; width: auto; max-width: none; }
body .footer-logo .logo-img { height: 92px; }
@media (max-width: 720px) {
  body .brand-logo img { height: 34px; }
  body .logo-img { height: 50px; }
  body .footer-logo .logo-img { height: 76px; }
}
@media (max-width: 420px) { body .logo-img { height: 46px; } }

/* Home page template: remove Elementor spacing around the HTML widgets */
#sth-home, #sth-home > .elementor-container, #sth-home .elementor-column, #sth-home .elementor-widget-wrap,
#sth-home .elementor-element-populated, #sth-home .elementor-widget, #sth-home .elementor-widget-container {
  padding: 0 !important; margin: 0 !important; border: 0 !important; gap: 0 !important;
}
#sth-home > .elementor-container { max-width: 100% !important; width: 100% !important; }
#sth-home .elementor-widget-wrap { display: block !important; }
#sth-home .elementor-widget { width: 100% !important; max-width: 100% !important; }
.elementor-editor-active #sth-home .elementor-widget-html { min-height: 20px; }

/* Plain WordPress pages and posts (not built with Elementor) */
.sth-content { max-width: 860px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.sth-content h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin-bottom: 24px; }
.sth-content p, .sth-content ul, .sth-content ol { margin: 0 0 18px; }
.sth-content ul { list-style: disc; padding-left: 22px; }
.sth-content ol { list-style: decimal; padding-left: 22px; }
.sth-content a { text-decoration: underline; text-decoration-color: var(--label); text-underline-offset: 3px; }
