/* elektriki.lv, versija 2 "Projekti": foto vadīta lapa viņu identitātē */
:root {
  --blue: #4188D2;
  --blue-d: #2B6AAE;
  --blue-dd: #1F5A9C;
  --blue-l: #EEF4F6;
  --grey: #424242;
  --grey-2: #444444;
  --text: #22272B;
  --muted: #5B6670;
  --line: #DCE5EA;
  --white: #ffffff;
  --r: 16px;
  --r-s: 12px;
  --shadow: 0 10px 30px rgba(34, 39, 43, .10);
  --wrap: 1200px;
  --font: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dd); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--grey); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-d); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--blue); border-radius: 2px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-d); color: #fff; border-color: var(--blue-d); }
.btn-primary:hover { background: var(--blue-dd); border-color: var(--blue-dd); color: #fff; }
.btn-outline { background: #fff; color: var(--grey); border-color: var(--line); }
.btn-outline:hover { border-color: var(--grey); color: var(--grey); }
.btn-light { background: #fff; color: var(--blue-dd); border-color: #fff; }
.btn-light:hover { background: var(--blue-l); color: var(--blue-d); }
.btn-more { background: var(--grey); color: #fff; border-color: var(--grey); gap: 8px; padding: 10px 18px; min-height: 44px; }
.btn-more:hover { background: #2c2c2c; border-color: #2c2c2c; color: #fff; }
.btn-more .count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--blue-d); color: #fff; font-size: 13px; font-weight: 700; }
.btn-more .i-chev { width: 16px; height: 16px; transition: transform .3s; }
.btn-more[aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.btn-more[aria-expanded="true"] .count { display: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(34, 39, 43, .06); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--grey); font-weight: 800; letter-spacing: .06em; font-size: 17px; }
.brand svg { width: 38px; height: 38px; }
.nav { display: flex; gap: 26px; margin-left: 16px; }
.nav a { font-weight: 600; font-size: 14.5px; color: var(--grey); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--blue-d); border-color: var(--blue); }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; margin-left: auto; }
.lang button { border: 0; background: transparent; width: 44px; height: 36px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--grey); color: #fff; }
.icon-call, .burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; align-items: center; justify-content: center; cursor: pointer; }
.icon-call { background: var(--blue-d); color: #fff; }
.icon-call svg { width: 20px; height: 20px; }
.burger { background: var(--blue-l); color: var(--grey); }
.burger svg { width: 22px; height: 22px; }
.burger .i-close, .burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.menu.open { display: block; }
.menu .wrap { display: flex; flex-direction: column; gap: 4px; padding: 14px 20px 20px; height: auto; align-items: stretch; }
.menu a:not(.btn) { padding: 12px 4px; font-weight: 600; color: var(--grey); text-decoration: none; border-bottom: 1px solid var(--line); min-height: 44px; display: flex; align-items: center; }
.menu .lang { margin: 10px 0; align-self: flex-start; }

/* hero */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px 20px 64px; }
.hero-copy { position: relative; }
.hero-motif { position: absolute; left: -150px; top: 50%; width: 400px; height: 400px; transform: translateY(-58%); fill: var(--blue-l); z-index: 0; pointer-events: none; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy > .hero-motif { position: absolute; z-index: 0; }
.hero-copy h1 { max-width: 12ch; margin-bottom: 18px; }
.hero-copy .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.google { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--grey); }
.google .stars { display: inline-flex; gap: 2px; color: var(--blue); }
.google .stars svg { width: 16px; height: 16px; }
.google b { font-weight: 800; }
.hero-photos { position: relative; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-grid .shot { aspect-ratio: 4 / 5; }
.photo-grid .shot:nth-child(2) { transform: translateY(28px); }
.photo-grid .shot:nth-child(4) { transform: translateY(28px); }
.badge-plug { position: absolute; left: -8px; bottom: 34px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: var(--blue-d); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 11px 22px 11px 20px; border-radius: 6px 999px 999px 6px; box-shadow: var(--shadow); }
.badge-plug::before, .badge-plug::after { content: ""; position: absolute; left: -14px; width: 16px; height: 7px; background: var(--blue-d); border-radius: 3px 0 0 3px; }
.badge-plug::before { top: 10px; }
.badge-plug::after { bottom: 10px; }
.badge-plug svg { width: 16px; height: 16px; }

/* photo tiles */
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--blue-l); border-radius: var(--r); overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover img { transform: scale(1.04); }
.shot:focus-visible { outline-offset: 2px; }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 12px; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(to top, rgba(34, 39, 43, .72), rgba(34, 39, 43, 0)); opacity: 0; transition: opacity .25s; pointer-events: none; }
.shot:hover .cap, .shot:focus-visible .cap { opacity: 1; }

