/* Instalatér · technical blueprint: deep navy, grid lines, mono labels, square corners */
.t-instalater {
  --bg: #0A0F1A; --panel: #0F1726; --panel-2: #142035; --text: #E6EDF7; --muted: #8A98AD;
  --line: rgba(122, 170, 255, 0.16); --blue: #3BA9FF; --blue-ink: #04121F; --red: #FF4D4D;
  --mono: 'JetBrains Mono', ui-monospace, monospace; --spring: cubic-bezier(0.32, 0.72, 0, 1);
  font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--text); font-size: 16px; line-height: 1.6;
  background-color: var(--bg);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
}
.t-instalater .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.t-instalater h1, .t-instalater h2, .t-instalater h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.t-instalater :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.t-instalater section { padding: 96px 0; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--blue); text-transform: uppercase; margin-bottom: 16px; }
.h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 40px; }

/* Alert strip */
.alert { background: var(--red); color: #fff; font-family: var(--mono); font-size: 12px; text-align: center; padding: 8px 16px; letter-spacing: 0.02em; }
.alert a { color: #fff; font-weight: 500; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: middle; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 200; background: rgba(10, 15, 26, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: 0.08em; margin-right: auto; }
.logo small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: 0.06em; }
.mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--blue); color: var(--blue-ink); border-radius: 6px; font-size: 18px; }
.links { display: flex; gap: 4px; }
.links a { font-size: 14px; text-decoration: none; padding: 8px 12px; border-radius: 6px; color: var(--muted); transition: color 200ms, background-color 200ms; }
.links a em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--blue); margin-right: 6px; }
.links a:hover, .links a[aria-current] { color: var(--text); background: var(--panel-2); }
.phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; text-decoration: none; border: 1px solid var(--blue); color: var(--blue); padding: 8px 14px; border-radius: 6px; transition: background-color 200ms, color 200ms; }
.phone:hover { background: var(--blue); color: var(--blue-ink); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; width: 16px; height: 2px; background: var(--text); transition: transform 500ms var(--spring), top 500ms var(--spring); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; }
.menu-open .burger span:nth-child(1) { top: 18.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 18.5px; transform: rotate(-45deg); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--panel); border-left: 1px solid var(--line); padding: 120px 24px 24px; transform: translateX(100%); transition: transform 500ms var(--spring); z-index: 190; }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer a { font-size: 22px; text-decoration: none; padding: 12px; border-radius: 6px; }
.drawer a em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--blue); margin-right: 10px; }
.drawer a[aria-current] { background: var(--panel-2); }
.menu-open .drawer { transform: none; }
@media (max-width: 900px) { .links, .phone { display: none; } .burger { display: block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--blue-ink); font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 6px; text-decoration: none; border: 1px solid var(--blue); cursor: pointer; font-family: inherit; transition: filter 200ms; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); filter: none; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mono-link { font-family: var(--mono); font-size: 13px; color: var(--blue); text-decoration: none; }
.mono-link:hover { text-decoration: underline; }

/* Hero */
.t-instalater .hero { padding: 80px 0 96px; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1, .phero h1 { font-size: clamp(40px, 6vw, 72px); }
.hero h1 span, .phero h1 span { color: var(--blue); }
.sub { color: var(--muted); font-size: 18px; max-width: 560px; margin-top: 24px; }
.frame { position: relative; padding: 16px; border: 1px solid var(--line); background: rgba(15, 23, 38, 0.6); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
.frame .c { position: absolute; width: 20px; height: 20px; border: 2px solid var(--blue); }
.c.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; } .c.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.c.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; } .c.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.frame figcaption { position: absolute; left: -24px; top: 48px; background: var(--panel); border: 1px solid var(--line); padding: 10px 14px; font-family: var(--mono); }
.frame figcaption.b2 { left: auto; right: -24px; top: auto; bottom: 48px; }
.frame figcaption span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; }
.frame figcaption b { font-size: 18px; color: var(--blue); font-weight: 500; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 48px; } .frame img { aspect-ratio: 4 / 3; } .frame figcaption { left: 8px; } .frame figcaption.b2 { right: 8px; } }

