/* =========================================================
   Jacks Vehicle Repairs — redesign demo
   ========================================================= */
:root {
  --bg: #0d0e10;
  --bg-2: #14161a;
  --bg-3: #1b1e23;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2ee;
  --muted: #9aa0a8;
  --accent: #ffb21a;
  --accent-2: #ff7a1a;
  --accent-ink: #141414;
  --ok: #35d07f;
  --bad: #ff5a5a;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.hl { color: var(--accent); }
.eyebrow { font-family: var(--mono); color: var(--accent); font-size: .85rem; letter-spacing: .05em; margin-bottom: 1rem; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 1rem;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__wheel {
  width: 64px; height: 64px; border-radius: 50%; border: 6px solid var(--bg-3);
  border-top-color: var(--accent); animation: spin .8s linear infinite; position: relative;
}
.loader__wheel span { position: absolute; inset: 16px; border-radius: 50%; background: var(--accent); }
.loader__text { font-family: var(--mono); color: var(--muted); font-size: .85rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---------- Buttons ---------- */
.btn {
  --x: 0px; --y: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transform: translate(var(--x), var(--y));
  transition: transform .25s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  font-family: var(--body);
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255,178,26,.6); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(255,178,26,.8); }
.btn--ghost { border-color: rgba(255,255,255,.2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: .65rem 1.1rem; font-size: .9rem; }
.btn--full { width: 100%; }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 1.1rem 0; transition: padding .35s var(--ease), background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding: .6rem 0; background: rgba(13,14,16,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: padding .35s var(--ease), background .35s, transform .4s var(--ease); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__brand img { width: 46px; height: auto; transition: transform .5s var(--ease); }
.nav__brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__brand span { display: flex; flex-direction: column; line-height: 1; }
.nav__brand b { font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em; }
.nav__brand small { font-size: .68rem; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__link { position: relative; font-size: .93rem; font-weight: 500; color: #cfd2d6; transition: color .25s; padding: .3rem 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 2; }
.nav__burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: transform .35s var(--ease), opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 5rem; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 56px 56px; } }
.hero__glow { position: absolute; width: 700px; height: 700px; right: -150px; top: -100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,178,26,.22), transparent 65%); filter: blur(20px); animation: float 9s ease-in-out infinite; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-bottom: 1.5rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
body.is-ready .hero__title .line > span { animation: lineUp 1s var(--ease) forwards; }
body.is-ready .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
body.is-ready .hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero__title em { font-style: normal; color: var(--accent); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--accent); opacity: .35; transform: scaleX(0); transform-origin: left; }
body.is-ready .hero__title em::after { animation: underline .8s .9s var(--ease) forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero__sub { font-size: 1.12rem; color: #c3c7cc; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.hero__chips li { font-size: .82rem; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: all .3s var(--ease); }
.hero__chips li:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.status { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); font-size: .85rem; margin-bottom: 1.6rem; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); position: relative; }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(53,208,127,.6); animation: ping 1.8s infinite; }
.status.is-closed .status__dot { background: var(--bad); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(53,208,127,0); } 100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); } }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.hero__badge {
  position: absolute; inset: 9%; padding: 4%; display: grid; place-items: center;
  transform-style: preserve-3d; transition: transform .2s ease-out; z-index: 2;
}
.hero__badge img { width: 100%; height: 100%; object-fit: contain; transform: translateZ(40px); filter: drop-shadow(0 0 30px rgba(255,178,26,.35)) drop-shadow(0 30px 40px rgba(0,0,0,.7)); }
.hero__wheel { position: absolute; width: 46%; right: -8%; bottom: -6%; z-index: 1; opacity: .9; animation: spin 14s linear infinite; }
.hero__wheel svg { width: 100%; }
.hero__wheel .tyre { fill: none; stroke: #23262c; stroke-width: 18; }
.hero__wheel .rim { fill: none; stroke: var(--accent); stroke-width: 4; }
.hero__wheel .spokes line { stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.hero__wheel .hub { fill: var(--accent); }

.floating-card {
  position: absolute; z-index: 3; background: rgba(27,30,35,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.1rem; display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.7);
}
.floating-card--a { left: -6%; top: 14%; flex-wrap: wrap; width: 150px; animation: float 6s ease-in-out infinite; }
.floating-card--b { right: -4%; top: 4%; font-size: .85rem; font-weight: 600; animation: float 7s 1s ease-in-out infinite; }
.floating-card--b svg { width: 20px; fill: var(--accent); }
.floating-card__num { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.floating-card__plus { font-family: var(--display); font-size: 1.6rem; color: var(--accent); }
.floating-card__label { width: 100%; font-size: .78rem; color: var(--muted); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 1.8rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; background: var(--accent); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }
.reveal-up { opacity: 0; transform: translateY(24px); }
body.is-ready .reveal-up { animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.5deg) scale(1.03); margin: 1rem 0; }
.marquee__track { display: flex; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; white-space: nowrap; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee i { font-style: normal; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section__head--left { text-align: left; margin: 0; }
.section__lead { color: var(--muted); font-size: 1.08rem; }
.section__lead a { color: var(--accent); }

/* ---------- Services ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter { background: var(--bg-3); border: 1px solid var(--line); color: var(--muted); padding: .6rem 1.2rem; border-radius: 999px; font: 600 .9rem var(--body); cursor: pointer; transition: all .3s var(--ease); }
.filter:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.filter.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  overflow: hidden; cursor: pointer; transition: transform .45s var(--ease), border-color .3s, opacity .4s, box-shadow .4s;
  transform-style: preserve-3d;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255,178,26,.14), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: rgba(255,178,26,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.card:hover::before { opacity: 1; }
.card.is-hidden { display: none; }
.card.is-entering { animation: cardIn .55s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,178,26,.1); margin-bottom: 1.3rem; transition: transform .5s var(--ease), background .3s; position: relative; }
.card__icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .card__icon { transform: rotate(-10deg) scale(1.1); background: var(--accent); }
.card:hover .card__icon svg { stroke: var(--accent-ink); }
.card h3 { position: relative; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; position: relative; }
.card__more { position: relative; display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; font-size: .85rem; font-weight: 600; color: var(--accent); opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.card:hover .card__more { opacity: 1; transform: none; }
.card__tag { position: absolute; top: 1.4rem; right: 1.4rem; font-family: var(--mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.25rem; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; max-width: 520px; width: 100%; padding: 2.2rem; position: relative; transform: translateY(30px) scale(.96); transition: transform .45s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-3); color: #fff; cursor: pointer; font-size: 1.1rem; transition: transform .3s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--accent); color: var(--accent-ink); }
.modal__box ul { color: var(--muted); padding-left: 1.2rem; margin: 0 0 1.5rem; }
.modal__box li { margin-bottom: .35rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about__media { position: relative; }
.about__frame { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--bg-3), #0a0b0c); border: 1px solid var(--line); display: grid; place-items: center; }
.about__stripes { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,178,26,.07) 0 18px, transparent 18px 36px); animation: stripes 3s linear infinite; background-size: 200% 200%; }
@keyframes stripes { to { background-position: 51px 0; } }
.about__frame img { position: relative; width: 70%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); transition: transform .8s var(--ease); }
.about__frame:hover img { transform: scale(1.06) rotate(-2deg); }
.about__stamp { position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 20px 40px -10px rgba(255,178,26,.5); }
.about__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.about__stamp text { font: 700 9.5px var(--mono); letter-spacing: 2.2px; fill: var(--accent-ink); }
.about__stamp span { font-size: 2rem; }
.about__copy > p { color: #c3c7cc; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.stat { background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; transition: transform .35s var(--ease), border-color .3s; }
.stat:hover { transform: translateY(-6px); border-color: var(--accent); }
.stat b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.stat i { font-family: var(--display); font-style: normal; color: var(--accent); font-size: 1.5rem; }
.stat span { display: block; font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.2rem; }
.checks li { position: relative; padding-left: 1.8rem; font-size: .95rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(255,178,26,.15); color: var(--accent); font-size: .75rem; display: grid; place-items: center; font-weight: 700; }

/* ---------- Marques ---------- */
.marques { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.marque { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .3s; }
.marque::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.marque:hover { transform: translateY(-10px); border-color: rgba(255,178,26,.35); }
.marque:hover::after { transform: scaleX(1); }
.marque__tag { display: inline-block; font-family: var(--display); font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25); margin-bottom: 1.3rem; transition: color .4s, -webkit-text-stroke-color .4s; }
.marque:hover .marque__tag { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marque p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.step { position: relative; padding: 1.8rem; border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.15); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.step:hover { background: var(--bg-3); border-style: solid; border-color: var(--accent); transform: translateY(-6px); }
.step__n { font-family: var(--mono); color: var(--accent); font-size: .9rem; display: inline-block; padding: .3rem .6rem; border-radius: 8px; background: rgba(255,178,26,.1); margin-bottom: 1rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.areas__copy > p { color: var(--muted); }
.tabs { display: inline-flex; background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px; position: relative; margin: 1rem 0 1.5rem; flex-wrap: wrap; }
.tab { background: none; border: 0; color: var(--muted); font: 600 .9rem var(--body); padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; transition: color .3s, background .3s; }
.tab:hover { color: #fff; }
.tab.is-active { background: var(--accent); color: var(--accent-ink); }
.tab-panel { min-height: 170px; }
.tab-panel h3 { margin-bottom: .4rem; }
.tab-panel p { color: var(--muted); }
.tab-panel.is-switching { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.area-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-pills span { padding: .45rem .9rem; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line); font-size: .87rem; transition: all .3s var(--ease); }
.area-pills span:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.map { width: 100%; height: auto; }
.map__coast { fill: var(--bg-2); stroke: rgba(255,178,26,.35); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -300; } }
.map__road { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 3; stroke-dasharray: 8 8; }
.pin { cursor: pointer; }
.pin circle:nth-child(2) { fill: #555b63; transition: fill .3s, r .3s; }
.pin text { fill: var(--muted); font: 600 13px var(--body); text-anchor: middle; transition: fill .3s; }
.pin__pulse { fill: rgba(255,178,26,.25); opacity: 0; transform-origin: center; transform-box: fill-box; }
.pin.is-active circle:nth-child(2), .pin:hover circle:nth-child(2) { fill: var(--accent); }
.pin.is-active text, .pin:hover text { fill: #fff; }
.pin.is-active .pin__pulse { opacity: 1; animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map__note { text-align: center; color: var(--muted); font-size: .75rem; margin-top: .5rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.review { margin: 0; padding: 2.4rem; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.review::before { content: "\201C"; position: absolute; right: 1.5rem; top: -1rem; font-family: var(--display); font-size: 10rem; color: rgba(255,178,26,.08); line-height: 1; }
.review:hover { transform: translateY(-6px) rotate(-.5deg); }
.review__stars { color: var(--accent); letter-spacing: .2em; margin-bottom: 1rem; }
.review blockquote { margin: 0 0 1.8rem; font-size: 1.35rem; line-height: 1.45; font-weight: 500; }
.review figcaption { display: flex; align-items: center; gap: .8rem; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--display); }
.review figcaption small { display: block; color: var(--muted); }
.review-cta { padding: 2.4rem; border-radius: 22px; background: linear-gradient(145deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.review-cta p { opacity: .85; }
.review-cta__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-link { display: inline-flex; gap: .35rem; align-items: center; padding: .55rem 1rem; border-radius: 999px; background: rgba(0,0,0,.85); color: #fff; font-weight: 600; font-size: .88rem; transition: transform .3s var(--ease), background .3s; }
.pill-link span { transition: transform .3s var(--ease); }
.pill-link:hover { transform: translateY(-3px); background: #000; }
.pill-link:hover span { transform: translate(3px, -3px); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; font-weight: 600; font-size: 1.08rem; position: relative; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 1.3rem; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq__item summary:hover { color: var(--accent); }
.faq__item[open] summary::after { transform: rotate(135deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq__item p { color: var(--muted); padding-right: 3rem; margin: 0 0 1.4rem; animation: panelIn .45s var(--ease); }

/* ---------- Contact ---------- */
.contact-section { background: radial-gradient(ellipse at 10% 0%, rgba(255,178,26,.1), transparent 50%), var(--bg-2); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.contact__item { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: transform .35s var(--ease), border-color .3s; }
.contact__item:hover { transform: translateX(8px); border-color: var(--accent); }
.ci { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,178,26,.12); color: var(--accent); font-size: 1.25rem; transition: background .3s, color .3s, transform .4s var(--ease); }
.contact__item:hover .ci { background: var(--accent); color: var(--accent-ink); transform: rotate(-10deg); }
.contact__item small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.contact__item b { font-weight: 600; word-break: break-word; }
.hours { padding: 1.5rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.hours ul { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .55rem .7rem; border-radius: 8px; font-size: .95rem; transition: background .3s; }
.hours li:hover { background: var(--bg-3); }
.hours li.is-today { background: rgba(255,178,26,.12); color: var(--accent); font-weight: 600; }
.hours .closed { color: var(--muted); font-weight: 500; }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.form__hint { color: var(--muted); font-size: .88rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; display: block; margin-bottom: 1rem; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  padding: 1.35rem 1rem .55rem; font: 500 .98rem var(--body); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; appearance: none;
}
.field--select::after { content: "▾"; position: absolute; right: 1rem; top: 1.1rem; color: var(--muted); pointer-events: none; }
.field select option { background: var(--bg-2); }
.field span { position: absolute; left: 1rem; top: 1rem; color: var(--muted); font-size: .98rem; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,178,26,.12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { top: .45rem; font-size: .72rem; color: var(--accent); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--bad); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.form__msg { margin: 1rem 0 0; font-size: .9rem; min-height: 1.4em; color: var(--ok); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--bg); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand img { width: 90px; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 280px; font-size: .92rem; }
.footer__col h4 { font-family: var(--mono); font-weight: 500; color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
.footer__col a { display: block; color: #c3c7cc; padding: .25rem 0; font-size: .93rem; transition: color .25s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--accent); transform: translateX(5px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.to-top:hover { color: var(--accent); }

.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner, .about, .areas, .contact, .faq-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { justify-self: center; max-width: 420px; }
  .marques, .steps, .services { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .about__stamp { right: 10px; bottom: -40px; }
}
@media (max-width: 860px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; background: rgba(13,14,16,.97); backdrop-filter: blur(10px);
    flex-direction: column; justify-content: center; gap: 1.6rem; clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path .7s var(--ease);
  }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav__link { font-family: var(--display); font-size: 1.8rem; }
  .callbar { display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; text-align: center; padding: 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .45s var(--ease); }
  .callbar.is-visible { transform: none; }
  .footer { padding-bottom: 6rem; }
}
@media (max-width: 560px) {
  .marques, .steps, .checks, .form__row, .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .stat { padding: .8rem; } .stat b { font-size: 1.7rem; }
  .floating-card--a { left: 0; } .floating-card--b { right: 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span { transform: none; }
}
