/* ==========================================================================
   mugyantas.com — ported from the Claude Design project
   f140655e-e18f-4640-8521-ba934c0c47dd. Values are the design's own; its inline
   styles are lifted into the classes below.
   ========================================================================== */
:root {
  --red: #ea130e;
  --dark: #151515;
  --banner: #151414;
  --box: #2d2d2d;
  --text: #5f5f5f;
  --wash: #f6f6f6;
  --border: #e4e4e4;
  --topbar-text: #c9c9c9;
  --footer-text: #b3b3b3;
  --stats-text: #d5d5d5;
  --label: #9b9b9b;
  --salmon: #ff6a5e;
  --line: rgba(255, 255, 255, .1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  background: #fff;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 30px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--dark); margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; transition: all .4s ease; }
a:hover { color: var(--dark); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

[data-lang="hu"] .lang-en, [data-lang="en"] .lang-hu { display: none !important; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 15px; }
.skip { position: absolute; left: 10px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 10px; color: #fff; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
}
.btn-red { background: var(--red); color: #fff; padding: 23px 50px; }
.btn-red:hover { background: var(--dark); color: #fff; }
.btn-red--light:hover { background: #fff; color: var(--dark); }
.btn-ghost { background: rgba(255, 255, 255, .12); border: 2px solid #fff; color: #fff; padding: 21px 48px; }
.btn-ghost:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; padding: 20px 44px; white-space: nowrap; }
.btn-dark:hover { background: #fff; color: var(--dark); }
.btn-sm { padding: 20px 44px; }

/* --- top bar -------------------------------------------------------------- */
.topbar { background: var(--dark); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.topbar__tag { color: var(--topbar-text); font-size: 14px; line-height: 24px; }
.topbar__right { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__right a { color: #fff; font-size: 14px; }
.topbar__right a:hover { color: var(--red); }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .2); }
.lang button {
  border: none; padding: 4px 12px; font-size: 12px; line-height: 22px; font-weight: 700;
  letter-spacing: .08em; background: transparent; color: var(--topbar-text);
}
.lang button:hover { color: #fff; }
[data-lang="hu"] .lang button[value="hu"],
[data-lang="en"] .lang button[value="en"] { background: var(--red); color: #fff; }

/* --- header --------------------------------------------------------------- */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); position: relative; z-index: 20; }
.header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 90px; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.nav a { color: var(--dark); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav a.nav-cta { background: var(--red); color: #fff; font-weight: 700; letter-spacing: .1em; padding: 16px 28px; line-height: 20px; }
.nav a.nav-cta:hover { background: var(--dark); color: #fff; }
.menu-btn {
  display: none; width: 46px; height: 46px; padding: 0 11px; border: 1px solid var(--border);
  background: #fff; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; height: 2px; background: var(--dark); transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- shared section furniture --------------------------------------------- */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--wash { background: var(--wash); }
.section-head { margin-bottom: 60px; }
.section-head--center { text-align: center; }
.section-head--narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: 16px; color: var(--text); text-transform: uppercase; line-height: 24px;
  letter-spacing: .1em; font-weight: 400; border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.title { font-size: clamp(28px, 4vw, 50px); line-height: 1.2; margin-top: 14px; text-wrap: pretty; }
.intro { font-size: 16px; line-height: 30px; margin-top: 20px; }
.lead { font-size: 18px; line-height: 32px; color: var(--dark); }
.num { font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: .1em; }

/* backgrounds: one element carries the photo, one the tint */
.bg-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.bg-tint { position: absolute; inset: 0; pointer-events: none; }

/* --- home hero ------------------------------------------------------------ */
.hero { position: relative; background: var(--banner); overflow: hidden; }
.hero .bg-tint { background: rgba(21, 21, 21, .6); }
.hero__inner { position: relative; padding: clamp(90px, 14vw, 200px) 15px; text-align: center; }
.hero__kicker {
  display: inline-block; font-size: clamp(15px, 2vw, 20px); color: #fff; border-bottom: 2px solid #fff;
  padding-bottom: 4px; line-height: 1.4;
}
.hero h1 { color: #fff; font-size: clamp(34px, 7vw, 90px); line-height: 1.1; font-weight: 800; margin: 27px 0 41px; text-wrap: pretty; }
.hero p { color: #e6e6e6; font-size: 17px; line-height: 32px; max-width: 720px; margin: 0 auto 41px; }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- red call-to-action band ---------------------------------------------- */
.band { background: var(--red); }
.band .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h3 { color: #fff; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.3; }

/* --- home: about ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 60px; align-items: center; }
.split > * { min-width: 0; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 520px; object-fit: cover; display: block; }
.badge { position: absolute; right: -10px; bottom: -30px; background: var(--red); color: #fff; padding: 28px 36px; max-width: 230px; }
.badge strong { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: #fff; }
.badge span { display: block; font-size: 14px; line-height: 22px; color: #fff; margin-top: 8px; }
.about-copy .title { margin: 16px 0 26px; }
.about-copy .lead { margin-bottom: 18px; }
.about-copy p + p { margin-top: 0; }
.checks { display: grid; gap: 12px; margin: 28px 0 34px; }
.checks li { position: relative; padding-left: 30px; color: var(--dark); font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* --- cards ---------------------------------------------------------------- */
.grid-300 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: #fff; border: 2px solid var(--border); padding: 44px 40px; transition: all .4s ease; }
.card:hover { box-shadow: 0 10px 60px 0 rgba(0, 0, 0, .1); border-color: #fff; }
.card h3 { font-size: 22px; line-height: 32px; margin: 14px 0 16px; }

/* --- home: stats band ----------------------------------------------------- */
.stats { position: relative; background: var(--banner); overflow: hidden; }
.stats .bg-tint { background: rgba(21, 21, 21, .8); }
.stats__grid {
  position: relative; padding: clamp(60px, 8vw, 110px) 15px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center;
}
.stats strong { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: #fff; line-height: 1.1; }
.stats span { display: block; color: var(--stats-text); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin-top: 10px; }

/* --- home: reference teaser ----------------------------------------------- */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 50px; }
.link-more { color: var(--dark); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; border-bottom: 2px solid var(--red); padding-bottom: 6px; }
.link-more:hover { color: var(--red); }
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.teasers img { width: 100%; height: 280px; object-fit: cover; display: block; }
.teasers h3 { font-size: 20px; line-height: 30px; margin-top: 20px; }
.teasers h3 a { color: var(--dark); }
.teasers h3 a:hover { color: var(--red); }
.teasers p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- process grid --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--border); }
.steps > div { background: #fff; padding: 40px 36px; }
.steps h3 { font-size: 20px; line-height: 30px; margin: 12px 0; }
.steps p { font-size: 15px; line-height: 28px; }

/* --- inner-page banner ---------------------------------------------------- */
.banner { position: relative; background: var(--banner); overflow: hidden; }
.banner .bg-tint { background: rgba(21, 21, 21, .72); }
.banner__inner { position: relative; padding: clamp(70px, 9vw, 120px) 15px; text-align: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; align-items: center; margin-bottom: 12px; font-size: 18px; font-weight: 500; color: #fff; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--red); }
.crumbs i { font-style: normal; color: var(--red); }
.banner h1 { color: #fff; font-size: clamp(32px, 6vw, 70px); line-height: 1.15; font-weight: 800; text-wrap: pretty; }

/* --- bemutatkozás --------------------------------------------------------- */
.prose .lead { margin: 26px 0 18px; }
.prose p + p { margin-top: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.thumbs button { border: none; padding: 0; background: var(--wash); aspect-ratio: 1 / 1; overflow: hidden; display: block; width: 100%; cursor: zoom-in; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.thumbs button:hover img { transform: scale(1.06); }
.hint { font-size: 13px; line-height: 22px; color: var(--text); margin-top: 12px; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.why > div { background: #fff; padding: 44px 36px; border-bottom: 4px solid var(--red); }
.why h3 { font-size: 20px; line-height: 30px; margin-bottom: 14px; }
.why p { font-size: 15px; line-height: 28px; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.partners div { background: #fff; border: 1px solid var(--border); padding: 36px 20px; text-align: center; font-weight: 700; color: var(--dark); letter-spacing: .08em; }
.facts { background: var(--dark); padding: clamp(50px, 7vw, 90px) 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.facts small { display: block; color: var(--label); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.facts b, .facts a { color: #fff; font-size: 18px; font-weight: 600; }
.facts a:hover { color: var(--red); }

/* --- referenciák ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 50px; }
.filters button {
  border: 2px solid var(--border); background: #fff; color: var(--dark); font-size: 13px; line-height: 20px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 14px 26px;
}
.filters button[aria-pressed="true"] { background: var(--red); color: #fff; }
.ref-card { background: #fff; border: 2px solid var(--border); transition: all .4s ease; display: flex; flex-direction: column; }
.ref-card:hover { box-shadow: 0 10px 60px 0 rgba(0, 0, 0, .1); border-color: #fff; }
.ref-card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.ref-card__img { display: block; overflow: hidden; }
.ref-card__img img { transition: transform .4s ease; }
.ref-card:hover .ref-card__img img { transform: scale(1.04); }
.ref-card__body { padding: 30px 30px 34px; flex: 1; display: flex; flex-direction: column; }
.ref-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ref-card__meta { font-size: 13px; line-height: 20px; color: var(--label); }
.ref-card h3 a { color: var(--dark); }
.ref-card h3 a:hover { color: var(--red); }
.ref-card__foot { margin-top: auto; padding-top: 18px; }
.ref-card__more { color: var(--dark); font-size: 13px; line-height: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.ref-card__more:hover { color: var(--red); }
.ref-empty { text-align: center; margin-top: 10px; }

/* --- one reference ---------------------------------------------------------- */
.ref-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.ref-detail__text .lead { margin: 0 0 22px; }
.ref-detail__back { margin-top: 40px; }
.ref-detail__facts { background: var(--wash); padding: 34px 30px; }
.ref-detail__facts dl { margin: 0 0 28px; display: grid; gap: 18px; }
.ref-detail__facts dt { font-size: 13px; line-height: 20px; text-transform: uppercase; letter-spacing: .1em; color: var(--label); }
.ref-detail__facts dd { margin: 4px 0 0; font-size: 17px; line-height: 26px; font-weight: 600; color: var(--dark); }
.chip { display: inline-block; background: var(--wash); color: var(--red); font-size: 12px; line-height: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; }
.ref-card h3 { font-size: 20px; line-height: 30px; margin: 16px 0 10px; }
.ref-card p { font-size: 15px; line-height: 28px; }

/* --- galéria ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; grid-auto-flow: dense; }
.gallery .wide { grid-column: span 2; }
.gallery .full { grid-column: 1 / -1; height: clamp(260px, 48vw, 560px); }
.gallery button { border: none; padding: 0; background: var(--wash); height: 340px; overflow: hidden; display: block; width: 100%; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }

/* --- adatlapok ------------------------------------------------------------ */
.docs { background: #fff; border: 2px solid var(--border); margin-bottom: 30px; }
.docs__head { padding: 26px; background: var(--dark); }
.docs__head h3 { color: #fff; font-size: 20px; letter-spacing: .06em; }
.doc-row {
  display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(180px, 1.6fr) auto; gap: 20px;
  align-items: center; padding: 22px 26px; border-top: 1px solid var(--border);
}
.doc-row b { font-size: 16px; font-weight: 600; color: var(--dark); }
.doc-row span { font-size: 15px; }
.doc-links { display: flex; gap: 18px; flex-wrap: wrap; }
.doc-links a { color: var(--dark); font-size: 13px; line-height: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.doc-links a:hover { color: var(--red); }
.note-box { background: var(--wash); padding: 34px 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.note-box p { font-size: 16px; line-height: 30px; max-width: 640px; }

/* --- RAL chart ------------------------------------------------------------ */
.search { display: flex; justify-content: center; margin-bottom: 50px; }
.search input, .field {
  width: min(420px, 100%); border: 2px solid var(--border); background: #fff; padding: 16px 18px;
  font-family: inherit; font-size: 15px; line-height: 24px; color: var(--dark); outline: none;
}
.search input:focus, .field:focus { border-color: var(--red); }
.ral-group { margin-bottom: 60px; }
.ral-group h3 { font-size: 22px; line-height: 32px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--border); background: #fff; }
.swatch i { display: block; height: 92px; }
.swatch div { padding: 12px 14px 14px; }
.swatch b { display: block; font-size: 13px; line-height: 22px; font-weight: 700; color: var(--dark); letter-spacing: .02em; }
.swatch span { display: block; font-size: 12px; line-height: 18px; color: var(--text); }
.ral-empty { text-align: center; margin: -20px 0 60px; }

/* --- kapcsolat ------------------------------------------------------------ */
.contact-list { display: grid; gap: 2px; background: var(--border); border: 1px solid var(--border); margin-top: 40px; }
.contact-list > div { background: #fff; padding: 26px 28px; }
.contact-list small { display: block; font-size: 13px; line-height: 24px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 6px; }
.contact-list a, .contact-list b { font-size: 18px; font-weight: 600; color: var(--dark); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--red); }
.quote { background: var(--wash); padding: clamp(30px, 4vw, 50px); }
.quote h3 { font-size: 24px; line-height: 34px; margin-bottom: 26px; }
.quote form { display: grid; gap: 16px; }
.quote .field { width: 100%; }
.quote textarea.field { resize: vertical; }
.quote button { background: var(--red); color: #fff; border: none; font-size: 14px; line-height: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 22px 40px; transition: all .4s ease; }
.quote button:hover { background: var(--dark); }
.quote .hint { line-height: 24px; margin-top: 0; }
.asks { background: var(--dark); padding: clamp(50px, 7vw, 90px) 0; }
.asks .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.asks em { display: block; font-style: normal; font-size: 14px; font-weight: 700; color: var(--salmon); letter-spacing: .1em; margin-bottom: 12px; }
.asks p { color: #fff; font-size: 18px; font-weight: 600; }

/* --- footer --------------------------------------------------------------- */
.footer { background: var(--dark); padding: clamp(60px, 8vw, 110px) 0 0; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 50px; padding-bottom: 70px; }
.footer .logo { margin-bottom: 26px; }
.footer p { color: var(--footer-text); font-size: 15px; line-height: 30px; margin-bottom: 24px; }
.footer h3 { font-size: 20px; color: #fff; margin-bottom: 26px; }
.footer-contacts { display: grid; gap: 10px; }
.footer-contacts li { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.footer-contacts li:last-child { border-bottom: 0; }
.footer-contacts a { color: #fff; font-size: 14px; }
.footer-contacts a:hover { color: var(--red); }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-links li { color: var(--footer-text); font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer .btn { font-size: 13px; padding: 18px 36px; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer__bottom p { color: var(--footer-text); font-size: 14px; margin: 0; }

/* --- lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 10, .92); display: none;
  align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border: none; background: #fff; color: var(--dark);
  font-size: 22px; font-weight: 700; line-height: 1;
}
.lightbox button:hover { background: var(--red); color: #fff; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close { right: 14px; top: 14px; background: var(--red); color: #fff; }
.lightbox .lb-close:hover { background: #fff; color: var(--dark); }
.lb-count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: 14px; }

/* --- 404 ------------------------------------------------------------------ */
.notfound { text-align: center; }
.notfound .title { margin-bottom: 20px; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .menu-btn { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 15px 20px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .08); border-top: 1px solid var(--border);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
  .nav a.nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; padding: 16px 28px; }
}
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-detail { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .topbar__tag { display: none; }
  .topbar .wrap { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
  .topbar__right { gap: 8px 18px; justify-content: center; }
  .header .wrap { min-height: 72px; }
  .badge { right: 10px; bottom: -24px; padding: 20px 24px; }
  .badge strong { font-size: 36px; }
  .about-photo img { height: 380px; }
  .doc-row { grid-template-columns: 1fr; gap: 6px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery button { height: 260px; }
  .card { padding: 34px 28px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .btn-red, .btn-ghost { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 600px) {
  .steps, .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .wide { grid-column: auto; }
}
@media (max-width: 400px) {
  .split, .grid-300, .why { grid-template-columns: minmax(0, 1fr); }
  .contact-list > div { padding: 22px 20px; }
}
@media print {
  .topbar, .header, .band, .footer, .lightbox, .menu-btn { display: none !important; }
  .hero, .banner, .stats { background: none !important; }
  .bg-photo, .bg-tint { display: none; }
  .hero h1, .banner h1, .stats strong { color: #000; }
}
