/* Atlant-G — стилі першої версії (06.11.2026). Тимчасова палітра до дизайн-системи (крок 3 плану).
   Усі кольори — лише через токени день/ніч; у шаблонах ні style="", ні <style>. */
:root{
  --bg:#f6f5f2; --card:#ffffff; --ink:#1d1f22; --muted:#5d636b; --line:#dcd9d2;
  --accent:#d9771f; --accent-ink:#ffffff; --alt:#ecebe6; --focus:#1f6fd9;
  --radius:10px; --wrap:1160px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
/* Світла тема — основна (рішення 06.11, підтверджено 22.11: «світла по замовчуванню»); темна — лише за перемикачем у підвалі.
   22.11: ключ збереженої теми змінено на ag_theme2 (старий «dark» з перевірок лишався в браузерах), color-scheme:light не дає
   Chrome на телефоні примусово затемнювати сайт. */
:root{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark}
.social{list-style:none;margin:0;padding:0;display:inline-flex;gap:10px;vertical-align:middle}
.social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);color:var(--ink);background:var(--card)}
.social a:hover{border-color:var(--accent);color:var(--accent)}
:root[data-theme="dark"]{
  --bg:#141619; --card:#1d2024; --ink:#ecedef; --muted:#a3a9b1; --line:#30343a; --accent:#f08a2e; --accent-ink:#141619; --alt:#191c1f; --focus:#6ea8ff;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 var(--font)}
a{color:inherit;text-decoration-color:var(--accent);text-underline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{line-height:1.2;margin:0 0 .6em}
h1{font-size:clamp(1.9rem,5vw,3rem)}
h2{font-size:clamp(1.4rem,3.2vw,2rem)}
h3,.card-h{font-size:1.15rem}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:8px;background:var(--card);padding:8px;z-index:10}

.btn{display:inline-block;background:var(--accent);color:var(--accent-ink);border:0;border-radius:var(--radius);padding:.8em 1.3em;font:600 1rem var(--font);text-decoration:none;cursor:pointer}
.btn:hover{filter:brightness(1.07)}
.btn-sm{padding:.5em .9em;font-size:.92rem}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--line)}

.site-head{background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}
.head-row{display:flex;align-items:center;gap:16px;min-height:64px;flex-wrap:wrap}
.logo{font-weight:800;font-size:1.35rem;text-decoration:none;letter-spacing:.02em}
.logo span{color:var(--accent)}
.nav{display:none;width:100%;flex-direction:column;gap:4px;padding-bottom:12px}
.nav.open{display:flex}
.nav a{text-decoration:none;padding:6px 0}
.nav a.on{color:var(--accent)}
.nav-drop ul{list-style:none;margin:0;padding:0 0 0 14px}
.burger{margin-left:auto;background:none;border:1px solid var(--line);border-radius:8px;padding:6px 12px;color:var(--ink);font:inherit}
.head-phone{display:none;font-weight:600;text-decoration:none}
.site-head .btn-sm{display:none}
@media (min-width:960px){
  .burger{display:none}
  .nav{display:flex;flex-direction:row;width:auto;gap:22px;padding:0;margin-left:24px}
  .nav-drop{position:relative}
  .nav-drop ul{display:none;position:absolute;top:100%;left:-12px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:8px 12px;min-width:280px}
  .nav-drop:hover ul,.nav-drop:focus-within ul{display:block}
  .head-phone{display:inline;margin-left:auto}
  .site-head .btn-sm{display:inline-block}
}

