:root {
  --text: #30343a;
  --muted: #737b86;
  --line: #e7e9ec;
  --blue: #3478c7;
  --blue-soft: #edf5ff;
  --green: #5a9c6c;
  --green-soft: #edf7ef;
  --paper: #ffffff;
  --soft: #f7f8fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: "PT Root UI", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.header { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; width: max-content; align-items: center; gap: 10px; }
.logo-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--blue); color: white; font-weight: 800; }
.logo > span:last-child { display: flex; align-items: baseline; gap: 5px; }
.logo b { font-size: 16px; letter-spacing: .04em; }
.logo small { color: var(--muted); font-size: 12px; }
.header nav { display: flex; gap: 28px; color: #555d67; font-size: 14px; }
.header nav a:hover { color: var(--blue); }
.phone-link { justify-self: end; font-size: 14px; font-weight: 650; }

.hero { position: relative; min-height: 440px; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr); gap: 42px; align-items: center; padding-block: 58px 72px; border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.overline { margin: 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.overline::before { content: ''; display: inline-block; width: 18px; height: 2px; margin: 0 9px 3px 0; background: var(--blue); }
.green-text { color: var(--green); }
.green-text::before { background: var(--green); }
.blue-text { color: var(--blue); }
h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 4vw, 58px); line-height: 1.06; letter-spacing: -.04em; font-weight: 640; }
h1 > span { display: block; }
h1 > span + span { margin-top: 8px; }
.lead { max-width: 590px; margin: 25px 0 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border-radius: 8px; font-size: 14px; font-weight: 650; transition: .2s ease; }
.btn.primary { background: var(--blue); color: white; }
.btn.primary:hover { background: #2869b4; }
.btn.ghost { border: 1px solid var(--line); background: white; }
.btn.ghost:hover { border-color: #c9d8e9; color: var(--blue); }
.hero-art { position: relative; min-height: 300px; display: grid; place-items: center; align-self: center; overflow: hidden; }
.hero-art::before { content: ''; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #f4f9ff 0 42%, transparent 70%); }
.hero-art img { position: relative; z-index: 1; width: min(112%, 470px); max-width: none; transform: translate(2%, 0); filter: drop-shadow(0 16px 24px rgba(70,109,142,.07)); }
.directions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 96px; }
.directions > a { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease, transform .2s ease; }
.directions > a:hover { transform: translateY(-3px); border-color: #cbd9e8; }
.direction-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-size: 23px; font-weight: 400; }
.direction-icon.green { color: var(--green); background: var(--green-soft); }
.direction-icon.blue { color: var(--blue); background: var(--blue-soft); }
.directions small { color: #939aa3; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.directions h2 { margin: 6px 0 8px; font-size: 22px; font-weight: 640; letter-spacing: -.02em; }
.directions p { margin: 0; color: var(--muted); line-height: 1.5; }
.directions i { position: absolute; right: 24px; top: 26px; color: #9aa1aa; font-style: normal; }

.section { padding-block: 90px; }
.section-title { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: end; margin-bottom: 45px; }
.section-title .overline { grid-column: 1 / -1; margin-bottom: -48px; }
.section-title h2, .vinylon-heading h2, .about h2, .contact-intro h2 { margin: 0; max-width: 760px; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; font-weight: 620; }
.section-title > p:last-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #dce9df; border-radius: 16px; background: var(--green-soft); overflow: hidden; }
.process-grid article { min-height: 230px; padding: 26px; }
.process-grid article + article { border-left: 1px solid #dce9df; }
.process-grid article > span { display: block; color: var(--green); font-size: 11px; font-weight: 700; }
.process-grid h3 { margin: 54px 0 10px; font-size: 18px; font-weight: 650; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.vinylon-section { padding-block: 92px; background: var(--soft); }
.vinylon-heading { display: grid; grid-template-columns: 1fr .55fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.vinylon-heading > div:last-child > p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.vinylon-heading a { color: var(--blue); font-size: 14px; font-weight: 650; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.catalog-card { padding: 14px 14px 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.catalog-image { position: relative; height: 310px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #f8fafc; }
.catalog-image > span { position: absolute; z-index: 2; left: 14px; top: 14px; padding: 6px 9px; border-radius: 6px; background: white; color: var(--blue); font-size: 11px; font-weight: 700; }
.catalog-image img { width: 92%; max-height: 84%; object-fit: contain; transition: transform .25s ease; }
.catalog-card:hover img { transform: scale(1.035); }
.catalog-card h3 { margin: 19px 5px 8px; font-size: 18px; font-weight: 650; }
.catalog-card > p { margin: 0 5px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; padding-top: 26px; border-top: 1px solid #dfe2e6; }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts b { font-size: 17px; }
.facts span { color: var(--muted); font-size: 13px; }

.about { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; padding-block: 100px; }
.about-copy > p { margin: 31px 0 27px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.about-copy ul { list-style: none; margin: 0; padding: 0; }
.about-copy li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about-copy li::before { content: '✓'; margin-right: 10px; color: var(--green); font-weight: 700; }

.contacts { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; margin-bottom: 70px; padding: 48px; border-radius: 18px; background: var(--blue-soft); }
.contact-intro > p:last-child { max-width: 410px; margin: 20px 0 0; color: var(--muted); line-height: 1.55; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-grid > * { position: relative; padding: 19px 20px 22px 0; border-bottom: 1px solid #d8e5f4; }
.contact-grid > *:nth-child(even) { padding-left: 22px; border-left: 1px solid #d8e5f4; }
.contact-grid small { display: block; margin-bottom: 9px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.contact-grid b { font-size: 16px; line-height: 1.45; }
.contact-grid a:hover b { color: var(--blue); }
.contact-grid a > span { position: absolute; right: 15px; top: 18px; color: var(--blue); }

footer { min-height: 94px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.mobile-action { display: none; }

@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto; }
  .header nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); gap: 24px; }
  h1 { font-size: clamp(40px, 5.3vw, 50px); }
  .hero-art { min-height: 270px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article + article { border-left: 0; }
  .process-grid article:nth-child(even) { border-left: 1px solid #dce9df; }
  .process-grid article:nth-child(n+3) { border-top: 1px solid #dce9df; }
  .section-title, .vinylon-heading, .about, .contacts { grid-template-columns: 1fr; gap: 36px; }
  .section-title .overline { grid-column: auto; margin-bottom: -20px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .catalog-card:last-child { grid-column: 1 / -1; }
  .contacts { padding: 38px; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero-art { width: min(100%, 480px); min-height: 230px; margin-inline: auto; }
}

@media (max-width: 620px) {
  body { padding-bottom: 70px; }
  .shell { width: min(100% - 32px, 1180px); }
  .header { height: 66px; position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
  .phone-link { display: none; }
  .hero { min-height: auto; padding-block: 48px 55px; }
  h1 { font-size: 43px; }
  .lead { font-size: 17px; }
  .actions .btn { width: 100%; }
  .hero-art { min-height: 210px; margin-top: 4px; }
  .hero-art img { width: min(118%, 430px); transform: translate(2%, 0); }
  .directions { grid-template-columns: 1fr; padding-bottom: 55px; }
  .directions > a { padding: 22px; }
  .section { padding-block: 70px; }
  .section-title h2, .vinylon-heading h2, .about h2, .contact-intro h2 { font-size: 34px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: auto; padding: 24px; }
  .process-grid article + article, .process-grid article:nth-child(even), .process-grid article:nth-child(n+3) { border-left: 0; border-top: 1px solid #dce9df; }
  .process-grid h3 { margin-top: 28px; }
  .vinylon-section { padding-block: 70px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card:last-child { grid-column: auto; }
  .catalog-image { height: 280px; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .facts div { padding-bottom: 18px; border-bottom: 1px solid #dfe2e6; }
  .about { padding-block: 72px; }
  .contacts { width: calc(100% - 24px); padding: 30px 22px; margin-bottom: 46px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > *:nth-child(even) { padding-left: 0; border-left: 0; }
  footer { min-height: 86px; }
  .mobile-action { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: 10px; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-radius: 8px; background: var(--blue); color: white; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(42,95,155,.24); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