/* Specs */
.t-instalater .specs { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.specs-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.specs-in > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.specs-in > div:first-child { border-left: 0; }
.specs span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.specs strong { display: block; font-size: 36px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
@media (max-width: 700px) { .specs-in { grid-template-columns: 1fr 1fr; } .specs-in > div:nth-child(3) { border-left: 0; } .specs-in > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Service rows */
.srows { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 56px 1.1fr 2fr 160px 32px; gap: 24px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 300ms var(--spring), padding 400ms var(--spring); }
.srow:hover { background: var(--panel); padding-left: 20px; }
.srow .no { font-family: var(--mono); color: var(--blue); font-size: 13px; }
.srow .nm { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.srow .nm i { color: var(--blue); }
.srow .ds { color: var(--muted); }
.srow .pr { font-family: var(--mono); font-size: 13px; text-align: right; }
.srow .go { font-size: 20px; color: var(--muted); transition: transform 400ms var(--spring), color 200ms; }
.srow:hover .go { transform: translate(3px, -3px); color: var(--blue); }
@media (max-width: 900px) { .srow { grid-template-columns: 40px 1fr 24px; } .srow .ds, .srow .pr { grid-column: 2; } .srow .pr { text-align: left; } .srow .go { grid-row: 1; grid-column: 3; } }

/* Timeline */
.process { background: rgba(15, 23, 38, 0.7); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.tline::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line); }
.tline li { position: relative; padding-top: 36px; }
.tline .dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border: 2px solid var(--blue); background: var(--bg); border-radius: 50%; }
.tline b { font-size: 20px; }
.tline p { color: var(--muted); margin-top: 6px; font-size: 15px; }
@media (max-width: 800px) { .tline { grid-template-columns: 1fr; } .tline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; } .tline li { padding: 0 0 0 36px; } }

/* Work cards */
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.row-head .h2 { margin-bottom: 40px; }
.wgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wcard { display: block; border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color 300ms, transform 500ms var(--spring); }
.wcard:hover { border-color: var(--blue); transform: translateY(-4px); }
.wimg { position: relative; overflow: hidden; }
.wimg img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1000ms var(--spring); }
.wcard:hover .wimg img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; background: var(--blue); color: var(--blue-ink); padding: 4px 8px; border-radius: 4px; }
.wmeta { padding: 20px 24px 24px; }
.wmeta h3 { font-size: 22px; }
.wmeta dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; margin-top: 14px; font-size: 14px; }
.wmeta dt { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; padding-top: 3px; }
@media (max-width: 760px) { .wgrid { grid-template-columns: 1fr; } }

/* Reviews */
.logs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.log { border: 1px solid var(--line); background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.log .ts { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.log blockquote { font-size: 17px; flex: 1; }
.log figcaption { font-weight: 600; }
.log figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .logs { grid-template-columns: 1fr; } }

/* SOS */
.t-instalater .sos { padding: 0 0 96px; }
.sos-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; border: 1px solid rgba(255, 77, 77, 0.4); background: linear-gradient(135deg, rgba(255, 77, 77, 0.12), rgba(59, 169, 255, 0.06)); padding: 48px; }
.sos .label { color: var(--red); }
.sos h2 { font-size: clamp(32px, 4vw, 48px); }
.sos p { color: var(--muted); margin-top: 12px; }
.sos-num { display: block; text-align: center; text-decoration: none; background: var(--red); color: #fff; padding: 28px; font-family: var(--mono); font-size: clamp(22px, 3vw, 32px); font-weight: 500; border-radius: 6px; }
.sos-num small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; }
@media (max-width: 800px) { .sos-in { grid-template-columns: 1fr; padding: 28px; } }