.hero{padding:56px 0 48px;background:var(--alt);border-bottom:1px solid var(--line)}
.hero-sub{font-size:1.15rem;color:var(--muted);max-width:720px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.page-head{padding:36px 0 24px}
.page-head p{max-width:760px;color:var(--muted)}
.crumbs{font-size:.9rem;color:var(--muted);padding-top:16px}
.crumbs a{display:inline-block;padding:.5em 0}
.block{padding:40px 0}
.block-alt{background:var(--alt)}

.cards{display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:640px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.cards{grid-template-columns:repeat(3,1fr)}.cards-4{grid-template-columns:repeat(4,1fr)}}
.card{display:block;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;text-decoration:none}
.card:hover{border-color:var(--accent)}
.card p{color:var(--muted);margin:0 0 .6em}
.more{color:var(--accent);font-weight:600;text-decoration:none}

.chips{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.chips li{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:6px 14px}
.steps{padding-left:1.3em}.steps li{margin:.4em 0}
.ticks{list-style:none;padding:0}.ticks li{padding-left:1.4em;position:relative;margin:.35em 0}
.ticks li::before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:700}
.two-col{display:grid;gap:24px}
@media (min-width:800px){.two-col{grid-template-columns:1fr 1fr}}
.gallery{display:grid;gap:8px;grid-template-columns:repeat(2,1fr)}
@media (min-width:800px){.gallery{grid-template-columns:repeat(4,1fr)}}
.gallery img{aspect-ratio:4/3;object-fit:cover;border-radius:6px;width:100%}
.table-wrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;background:var(--card)}
th,td{border:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}
.faq details{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;margin:10px 0}
.faq summary{font-weight:600;cursor:pointer}
.prose{max-width:760px}
.prose .meta{color:var(--muted)}
.cta-line{margin-top:2em;padding:16px;background:var(--alt);border-radius:var(--radius)}
.contact-list{list-style:none;padding:0}.contact-list li{margin:.5em 0}
.copy{background:none;border:1px solid var(--line);border-radius:6px;color:var(--muted);font:inherit;font-size:.85rem;padding:2px 8px;margin-left:6px;cursor:pointer}

.lead{padding:48px 0;background:var(--card);border-top:1px solid var(--line)}
.lead-grid{display:grid;gap:24px}
@media (min-width:900px){.lead-grid{grid-template-columns:1fr 1.2fr}}
.lead-alt{color:var(--muted)}
.form{display:grid;gap:12px}
.form label{display:grid;gap:4px;font-weight:600;font-size:.95rem}
.form input,.form select,.form textarea{font:inherit;padding:.65em .75em;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);width:100%}
.form-row{display:grid;gap:12px}
@media (min-width:560px){.form-row{grid-template-columns:1fr 1fr}}
.form .check{display:flex;gap:8px;align-items:flex-start;font-weight:400}
.form .check input{width:auto;margin-top:.3em}
.form-msg{min-height:1.4em;margin:0}
.form-msg.ok{color:#1d8a4a}.form-msg.err{color:#c0392b}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.site-foot{background:var(--alt);border-top:1px solid var(--line);padding:32px 0 16px;font-size:.95rem}
.foot-grid{display:grid;gap:20px}
@media (min-width:800px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr}}
.foot-h{font-size:1rem}
.site-foot ul{list-style:none;padding:0;margin:0}.site-foot li{margin:.3em 0}
.foot-low{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:20px;color:var(--muted)}
.theme-btn{background:none;border:1px solid var(--line);border-radius:6px;color:var(--muted);font:inherit;padding:4px 10px;cursor:pointer}

.consent{position:fixed;left:16px;right:16px;bottom:16px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;z-index:20;max-width:560px;box-shadow:0 6px 24px rgba(0,0,0,.18)}
.consent p{margin:0 0 10px}
.consent-btns{display:flex;gap:10px}
.new-version-bg{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:40}
.new-version{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92vw,420px);background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);padding:22px;z-index:41;box-shadow:0 18px 60px rgba(0,0,0,.28)}
.new-version p{margin:0 0 16px}
.new-version .btn{width:100%;min-height:44px}
.new-version[hidden],.new-version-bg[hidden]{display:none}

/* ===== v2 · «було → стане» (07.11.2026, Борис: «Так, світла») =====
   Напрям swiss: строга сітка, великий гротеск Golos Text (Paratype, OFL), світле тло, один помаранчевий акцент.
   Діє лише там, де body.v2 (поки головна). Після «так» — переносимо на весь сайт і в дизайн-систему. */
