/* Studio Dent Repair — one stylesheet, phone first. Dark studio look with gold, as on the original site. */
:root {
  --gold: #d8a51e;
  --gold-2: #f0c75a;
  --gold-3: #a77b0f;
  --ink: #0f0f0f;
  --dark: #161616;
  --card: #1c1c1c;
  --line: rgba(216, 165, 30, .35);
  --text: #ece8df;
  --muted: #b3ab9b;
  --radius: 14px;
  --wrap: 1180px;
  --top: 64px;
  --font: 'Jost', 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  --gold-grad: linear-gradient(180deg, #f6d77a 0%, #d8a51e 48%, #a77b0f 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.flip { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn img { width: 20px; height: 20px; object-fit: contain; }
.btn--gold { background: var(--gold-grad); color: #1a1406; box-shadow: 0 8px 28px rgba(216, 165, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(216, 165, 30, .42), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--ghost { border-color: var(--gold); color: var(--gold-2); background: rgba(0, 0, 0, .35); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(216, 165, 30, .14); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top); transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.topbar.is-solid { background: rgba(12, 12, 12, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(216, 165, 30, .2); box-shadow: 0 8px 30px rgba(0, 0, 0, .4); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .14em; font-size: 13px; color: #fff; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--gold); font-weight: 600; }
.topnav { display: none; gap: 26px; }
.topnav a { text-decoration: none; font-size: 14px; letter-spacing: .06em; color: #d8d2c4; position: relative; padding: 6px 0; }
.topnav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.topnav a:hover { color: #fff; }
.topnav a:hover::after { transform: scaleX(1); }
.phone-pill { display: none; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap; }
.phone-pill svg, .dock svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }
.topbar__cta { display: none; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 72px 0; background: #121212; isolation: isolate; }
.sec::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; }
.sec::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, .78), rgba(10, 10, 10, .55) 30%, rgba(10, 10, 10, .55) 70%, rgba(10, 10, 10, .82)); }
.sec + .sec { border-top: 1px solid rgba(216, 165, 30, .12); }

.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head__rule { margin: 14px auto 0; width: min(520px, 90%); }
.sec-head__sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.sec-head__sub--gold { color: var(--gold-2); font-size: 18px; letter-spacing: .04em; }
.eyebrow { color: var(--gold); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 10px; }
.big-title { font-size: clamp(36px, 8vw, 64px); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .5)); }
.big-title--sm { font-size: clamp(26px, 5vw, 40px); }
.big-title--ornate { display: flex; align-items: center; justify-content: center; gap: 16px; }
.big-title--ornate img { width: clamp(40px, 12vw, 160px); display: none; }
.kicker-title { text-align: center; font-size: clamp(22px, 4.6vw, 36px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 40px; }
.kicker-title--lined { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold-2); }
.kicker-title--lined img { width: clamp(40px, 16vw, 240px); display: none; }
.center-cta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.center-cta > img { width: 120px; display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--top) + 30px) 0 110px; background: #0b0b0b; overflow: hidden; isolation: isolate; text-align: center; }
.hero::before { content: ''; position: absolute; inset: -4%; z-index: -2; background: var(--bg) center / cover no-repeat; animation: heroZoom 18s ease-out both; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, .25), rgba(0, 0, 0, .78) 75%), linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .1) 40%, #121212); }
.hero__glow { position: absolute; left: 50%; top: 38%; width: 620px; height: 620px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(216, 165, 30, .22), transparent 65%); z-index: -1; pointer-events: none; animation: pulse 6s ease-in-out infinite; }
.hero__in { display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: clamp(110px, 30vw, 170px); filter: drop-shadow(0 8px 30px rgba(216, 165, 30, .35)); }
.hero__title { margin-top: 10px; }
.hero__title img { width: clamp(260px, 78vw, 440px); filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .6)); }
.hero__tag { margin-top: 18px; font-size: clamp(18px, 4.4vw, 26px); letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 500; }
.hero__sub { margin-top: 10px; color: var(--gold-2); font-size: 15px; letter-spacing: .06em; }
.hero__btns { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 340px; }
.hero__note { margin-top: 18px; color: var(--muted); font-size: 14px; }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