/* banner strip */
.band { position: relative; color: #fff; background: #2F4A66 url("../img/t/banner1.webp") center / cover no-repeat; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 56, 86, .88), rgba(47, 111, 179, .72)); }
.band .wrap { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 40px 20px; }
.band-item { display: flex; gap: 14px; align-items: flex-start; }
.band-item svg { flex: 0 0 auto; width: 40px; height: 40px; padding: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); }
.band-item strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.band-item span { font-size: 14px; color: rgba(255, 255, 255, .85); line-height: 1.45; }

/* sections */
.section { padding: 80px 0; }
.section-alt { background: var(--blue-l); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head .lead { margin: 0; }
.section-head .btn { flex: 0 0 auto; }

/* work showcase rows */
.work-row { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-info img { width: 56px; height: 56px; margin-bottom: 14px; }
.work-info h3 { font-size: 21px; margin-bottom: 6px; }
.work-info p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.work-info .n { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.work-media { min-width: 0; }
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; padding: 4px 4px 12px; margin: -4px -4px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; -webkit-overflow-scrolling: touch; }
.strip .shot { flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 4 / 5; scroll-snap-align: start; }
.extras { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s ease; }
.extras > div { min-height: 0; overflow: hidden; transition: visibility .45s; }
.js .extras:not(.is-open) { grid-template-rows: 0fr; }
.js .extras:not(.is-open) > div { visibility: hidden; }
.extras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 4px 4px 4px; }
.extras-grid .shot { aspect-ratio: 4 / 5; }
.extras-list { padding-top: 0; }

/* services overview */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--text); border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.svc-card img { width: 48px; height: 48px; }
.svc-card h3 { font-size: 16px; margin: 4px 0 0; }
.svc-card p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.svc-card .more { font-size: 13.5px; font-weight: 700; color: var(--blue-d); display: inline-flex; align-items: center; gap: 6px; }
.svc-card .more svg { width: 14px; height: 14px; }

/* about */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.portrait { position: relative; border-radius: var(--r); overflow: hidden; background: var(--blue-l); }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; filter: grayscale(1); }
.portrait-name { padding: 18px 22px; background: var(--grey); color: #fff; }
.portrait-name strong { display: block; font-size: 17px; }
.portrait-name span { font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--blue-l); font-weight: 600; font-size: 14px; color: var(--grey); }
.facts li b { color: var(--blue-d); font-weight: 800; }
.doc-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.doc-list li svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.doc-list li b { font-weight: 700; }
.doc-list li span { color: var(--muted); }
.doc-list.first li:first-child { border-top: 0; }
.list-foot { margin-top: 18px; }

/* partners */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding: 22px 26px; background: #fff; border-radius: var(--r); margin-bottom: 26px; }
.logos img { height: 56px; width: auto; filter: grayscale(1); opacity: .65; mix-blend-mode: multiply; }
.client-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.client { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; background: #fff; border-radius: var(--r-s); align-items: start; }
.client svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.client b { display: block; font-size: 15px; }
.client span { font-size: 13.5px; color: var(--muted); }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--blue); transition: transform .3s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; max-width: 70ch; }

