/* EP Construction — static rebuild of the Framer site */
:root {
  --ink: #101014;
  --ink-2: #28282c;
  --body: #3d3d47;
  --muted: #d0d1db;
  --line: #e2e3e9;
  --card: #e9ecf2;
  --card-2: #f4f5f8;
  --soft: #fafafa;
  --field: #f5f5f5;
  --blue: #2f74ff;
  --blue-press: #1f5fe0;
  --white: #fff;
  --radius: 10px;
  --wrap: 1300px;
  --gutter: clamp(20px, 5vw, 70px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, blockquote, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 80px 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Type ---------- */
.badge {
  display: inline-flex; align-items: center;
  background: var(--ink-2); color: var(--white);
  font-size: 14px; font-weight: 500; letter-spacing: .3px; line-height: 1;
  padding: 6px 12px 7px; border-radius: 16px;
}
.badge--light { background: rgba(255, 255, 255, .12); }
.title { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.1; font-weight: 500; letter-spacing: -.8px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -.3px; color: var(--body); }
.text { font-size: 18px; line-height: 1.5; color: var(--body); }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 760px; margin: 0 auto 60px; }
.head .lead { max-width: 560px; font-size: 20px; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 22px; border-radius: 40px;
  font-size: 15px; font-weight: 500;
  transition: transform .3s var(--ease), background-color .3s;
}
.pill__arrow {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform .3s var(--ease);
}
.pill__arrow svg { width: 14px; height: 14px; }
.pill:hover .pill__arrow { transform: rotate(45deg); }
.pill--glass { color: var(--white); background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill--glass .pill__arrow { background: var(--white); color: var(--ink); }
.pill--glass:hover { background: rgba(255, 255, 255, .2); }
.pill--light { background: #ececee; color: var(--ink); }
.pill--light .pill__arrow { background: var(--ink); color: var(--white); }
.pill--light:hover { background: #e2e2e6; }
.pill--blue { background: var(--blue); color: var(--white); }
.pill--blue .pill__arrow { background: var(--white); color: var(--ink); }
.pill--blue:hover { background: var(--blue-press); }

/* ---------- Hero ---------- */
.hero-frame { background: var(--ink); padding: 30px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(760px, calc(100svh - 60px));
  border-radius: 12px; color: var(--white);
  display: flex; flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before { background: linear-gradient(180deg, rgba(16, 16, 20, .85) 0%, rgba(16, 16, 20, 0) 22%); }
.hero::after { background: linear-gradient(90deg, rgba(16, 16, 20, .72) 0%, rgba(16, 16, 20, .45) 55%, rgba(16, 16, 20, .25) 100%), linear-gradient(0deg, rgba(16, 16, 20, .55), rgba(16, 16, 20, 0) 45%); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(20px, 5.5vw, 86px) 0; position: relative; z-index: 20; }
.nav__logo img { width: 58px; height: auto; }
.nav__logo { padding: 10px 0 0 24px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link { font-size: 18px; font-weight: 500; letter-spacing: -.1px; padding: 10px 20px; border-radius: 8px; transition: opacity .2s; display: inline-flex; align-items: center; gap: 6px; }
.nav__link:hover { opacity: .75; }
.nav__link svg { width: 12px; height: 12px; transition: transform .25s; }
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translate(-50%, 6px);
  background: #000; border-radius: 6px; padding: 10px;
  display: grid; grid-template-columns: repeat(2, max-content); gap: 2px 6px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.dropdown__menu a { font-size: 14px; padding: 9px 10px; border-radius: 4px; line-height: 1.25; color: #e8e8ec; white-space: nowrap; }
.dropdown__menu a:hover, .dropdown__menu a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: var(--white); }
.dropdown.open .dropdown__menu, .dropdown:focus-within .dropdown__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .dropdown:hover .dropdown__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.dropdown.open .nav__link svg { transform: rotate(180deg); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; padding: 10px 18px; border-radius: 30px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .2s; }
.nav__phone:hover { background: #e9ecf2; }
.nav__phone svg { width: 15px; height: 15px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); place-items: center; }
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); position: relative; transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--white); transition: transform .25s; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

.hero__content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(20px, 5.5vw, 86px) 120px; max-width: 760px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 14px; color: var(--muted); background: rgba(40, 40, 44, .75); border-radius: 20px; padding: 7px 14px 7px 12px; margin-bottom: 18px; }
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--white); }
.hero h1 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.2; font-weight: 500; letter-spacing: -1px; max-width: 620px; }
.hero__sub { font-size: clamp(17px, 1.55vw, 22px); line-height: 1.5; letter-spacing: -.3px; color: var(--muted); margin-top: 28px; max-width: 480px; }
.hero__cta { margin-top: 40px; align-self: flex-start; }
.hero__quote {
  position: absolute; right: 30px; bottom: 30px; width: 260px;
  padding: 22px 22px 26px; border-radius: 4px;
  background: rgba(40, 32, 30, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 14px; line-height: 1.45; color: #ece9e6;
}
.stars { display: flex; gap: 6px; margin-bottom: 12px; color: currentColor; }
.stars svg { width: 16px; height: 16px; }
.hero__quote .stars { color: var(--white); }

/* ---------- Page hero (title only, e.g. gallery) ---------- */

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.about__left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.about__left .title { max-width: 360px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 4px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee var(--duration, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.marquee__img { height: clamp(260px, 30vw, 400px); width: auto; aspect-ratio: 4 / 5; object-fit: cover; flex: none; border-radius: 2px; background: var(--card-2); }
.marquee__img--wide { aspect-ratio: 3 / 2; }
.marquee + .marquee { margin-top: 20px; }
.about .marquee { margin-top: 70px; }
button.marquee__btn { padding: 0; flex: none; cursor: zoom-in; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 80px; }
.stat .stat__num { font-size: clamp(48px, 5vw, 72px); font-weight: 300; line-height: 1; letter-spacing: -2px; margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.stat h3 { font-size: 20px; line-height: 1.5; font-weight: 600; letter-spacing: -.2px; }
.stat p { font-size: 16px; line-height: 1.3; color: var(--body); margin-top: 6px; max-width: 230px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field label .req { color: #e5484d; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field); border: 1px solid #ececec; border-radius: 6px;
  padding: 13px 14px; transition: border-color .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a6a6ae; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.form__submit {
  width: 100%; padding: 14px 18px; border-radius: 6px;
  background: var(--blue); color: var(--white); font-size: 16px; font-weight: 500;
  transition: background-color .2s;
}
.form__submit:hover { background: var(--blue-press); }
.form__status { font-size: 15px; color: var(--body); min-height: 1em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Insurance band ---------- */
.insurance .title { text-align: center; font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -1px; }
.insurance__sub { text-align: center; font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 720px; margin: 22px auto 40px; }
.insurance .form { max-width: 1300px; margin: 0 auto; }

/* ---------- Services accordion ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.svc__media { position: sticky; top: 40px; aspect-ratio: 1 / 1.2; border-radius: 6px; overflow: hidden; background: var(--card); }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.svc__media img.is-active { opacity: 1; }
.svc__cta { display: flex; justify-content: center; margin: -20px 0 50px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 0; text-align: left; }
.acc__icon { width: 40px; height: 40px; flex: none; object-fit: contain; }
.acc__btn h3 { flex: 1; font-size: 22px; line-height: 1.4; font-weight: 500; }
.acc__plus { width: 18px; height: 18px; flex: none; position: relative; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__plus::before { transform: rotate(45deg); }
.acc__btn[aria-expanded="true"] .acc__plus::after { transform: rotate(135deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 40px 26px 0; font-size: 18px; line-height: 1.5; color: var(--body); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.svc__thumb { display: none; }

/* ---------- Problems (restoration) ---------- */
.problems { background: #f6f6f6; }
.problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 5vw, 78px); max-width: 1300px; margin: 0 auto; }
.pcard { background: var(--white); border: 1px solid #3a3a40; border-radius: 4px; padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.pcard__icon { width: 36px; height: 36px; object-fit: contain; }
.pcard h3 { font-size: 22px; font-weight: 600; letter-spacing: -.2px; line-height: 1.3; }
.pcard ul { display: grid; gap: 12px; font-size: 15px; line-height: 1.3; }
.pcard li { display: flex; gap: 8px; }
.pcard li::before { content: "•"; }
.pcard__note { font-size: 15px; font-weight: 700; line-height: 1.3; margin-top: auto; padding-top: 4px; }
.problems__cta { display: flex; justify-content: center; margin-top: 70px; }

/* ---------- Work / case studies ---------- */
.cases { display: grid; gap: 30px; }
.case {
  position: sticky; top: calc(40px + var(--i) * 14px);
  display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(28px, 4vw, 70px);
  padding: 30px; border-radius: var(--radius); background: var(--card);
  box-shadow: 0 -10px 40px rgba(16, 16, 20, .06);
}
.case--dark { background: var(--ink); color: var(--white); }
.case__img { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: rgba(0, 0, 0, .06); }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case__body { display: flex; flex-direction: column; justify-content: center; padding: 10px 40px 10px 0; }
.case h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; font-weight: 500; letter-spacing: -.8px; }
.case__desc { font-size: 17px; line-height: 1.55; color: var(--body); margin-top: 22px; max-width: 620px; }
.case--dark .case__desc { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { background: var(--ink-2); color: var(--white); font-size: 14px; line-height: 1; padding: 6px 12px 7px; border-radius: 16px; }
.case--dark .tag { background: #2c2c32; }
.case__quote { display: flex; gap: 14px; margin-top: 36px; font-size: 20px; line-height: 1.4; color: var(--body); max-width: 680px; }
.case--dark .case__quote { color: #e6e7ee; }
.case__quote svg { flex: none; width: 16px; height: 16px; margin-top: 6px; }
.person { display: flex; align-items: center; gap: 14px; margin: 22px 0 0 30px; font-size: 16px; font-weight: 500; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #d9dbe2; }
.cases__cta { display: flex; justify-content: center; margin-top: 50px; }

/* ---------- Testimonials ---------- */
.tcard { flex: none; width: 400px; padding: 30px 40px; border-radius: var(--radius); background: var(--card-2); display: flex; flex-direction: column; }
.tcard:nth-child(even) { background: var(--card); }
.tcard blockquote { margin: 0; font-size: 18px; line-height: 1.5; color: var(--body); flex: 1; }
.tcard .person { margin: 36px 0 0; font-size: 16px; }
.tcard .person img { width: 40px; height: 40px; }
.tcard .stars { color: var(--ink); margin-bottom: 18px; }
.marquee--cards .marquee__track { align-items: stretch; }

/* ---------- Gallery heading ---------- */
.ghead { text-align: center; margin-bottom: 50px; }
.ghead .title { max-width: 520px; margin: 0 auto; }
.ghead .badge { margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.75fr; gap: 60px; align-items: start; }
.faq__left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: sticky; top: 40px; }
.faq__left .lead { max-width: 300px; font-size: 20px; }
.faq__left .pill { margin-top: 26px; }
.faq__list { display: grid; gap: 16px; }
.faq__list .acc__item { background: var(--soft); border: 1px solid #f0f0f2; border-radius: var(--radius); padding: 0 25px; }
.faq__list .acc__btn { padding: 22px 0; }
.faq__list .acc__btn h3 { font-size: 22px; }
.faq__list .acc__panel p { padding: 0 20px 24px 0; font-size: 17px; }

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: center; justify-items: center; }
.certs img { width: 100%; max-width: 230px; height: 110px; object-fit: contain; }

/* ---------- Contact ---------- */
.dark-frame { padding: 0 20px; }
.contact { background: var(--ink); color: var(--white); border-radius: 12px 12px 0 0; padding: 80px 0 70px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact__left .lead { color: var(--muted); margin-top: 6px; }
.contact__rows { width: 100%; margin-top: 34px; display: grid; gap: 18px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact__row { display: flex; justify-content: space-between; gap: 20px; font-size: 16px; }
.contact__row dt { font-weight: 600; }
.contact__row dd { margin: 0; color: var(--muted); text-align: right; }
.contact__row a:hover { color: var(--white); }
.social { margin-top: 24px; }
.social p { font-weight: 600; margin-bottom: 12px; }
.social__links { display: flex; gap: 12px; }
.social__links a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; transition: background-color .2s; }
.social__links a:hover { background: rgba(255, 255, 255, .1); }
.social__links svg { width: 22px; height: 22px; }
.contact__form { background: var(--white); color: var(--ink); border-radius: 8px; padding: 18px; }

/* ---------- Footer (continues the contact block) ---------- */
.footer { background: var(--ink); color: var(--white); border-radius: 0 0 12px 12px; padding: 0 0 30px; margin: 0 20px 20px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 50px; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 300px; }
.footer__brand p { font-size: 15px; line-height: 1.5; color: #a9aab6; }
.footer__logo img { width: 56px; height: auto; }
.footer__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.footer__phone svg { width: 18px; height: 18px; }
.footer__phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__brand .footer__addr { font-size: 14px; }
.footer__col h2 { font-size: 15px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: #8b8c99; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 12px; font-size: 15px; color: #e3e4ea; }
.footer__col a:hover, .footer__col a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; color: #a9aab6; }
.footer__bottom a { color: #e3e4ea; }
.footer__bottom a:hover { text-decoration: underline; }

/* ---------- Sticky header (desktop) ---------- */
.topbar {
  position: fixed; top: 12px; left: 50%; z-index: 60;
  width: min(var(--wrap), calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 22px; border-radius: 14px;
  background: rgba(16, 16, 20, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--white); box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
  transform: translate(-50%, calc(-100% - 24px)); transition: transform .4s var(--ease);
}
.topbar.show { transform: translate(-50%, 0); }
.topbar__logo img { width: 44px; height: auto; }
.topbar__links { display: flex; align-items: center; gap: 2px; }
.topbar .nav__link { font-size: 15px; padding: 8px 14px; }
.topbar .nav__phone { padding: 9px 16px; }

/* ---------- Learn more link ---------- */
.acc__more { display: inline-flex; align-items: center; gap: 8px; margin: -10px 0 26px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.acc__more svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.acc__more:hover svg { transform: rotate(45deg); }

/* ---------- 404 ---------- */
.notfound { background: var(--ink); color: var(--white); min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.notfound main { max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.notfound .lead { color: var(--muted); }
.notfound__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 10px 0 20px; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.notfound__links a { display: inline-block; padding: 8px 14px; border-radius: 20px; background: rgba(255, 255, 255, .08); font-size: 14px; }
.notfound__links a:hover { background: rgba(255, 255, 255, .16); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 12, .92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; color: var(--white); width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 22px; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__quote { display: none; }
  .nav__link { padding: 10px 14px; }
  .nav .nav__phone span { display: none; }
  .nav .nav__phone { padding: 10px 12px; margin-left: 4px; }
  .svc { grid-template-columns: 1fr; }
  .svc__media { display: none; }
  .svc__thumb { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 22px; }
  .case { grid-template-columns: 300px 1fr; }
  .case__body { padding-right: 0; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero-frame { padding: 12px; }
  .nav { padding-top: 10px; }
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-radius: 10px; padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100svh - 120px); overflow: auto;
  }
  .nav.open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.open .nav__toggle span { background: transparent; }
  .nav.open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav__link { padding: 14px 12px; justify-content: space-between; }
  .dropdown__menu a { white-space: normal; }
  .dropdown__menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; padding: 0 0 8px; grid-template-columns: 1fr 1fr; background: transparent; }
  .dropdown.open .dropdown__menu { display: grid; transform: none; }
  .dropdown:focus-within .dropdown__menu { transform: none; }
  .hero__content { padding-bottom: 70px; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq__left { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; margin-top: 60px; }
  .problems__grid { grid-template-columns: 1fr; max-width: 520px; }
  .case { grid-template-columns: 1fr; padding: 18px; position: relative; top: 0; }
  .case__img { aspect-ratio: 4 / 3; }
  .case__body { padding: 6px 4px 10px; }
  .person { margin-left: 0; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-top: 44px; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .dark-frame { padding: 0 10px; }
  .footer { margin: 0 10px 90px; }
  .topbar { display: none; }
  .nav .nav__phone { margin: 8px 0 4px; padding: 12px 16px; justify-content: center; }
  .nav .nav__phone span { display: inline; }
  .callbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; gap: 10px;
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .callbar.show { transform: none; }
  .callbar a { flex: 1; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 40px; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
  .callbar__call { background: var(--blue); color: var(--white); flex-grow: 1.6 !important; }
  .callbar__quote { background: var(--ink); color: var(--white); }
  .callbar svg { width: 16px; height: 16px; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .tcard { width: 300px; padding: 24px; }
  .contact { padding: 44px 0; }
  .contact__row { flex-direction: column; gap: 2px; }
  .contact__row dd { text-align: left; }
  .stat .stat__num { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
