.site-action-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:40px;padding:0 14px;border:1px solid transparent;
  color:#404040;background:transparent;border-radius:9999px;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
.site-action-btn:hover,.site-action-btn:focus-visible{background:#f5f5f5;color:#111827;outline:none}
.site-icon-btn{width:40px;padding:0;position:relative}
.site-action-icon{width:18px;height:18px;display:block}
.site-ui-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.4);opacity:0;pointer-events:none;
  transition:opacity .22s ease;z-index:70
}
.site-ui-overlay.open{opacity:1;pointer-events:auto}
.site-ui-modal{
  position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.98);
  width:min(560px,calc(100vw - 32px));background:#fff;z-index:80;border:1px solid #e5e5e5;
  box-shadow:0 25px 80px rgba(0,0,0,.18);opacity:0;pointer-events:none;transition:opacity .22s ease, transform .22s ease;
  max-height:90dvh;overflow-y:auto
}
.site-ui-modal.open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
.site-ui-drawer{
  position:fixed;top:0;right:0;height:100%;width:min(420px,100vw);background:#fff;z-index:80;
  border-left:1px solid #e5e5e5;box-shadow:-10px 0 40px rgba(0,0,0,.1);
  transform:translateX(100%);transition:transform .22s ease
}
.site-ui-drawer.open{transform:translateX(0)}
.site-close-btn{
  display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #d4d4d4;border-radius:9999px;background:#fff
}
.site-panel-tile{
  display:block;border:1px solid #e5e5e5;padding:18px;background:#fff;transition:border-color .2s ease,background-color .2s ease
}
.site-panel-tile:hover{border-color:#a3a3a3;background:#fafafa}
.site-field{
  width:100%;border:1px solid #d4d4d4;padding:14px 16px;background:#fff;outline:none;border-radius:18px
}
.site-field:focus{border-color:#111827}
.site-primary-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;background:#111827;color:#fff;border-radius:9999px;border:1px solid #111827
}
.site-primary-btn:hover{background:#262626}
.site-secondary-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;background:#fff;color:#404040;border-radius:9999px;border:1px solid #d4d4d4
}
.site-secondary-btn:hover{border-color:#737373;color:#111827}
.site-badge{
  min-width:18px;height:18px;padding:0 5px;border-radius:9999px;background:#111827;color:#fff;font-size:11px;line-height:18px;text-align:center;
  position:absolute;top:1px;right:1px
}
.site-badge[hidden]{display:none !important}
.site-section-note{font-size:14px;color:#737373;line-height:1.65}
@media (max-width: 768px){
  .site-actions-wrap{gap:6px}
  .site-action-btn{padding:0 12px}
}

.site-no-scroll{overflow:hidden}


@media (max-width: 900px){
  header > .mx-auto.flex, body > header.flex{flex-wrap:wrap;gap:12px}
  header nav{order:3;width:100%;display:flex;flex-wrap:wrap;gap:16px}
}


@media (max-width: 640px){
  .site-action-btn{min-height:38px;padding:0 10px}
}

/* Marketing mechanisms */
.kp-sticky-cta{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:95;
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px;pointer-events:none;opacity:0;transform:translateY(10px);
  transition:opacity .22s ease,transform .22s ease;
}
.kp-sticky-cta.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}
.kp-sticky-cta__btn{
  min-height:52px;padding:0 22px;border:0;border-radius:9999px;background:#f1c94a;color:#171717;
  font-weight:600;box-shadow:0 12px 30px rgba(0,0,0,.12);cursor:pointer;white-space:nowrap;
  flex-shrink:0;max-width:100%
}
@media(max-width:480px){
  .kp-sticky-cta{flex-direction:column;align-items:stretch;gap:8px}
  .kp-sticky-cta__btn{text-align:center;white-space:normal}
  .kp-sticky-cta__phone{display:none!important}
}
.kp-exit{
  position:fixed;inset:0;z-index:110;background:rgba(0,0,0,.45);display:none;align-items:center;justify-content:center;padding:20px;
}
.kp-exit.is-open{display:flex}
.kp-exit__panel{
  width:min(520px,100%);background:#fff;padding:28px;border:1px solid #e5e5e5;box-shadow:0 25px 80px rgba(0,0,0,.18);position:relative;
  max-height:90dvh;overflow-y:auto;overflow-x:hidden
}
.kp-exit__close{
  position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:9999px;border:1px solid #d4d4d4;background:#fff
}
.kp-exit__eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#737373}
.kp-exit__title{margin-top:8px;font-size:30px;line-height:1.15;font-weight:600;color:#171717}
.kp-exit__text{margin-top:12px;font-size:15px;line-height:1.7;color:#525252}
.kp-exit__cta{
  margin-top:18px;min-height:50px;padding:0 20px;border:0;background:#111827;color:#fff;border-radius:9999px
}
@media (max-width: 640px){
  .kp-exit__title{font-size:24px}
}


.kitchen-review-widget{
  position:fixed;right:20px;bottom:20px;width:320px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #e5e5e5;border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);padding:16px 18px;z-index:90;opacity:0;transform:translateY(20px);transition:opacity .4s ease,transform .4s ease
}
.kitchen-review-widget.show{opacity:1;transform:translateY(0)}
.krw-stars{color:#f5b301;font-size:14px;letter-spacing:2px;margin-bottom:6px;text-shadow:0 0 4px rgba(245,179,1,.18)}
.krw-name{font-size:14px;font-weight:600;color:#171717;margin-bottom:4px}
.krw-title{font-size:13px;color:#525252;margin-bottom:6px}
.krw-text{font-size:13px;line-height:1.45;color:#303030}
.krw-close{position:absolute;top:8px;right:10px;border:0;background:none;font-size:18px;line-height:1;color:#8a8a8a;cursor:pointer}
.krw-close:hover{color:#111}
@media (max-width: 768px){
  .kitchen-review-widget{right:10px;left:10px;bottom:86px;width:auto}
}

/* ── Global mobile overflow prevention ──────────────────────────────────── */
body{overflow-x:hidden}
main,article{overflow-wrap:break-word;word-break:break-word}

/* audit fixes */
.site-header{border-bottom:1px solid #e5e7eb;background:#fff}
.site-header nav{max-width:1200px;margin:0 auto;display:flex;gap:18px;flex-wrap:wrap;padding:16px 24px;font-size:14px;color:#404040}
.site-header nav a{text-decoration:none;color:inherit}
.site-header nav a:hover{color:#000}
.seo-expanded-content{max-width:1100px;margin:0 auto;padding:24px}
.seo-expanded-content h2{font-size:28px;font-weight:700;margin:0 0 16px}
.seo-expanded-content p{margin:0 0 14px;line-height:1.75;color:#404040}

/* ── Main navigation ─────────────────────────────────────────── */
.site-header .site-main-nav{
  display:flex;align-items:center;gap:1rem;flex-wrap:nowrap;overflow-x:auto;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 16px;
  white-space:nowrap;border-top:1px solid #f0f0f0;background:#fff;width:100%;box-sizing:border-box
}
.site-header .site-main-nav::-webkit-scrollbar{display:none}
@media (min-width:768px){
  .site-header .site-main-nav{padding:16px 24px;border-top:none;flex-wrap:wrap;justify-content:center;gap:1.375rem;white-space:normal}
}
.site-header .site-main-nav a{
  font-size:.875rem;color:#525252;text-decoration:none;flex-shrink:0;
  padding:4px 0;border-bottom:1px solid transparent;
  transition:color .18s,border-color .18s
}
.site-header .site-main-nav a:hover{color:#111;border-bottom-color:#111}

/* ── Answer strip (краткий ответ) ────────────────────────────── */
.answer-strip{background:#fafafa;border-bottom:1px solid #f0f0f0;padding:14px 2rem}
.answer-strip-inner{max-width:80rem;margin:0 auto;display:flex;align-items:baseline;gap:8px}
.answer-strip-label{font-size:.7rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#a3a3a3;white-space:nowrap;flex-shrink:0}
.answer-strip-text{font-size:.875rem;line-height:1.7;color:#525252}
@media(max-width:640px){
  .answer-strip{padding:12px 1rem}
  .answer-strip-inner{flex-direction:column;gap:4px}
  .answer-strip-label{white-space:normal}
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer{border-top:1px solid #e5e5e5;background:#fafafa;padding:3rem 2rem}
@media (min-width:640px){.site-footer{padding:3rem 2.5rem}}
.site-footer-grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media (min-width:640px){.site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:768px){.site-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.site-footer-brand-name{font-size:1rem;font-weight:600;color:#171717}
.site-footer-brand-desc{margin-top:.75rem;font-size:.875rem;line-height:1.6;color:#525252}
.site-footer-brand-phone{display:block;margin-top:1rem;font-size:.875rem;font-weight:500;color:#171717;text-decoration:none;transition:color .18s}
.site-footer-brand-phone:hover{color:#000}
.site-footer-col-label{font-size:.7rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#a3a3a3}
.site-footer-links{list-style:none;margin:.875rem 0 0;padding:0}
.site-footer-links li{margin-top:.5rem}
.site-footer-links a{font-size:.875rem;color:#525252;text-decoration:none;transition:color .18s}
.site-footer-links a:hover{color:#000}
.site-footer-bottom{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid #e5e5e5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;font-size:.75rem;color:#a3a3a3}
.site-footer-bottom a{color:#a3a3a3;text-decoration:none;transition:color .18s}
.site-footer-bottom a:hover{color:#525252}

/* ── SEO-only: видно Google, скрыто для пользователей ───────── */
.seo-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ══════════════════════════════════════════════════════════════
   PREMIUM REDESIGN — IKEA-style
══════════════════════════════════════════════════════════════ */

/* ── Sticky premium header ──────────────────────────────────── */
.premium-header{position:fixed;top:0;left:0;right:0;z-index:100;transition:background .35s,box-shadow .35s;background:transparent}
.premium-header.scrolled{background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.premium-header-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 2.5rem;height:72px;gap:2rem}
@media(max-width:640px){.premium-header-inner{padding:0 1.25rem;height:60px}}
.premium-logo{font-size:1.375rem;font-weight:700;letter-spacing:-.03em;color:#fff;text-decoration:none;transition:color .3s;flex-shrink:0}
.premium-header.scrolled .premium-logo{color:#111}
.premium-nav{display:none}
@media(min-width:900px){.premium-nav{display:flex;align-items:center;gap:1.875rem;flex:1;justify-content:center}}
.premium-nav a{font-size:.875rem;color:rgba(255,255,255,.8);text-decoration:none;letter-spacing:.01em;transition:color .2s;padding:4px 0}
.premium-nav a:hover{color:#fff}
.premium-header.scrolled .premium-nav a{color:#525252}
.premium-header.scrolled .premium-nav a:hover{color:#111}
.premium-header-actions{display:flex;align-items:center;gap:.875rem}
.premium-phone{font-size:.875rem;font-weight:500;color:rgba(255,255,255,.85);text-decoration:none;transition:color .2s;display:none}
@media(min-width:640px){.premium-phone{display:block}}
.premium-header.scrolled .premium-phone{color:#111}
.premium-cta-btn{height:40px;padding:0 1.25rem;background:#fff;color:#111;font-size:.875rem;font-weight:600;border:none;cursor:pointer;transition:background .2s,color .2s;white-space:nowrap}
.premium-cta-btn:hover{background:#f0f0f0}
.premium-header.scrolled .premium-cta-btn{background:#111;color:#fff}
.premium-header.scrolled .premium-cta-btn:hover{background:#262626}
.premium-icon-btn{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;cursor:pointer;color:rgba(255,255,255,.8);transition:color .2s;position:relative}
.premium-header.scrolled .premium-icon-btn{color:#525252}
.premium-icon-btn:hover{color:#fff}
.premium-header.scrolled .premium-icon-btn:hover{color:#111}
.premium-icon-btn svg{width:20px;height:20px}

/* ── Hero — Ken Burns animation ─────────────────────────────── */
.hero-premium{position:relative;height:100vh;min-height:640px;display:flex;align-items:center;overflow:hidden}
.hero-media{position:absolute;inset:0;z-index:0}
.hero-img-wrap{position:absolute;inset:-5%}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;animation:heroSlide 18s ease-in-out infinite;will-change:opacity,transform}
.hero-slide-1{background-image:url('../assets/hero.png');animation-delay:0s}
.hero-slide-2{background-image:url('../assets/inspiration-1.png');animation-delay:6s}
.hero-slide-3{background-image:url('../assets/inspiration-2.png');animation-delay:12s}
@keyframes heroSlide{0%{opacity:0;transform:scale(1) translate(0,0)}5%{opacity:1}28%{opacity:1;transform:scale(1.06) translate(-1%,-.5%)}34%{opacity:0;transform:scale(1.07) translate(-1.2%,-.6%)}100%{opacity:0;transform:scale(1) translate(0,0)}}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(110deg,rgba(0,0,0,.65) 0%,rgba(0,0,0,.3) 50%,rgba(0,0,0,.08) 100%)}
.hero-content-wrap{position:relative;z-index:1;width:100%;max-width:1280px;margin:0 auto;padding:0 2.5rem;padding-top:72px}
@media(max-width:640px){.hero-content-wrap{padding:0 1.25rem;padding-top:60px}}
.hero-eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.65);margin:0 0 1.5rem}
.hero-h1{font-size:clamp(2.25rem,5vw,4.25rem);font-weight:700;line-height:1.08;color:#fff;letter-spacing:-.03em;max-width:700px;margin:0 0 1.375rem}
.hero-sub{font-size:1.125rem;line-height:1.65;color:rgba(255,255,255,.78);max-width:500px;margin:0 0 2.5rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.875rem;margin-bottom:2.5rem}
.hero-btn-primary{height:56px;padding:0 2rem;background:#fff;color:#111;font-size:1rem;font-weight:600;border:none;cursor:pointer;transition:background .2s,transform .15s;white-space:nowrap}
.hero-btn-primary:hover{background:#f0f0f0;transform:translateY(-1px)}
.hero-btn-ghost{height:56px;padding:0 2rem;background:transparent;color:#fff;font-size:1rem;font-weight:500;border:1.5px solid rgba(255,255,255,.55);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;transition:border-color .2s,background .2s;white-space:nowrap}
.hero-btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.hero-trust{display:flex;flex-wrap:wrap;gap:1.5rem}
.hero-trust-item{font-size:.8125rem;color:rgba(255,255,255,.65);display:flex;align-items:center;gap:.5rem}
.hero-trust-item::before{content:'✓';color:rgba(255,255,255,.9);font-weight:700}

/* ── Trust bar ──────────────────────────────────────────────── */
.trust-bar{background:#111;color:#fff}
.trust-bar-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(2,1fr);border-left:1px solid rgba(255,255,255,.1)}
@media(min-width:768px){.trust-bar-inner{grid-template-columns:repeat(4,1fr)}}
.trust-item{padding:1.75rem 1.5rem;border-right:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.06)}
.trust-num{display:block;font-size:2rem;font-weight:700;letter-spacing:-.03em;color:#fff;line-height:1}
.trust-label{display:block;margin-top:.375rem;font-size:.8125rem;color:rgba(255,255,255,.5);line-height:1.4}

/* ── Section headings & spacing ─────────────────────────────── */
.section-eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#a3a3a3;margin:0 0 1rem;display:block}
.section-title{font-size:clamp(1.75rem,3vw,2.75rem);font-weight:700;letter-spacing:-.028em;color:#111;line-height:1.12;margin:0 0 1rem}
.section-sub{font-size:1.0625rem;line-height:1.72;color:#525252;max-width:52ch;margin:0}
.section-premium{max-width:1280px;margin:0 auto;padding:4rem 2.5rem}
@media(max-width:640px){.section-premium{padding:2.75rem 1.25rem}}

/* ── Collections grid — IKEA 2-column layout ─────────────────── */
.collections-grid{display:grid;gap:1.25rem;margin-top:3rem;grid-template-columns:1fr}
@media(min-width:640px){.collections-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.collections-grid{grid-template-columns:56% 44%;grid-template-rows:1fr 1fr;min-height:540px}}
@media(min-width:1024px){.collections-grid .card-wide{grid-row:span 2}}
.collection-card{position:relative;display:flex;flex-direction:column;text-decoration:none;background:#f5f5f5}
@media(min-width:1024px){.collection-card{height:100%}}
.collection-card-img{width:100%;overflow:hidden;flex-shrink:0}
.collection-card-img img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;display:block;transition:transform .65s cubic-bezier(.25,.46,.45,.94)}
.card-wide .collection-card-img{flex:1;min-height:320px}
.card-wide .collection-card-img img{aspect-ratio:unset;height:100%;min-height:320px}
.collection-card:hover .collection-card-img img,.collection-card:focus .collection-card-img img{transform:scale(1.04)}
.collection-card-body{padding:1.375rem 1.375rem 1.625rem;background:#fff}
.collection-card-label{font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#a3a3a3;margin:0 0 .5rem}
.collection-card-title{font-size:1.125rem;font-weight:600;color:#111;letter-spacing:-.01em;margin:0 0 .375rem}
.collection-card-price{font-size:.875rem;color:#737373;margin:0}
.collection-card-arrow{display:inline-flex;align-items:center;gap:.375rem;margin-top:.875rem;font-size:.875rem;font-weight:600;color:#111;transition:gap .22s}
.collection-card:hover .collection-card-arrow{gap:.75rem}

/* ── 4-step process ─────────────────────────────────────────── */
.steps-grid{display:grid;gap:1.25rem;margin-top:2.5rem;grid-template-columns:1fr}
@media(min-width:640px){.steps-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.steps-grid{grid-template-columns:repeat(4,1fr)}}
.step-item{padding:2rem;background:#fff;border:1px solid #f0f0f0}
.step-num{font-size:3rem;font-weight:800;letter-spacing:-.04em;color:#ebebeb;line-height:1;margin-bottom:1.25rem}
.step-title{font-size:1rem;font-weight:600;color:#111;margin-bottom:.625rem}
.step-text{font-size:.875rem;line-height:1.68;color:#737373;margin:0}

/* ── CTA band (dark form section) ───────────────────────────── */
.cta-band{background:#111;padding:4rem 2.5rem}
@media(max-width:640px){.cta-band{padding:3.5rem 1.25rem}}
.cta-band-inner{max-width:1280px;margin:0 auto;display:grid;gap:3.5rem;align-items:center}
@media(min-width:768px){.cta-band-inner{grid-template-columns:1fr 1fr}}
.cta-band-title{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:700;color:#fff;letter-spacing:-.028em;margin:0 0 .75rem}
.cta-band-sub{font-size:1rem;color:rgba(255,255,255,.55);margin:0}
.cta-form{display:grid;gap:.875rem}
.cta-field{height:52px;padding:0 1.25rem;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#fff;font-size:.9375rem;outline:none;transition:border-color .2s;border-radius:0}
.cta-field::placeholder{color:rgba(255,255,255,.4)}
.cta-field:focus{border-color:rgba(255,255,255,.5)}
.cta-consent{display:flex;align-items:flex-start;gap:.625rem;font-size:.8rem;color:rgba(255,255,255,.45);cursor:pointer;line-height:1.5}
.cta-consent input{margin-top:3px;flex-shrink:0;width:16px;height:16px;accent-color:#f1c94a}
.cta-consent span{flex:1;min-width:0}
.cta-consent .consent-link{color:rgba(255,255,255,.7);text-decoration:underline}
.cta-submit{height:52px;background:#f1c94a;color:#111;font-size:1rem;font-weight:700;border:none;cursor:pointer;transition:background .2s,transform .15s}
.cta-submit:hover{background:#e6bd37;transform:translateY(-1px)}

/* ── USP 3-col ──────────────────────────────────────────────── */
.usp-grid{display:grid;gap:2.5rem;margin-top:3rem;grid-template-columns:1fr}
@media(min-width:768px){.usp-grid{grid-template-columns:repeat(3,1fr)}}
.usp-icon{margin-bottom:1.25rem;line-height:0}
.usp-title{font-size:1.0625rem;font-weight:600;color:#111;margin-bottom:.625rem}
.usp-text{font-size:.9375rem;line-height:1.72;color:#737373;margin:0}

/* ── Works banner ───────────────────────────────────────────── */
.works-banner{display:block;text-decoration:none;position:relative;overflow:hidden}
.works-banner-img{height:480px;background-size:cover;background-position:center;transition:transform .65s cubic-bezier(.25,.46,.45,.94)}
.works-banner:hover .works-banner-img{transform:scale(1.03)}

/* ── Reviews ────────────────────────────────────────────────── */
.reviews-grid{display:grid;gap:1.5rem;margin-top:3.5rem;grid-template-columns:1fr}
@media(min-width:640px){.reviews-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.reviews-grid{grid-template-columns:repeat(3,1fr)}}
.review-card{background:#fff;padding:1.875rem;border:1px solid #f0f0f0}
.review-stars{color:#f5b301;font-size:.9375rem;letter-spacing:2px;margin-bottom:1rem}
.review-text{font-size:.9375rem;line-height:1.68;color:#404040;margin:0 0 1.25rem}
.review-author{font-size:.8125rem;font-weight:600;color:#111}
.reviews-link{display:inline-flex;height:48px;padding:0 2rem;align-items:center;border:1.5px solid #e5e5e5;color:#111;text-decoration:none;font-size:.9375rem;font-weight:500;transition:border-color .2s}
.reviews-link:hover{border-color:#111}

/* ── AI Chatbot ─────────────────────────────────────────────── */
.aichat{position:fixed;right:24px;bottom:80px;z-index:200}
@media(max-width:640px){.aichat{right:12px;bottom:76px}}
.aichat-bubble{display:flex;align-items:center;gap:.875rem;background:#111;color:#fff;padding:.875rem 1.375rem .875rem .875rem;border-radius:999px;cursor:pointer;box-shadow:0 8px 32px rgba(0,0,0,.22);transition:transform .22s,box-shadow .22s;border:none}
.aichat-bubble:hover{transform:translateY(-2px);box-shadow:0 14px 40px rgba(0,0,0,.28)}
.aichat-avatar-outer{width:42px;height:42px;border-radius:50%;background:#f1c94a;display:flex;align-items:center;justify-content:center;font-size:1.0625rem;font-weight:700;color:#111;flex-shrink:0}
.aichat-bubble-name{font-size:.875rem;font-weight:600;line-height:1.2}
.aichat-bubble-hint{font-size:.75rem;color:rgba(255,255,255,.55);line-height:1.2}
.aichat-panel{position:absolute;bottom:calc(100% + 14px);right:0;width:min(370px,calc(100vw - 24px));background:#fff;border:1px solid #e5e5e5;box-shadow:0 20px 64px rgba(0,0,0,.16);border-radius:18px;overflow:hidden;flex-direction:column;max-height:540px;display:none}
.aichat-panel.open{display:flex}
.aichat-hdr{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:#111;color:#fff}
.aichat-hdr-info{display:flex;align-items:center;gap:.75rem}
.aichat-hdr-avatar{width:38px;height:38px;border-radius:50%;background:#f1c94a;display:flex;align-items:center;justify-content:center;font-size:.9375rem;font-weight:700;color:#111;flex-shrink:0}
.aichat-hdr-name{font-size:.9375rem;font-weight:600;line-height:1.2}
.aichat-hdr-status{font-size:.75rem;color:rgba(255,255,255,.5);line-height:1.2}
.aichat-hdr-status::before{content:'● ';color:#4ade80;font-size:.625rem}
.aichat-close-btn{width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:transparent;color:rgba(255,255,255,.65);cursor:pointer;font-size:.875rem;display:flex;align-items:center;justify-content:center;transition:background .18s}
.aichat-close-btn:hover{background:rgba(255,255,255,.12)}
.aichat-msgs{flex:1;overflow-y:auto;padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}
.aichat-msg{max-width:85%;padding:.75rem 1rem;font-size:.875rem;line-height:1.55;animation:chatIn .22s ease}
@keyframes chatIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.aichat-msg-bot{background:#f5f5f5;color:#111;border-radius:4px 16px 16px 16px;align-self:flex-start;white-space:pre-line}
.aichat-msg-user{background:#111;color:#fff;border-radius:16px 4px 16px 16px;align-self:flex-end}
.aichat-typing-dots{display:flex;gap:4px;padding:.75rem 1rem;background:#f5f5f5;border-radius:4px 16px 16px 16px;align-self:flex-start;width:fit-content}
.aichat-typing-dots span{width:7px;height:7px;border-radius:50%;background:#a3a3a3;animation:dot 1.2s ease-in-out infinite}
.aichat-typing-dots span:nth-child(2){animation-delay:.2s}
.aichat-typing-dots span:nth-child(3){animation-delay:.4s}
@keyframes dot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-5px);opacity:1}}
.aichat-opts{display:flex;flex-wrap:wrap;gap:.5rem;padding:.875rem 1.25rem;border-top:1px solid #f5f5f5}
.aichat-opt{padding:.5rem .875rem;background:#fff;border:1px solid #e5e5e5;border-radius:999px;font-size:.8125rem;color:#111;cursor:pointer;transition:background .15s,border-color .15s;text-align:left}
.aichat-opt:hover{background:#f5f5f5;border-color:#d4d4d4}
.aichat-input-row{display:flex;gap:.5rem;padding:.875rem 1.25rem;border-top:1px solid #f5f5f5}
.aichat-input{flex:1;height:42px;padding:0 1rem;border:1.5px solid #e5e5e5;border-radius:999px;font-size:.875rem;outline:none;transition:border-color .2s}
.aichat-input:focus{border-color:#111}
.aichat-send{width:42px;height:42px;border-radius:50%;background:#111;color:#fff;border:none;cursor:pointer;font-size:1rem;transition:background .2s;flex-shrink:0}
.aichat-send:hover{background:#333}

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


/* ── Works banner img ─────────────────────────────────────────── */
.works-banner-img-inner{position:absolute;inset:0;overflow:hidden}
.works-banner-img-inner img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .65s cubic-bezier(.25,.46,.45,.94)}
.works-banner:hover .works-banner-img-inner img{transform:scale(1.03)}

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq-section{max-width:800px;margin:0 auto;padding:5rem 2.5rem}
.faq-section-eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#737373;margin:0 0 1rem}
.faq-section-title{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:700;letter-spacing:-.025em;color:#111;margin:0 0 2.5rem;line-height:1.2}
.faq-item{border-top:1px solid #e5e5e5}
.faq-item:last-child{border-bottom:1px solid #e5e5e5}
.faq-q{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 0;cursor:pointer;font-size:1.0625rem;font-weight:600;color:#111;background:none;border:none;width:100%;text-align:left;line-height:1.4}
.faq-q::after{content:'+';font-size:1.5rem;font-weight:300;color:#737373;flex-shrink:0;transition:transform .25s ease}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .25s ease}
.faq-item.open .faq-a{max-height:300px}
.faq-a-inner{padding:0 0 1.25rem;font-size:.9375rem;line-height:1.7;color:#525252}
@media(max-width:640px){.faq-section{padding:3.5rem 1.25rem}}

/* ── Cookie bar ─────────────────────────────────────────────────────────── */
.cookie-bar{
  position:fixed;bottom:0;left:0;right:0;z-index:9990;
  background:#fff;border-top:1px solid #e5e5e5;
  padding:12px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  font-size:13px;color:#525252;line-height:1.5;
  box-shadow:0 -4px 20px rgba(0,0,0,.06);
  transform:translateY(0);transition:transform .25s ease
}
.cookie-bar.hidden{transform:translateY(110%)}
.cookie-bar-text{flex:1;min-width:0}
.cookie-bar-text a{color:#111827;text-decoration:underline}
.cookie-bar-text a:hover{color:#404040}
.cookie-bar-btn{
  flex-shrink:0;white-space:nowrap;
  padding:8px 20px;background:#111827;color:#fff;border:none;border-radius:9999px;
  font-size:13px;font-weight:500;cursor:pointer;transition:background .2s ease
}
.cookie-bar-btn:hover{background:#262626}
@media(max-width:560px){
  .cookie-bar{flex-direction:column;align-items:flex-start;gap:10px}
  .cookie-bar-btn{align-self:stretch;text-align:center}
}

/* ── Form consent link & consent block ─────────────────────────────────── */
.consent-link{color:#111827;text-decoration:underline}
.consent-link:hover{color:#404040}
.form-consent{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0}
.form-consent input[type="checkbox"]{margin-top:3px;flex:0 0 auto;width:16px;height:16px}
.form-consent label{font-size:14px;line-height:1.4}

/* ── Mobile table overflow fix ──────────────────────────────────────────── */
/* Tables are wrapped in .table-scroll-wrap by site-ui.js for reliable iOS Safari scroll */
.table-scroll-wrap{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
table{border-collapse:collapse;width:100%}
td,th{min-width:80px}

/* ── Images & embeds — never overflow ──────────────────────────────────── */
img,video,iframe,embed,object{max-width:100%;height:auto}

/* ── Premium nav burger (мобильная главная) ─────────────────────────────── */
.premium-burger{
  display:flex;flex-direction:column;justify-content:center;gap:5px;
  width:40px;height:40px;border:none;background:transparent;cursor:pointer;padding:8px;flex-shrink:0;
  color:rgba(255,255,255,.85)
}
.premium-header.scrolled .premium-burger{color:#525252}
.premium-burger span{
  display:block;height:2px;background:currentColor;border-radius:2px;
  transition:transform .25s ease,opacity .25s ease
}
.premium-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.premium-burger.open span:nth-child(2){opacity:0}
.premium-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(min-width:900px){.premium-burger{display:none}}

/* ── Premium mobile nav drawer ──────────────────────────────────────────── */
.premium-mobile-nav{
  display:none;flex-direction:column;
  position:fixed;top:60px;left:0;right:0;z-index:99;
  background:#fff;border-bottom:1px solid #e5e5e5;
  box-shadow:0 8px 24px rgba(0,0,0,.1);padding:16px 24px 24px
}
.premium-mobile-nav.open{display:flex}
.premium-mobile-nav a{
  padding:13px 0;font-size:1rem;font-weight:500;color:#111;text-decoration:none;
  border-bottom:1px solid #f0f0f0
}
.premium-mobile-nav a:last-child{border-bottom:none}
.premium-mobile-nav a:hover{color:#525252}
@media(min-width:900px){.premium-mobile-nav{display:none!important}}

/* ══════════════════════════════════════════════════════════════
   BLOG ARTICLE TEMPLATE — write_article.ps1 pipeline (added 2026-07-16)
   These articles are bare <article> fragments with no <head>/<body> and
   no inline <style> of their own (unlike the older per-file-styled posts),
   so every class the generation prompt uses has to be defined here or the
   article renders as an unstyled wall of text.
══════════════════════════════════════════════════════════════ */
article{display:block;max-width:800px;margin:0 auto;padding:32px 20px 64px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#1a1a1a;line-height:1.75}
article h1{font-size:28px;font-weight:800;line-height:1.25;margin:8px 0 12px;color:#111}
article h2{font-size:21px;font-weight:700;margin:40px 0 14px;color:#111}
article h3{font-size:16px;font-weight:700;margin:24px 0 10px;color:#111}
article p{font-size:15px;line-height:1.78;color:#374151;margin:0 0 14px}
article ul,article ol{font-size:15px;line-height:1.78;color:#374151;margin:0 0 15px;padding-left:22px}
article li{margin:6px 0}
article strong{color:#111}
article a{color:#1d4ed8;text-decoration:underline}
article a:hover{color:#1e3a8a}
article table{width:100%;border-collapse:collapse;margin:16px 0 24px;font-size:14px}
article th{background:#f3f4f6;text-align:left;padding:9px 12px;font-weight:600;border:1px solid #e5e7eb}
article td{padding:9px 12px;border:1px solid #e5e7eb;vertical-align:top;color:#374151}
article tr:nth-child(even) td{background:#fafafa}
article caption{text-align:left;font-size:13px;color:#6b7280;margin-bottom:6px}

.article-meta{font-size:13px;color:#9ca3af;margin:4px 0 20px}
.breadcrumbs{font-size:13px;color:#9ca3af;margin:0 0 18px}
.breadcrumbs a{color:#9ca3af;text-decoration:none}
.breadcrumbs a:hover{color:#374151}

.hero-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:16px 20px;margin:0 0 26px;font-size:15px;color:#9a3412;line-height:1.65}
.hero-box strong{color:#9a3412}

.toc{background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;padding:16px 20px;margin:0 0 32px}
.toc strong{display:block;font-size:13px;font-weight:700;margin:0 0 9px;text-transform:uppercase;letter-spacing:.05em;color:#6b7280}
.toc ul,.toc ol{margin:0;padding-left:20px;font-size:14px}
.toc li{margin:4px 0}
.toc a{color:#374151;text-decoration:none}
.toc a:hover{text-decoration:underline}

.data-box{background:#eff6ff;border-left:4px solid #3b82f6;border-radius:0 10px 10px 0;padding:16px 20px;margin:16px 0 24px}
.data-box strong{color:#1e3a8a}
.data-box ul{margin:8px 0 0;color:#1e3a8a}

.mini-out{background:#f3f4f6;padding:12px 16px;border-radius:10px;margin:16px 0;font-size:14px;color:#374151}

.warn-box{background:#fef2f2;border-left:4px solid #ef4444;border-radius:0 10px 10px 0;padding:16px 20px;margin:0 0 20px;font-size:14px;color:#7f1d1d}

article ul.pros,article ul.cons{list-style:none;padding-left:0;margin:0 0 16px}
article ul.pros li,article ul.cons li{padding-left:0}

.scheme-block{margin:20px 0;padding:16px;background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;text-align:center}
.scheme-block svg{max-width:100%;height:auto}
.scheme-block p{font-size:13px;color:#6b7280;margin:10px 0 0}

.gallery-section{margin:28px 0}
.gallery-section h3{margin-bottom:14px}
.gallery-section .gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.gallery-section figure{margin:0}
.gallery-section img{width:100%;height:180px;object-fit:cover;border-radius:10px;display:block}
.gallery-section figcaption{font-size:12px;color:#6b7280;margin-top:6px;text-align:center}

article details{border-bottom:1px solid #f0f0f0;padding:15px 0}
article details:last-of-type{border-bottom:none}
article summary{font-weight:700;font-size:15px;color:#111;cursor:pointer;list-style:revert}
article details p{font-size:14px;color:#4b5563;line-height:1.72;margin:8px 0 0}

.cta,.cta-block{background:linear-gradient(135deg,#7f1d1d,#dc2626);border-radius:16px;padding:30px;text-align:center;margin:42px 0}
.cta strong,.cta-block strong{display:block;color:#fff;margin:0 0 9px;font-size:20px}
.cta p,.cta-block p{color:rgba(255,255,255,.85);margin:0 0 18px;font-size:15px}
.cta a.btn,.cta-block a.btn{display:inline-block;margin:0 6px;background:#fff;color:#7f1d1d;font-weight:700;padding:12px 28px;border-radius:8px;text-decoration:none;font-size:15px}
.cta a.btn:hover,.cta-block a.btn:hover{background:#f3f4f6}
.cta a[href="/privacy.html"],.cta-block a[href="/privacy.html"]{display:inline-block;margin-top:12px;color:rgba(255,255,255,.7);font-size:12px;text-decoration:underline}

@media(max-width:600px){
  article{padding:20px 14px 44px}
  article h1{font-size:22px}
  article h2{font-size:18px}
}