/* ---------- Why choose ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why__item { text-align: center; padding: 26px 12px 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(30, 30, 30, .82), rgba(18, 18, 18, .82)); border: 1px solid rgba(216, 165, 30, .22); transition: transform .3s, border-color .3s, box-shadow .3s; }
.why__item:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(216, 165, 30, .2); }
.why__item > img:first-child { height: 74px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.why__item h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-2); }
.why__rule { width: 34px; margin: 10px auto; opacity: .9; }
.why__item p { color: #d9d3c6; font-size: 14px; line-height: 1.45; }

/* ---------- Before & after ---------- */
.ba { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ba__item { margin: 0; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.ba__ph { position: relative; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 4; }
.ba__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ba__ph:hover img { transform: scale(1.06); }
.ba__ph span { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(0, 0, 0, .65); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.ba__ph span.is-after { background: var(--gold); color: #1a1406; border-color: transparent; }
.ba__item figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.ba__item figcaption b { display: block; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .06em; }

.proof { margin-top: 44px; display: grid; gap: 22px; justify-items: center; text-align: left; padding: 26px 20px; border-radius: var(--radius); background: rgba(14, 14, 14, .72); border: 1px solid var(--line); }
.proof__item { display: flex; align-items: center; gap: 16px; }
.proof__item img { width: 64px; flex: none; }
.proof__item--right img { width: 96px; }
.proof__item h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); margin-bottom: 4px; }
.proof__item p { color: #d9d3c6; font-size: 14px; line-height: 1.5; }

/* ---------- Services ---------- */
.svc { display: grid; grid-template-columns: 1fr; gap: 20px; }
.svc__card { border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #1d1d1d, #141414); border: 1px solid rgba(216, 165, 30, .22); display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; }
.svc__card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 44px rgba(0, 0, 0, .55); }
.svc__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.svc__card:hover .svc__photo { transform: scale(1.05); }
.svc__body { position: relative; text-align: center; padding: 0 22px 24px; flex: 1; }
.svc__icon { width: 64px; height: 56px; object-fit: contain; margin: -30px auto 8px; padding: 8px; border-radius: 50%; background: #161616; border: 1px solid var(--line); box-sizing: content-box; position: relative; }
.svc__body h3 { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); }
.svc__rule { width: 120px; margin: 8px auto 10px; }
.svc__body p { color: #d0c9ba; font-size: 15px; }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 22px; counter-reset: s; }
.step { position: relative; text-align: center; padding: 18px 18px 24px; border-radius: var(--radius); background: rgba(16, 16, 16, .82); border: 1px solid rgba(216, 165, 30, .22); }
.step__pic { position: relative; }
.step__pic > img:first-child { width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 56 / 34; object-fit: contain; }
.step__num { position: absolute; left: -4px; top: -6px; width: 52px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.step h3 { margin-top: 14px; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-2); }
.step p { margin-top: 8px; color: #d0c9ba; font-size: 15px; }

/* ---------- Meet ---------- */
.meet { display: grid; gap: 30px; align-items: center; }
.meet__photo { position: relative; max-width: 460px; margin: 0 auto; }
.meet__photo::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.meet__photo img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.meet__kicker { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: clamp(24px, 6vw, 40px); font-weight: 300; text-transform: uppercase; letter-spacing: .14em; color: #fff; line-height: 1.1; }
.meet__kicker span:nth-child(2) { color: var(--gold-2); }
.meet__rule { width: min(380px, 90%); margin: 10px 0 16px; }
.meet__name { font-size: clamp(30px, 7vw, 52px); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 18px; }
.meet__name span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meet__text p { color: #ddd6c8; font-size: 17px; line-height: 1.7; }
.meet__text p + p { margin-top: 14px; padding-left: 16px; border-left: 3px solid var(--gold); color: #fff; font-style: italic; }

/* ---------- Competition ---------- */
.comp { display: grid; gap: 26px; align-items: end; }
.comp__card { text-align: center; }
.comp__trophy { width: min(250px, 66%); margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 30px rgba(216, 165, 30, .15)); transition: transform .4s; }
.comp__card:hover .comp__trophy { transform: translateY(-8px) scale(1.02); }
.comp__label { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; text-align: left; }
.comp__label img { width: 46px; }
.comp__label h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-2); }
.comp__label p { color: #d9d3c6; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; line-height: 1.4; }
.comp__mid { text-align: center; }
.comp__arc { width: min(280px, 72%); margin: 0 auto; }
.comp__stats { display: flex; justify-content: center; gap: 26px; margin-top: 18px; }
.comp__stats div { display: flex; align-items: center; gap: 10px; text-align: left; }
.comp__stats img { width: 34px; }
.comp__stats p { font-size: 13px; color: #d0c9ba; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; }
.comp__stats b { display: block; color: var(--gold-2); font-size: 16px; }

/* ---------- Gallery ---------- */
.gal-logo { width: 150px; margin: 0 auto 14px; }
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gal__ph { padding: 0; border: 0; background: #000; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 4; }
.gal__ph--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gal__ph--big { grid-column: span 2; aspect-ratio: 3 / 4; }
.gal__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; filter: saturate(.9); }
.gal__ph:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ---------- Service area ---------- */
.area { display: grid; gap: 26px; }
.area__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.area__facts li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius); background: rgba(16, 16, 16, .82); border: 1px solid rgba(216, 165, 30, .22); font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.area__facts img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.map { position: relative; width: 100%; max-width: 875px; margin: 0 auto; aspect-ratio: 875 / 657; }
.map__base, .map__hl { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__hl { opacity: .28; transition: opacity .35s; pointer-events: none; }
.map__hl.is-on { opacity: 1; }
.map__pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 4px 10px 4px 22px; border-radius: 999px; border: 1px solid rgba(216, 165, 30, .55); background: rgba(10, 10, 10, .82); color: #fff; font-size: clamp(10px, 2.4vw, 14px); font-weight: 600; letter-spacing: .04em; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.map__pin::before { content: ''; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(216, 165, 30, .25); }
.map__pin:hover, .map__pin.is-on { background: var(--gold); color: #1a1406; transform: translate(-50%, -50%) scale(1.06); }
.map__pin:hover::before, .map__pin.is-on::before { background: #1a1406; }
.map__pin--home { font-size: clamp(11px, 2.8vw, 16px); padding: 6px 14px 6px 26px; border-color: var(--gold); }
.map__pin--home::before { width: 10px; height: 10px; margin-top: -5px; left: 9px; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(216, 165, 30, .7); } 100% { box-shadow: 0 0 0 12px rgba(216, 165, 30, 0); } }
.gmap { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.gmap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); display: block; }
@media (min-width: 900px) { .gmap { aspect-ratio: 21 / 8; } }

/* ---------- Final call ---------- */
.final { position: relative; padding: 76px 0 60px; background: radial-gradient(ellipse at 75% 50%, rgba(216, 165, 30, .16), transparent 55%), linear-gradient(180deg, #121212, #0a0a0a); overflow: hidden; border-top: 1px solid rgba(216, 165, 30, .2); }
.final__in { display: grid; gap: 30px; align-items: center; }
.final__ready { display: flex; align-items: center; gap: 12px; font-size: clamp(20px, 4.6vw, 30px); text-transform: uppercase; letter-spacing: .3em; color: #fff; font-weight: 300; }
.final__ready img { width: 46px; }
.final__title { margin-top: 6px; font-size: clamp(40px, 10vw, 76px); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final__title span { display: block; font-size: .56em; font-weight: 600; letter-spacing: .06em; color: #fff; -webkit-text-fill-color: #fff; margin-top: 6px; }
.final__p { margin-top: 18px; color: #ddd6c8; font-size: 17px; max-width: 520px; }
.final__perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.final__perks li { text-align: center; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: rgba(20, 20, 20, .7); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); line-height: 1.3; }
.final__perks b { display: block; color: var(--gold-2); font-size: 14px; margin-bottom: 2px; }
.final__btns { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.final__car img { width: 100%; max-width: 620px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7)); border-radius: var(--radius); }

/* ---------- Footer & phone dock ---------- */
.foot { background: #0a0a0a; border-top: 1px solid rgba(216, 165, 30, .25); padding: 30px 0 100px; color: var(--muted); font-size: 14px; }
.foot__in { display: grid; gap: 18px; justify-items: center; text-align: center; }
.foot__brand { display: flex; align-items: center; gap: 12px; text-align: left; }
.foot__brand img { width: 46px; }
.foot__brand b { display: block; color: #fff; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot__nav a { color: var(--gold); text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 10, 10, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(216, 165, 30, .3); transform: translateY(110%); transition: transform .35s; }
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .06em; white-space: nowrap; text-transform: uppercase; }
.dock__call { flex: 0 0 34%; border: 1.5px solid var(--gold); color: var(--gold-2); }
.dock__est { flex: 1; background: var(--gold-grad); color: #1a1406; }

/* ---------- Photo viewer ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .93); padding: 20px; animation: fade .2s; }
.lb[hidden] { display: none; }
.lb__img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .8); }
.lb__close, .lb__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .08); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__close:hover, .lb__nav:hover { background: var(--gold); color: #1a1406; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .hero__btns { flex-direction: row; max-width: none; justify-content: center; }
  .ba { grid-template-columns: repeat(2, 1fr); }
  .ba__item--feature { grid-column: span 2; max-width: 640px; justify-self: center; width: 100%; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(4, 1fr); }
  .gal__ph--wide { grid-column: span 2; aspect-ratio: auto; }
  .gal__ph--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .area__facts { grid-template-columns: repeat(3, 1fr); }
  .area__facts li { flex-direction: column; text-align: center; }
  .final__btns { flex-direction: row; }
  .center-cta > img { display: block; }
  .big-title--ornate img, .kicker-title--lined img { display: block; }
}

@media (min-width: 900px) {
  :root { --top: 76px; }
  .sec { padding: 110px 0; }
  .sec-head { margin-bottom: 56px; }
  .topnav, .phone-pill { display: flex; }
  .topbar__cta { display: inline-flex; }
  .brand span { display: none; }
  .why { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .why__item { padding: 34px 18px 28px; }
  .why__item > img:first-child { height: 96px; }
  .why__item h3 { font-size: 20px; }
  .why__item p { font-size: 15px; }
  .ba { grid-template-columns: 1fr 1.3fr 1fr; gap: 28px 32px; align-items: center; }
  .ba__item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .ba__item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .ba__item--feature { grid-column: 2; grid-row: 1 / span 2; max-width: none; }
  .ba__item:nth-child(4) { grid-column: 3; grid-row: 1; }
  .ba__item:nth-child(5) { grid-column: 3; grid-row: 2; }
  .ba__item--feature .ba__ph { aspect-ratio: 9 / 16; }
  .ba__item--feature figcaption b { font-size: 20px; }
  .proof { grid-template-columns: 1fr auto 1fr; padding: 28px 34px; }
  .proof__item--right { justify-self: end; }
  .svc { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps::before { content: ''; position: absolute; }
  .meet { grid-template-columns: 5fr 6fr; gap: 70px; }
  .meet__photo { max-width: none; }
  .comp { grid-template-columns: 1fr 1.1fr 1fr; }
  .comp__trophy { width: min(300px, 90%); }
  .comp__arc { width: min(340px, 90%); }
  .gal { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .area { grid-template-columns: 300px 1fr; align-items: center; gap: 40px; }
  .area__facts { grid-template-columns: 1fr; gap: 16px; }
  .area__facts li { flex-direction: row; text-align: left; padding: 18px 20px; }
  .final { padding: 110px 0 90px; }
  .final__in { grid-template-columns: 1fr 1fr; gap: 50px; }
  .foot { padding: 34px 0; }
  .foot__in { grid-template-columns: auto 1fr auto; justify-items: stretch; text-align: left; }
  .foot__nav { justify-content: center; }
  .dock { display: none; }
  .hero__btns .btn { min-width: 250px; }
}

@media (min-width: 1100px) {
  .brand span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Small phones: the map runs edge to edge and the city labels shrink so they don't overlap. */
@media (max-width: 639px) {
  .map { width: calc(100% + 40px); max-width: none; margin: 0 -20px; }
  .map__pin { font-size: 9.5px; padding: 2px 7px 2px 15px; letter-spacing: 0; }
  .map__pin::before { left: 5px; width: 6px; height: 6px; margin-top: -3px; }
  .map__pin--home { font-size: 11px; padding: 4px 10px 4px 19px; }
  .map__pin--home::before { left: 6px; width: 8px; height: 8px; margin-top: -4px; }
}
