/* Base */
:root{
  --bg:#ffffff;
  --text:#0b0f19;
  --muted:#6b7280;
  --brand:#2563eb;
  --brand-2:#111827;
  --card:#f3f4f6;
  --stroke:#e5e7eb;
  --radius:16px;
  --shadow:0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
img{max-width:100%;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:none;}
.container{width:min(1120px,92vw);margin-inline:auto}
.nav a:hover {color: var(--brand)!important;}

/* Header */
.header{
  position:sticky;top:0;z-index:50;
  background:#fff;border-bottom:1px solid var(--stroke);
}
.header__inner{display:flex;align-items:center;gap:20px;padding:14px 0}
.logo{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:20px;color:var(--brand-2);letter-spacing:.2px}
.logo span{color:var(--brand)}
.logo__icon{width:28px;height:28px;display:inline-block}
.nav{display:flex;gap:22px;align-items:center}
.nav a{color:var(--brand-2);font-weight:500}
.header__right{margin-left:auto;display:flex;align-items:center;gap:14px}
.phone{font-weight:600;color:var(--brand-2)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:12px;background:var(--brand);color:#fff;
  font-weight:600;border:1px solid transparent;box-shadow:var(--shadow)
}
.phone {background: transparent;color: var(--brand-2);border-color: var(--stroke);}
.btn:hover{text-decoration:none;filter:brightness(.94)}
.btn--ghost{background:transparent;color:var(--brand-2);border-color:var(--stroke);max-height: 52px;}
.btn--sm{padding:8px 12px;border-radius:10px;font-size:14px}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;padding:6px}
.burger span{width:22px;height:2px;background:var(--brand-2);display:block;border-radius:2px}

.instlink {justify-content: center;display: flex;}
.instlink svg {width: 25px; height: 25px;}

/* Hero */
.hero{padding:56px 0}
.hero__inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero h1{font-size:44px;line-height:1.15;margin:0 0 12px}
.lead{font-size:18px;color:var(--muted);margin:0 0 22px}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap;align-items: center;}
.hero__media{border-radius:20px;overflow:hidden;box-shadow:var(--shadow);background: url(/assets/printer.jpg);width: 100%;height: 320px;background-size: cover;background-position: center;}
.del-media {margin-left: 6px;}

/* Sections */
section{padding:64px 0}
h2{font-size:32px;margin:0 0 8px}
.sub{color:var(--muted);margin:0 0 24px}

/* Cards */
.grid{display:grid;gap:20px}
.cards{grid-template-columns:repeat(3,1fr)}
.card{
  background:#fff;border:1px solid var(--stroke);border-radius:var(--radius);
  padding:20px;box-shadow:var(--shadow);
}
.card h3{margin:0 0 10px}
.card ul{margin:0;padding-left:18px}
.card .muted{color:var(--muted);font-weight: 300;}
.link{font-weight:600}

