/* ============================================================
   Animax Okna - okna, drzwi, bramy (Łódź)
   Design: grafit/antracyt + czerwień marki, Montserrat + Inter
   ============================================================ */
:root {
  --ink: #1E2126;
  --ink-2: #262A31;
  --ink-3: #313640;
  --red: #E1141C;
  --red-dk: #B70F16;
  --red-soft: #fdecec;
  --paper: #F4F6F8;
  --paper-2: #eceff3;
  --white: #fff;
  --text: #3c424b;
  --text-soft: #6b7480;
  --line: #e2e6ea;
  --line-dk: rgba(255,255,255,.12);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --head: 'Montserrat', 'Inter', sans-serif;
  --maxw: 1200px;
  --shadow: 0 18px 40px rgba(30,33,38,.10);
  --shadow-sm: 0 8px 20px rgba(30,33,38,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.16; font-weight: 700; letter-spacing: -.006em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* ---- Kicker / section heads ---- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--red); border-radius: 2px; }
.ink .kicker, .hero .kicker { color: #ff5a60; }
.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head h2 { font-size: 2.05rem; margin: 16px 0 14px; }
.sec-head p { color: var(--text-soft); font-size: 1.08rem; }
.ink .sec-head h2 { color: #fff; }
.ink .sec-head p { color: rgba(255,255,255,.72); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: .92rem; letter-spacing: .02em; padding: 15px 30px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: all .22s ease; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(225,20,28,.28); }
.btn-red:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(183,15,22,.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }

/* ============================================================
   TOPBAR + NAV
   ============================================================ */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 18px; }
.topbar .tb-left { display: flex; gap: 22px; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar i { color: var(--red); }
.topbar .tb-fb i { color: rgba(255,255,255,.7); }
.topbar .tb-fb:hover i { color: #fff; }

.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark svg { width: 42px; height: 42px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: .01em; }
.brand-name em { font-style: normal; color: var(--red); }
.brand-tag { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); margin-top: 3px; font-weight: 600; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > a { font-family: var(--head); font-weight: 600; font-size: .92rem; color: var(--ink); position: relative; padding: 6px 0; transition: color .2s; }
.nav-menu > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--red); transition: right .28s; }
.nav-menu > a:hover::after, .nav-menu > a.active::after { right: 0; }
.nav-menu > a.active { color: var(--red); }
.nav-menu a.nav-cta { display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; background: var(--red); color: #fff !important; border-radius: 6px; font-weight: 600; box-shadow: 0 8px 20px rgba(225,20,28,.26); transition: all .22s; }
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta:hover { background: var(--red-dk); transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,22,26,.92) 30%, rgba(20,22,26,.55) 70%, rgba(20,22,26,.35)); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 32px 90px; }
.hero-main h1 { font-size: 3rem; color: #fff; margin: 20px 0 22px; letter-spacing: -.012em; }
.hero-main h1 em { font-style: normal; color: #ff5a60; }
.hero-lead { font-size: 1.16rem; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-actions .callnum { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; color: #fff; font-size: 1.05rem; }
.hero-actions .callnum i { color: var(--red); }
.hero-facts { display: flex; gap: 8px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; }
.hero-facts .f { flex: 1; }
.hero-facts .f b { display: block; font-family: var(--head); font-size: 1.85rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-facts .f span { display: block; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 7px; }

/* callback form (hero + strona kontakt) */
.cb-card { background: #fff; border-radius: 12px; padding: 30px 28px; box-shadow: 0 30px 60px rgba(0,0,0,.32); color: var(--text); }
.cb-card h3 { font-size: 1.28rem; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; line-height: 1.2; }
.cb-card h3 i { color: var(--red); margin-top: 3px; }
.cb-card .cb-sub { color: var(--text-soft); font-size: .92rem; margin: 8px 0 18px; }
.cb-field { margin-bottom: 12px; }
.cb-field input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--sans); font-size: .98rem; transition: border-color .2s; }
.cb-field input:focus { outline: none; border-color: var(--red); }
.cb-consent { display: flex; gap: 9px; align-items: flex-start; font-size: .74rem; color: var(--text-soft); margin: 4px 0 14px; line-height: 1.5; }
.cb-consent input { margin-top: 3px; accent-color: var(--red); flex: 0 0 auto; }
.cb-card .btn { width: 100%; justify-content: center; }
.cb-note { text-align: center; font-size: .78rem; color: var(--text-soft); margin-top: 12px; }
.form-msg { padding: 12px 15px; border-radius: 6px; font-size: .9rem; margin-bottom: 14px; }
.form-msg.ok { background: #e8f6ec; color: #1c7a3e; }
.form-msg.err { background: var(--red-soft); color: var(--red-dk); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 92px 0; }
.section.alt { background: var(--paper); }
.ink { background: var(--ink); color: rgba(255,255,255,.82); }

/* Kategorie oferty */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-ico { width: 58px; height: 58px; border-radius: 10px; background: var(--red-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.cat-ico svg { width: 32px; height: 32px; stroke: var(--red); fill: none; stroke-width: 2; }
.cat-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.cat-card p { color: var(--text-soft); font-size: .98rem; }
.cat-card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--red); font-weight: 700; font-family: var(--head); font-size: .88rem; }
.cat-card .more i { transition: transform .2s; }
.cat-card:hover .more i { transform: translateX(4px); }

/* Dlaczego my */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-item { position: relative; padding-top: 20px; }
.why-item .n { font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--red); letter-spacing: .1em; }
.why-item h4 { font-size: 1.18rem; margin: 12px 0 8px; }
.why-item p { color: var(--text-soft); font-size: .96rem; }
.ink .why-item h4 { color: #fff; }
.ink .why-item p { color: rgba(255,255,255,.66); }
.ink .why-item { border-top: 3px solid rgba(255,255,255,.14); }
.ink .why-item .n { color: #ff5a60; }

/* Realizacje / galeria */
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gal-filters button { font-family: var(--head); font-weight: 600; font-size: .86rem; padding: 9px 20px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.gal-filters button.active, .gal-filters button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; aspect-ratio: 4/3; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(30,33,38,.5); opacity: 0; transition: opacity .3s; font-size: 1.4rem; }
.gallery figure:hover::after { opacity: 1; }
.gallery figure .tag { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 4px; }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 24px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 26px; right: -0px; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.step .sn { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 8px 18px rgba(225,20,28,.28); }
.step h4 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .95rem; }

/* Marki */
.marki-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.marki-row img { height: 42px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marki-row img:hover { filter: grayscale(0); opacity: 1; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.08rem; color: var(--ink); padding: 22px 40px 22px 0; position: relative; }
.faq-q i { position: absolute; right: 4px; top: 24px; color: var(--red); transition: transform .3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 0 22px; color: var(--text-soft); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(225,20,28,.28), transparent 70%); }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 62px 0; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: 2.1rem; margin: 14px 0 10px; }
.cta-inner p { color: rgba(255,255,255,.74); }
.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-phone { font-family: var(--head); font-weight: 700; font-size: 2.1rem; color: #fff; display: inline-flex; align-items: center; gap: 14px; }
.cta-phone i { color: var(--red); }

/* Oferta - naprzemienne bloki */
.offer-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 46px 0; border-bottom: 1px solid var(--line); }
.offer-block:nth-child(even) .ob-media { order: -1; }
.offer-block .ob-media { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); background: var(--paper-2); }
.offer-block .ob-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-block .ob-ico { width: 52px; height: 52px; border-radius: 10px; background: var(--red-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.offer-block .ob-ico svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 2; }
.offer-block h2 { font-size: 1.7rem; margin-bottom: 12px; }
.offer-block p { color: var(--text-soft); }
.offer-block .feats { list-style: none; margin-top: 18px; display: grid; gap: 11px; }
.offer-block .feats li { display: flex; gap: 12px; align-items: flex-start; }
.offer-block .feats i { color: var(--red); margin-top: 5px; font-size: .82rem; }

/* Page head */
.page-head { background: var(--ink); color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: 0; bottom: 0; width: 40%; height: 100%; background: linear-gradient(135deg, transparent, rgba(225,20,28,.14)); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: 2.7rem; margin: 14px 0 12px; }
.page-head p { color: rgba(255,255,255,.76); max-width: 640px; font-size: 1.08rem; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: #fff; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ci-item .ci-ico { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 9px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.ci-item h4 { font-size: 1rem; margin-bottom: 3px; }
.ci-item p, .ci-item a { color: var(--text-soft); font-size: .96rem; }
.ci-item a:hover { color: var(--red); }
.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-top: 30px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin: 12px 0 6px; font-family: var(--head); }
.cform input, .cform textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--sans); font-size: .98rem; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--red); }
.cform textarea { min-height: 130px; resize: vertical; }

/* Blog list */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .pc-img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .pc-img img { transform: scale(1.05); }
.post-card .pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-date { font-size: .78rem; color: var(--red); font-weight: 700; font-family: var(--head); letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { font-size: 1.2rem; margin: 8px 0 10px; }
.post-card p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.post-card .more { margin-top: 14px; color: var(--red); font-weight: 700; font-family: var(--head); font-size: .88rem; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-body { font-size: 1.08rem; color: var(--text); }
.article-body h2 { font-size: 1.6rem; margin: 34px 0 14px; }
.article-body h3 { font-size: 1.25rem; margin: 26px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-hero { border-radius: 12px; overflow: hidden; margin-bottom: 30px; aspect-ratio: 16/8; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: #16181c; color: rgba(255,255,255,.66); padding-top: 64px; }
.foot .foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot .fb-lock { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.foot .fb-name { font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: #fff; }
.foot .fb-name em { font-style: normal; color: var(--red); }
.foot .fc-about { font-size: .95rem; max-width: 320px; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { list-style: none; }
.foot ul li { margin-bottom: 10px; }
.foot ul a:hover { color: #fff; }
.foot .fc-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot .fc-contact i { color: var(--red); margin-top: 4px; }
.foot-bottom { padding: 20px 0; font-size: .82rem; color: rgba(255,255,255,.44); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom a:hover { color: #fff; }

/* Floating call */
.floating-call { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; display: none; align-items: center; justify-content: center; font-size: 1.35rem; z-index: 80; box-shadow: 0 10px 26px rgba(225,20,28,.4); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225,20,28,.5); } 70% { box-shadow: 0 0 0 16px rgba(225,20,28,0); } 100% { box-shadow: 0 0 0 0 rgba(225,20,28,0); } }

/* ============================================================
   MODAL (callback)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,22,26,.72); backdrop-filter: blur(3px); }
.modal-box { position: relative; z-index: 1; width: 100%; max-width: 460px; animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; right: -8px; top: -14px; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: none; color: var(--ink); cursor: pointer; font-size: 1rem; box-shadow: var(--shadow-sm); z-index: 2; }
.modal-close:hover { background: var(--red); color: #fff; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; background: rgba(20,22,26,.94); z-index: 210; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 22px; right: 30px; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* ---- reveal ---- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .cb-card { max-width: 460px; }
  .cat-grid, .blog-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .step:not(:last-child)::after { display: none; }
  .cta-inner, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  .topbar .tb-left { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; top: 78px; right: 0; width: min(330px, 86vw); height: calc(100vh - 78px); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px; box-shadow: -12px 0 40px rgba(30,33,38,.16); transform: translateX(110%); transition: transform .3s; overflow-y: auto; }
  .nav-menu.active { transform: translateX(0); }
  .nav-menu > a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-menu a.nav-cta { margin-top: 16px; justify-content: center; }
  .floating-call { display: flex; }
  .offer-block { grid-template-columns: 1fr; gap: 24px; }
  .offer-block:nth-child(even) .ob-media { order: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 62px 0; }
  .hero .container { padding: 54px 20px 62px; }
  .hero-main h1 { font-size: 2.4rem; }
  .sec-head h2 { font-size: 1.85rem; }
  .cat-grid, .blog-grid, .gallery, .why-grid { grid-template-columns: 1fr; }
  .topbar .tb-right { gap: 14px; font-size: .8rem; }
  .topbar .tb-email { display: none; }
  .cform .row2 { grid-template-columns: 1fr; }
  .cta-phone { font-size: 1.7rem; }
  .page-head h1 { font-size: 2rem; }
  .foot .foot-top { grid-template-columns: 1fr; }
  .hero-facts { flex-wrap: wrap; gap: 18px; }
  .hero-facts .f { flex: 1 1 40%; }
}