/* Page hero */
.phero { padding: 96px 0 56px !important; }

/* Spec sheets */
.sheets { display: flex; flex-direction: column; gap: 24px; }
.sheet-card { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line); background: var(--panel); }
.sc-img { position: relative; }
.sc-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.sc-body { padding: 36px; }
.sc-body h2 { display: flex; align-items: center; gap: 12px; font-size: 30px; }
.sc-body h2 i { color: var(--blue); }
.sc-body p { color: var(--muted); margin-top: 12px; }
.sc-body table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 15px; }
.sc-body th { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--blue); width: 44px; text-align: left; }
.sc-body td, .sc-body th { padding: 12px 0; border-top: 1px solid var(--line); }
.sc-body .ok { text-align: right; color: var(--blue); }
.sc-body .total td { font-family: var(--mono); font-weight: 500; color: var(--text); }
.sc-body .total td:last-child { text-align: right; color: var(--blue); }
@media (max-width: 800px) { .sheet-card { grid-template-columns: 1fr; } .sc-img img { min-height: 220px; aspect-ratio: 16 / 9; } .sc-body { padding: 24px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-family: var(--mono); font-size: 12px; color: var(--blue); font-weight: 400; }
.faq summary i { margin-left: auto; color: var(--blue); transition: transform 500ms var(--spring); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px 52px; max-width: 760px; }

/* Portfolio */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); width: max-content; max-width: 100%; margin-bottom: 32px; }
.tabs button { font-family: var(--mono); font-size: 13px; background: transparent; border: 0; border-right: 1px solid var(--line); color: var(--muted); padding: 10px 18px; cursor: pointer; transition: background-color 200ms, color 200ms; }
.tabs button:last-child { border-right: 0; }
.tabs button[aria-pressed="true"] { background: var(--blue); color: var(--blue-ink); }
.qcard { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line); background: var(--panel); }
.qcard img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.qcard blockquote { padding: 48px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.qcard blockquote span { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 20px; letter-spacing: 0; }
@media (max-width: 800px) { .qcard { grid-template-columns: 1fr; } .qcard blockquote { padding: 28px; } }

/* Contact */
.kgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.panel { border: 1px solid var(--line); background: var(--panel); padding: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.field input, .field textarea, .field select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; transition: border-color 200ms, box-shadow 200ms; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 169, 255, 0.2); }
.field.invalid input { border-color: var(--red); }
.field .err { font-family: var(--mono); font-size: 12px; color: var(--red); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; justify-content: center; }
.msg { gap: 10px; margin-top: 16px; padding: 14px; border: 1px solid var(--blue); font-size: 14px; }
.msg i { color: var(--blue); font-size: 20px; }
.kside { display: flex; flex-direction: column; gap: 24px; }
.sos-card { display: block; text-decoration: none; background: var(--red); color: #fff; padding: 28px; border-radius: 6px; }
.sos-card small { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; margin-top: 12px; }
.sos-card b { font-family: var(--mono); font-size: clamp(24px, 3vw, 30px); font-weight: 500; }
.kt { width: 100%; border-collapse: collapse; font-size: 15px; }
.kt th { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 400; text-align: left; vertical-align: top; padding: 12px 12px 12px 0; width: 90px; }
.kt td { padding: 10px 0; }
.kt tr + tr th, .kt tr + tr td { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .kgrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } .panel { padding: 22px; } }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--panel); padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; }
.foot p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: 15px; }
.foot h3 { font-family: var(--mono); font-size: 12px; color: var(--blue); font-weight: 400; margin-bottom: 12px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--blue); }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile action bar (thumb zone) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 15, 26, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 6px; font-weight: 600; text-decoration: none; background: var(--panel-2); }
  .mbar a:first-child { background: var(--red); color: #fff; }
  .t-instalater .demo-pill { bottom: 84px; }
  .t-instalater .foot { padding-bottom: 96px; }
}