/* Process */
.steps{counter-reset:step;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.steps li{
  background:#fff;border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:18px;position:relative
}
.steps li:before{
  content:counter(step);
  position:absolute;top:12px;right:16px;color:#9ca3af;font-weight:700;font-size:20px; left: 0;
}
.steps h4{margin:0 0 8px}

/* Gallery */
.gallery{grid-template-columns:repeat(4,1fr)}
.tile{ margin:0; border:1px solid var(--stroke);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.tile img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#fafafa}
.tile figcaption{padding:14px}
.tile strong{display:block}

/* Why */
.perks{grid-template-columns:repeat(4,1fr)}
.perk{background:#fff;border:1px solid var(--stroke);border-radius:var(--radius);padding:0px;box-shadow:var(--shadow)}
.perk h4{margin:0 0 6px;}

/* Quote */
.quote__box{background:#fff;border:1px solid var(--stroke);border-radius:20px;padding:24px;box-shadow:var(--shadow)}
.form__grid{grid-template-columns:repeat(2,1fr)}
.field{display:flex;flex-direction:column;gap:8px}
.field input,.field textarea{
  width:100%;border:1px solid var(--stroke);border-radius:12px;padding:12px 14px;font:inherit
}
.field input:focus,.field textarea:focus{outline:2px solid rgba(37,99,235,.2)}
.field--full{grid-column:1/-1}
.field.file{align-items:flex-start;gap:10px}
.field.file small{color:var(--muted)}
#fileName{display:block;margin-top:6px;color:var(--muted)}

/* Contact */
.contact__grid{grid-template-columns:1fr}
.contact__item{border-top:1px solid var(--stroke);padding:14px 0}
.contact__item:first-child{border-top:0}
.contact__cta{align-self:start;background:var(--card);border:1px dashed var(--stroke);border-radius:16px;padding:16px}

/* Footer */
.footer{border-top:1px solid var(--stroke);background:#fff}
.footer__inner{display:flex;gap:40px;align-items:flex-start;padding:28px 0}
.footer__cols{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-left:auto}
.footer__copy{padding:12px 0 28px;color:var(--muted);font-size:14px;border-top:1px solid var(--stroke)}

/* Responsive */
@media (max-width: 991px){
footer {padding: 5%!important;}
footer .footer-inner {display: initial!important;}
footer .footer-cols {gap: 40px!important;}
}

@media (max-width: 1200px){
.nav {display: none;}
footer .footer-brand {max-width: 100%!important;}
}

@media (max-width: 1024px){
  .hero__inner{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
  .perks{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 720px){
.materials .grid {display: initial;}
.materials .card {margin-bottom: 1rem;}
.burger{display:flex}
.btn-top-ras {display:none;}
  .nav{position:fixed;inset:56px 0 auto 0;background:#fff;border-bottom:1px solid var(--stroke);
    padding:14px 16px;display:none;flex-direction:column;gap:12px}
  .nav.nav--open{display:flex}
  body.no-scroll{overflow:hidden}
  .btn{padding:12px 14px}
  h2{font-size:26px}
  .cards{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:1fr}
  .form__grid{grid-template-columns:1fr}
  .contact__grid{grid-template-columns:1fr}
  .footer__inner{flex-direction:column}
  .footer__cols{grid-template-columns:1fr; margin-left:0}
}

@media (max-width: 500px){
footer .footer-cols {display: initial!important;}
.quote-form .row.two {grid-template-columns: 1fr!important;}
}

@media (max-width: 450px){
.header__right .phone, .del-media {display:none;}
}

/* Phone badge with icon */
.phone-badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 14px;border:1px solid var(--stroke);
  border-radius:12px;background:#fff;box-shadow:var(--shadow);
}
.phone-badge .icon{width:18px;height:18px;display:block;opacity:.9}

/* Button icon & large size */
.btn .btn__icon{width:18px;height:18px;margin-right:10px;display:inline-block}
.btn--lg{padding:16px 22px;border-radius:16px;font-size:18px}

/* Accent in H1 */
.accent{color:#2563EB !important}

/* Wide screens: 10% side margins */
@media (min-width: 1200px){
  .container{ width:80vw; max-width:none; }
}

/* Force header phone badge style */
.header__right .phone-badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 16px;border:1px solid #D1D5DB!important;
  border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03);
  font-weight:600;color:var(--brand-2);
}
.header__right .phone-badge .icon{width:20px;height:20px;display:block;opacity:.95}

/* Sectors — centered title/sub */
.sectors h2, .sectors .sub{ text-align:center; }
.sectors .sub{ max-width:780px; margin:0 auto 24px; }

/* Sectors list items with green check icon */
.sectors .card ul{ list-style:none; padding-left:0; }
.sectors .card li{
  position:relative; padding-left:26px; margin:10px 0;
}
.sectors .card li::before{
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px;
  background:url('assets/check-green.svg') no-repeat center/contain;
}

/* Sectors card icon badges */
.sectors .card .card__icon{
  width: 48px;height: 48px;border-radius:12px;
  background: rgba(37,99,235,.08);
  display:flex;align-items:center;justify-content:center;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  margin-bottom:10px;
}
.sectors .card .card__icon img{width: 25px;height: 25px;display:block;opacity:.95}

/* Materials — centered title/sub and light background */
.materials{ background:#F9FAFB; }
.materials h2, .materials .sub{ text-align:center; }
.materials .sub{ max-width:780px; margin:0 auto 24px; }

/* Materials grid: 2 per row */
.materials .cards{ grid-template-columns: repeat(2, 1fr); }

/* Materials card icons */
.materials .card .card__icon{
  width:48px;height:48px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  margin-bottom:10px;
}
.materials .card .card__icon img{ width:20px;height:20px; display:block; }
.materials .card .badge--green{ background:#E8F5E9; }
.materials .card .badge--blue{ background:#EAF2FF; }
.materials .card .badge--purple{ background:#F3E8FF; }
.materials .card .badge--yellow{ background:#FEF3C7; }

/* Unified icon size: auto width, 28px height */
.sectors .card .card__icon img,
.materials .card .card__icon img{
  height:28px; width:auto;
}

/* Materials usage pill */
.materials .usage{
  background:#f9fafb;
  border-radius:12px;
  padding:12px 14px;
  margin-top:14px;
  display:block;
}
.materials .usage strong{margin-right:8px;}

/* Materials: subtitle under title */
.materials .card__subtitle{font-size:14px;margin:-4px 0 10px}

/* Process — centered headings */
.process h2, .process .sub{ text-align:center; }
.process .sub{ max-width:760px; margin:0 auto 24px; }

/* === Process section — final layout === */

.process .steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: block !important;
  counter-reset: step !important;        /* сбрасываем счётчик */
}

.process .steps li {
  counter-increment: step 1 !important;   /* увеличиваем ровно на 1 */
  display: grid !important;
  grid-template-columns: 64px 1fr !important;
  column-gap: 24px !important;
  align-items: flex-start !important;
  padding: 18px 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.process .steps li::before {
  content: counter(step) !important;
  grid-column: 1 !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 999px !important;
  background: var(--brand) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.process .steps h4 {
  grid-column: 2 !important;
  margin: 0 0 4px !important;                /* меньший отступ между заголовком и текстом */
}

.process .steps p {
  grid-column: 2 !important;
  margin: 0 !important;
  color: var(--muted) !important;
}

@media (min-width: 1200px) {.process .steps {padding: 0 14%;}}

@media (max-width: 720px) {
  .process .steps li {
    grid-template-columns: 48px 1fr !important;
    column-gap: 16px !important;
  }

  .process .steps li::before {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
}

/* Portfolio — centered heading/sub */
.portfolio h2, .portfolio .sub{ text-align:center; }
.portfolio .sub{ max-width:780px; margin:0 auto 24px; }

/* Portfolio card cover */
.portfolio .card .cover{
  width:100%; height:220px; object-fit:cover; border-radius:12px;
  display:block; margin-bottom:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}

/* Portfolio layout: 3 cards, section background */
.portfolio{ background:#F9FAFB; }
.portfolio .cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
 /* show only first 3 cards as in example */
@media (max-width:1024px){
  .portfolio .cards{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:640px){
  .portfolio .cards{ grid-template-columns:1fr; }
}

/* Portfolio gallery tiles */
.portfolio{ background:#F9FAFB; }
.portfolio .grid.gallery{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }
.portfolio .grid.gallery .tile{ margin:0; 
  background:#fff; border-radius:16px; padding:16px; 
  box-shadow:0 8px 24px rgba(17,24,39,.06), 0 1px 2px rgba(0,0,0,.04);
}
.portfolio .grid.gallery .tile img{
  width:100%; height:220px; object-fit:cover; border-radius:12px;
  display:block; margin-bottom:12px;
}
.portfolio .grid.gallery .tile figcaption strong{ display:block; margin-bottom:6px; }
 }

}

/* Portfolio — exact 3-tile gallery */
.portfolio{ background:#F9FAFB; }
.portfolio .grid.gallery{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }
.portfolio .grid.gallery .tile{ margin:0; 
  background:#fff; border-radius:16px; padding:16px;
  box-shadow:0 8px 24px rgba(17,24,39,.06), 0 1px 2px rgba(0,0,0,.04);
}
.portfolio .grid.gallery .tile img{
  width:100%; height:220px; object-fit:cover; border-radius:12px; display:block; margin-bottom:12px;
}
.portfolio .grid.gallery .tile figcaption strong{ display:block; margin:0 0 6px; }
 }

}

@media (max-width:640px){  }

@media (max-width: 960px){ .portfolio .grid.gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .portfolio .grid.gallery{ grid-template-columns: 1fr; } }

/* Hard enforce 3-column portfolio on desktop */
.portfolio .grid.gallery{
  display:grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap:24px !important;
}
@media (max-width: 960px){
  .portfolio .grid.gallery{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 640px){
  .portfolio .grid.gallery{ grid-template-columns: 1fr !important; }
}

/* Portfolio layout — 3 cards per row */
#portfolio{ background:#F9FAFB; }
#portfolio .container{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
  align-items: stretch;
}
#portfolio .container > h2,
#portfolio .container > .sub{
  grid-column: 1 / -1;
  text-align:center;
}
#portfolio .container > figure.tile img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
@media (max-width: 960px){
  #portfolio .container{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 640px){
  #portfolio .container{
    grid-template-columns: 1fr;
  }
}

/* Why Us section */
#why .container > h2,
#why .container > .sub{
  grid-column: 1 / -1;
  text-align:center;
}
#why .container{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:24px;
}
@media (max-width: 1024px){
  #why .container{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  #why .container{ grid-template-columns: 1fr; }
}
.why-item{ display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.why-icon{
  width:64px; height:64px; border-radius:16px;
  background:#EEF2FF; display:flex; align-items:center; justify-content:center;
}
.why-icon img{ height:32px; width:auto; display:block; }

/* WHY section fix: title centering, grid, icons */
.why .container > h2{ text-align:center; margin-bottom: 24px; }
.why .grid.perks{ 
  display:grid; 
  grid-template-columns: repeat(4, minmax(0,1fr)); 
  gap: 16px; 
}
@media (max-width: 1024px){ .why .grid.perks{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .why .grid.perks{ grid-template-columns: 1fr; } }
.perk{ display:flex; flex-direction:column; gap:12px; }
.perk-icon{ width:64px; height:64px; border-radius:16px; background:#EEF2FF; display:flex; align-items:center; justify-content:center; }
.perk-icon img{ height:32px; width:auto; display:block; }

/* WHY icons: circle, centered, no border/shadow */
.perk{ display:flex; flex-direction:column; gap:12px; align-items:center; text-align:center; }
.perk-icon{
  width:64px; height:64px;
  border-radius:9999px;
  background:#EEF2FF;
  display:flex; align-items:center; justify-content:center;
  border:none; box-shadow:none;
}
.perk-icon img{ height:32px; width:auto; display:block; }

/* WHY cards: no border, no shadow, no rounding */
.why .tile,
.why .perk{
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent;
}

/* === Quote / Calculator section (centered text + #F9FAFB) === */
#quote, .quote {
  background: #F9FAFB;
}
#quote .container > h2, .quote .container > h2 {
  text-align: center;
  margin: 0 0 8px 0;
}
#quote .container > .sub, .quote .container > .sub {
  text-align: center;
  margin: 0 0 32px 0;
  color: #6B7280;
  line-height: 1.5;
}
@media (max-width: 640px){
  #quote .container > .sub, .quote .container > .sub { margin-bottom: 24px; }
}


/* === Quote / Calculator section (centered text + #F9FAFB) v2 === */
#quote, .quote { background: #F9FAFB; }
.quote__content{ text-align:center; margin:0 auto 32px; }
.quote__content h2{ margin:0 0 8px 0; }
.quote__content .sub{ margin:0; color:#6B7280; line-height:1.6; }
@media (max-width:640px){
  .quote__content{ margin-bottom:24px; }
}


/* === Dropzone === */
.dropzone{
  position: relative;
  border:2px dashed var(--stroke);
  border-radius:12px;
  padding:32px 16px;
  text-align:center;
  color:var(--muted);
  background:#fff;
  transition:border-color .2s, background-color .2s, box-shadow .2s;
  cursor:pointer;
}
.dropzone:focus{outline:2px solid rgba(37,99,235,.25); outline-offset:2px}
.dropzone.is-dragover{ background:#f9fafb; border-color:var(--brand) }
.dropzone__icon{ margin:0 auto 10px; opacity:.75 }
.dropzone__title{ margin:0 0 6px 0; font-weight:500; color:var(--text) }
.dropzone__hint{ margin:0; font-size:.9375rem; color:var(--muted) }
.dropzone__link{ all:unset; color:var(--brand); cursor:pointer }
.dropzone__list{ display:block; margin-top:8px; color:var(--muted) }
.dropzone__badge{ display:inline-block; background:var(--card); border:1px solid var(--stroke); padding:4px 8px; border-radius:8px; margin:4px; font-size:.875rem }

/* Full-width primary submit button in form */
.btn--full{width:100%;padding:16px 24px;font-size:18px;border-radius:14px}
.btn__icon{margin-right:10px;display:inline-block}

/* Quote — centered heading/sub and light background */
.quote{ background:#F9FAFB; }
.quote h2, .quote .sub{ text-align:center; }
.quote .sub{margin:0 auto 24px; }

/* === Contact details list with icons === */
.contact__entry{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:16px 0;
  border-top:1px solid var(--stroke);
}
.contact__entry:first-child{ border-top:0; }
.contact__icon{ width:24px; height:24px; flex:0 0 24px; margin-top:4px; }
.contact__body h4{ margin:0 0 8px 0; font-size:18px; }



/* --- Quote (price form) --- */
section.quote { background: #F9FAFB; padding: 72px 0; }
section.quote h2 { text-align:center; margin:0 0 8px; }
section.quote .sub { text-align:center; color: var(--muted,#6B7280); margin:0 0 40px; }
.quote-grid { display:grid; grid-template-columns: 1fr 380px; gap: 32px; align-items:start; }
.quote-form { background:#fff; border:1px solid var(--stroke,#E5E7EB); border-radius:16px; padding:24px; box-shadow: var(--shadow,0 1px 2px rgba(0,0,0,.04)); }
.quote-form .row { margin-bottom:16px; }
.quote-form .row.two { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.quote-form label { display:block; font-weight:600; margin-bottom:8px; }
.quote-form input, .quote-form textarea { width:100%; border:1px solid var(--stroke,#E5E7EB); border-radius:10px; padding:12px 14px; outline:none; }
.quote-form textarea { min-height:140px; resize:vertical; }
.dropzone {
  position: relative;
  border: 2px dashed var(--stroke);
  border-radius: 12px;
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  cursor: pointer;
}

.dropzone.is-dragover {
  background: #f9fafb;
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.dropzone__icon {
  display: block;
  margin: 0 auto 12px;
  opacity: .8;
}

.dropzone__title {
  margin: 0 0 4px;
  font-weight: 500;
  color: var(--text);
}

.dropzone__hint {
  margin: 0;
  font-size: .9375rem;
  color: var(--muted);
}

.dropzone__link {
  border: none;
  background: none;
  padding: 0;
  margin-left: 4px;
  color: var(--brand);
  font-weight: 500;
  cursor: pointer;
}

.dropzone__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  justify-content: center;
}

.dropzone__file {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--card);
  font-size: .875rem;
  color: var(--text);
  gap: 6px;
}

.dropzone__file-remove {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #9ca3af;
  padding: 0;
}

.dropzone__file-remove:hover {
  color: #ef4444;
}
.btn-full { width:100%; display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.btn-ic { width:18px; height:18px; filter: brightness(0) invert(1); }
.contact-card { background:#fff; border:1px solid var(--stroke,#E5E7EB); border-radius:16px; padding:24px; box-shadow: var(--shadow,0 1px 2px rgba(0,0,0,.04)); width: max-content;margin-left: auto;
    margin-right: auto;}
.contact-card h3 { margin:0 0 16px; }
.contact-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:18px; }
.contact-list li { display:flex; gap:12px; align-items:flex-start; }
.contact-list li img { width:20px; height:20px; margin-top:3px; }
.contact-list .k { font-weight:700; margin-bottom:4px; }
@media (max-width: 1024px){
  .quote-grid { grid-template-columns:1fr; }
}


/* --- Footer overrides merged from v45 --- */
color:#374151}

/* Footer */
.footer{background:#1F2937;color:#E5E7EB;padding:40px 0 24px;margin-top:40px}


.footer__grid{display:grid;gap:32px;grid-template-columns:1.2fr 1fr 1fr 1fr;align-items:start}

.footer__grid{grid-template-columns:1fr 1fr}

.footer__grid{grid-template-columns:1fr}

}
.footer-col--brand{max-width:360px}


.footer-brand{align-items:center;gap:12px;margin-bottom:10px}


.footer-brand__icon{width:28px;height:28px}


.footer-brand__name{font-weight:700;font-size:24px;line-height:1.1;letter-spacing:.2px;color:#F9FAFB}


.footer-brand__name-3d{color:#E5E7EB}


.footer-brand__name-print{color:#2563EB}


.footer-tagline{margin:0;color:#9CA3AF}


.footer-tagline__accent{color:#2563EB}


.footer-col h4{margin:0 0 10px}


.footer-menu{list-style:none;margin:0;padding:0}


.footer-menu li{margin:8px 0}


.footer-menu a{color:#D1D5DB;text-decoration:none}


.footer-menu a:hover{color:#FFFFFF}


.footer__copy{margin-top:20px;font-size:14px;color:#9CA3AF;text-align:center}

grid-template-columns:1fr}}
.footer-col--brand{max-width:360px}

/* ==== Footer (3D Print) ==== */

footer {
  background: #1F2937;          /* тёмный фон */
  padding: 56px 10% 32px;       /* как в макете: сверху побольше, снизу под копирайт */
  color: #9CA3AF;               /* светло-серый текст */
  font-size: 14px;
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
}

/* Левая колонка с логотипом и слоганом */
footer .footer-brand {
  max-width: 320px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

footer .footer-brand-logo img {
  display: block;
}

.footer-brand-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap; /* чтобы 3D и Print не разъезжались */
}

.footer-brand-subtitle {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #9ca3af;
}

/* Колонки меню */
footer .footer-cols {
  display: flex;
  gap: 80px;
}

footer .footer-col-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 16px;
}

/* Сброс списков и отступов — главное для твоей проблемы */
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin: 0 0 8px;
}

/* Ссылки */
footer a {
  color: #9CA3AF;
  text-decoration: none;
}

footer a:hover {
  color: #FFFFFF;
}

/* Контакты справа */
footer .footer-contacts a {
  display: block;
}

/* Нижняя полоса с копирайтом */
footer .footer-bottom {
  border-top: 1px solid rgba(156, 163, 175, 0.16);
  margin-top: 40px;
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #6B7280;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 16px 24px;
  /* новый стиль */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #111827; /* тёмный текст */
  font-size: 14px;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.16);
  border-top: 1px solid rgba(148, 163, 253, 0.08);

  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-banner__text {
  flex: 1;
  line-height: 1.5;
  color: #111827;
}

.cookie-banner__link {
  color: #2563eb;
  text-decoration: underline;
}

.cookie-banner__btn {
  background: #2563eb;      /* новый цвет кнопки */
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s ease, transform .1s ease;
}

.cookie-banner__btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

.perk p {margin: 0;}