/* Axiom Technology — фірмовий стиль.
   Палітра з апарата й поточного axiomeu.com: чорне скло, білий корпус, сріблясті деталі, лазерний червоний — єдиний акцент.
   Подача як у дистриб'юторів (ITP, SUNSPA, Etherna): фото на чорному, стримані заголовки, таблиці, факти. */

@font-face {
    font-family: 'Geist';
    src: url("../fonts/geist-latin-fE8Pnk7.woff2") format('woff2');
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Geist';
    src: url("../fonts/geist-latin-ext-yUJG_9Z.woff2") format('woff2');
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #0F0F10;
    --ink-soft: #1F1F22;
    --steel: #6E6E72;
    --silver: #B9B9BE;
    --mute: #9C9CA1;
    --hair: rgba(15, 15, 16, 0.10);
    --hair-light: rgba(255, 255, 255, 0.14);
    --paper: #F7F6F3;
    --paper-2: #EFEDE6;
    --white: #FFFFFF;
    --red: #C8102E;
    --red-deep: #9B0E25;

    --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 4px;
    --container: 1240px;
    --pad-x: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.55 var(--font-sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- шапка ---------- */
.site-header { background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--hair-light); }
.site-header .container { display: flex; align-items: center; gap: 32px; min-height: 76px; flex-wrap: wrap; }
.brand-logo { width: 72px; }
.site-nav { display: flex; gap: 28px; flex: 1; flex-wrap: wrap; }
.site-nav a, .lang a, .header-contact a { text-decoration: none; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.site-nav a:hover, .lang a:hover, .site-nav a[aria-current], .lang a[aria-current], .header-contact a:hover { opacity: 1; }
.header-contact { font-size: 14px; }
.header-contact a { text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.lang { display: flex; gap: 14px; font-size: 13px; order: 5; }
.lang a[aria-current] { color: var(--red); }

/* ---------- кнопки ---------- */
.btn { display: inline-block; padding: 14px 24px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.btn:hover { background: var(--ink-soft); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.on-dark .btn-ghost { color: var(--paper); }

/* ---------- типографіка ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 22px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 60ch; }
.eyebrow { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.on-dark .eyebrow { color: var(--silver); }
.muted { color: var(--steel); }
.small { font-size: 14px; }

/* ---------- секції ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section + .section { border-top: 1px solid var(--hair); }
.on-dark { background: var(--ink); color: var(--paper); }
.on-dark + .on-dark { border-top-color: var(--hair-light); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }

/* hero: фото апарата на чорному, як у каталогів виробників */
.hero { padding: clamp(40px, 6vw, 96px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: clamp(48px, 6vw, 96px); }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { color: var(--silver); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-figure { margin: 0; align-self: end; }
.hero-figure img { max-height: 640px; width: auto; margin: 0 auto; }

/* факти-цифри під hero */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair-light); }
.facts > div { padding: 28px 24px; border-left: 1px solid var(--hair-light); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts strong { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts span { display: block; font-size: 14px; line-height: 1.4; color: var(--silver); }

/* картки моделей */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.model-card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); display: grid; grid-template-rows: auto 1fr; }
.model-card figure { margin: 0; background: var(--ink); aspect-ratio: 1 / 1; position: relative; overflow: hidden; }
.model-card figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.model-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.model-body h3 { margin: 0; font-size: 26px; }
.model-price { font-size: 15px; color: var(--steel); }
.model-price b { color: var(--ink); font-weight: 600; font-size: 22px; margin-right: 6px; font-variant-numeric: tabular-nums; }
.model-body ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-soft); }
.model-body li { padding: 8px 0; border-top: 1px solid var(--hair); }
.model-body .btn { align-self: flex-start; margin-top: auto; }

/* живі фото з навчання й сервісу */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: 14px; color: var(--steel); padding-top: 10px; }
.model-card figure.photo { background: #C9CBCA; aspect-ratio: 4 / 5; } /* колір стіни на фото, щоб апарат стояв цілим без обрізки */
.model-card figure.photo img { object-fit: contain; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }

/* три шляхи співпраці */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.offer { background: var(--paper); padding: 32px 28px 36px; display: flex; flex-direction: column; }
.offer h3 { font-size: 22px; margin-bottom: 8px; }
.offer .offer-num { font-size: 13px; color: var(--steel); letter-spacing: .1em; margin-bottom: 20px; }
.offer p { color: var(--ink-soft); font-size: 16px; }
.offer .price-line { margin: 18px 0 20px; font-size: 15px; color: var(--steel); }
.offer .price-line b { display: block; font-size: 28px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.offer a { margin-top: auto; text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }

/* сітка з фото + текстом */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split figure { margin: 0; background: var(--ink); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse figure { order: 2; }

/* перелік фактів у два стовпці */
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.spec-list li { padding: 14px 0; border-top: 1px solid var(--hair); font-size: 16px; }
.on-dark .spec-list li { border-top-color: var(--hair-light); }
.spec-list li b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin-bottom: 4px; }
.on-dark .spec-list li b { color: var(--silver); }

/* кроки співпраці */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 13px; letter-spacing: .1em; color: var(--steel); margin-bottom: 10px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* таблиці */
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--hair); font-variant-numeric: tabular-nums; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--hair); white-space: nowrap; }
th { font-size: 12px; font-weight: 500; color: var(--steel); text-transform: uppercase; letter-spacing: .08em; background: var(--paper-2); }
tbody tr:last-child td { border-bottom: 0; }
.on-dark table { color: var(--ink); }
td:first-child { font-weight: 500; }

/* блок із CTA внизу сторінок */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(48px, 6vw, 88px) 0; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { color: var(--silver); margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* форма заявки */
.lead-section { background: var(--paper-2); }
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.lead-contacts { list-style: none; padding: 0; margin: 28px 0 0; font-size: 16px; }
.lead-contacts li { padding: 10px 0; border-top: 1px solid var(--hair); }
.lead-contacts a { text-decoration: none; }
.lead-contacts a:hover { text-decoration: underline; }
.lead-box { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.lead-form { display: grid; gap: 18px; }
.lead-form fieldset { border: 0; margin: 0; padding: 0; }
.lead-form legend, .lead-form label:not(.pill) { display: block; font-size: 13px; font-weight: 500; color: var(--steel); margin-bottom: 6px; letter-spacing: .02em; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email], .lead-form input[type=date], .lead-form input[type=number], .lead-form textarea {
    width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row > div, .lead-form > div { margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row legend { width: 100%; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: inline-block; padding: 9px 14px; border: 1px solid var(--hair); border-radius: 999px; font-size: 14px; background: var(--paper); }
.pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.lead-form ul { list-style: none; padding: 0; margin: 6px 0 0; color: var(--red); font-size: 14px; }
.lead-form .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.consent { margin: 0; }
.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-ok h3 { margin-bottom: 8px; }
[hidden] { display: none !important; }

/* контакти */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.contact-list li:last-child { border-bottom: 1px solid var(--hair); }
.contact-list b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 500; padding-top: 4px; }
.contact-list a { text-decoration: none; font-size: 20px; }
.contact-list a:hover { text-decoration: underline; }

/* сторінка-заголовок */
.page-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head h1 { margin-bottom: 16px; }

/* підвал */
.site-footer { background: var(--ink); color: var(--mute); padding: 48px 0 40px; font-size: 14px; border-top: 1px solid var(--hair-light); }
.site-footer .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.site-footer .footer-logo { width: 96px; margin-bottom: 16px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--hair-light); padding-top: 20px; margin-top: 8px; font-size: 13px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }

/* ---------- адаптив ---------- */
@media (max-width: 1000px) {
    .facts { grid-template-columns: repeat(2, 1fr); }
    .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .facts > div:nth-child(n+3) { border-top: 1px solid var(--hair-light); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .offers { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .site-header .container { gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; }
    .brand-logo { width: 56px; }
    .header-contact { display: none; }
    .lang { margin-left: auto; }
    .site-nav { flex-basis: 100%; order: 3; gap: 16px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-figure img { max-height: 420px; }
    .models, .split, .split.reverse, .spec-list, .contact-grid, .gallery, .lead-grid, .field-row { grid-template-columns: 1fr; }
    .split.reverse figure { order: 0; }
    .steps { grid-template-columns: 1fr; gap: 24px; }
    .cta-band .container { grid-template-columns: 1fr; }
    .site-footer .container { grid-template-columns: 1fr; }
    .contact-list li { grid-template-columns: 1fr; gap: 4px; }
    th, td { padding: 12px 12px; }
}