/* contact + form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--blue-l); color: var(--blue); }
.contact-list a, .contact-list b { font-weight: 700; color: var(--text); text-decoration: none; font-size: 17px; }
.contact-list a:hover { color: var(--blue-d); }
.contact-list span { display: block; font-size: 13.5px; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; color: var(--text); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(65, 136, 210, .2); }
.field input[type="file"] { padding: 9px 12px; }
.field .err { display: none; font-size: 13px; color: #B3261E; margin-top: 5px; font-weight: 600; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #B3261E; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-ok { display: none; margin-top: 16px; padding: 14px 16px; background: var(--blue-l); border-left: 4px solid var(--blue); border-radius: 8px; font-weight: 600; }
.form-ok.show { display: block; }

/* footer */
.footer { background: var(--grey); color: #fff; padding: 64px 0 0; }
.footer a { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer-phone { display: inline-block; font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; line-height: 1.1; margin-bottom: 14px; }
.footer-phone:hover { color: #fff; text-decoration: underline; }
.footer p { color: rgba(255, 255, 255, .82); font-size: 14.5px; }
.footer h3 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; font-size: 14.5px; padding: 5px 0; color: rgba(255, 255, 255, .88); }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col dl { margin: 0; font-size: 14px; }
.footer-col dt { color: rgba(255, 255, 255, .78); font-size: 12.5px; margin-top: 8px; }
.footer-col dd { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0; font-size: 13px; color: rgba(255, 255, 255, .78); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* mobile sticky bar + cookie */
.sticky-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
.sticky-bar .btn { flex: 1; }
.btn-grey { background: var(--grey); color: #fff; border-color: var(--grey); }
.btn-grey:hover { background: #2c2c2c; color: #fff; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; display: none; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie.show { display: flex; }
.cookie p { margin: 0; font-size: 13.5px; flex: 1 1 260px; }
.cookie .btns { display: flex; gap: 8px; }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(20, 24, 28, .92); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 56px 16px 20px; color: #fff; touch-action: pan-y; }
.lb-inner img { max-width: min(100%, 1100px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #000; }
.lb-caption { text-align: center; padding-top: 12px; font-size: 15px; font-weight: 600; }
.lb-caption span { display: block; font-size: 13px; color: rgba(255, 255, 255, .65); font-weight: 500; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-btn:hover { background: var(--blue); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ===== services page ===== */
.page-hero { position: relative; overflow: hidden; background: var(--blue-l); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding: 56px 20px 48px; }
.page-hero .hero-motif { left: auto; right: -120px; top: -120px; width: 480px; height: 480px; fill: #fff; }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-bottom: 24px; }
.hero-aside { position: relative; z-index: 1; background: #fff; border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); }
.hero-aside ul { display: grid; gap: 8px; margin-top: 10px; }
.hero-aside li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; }
.hero-aside li svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--blue); margin-top: 3px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; grid-template-areas: "c3 c3 c1 c2" "c5 c6 c4 c4" "c7 c8 cta cta"; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; cursor: pointer; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card:focus-within { box-shadow: var(--shadow); }
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-l); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-icon { position: absolute; left: 20px; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(34, 39, 43, .14); display: flex; align-items: center; justify-content: center; }
.card-icon img { width: 42px; height: 42px; }
.card-body { position: relative; padding: 24px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body .card-icon { top: -36px; }
.card-body h2 { font-size: 21px; margin: 32px 0 8px; letter-spacing: -.01em; }
.card-body h2 button { all: unset; cursor: pointer; display: inline; }
.card-body h2 button::after { content: ""; position: absolute; inset: 0; }
.card-body h2 button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.card-body > p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.list li { position: relative; padding: 5px 0 5px 24px; font-size: 14.5px; }
.list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-l); border: 3px solid var(--blue); }
.card-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.card .btn-more { position: relative; z-index: 1; margin-top: 8px; align-self: flex-start; }
.card.big { grid-column: span 2; }
.card.big .card-photo { aspect-ratio: 2.2 / 1; }
.card.big .card-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
#c1 { grid-area: c1; } #c2 { grid-area: c2; } #c3 { grid-area: c3; } #c4 { grid-area: c4; } #c5 { grid-area: c5; } #c6 { grid-area: c6; } #c7 { grid-area: c7; } #c8 { grid-area: c8; } .cta-card { grid-area: cta; }
.cta-card { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px; border-radius: var(--r); background: var(--blue-d); color: #fff; }
.cta-card h2 { font-size: 26px; margin: 0; }
.cta-card p { color: #fff; margin: 0; }
.cta-card .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cta-card .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.cta-card .btn-outline:hover { border-color: #fff; color: #fff; }

/* drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20, 24, 28, .55); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer-backdrop.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; z-index: 90; transform: translateX(104%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0, 0, 0, .2); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-head .eyebrow { margin: 0; }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue-l); color: var(--grey); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer-close svg { width: 22px; height: 22px; }
.drawer-body { overflow-y: auto; padding: 0 24px 24px; flex: 1; }
.drawer-photo { position: relative; margin: 0 -24px 48px; aspect-ratio: 16 / 9; background: var(--blue-l); }
.drawer-photo img { width: 100%; height: 100%; object-fit: cover; }
.drawer-photo .card-icon { bottom: -30px; left: 24px; }
.drawer-body h2 { font-size: 26px; margin-bottom: 10px; }
.drawer-body h3 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.drawer-body .lead { font-size: 16px; }
.drawer-body .list li { font-size: 15px; }
.drawer-body .note { background: var(--blue-l); border-radius: var(--r-s); padding: 14px 16px; font-size: 14.5px; margin-top: 18px; }
.drawer-foot { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.drawer-foot .btn { flex: 1; }
body.no-scroll { overflow: hidden; }
.lb[open] { display: block; }

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 1023px) {
  .nav, .btn-call { display: none; }
  .header .lang { display: none; }
  .icon-call, .burger { display: flex; }
  .icon-call { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 40px 20px 56px; }
  .hero-copy h1 { max-width: 16ch; }
  .band .wrap { grid-template-columns: 1fr; gap: 18px; padding: 32px 20px; }
  .section { padding: 64px 0; }
  .work-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .work-info { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: center; }
  .work-info img { margin: 0; grid-row: span 2; }
  .work-info h3 { margin: 0; }
  .work-info p { margin: 0; grid-column: 2; }
  .work-info .n { grid-column: 2; margin: 2px 0 0; }
  .work-info .btn-more { grid-column: 2; justify-self: start; margin-top: 10px; }
  .strip .shot { flex-basis: calc((100% - 24px) / 3); }
  .extras-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 72px; }
  .cookie { bottom: 84px; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "c1 c2" "c3 c3" "c4 c4" "c5 c6" "c7 c8" "cta cta"; }
}
@media (max-width: 767px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-grid { padding: 28px 16px 48px; gap: 36px; }
  .hero-motif { width: 300px; height: 300px; left: -120px; top: -40px; }
  .photo-grid { gap: 10px; }
  .photo-grid .shot:nth-child(2), .photo-grid .shot:nth-child(4) { transform: translateY(18px); }
  .badge-plug { left: 0; bottom: 20px; font-size: 12px; padding: 9px 16px 9px 14px; }
  .badge-plug::before, .badge-plug::after { left: -12px; width: 13px; height: 6px; }
  .section { padding: 52px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .strip .shot { flex-basis: 62%; }
  .extras-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { padding: 18px; }
  .client-grid { grid-template-columns: 1fr; }
  .logos { gap: 16px 22px; padding: 18px; justify-content: center; }
  .logos img { height: 44px; }
  .form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer { padding-top: 48px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "c1" "c2" "c3" "c4" "c5" "c6" "c7" "c8" "cta"; gap: 16px; }
  .card.big .card-photo { aspect-ratio: 4 / 3; }
  .card.big .card-cols { grid-template-columns: 1fr; }
  .cta-card { padding: 24px; }
  .lb-inner { padding: 60px 8px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 68px; transform: none; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-caption { padding: 10px 60px 0; }
  .faq summary { font-size: 15.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .work-row { grid-template-columns: 260px 1fr; }
}
@media print {
  .header, .sticky-bar, .cookie, .lb, .drawer, .drawer-backdrop, .btn-more { display: none !important; }
  .js .extras:not(.is-open) { grid-template-rows: 1fr; }
  .js .extras:not(.is-open) > div { visibility: visible; }
  body { padding-bottom: 0; }
}