@font-face{font-family:"Golos Text";src:url(/assets/fonts/GolosText-cyrillic.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";src:url(/assets/fonts/GolosText-latin.woff2) format("woff2");font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body.v2{
  --bg:#f3f3f1; --card:#fbfbfa; --ink:#17191c; --muted:#555b63; --line:#d6d6d2;
  --accent:#9e440a; --accent-ink:#ffffff; --alt:#e9e9e5; --tile:#e3e3df; --focus:#1f6fd9;
  --radius:4px; --font:"Golos Text",system-ui,"Segoe UI",Roboto,Arial,sans-serif;
  font-family:var(--font);
}
:root[data-theme="dark"] body.v2{
  --bg:#131518; --card:#1b1e22; --ink:#ececea; --muted:#a2a8b0; --line:#2f3338;
  --accent:#f0832e; --accent-ink:#131518; --alt:#181b1f; --tile:#22262b;
}
body.v2 ::selection{background:var(--accent);color:var(--accent-ink)}
body.v2 h1,body.v2 h2,body.v2 h3{letter-spacing:-.02em;font-weight:700}
body.v2 .btn{border-radius:var(--radius)}
body.v2 .btn:active{transform:translateY(1px)}
body.v2 .logo{letter-spacing:-.01em}

.v2-hero{padding:28px 0 40px;border-bottom:1px solid var(--line)}
.v2-hero-grid{display:grid;gap:24px}
.v2-hero h1{font-size:clamp(2.2rem,6.4vw,4.4rem);line-height:1.02;margin:0 0 .45em;max-width:12ch}
.v2-lead{font-size:1.12rem;color:var(--muted);max-width:44ch;margin:0}
.v2-hero-photo{margin:0}
.v2-hero-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}
@media (min-width:900px){
  .v2-hero{padding:48px 0 64px}
  .v2-hero-grid{grid-template-columns:5fr 7fr;align-items:end;gap:48px}
  .v2-hero-photo img{aspect-ratio:7/5}
}

.v2-block{padding:56px 0}
.v2-h2{font-size:clamp(1.6rem,3.6vw,2.5rem);line-height:1.08;margin:0 0 28px;max-width:20ch}
.v2-muted{color:var(--muted);max-width:42ch}
.v2-more{color:var(--accent);font-weight:600;text-decoration:none}
.v2-more::after{content:" \2192"}

.v2-bento{display:grid;gap:12px;grid-template-columns:1fr}
.v2-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:170px;background:var(--tile);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--ink)}
.v2-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.v2-tile:has(img) .v2-tile-body{position:relative;margin:12px;background:var(--card);border-radius:var(--radius)}
.v2-tile-body{display:grid;gap:6px;padding:18px}
.v2-tile-h{font-size:1.2rem;font-weight:700;letter-spacing:-.01em}
.v2-tile-p{color:var(--muted);font-size:.96rem}
.v2-tile-accent{background:var(--accent);color:var(--accent-ink)}
.v2-tile-accent .v2-tile-p,.v2-tile-accent .v2-more{color:var(--accent-ink)}
.v2-tile:hover img{transform:scale(1.03)}
.v2-tile:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
@media (min-width:700px){
  .v2-bento{grid-template-columns:repeat(2,1fr)}
  .v2-tile-big{grid-column:span 2;min-height:340px}
}
@media (min-width:1000px){
  .v2-bento{grid-template-columns:repeat(4,1fr);grid-auto-rows:220px}
  .v2-tile-big{grid-column:span 2;grid-row:span 2;min-height:0}
  .v2-tile{min-height:0}
}

.v2-where{background:var(--alt)}
.v2-where-grid{display:grid;gap:8px}
.v2-where-list{margin:0;font-size:clamp(1.2rem,2.6vw,1.75rem);line-height:1.45;font-weight:500}
.v2-where-list span:not(:last-child)::after{content:" /";color:var(--accent)}
@media (min-width:900px){.v2-where-grid{grid-template-columns:4fr 8fr;align-items:baseline}.v2-where .v2-h2{margin:0}}

.v2-steps{list-style:none;margin:0;padding:0;display:grid;gap:20px;counter-reset:s}
.v2-steps li{border-top:2px solid var(--ink);padding-top:14px;display:grid;gap:6px;counter-increment:s}
.v2-steps b{font-size:1.15rem}
.v2-steps b::before{content:counter(s) ". ";color:var(--accent)}
.v2-steps span{color:var(--muted)}
@media (min-width:800px){.v2-steps{grid-template-columns:repeat(4,1fr)}}

.v2-works{background:var(--alt)}
.v2-gallery{display:grid;gap:8px;grid-template-columns:repeat(2,1fr);margin-bottom:18px}
.v2-gallery img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;border-radius:var(--radius)}
.v2-gallery img:first-child{grid-column:span 2}
@media (min-width:900px){
  .v2-gallery{grid-template-columns:2fr 1fr 1fr;grid-template-rows:200px 200px}
  .v2-gallery img{aspect-ratio:auto}
  .v2-gallery img:first-child{grid-column:auto;grid-row:span 2}
}

.v2-two{display:grid;gap:24px}
@media (min-width:900px){.v2-two{grid-template-columns:5fr 7fr}}
.v2-links{list-style:none;margin:0;padding:0;display:grid;gap:0;border-top:1px solid var(--line)}
.v2-links a{display:grid;gap:4px;padding:16px 0;border-bottom:1px solid var(--line);text-decoration:none}
.v2-links b::after{content:" \2192";color:var(--accent)}
.v2-links span{color:var(--muted);font-size:.95rem}
.v2-links a:hover b{color:var(--accent)}

body.v2 .faq details{border-radius:var(--radius);background:var(--card)}

/* внутрішні сторінки в мові v2 */
body.v2 .page-head{padding:28px 0 32px;border-bottom:1px solid var(--line);margin-bottom:8px}
body.v2 .page-head h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.04;max-width:18ch}
body.v2 .page-head p{font-size:1.08rem}
body.v2 .block{padding:48px 0}
body.v2 .block h2{font-size:clamp(1.5rem,3.2vw,2.2rem);line-height:1.1}
body.v2 .card{background:var(--tile);border:0;border-radius:var(--radius);transition:background .2s}
body.v2 .card:hover{background:var(--alt);box-shadow:inset 0 0 0 2px var(--accent)}
body.v2 .card h3,body.v2 .card .card-h{letter-spacing:-.01em}
body.v2 .chips li{border-radius:var(--radius);background:var(--tile);border:0}
body.v2 .steps li::marker{color:var(--accent);font-weight:700}
body.v2 table{background:var(--card)}
body.v2 th{background:var(--tile)}
/* «Яку підлогу обрати» на телефоні: рядок таблиці = картка, без горизонтального скролу (знімок 375, 07.11) */
@media (max-width:640px){
  body.v2 table.v2-stack,body.v2 table.v2-stack tbody,body.v2 table.v2-stack tr,body.v2 table.v2-stack td{display:block;width:100%}
  body.v2 table.v2-stack{background:none}
  body.v2 table.v2-stack thead{display:none}
  body.v2 table.v2-stack tr{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;margin-bottom:10px}
  body.v2 table.v2-stack td{border:0;padding:0}
  body.v2 table.v2-stack td:first-child{font-weight:700}
  body.v2 table.v2-stack td:nth-child(2){color:var(--muted);margin:2px 0 8px}
  body.v2 table.v2-stack td:last-child a{font-weight:600}
}
body.v2 .cta-line{border-left:3px solid var(--accent);border-radius:0 var(--radius) var(--radius) 0}
body.v2 .gallery img{border-radius:var(--radius)}
body.v2 .site-head{background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:saturate(1.2) blur(8px)}
body.v2 .form input,body.v2 .form select,body.v2 .form textarea{border-radius:var(--radius);background:var(--card)}
@media (prefers-reduced-motion:reduce){.v2-tile img{transition:none}.v2-tile:hover img{transform:none}}

/* 23.11: сторінка «Сертифікати» і таблиця технічних даних матеріалу (лише токени день/ніч) */
.docs{display:grid;gap:28px;grid-template-columns:1fr}
.doc{margin:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.doc img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:6px}
.doc figcaption{margin-top:14px}
.doc figcaption p{color:var(--muted);margin:.4em 0 0}
@media (min-width:860px){.docs{grid-template-columns:1fr 1fr;align-items:start}}
.specs{width:100%;border-collapse:collapse;margin:18px 0;background:var(--card)}
.specs caption{text-align:left;font-weight:700;padding-bottom:8px}
.specs th,.specs td{text-align:left;vertical-align:top;padding:10px 12px;border-top:1px solid var(--line)}
.specs th{width:34%;color:var(--muted);font-weight:600}
@media (max-width:640px){.specs th,.specs td{display:block;width:auto}.specs th{padding-bottom:0;border-top:1px solid var(--line)}.specs td{border-top:0;padding-top:2px}}
