/* ТехноСервис — тёплая бумажная тема, PT Serif + PT Sans */

:root{
  --bg:#F6EFE1;
  --paper:#FBF6EB;
  --surface:#FFFFFF;
  --ink:#241A10;
  --ink-2:#4A3826;
  --ink-soft:#71604C;
  --ink-faint:#9A876E;
  --line:#DCC9A6;
  --line-soft:#E8DBBE;

  --primary:#B3451E;
  --primary-dark:#8C3516;
  --primary-tint:#EEDBC0;

  --stamp:#395C3C;
  --stamp-tint:#DEE6D7;
  --gold:#A9781F;

  --r-xs:3px;
  --r-sm:6px;
  --r-md:10px;

  --shadow-card: 0 1px 0 var(--line);
  --shadow-pop: 10px 10px 0 var(--primary-tint);

  --container:1160px;
  --pad-inline: clamp(20px, 5vw, 32px);
  --section-pad: clamp(64px, 8vw, 112px);

  --font-display:'PT Serif', Georgia, 'Times New Roman', serif;
  --font-body:'PT Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:700; color:var(--ink); }
p{ margin:0; }
button{ font:inherit; cursor:pointer; background:none; border:none; }

.icon{ width:1em; height:1em; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }

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

.section{ padding-block:var(--section-pad); position:relative; }
.section--alt{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.skip-link{
  position:absolute; left:12px; top:-60px;
  background:var(--ink); color:var(--paper);
  padding:10px 16px; border-radius:var(--r-xs);
  z-index:200; transition:top .2s ease;
}
.skip-link:focus{ top:12px; }

/* ---------- Eyebrow (plain label + rule, not a pill) ---------- */
.eyebrow{
  display:flex; align-items:center; gap:14px;
  font-family:var(--font-body); font-weight:700; font-size:12.5px;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--primary-dark);
}
.eyebrow::after{ content:""; flex:1; height:1px; background:var(--line); }
.eyebrow-num{ font-family:var(--font-display); font-style:italic; color:var(--ink-faint); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding-block:16px;
}
.brand{ display:flex; align-items:center; gap:11px; font-family:var(--font-display); font-weight:700; font-size:19px; color:var(--ink); }
.brand-mark{ width:34px; height:34px; color:var(--primary); flex:none; }
.brand small{ display:block; font-family:var(--font-body); font-weight:700; font-size:10.5px; letter-spacing:.07em; color:var(--ink-faint); text-transform:uppercase; }

.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{
  font-size:15px; font-weight:700; color:var(--ink-2);
  padding-block:4px; border-bottom:2px solid transparent;
}
.main-nav a:hover{ color:var(--primary-dark); border-color:var(--primary-tint); }

.header-actions{ display:flex; align-items:center; gap:16px; }

.phone-pill{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-weight:700; font-size:16px; color:var(--ink);
  border-bottom:1px solid var(--line);
}
.phone-pill .icon{ color:var(--primary); width:16px; height:16px; }

/* ---------- Buttons: rectangular, no pills ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-body); font-weight:700; font-size:15px;
  padding:13px 24px; border-radius:var(--r-sm);
  border:2px solid var(--ink); white-space:nowrap;
  transition:transform .12s ease, box-shadow .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .icon{ width:17px; height:17px; }
.btn:active{ transform:translate(2px,2px); box-shadow:none !important; }

.btn-primary{ background:var(--primary); border-color:var(--primary); color:#fff; box-shadow:4px 4px 0 var(--ink); }
.btn-primary:hover{ background:var(--primary-dark); border-color:var(--primary-dark); }

.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--paper); }

.btn-invert{ background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.btn-invert:hover{ background:#fff; color:var(--ink); border-color:#fff; }

.btn-sm{ padding:10px 18px; font-size:14px; box-shadow:3px 3px 0 var(--ink); }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:40px; height:40px; border-radius:var(--r-xs);
  background:var(--surface); border:2px solid var(--ink);
}
.nav-toggle span{ width:16px; height:2px; background:var(--ink); transition:transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ padding-top:clamp(48px, 7vw, 84px); padding-bottom:clamp(48px, 7vw, 84px); }
.hero-inner{ display:grid; grid-template-columns:1.25fr .85fr; gap:clamp(32px,5vw,64px); align-items:start; }
.hero-inner > *{ min-width:0; }

.hero-copy h1{ font-size:clamp(30px, 3.4vw, 44px); line-height:1.18; margin-top:16px; }
.hero-copy h1 em{ font-style:italic; color:var(--primary); }
.hero-lead{ margin-top:18px; max-width:50ch; font-size:17px; color:var(--ink-soft); }

.trust-list{ margin-top:26px; display:flex; flex-direction:column; gap:10px; }
.trust-list li{ display:flex; align-items:flex-start; gap:10px; font-size:15px; font-weight:700; color:var(--ink-2); }
.trust-list .icon{ width:18px; height:18px; color:var(--stamp); margin-top:1px; flex:none; }

.hero-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:30px; }
.hero-cta .phone-pill{ font-size:17px; }

/* ---------- Service ticket (signature visual, not a SaaS card) ---------- */
.ticket-wrap{ display:flex; justify-content:center; padding-top:10px; }
.ticket{
  position:relative; width:100%; max-width:320px;
  background:var(--paper); border:2px solid var(--ink); border-radius:var(--r-xs);
  padding:22px 22px 30px; box-shadow:var(--shadow-pop);
  transform:rotate(-1.2deg);
}
.ticket-head{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.ticket-head span{ font-family:var(--font-body); font-weight:700; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); }
.ticket-head b{ font-family:var(--font-display); font-size:15px; color:var(--primary-dark); }
.ticket-title{ margin-top:10px; font-size:19px; line-height:1.3; }
.ticket-divider{ margin-block:18px; border-top:2px dashed var(--line); position:relative; }
.ticket-checklist{ display:flex; flex-direction:column; gap:12px; }
.ticket-checklist li{ display:flex; align-items:center; gap:10px; font-size:14.5px; font-weight:700; color:var(--ink-2); }
.ticket-check{
  width:18px; height:18px; flex:none; border:2px solid var(--stamp); border-radius:3px;
  display:flex; align-items:center; justify-content:center; color:var(--stamp);
}
.ticket-check .icon{ width:12px; height:12px; stroke-width:3; }
.ticket-check.is-open{ border-color:var(--line); }
.ticket-foot{ margin-top:20px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ticket-foot span{ font-size:12.5px; color:var(--ink-faint); max-width:16ch; }

.stamp{
  position:absolute; right:-16px; bottom:-18px; width:96px; height:96px; border-radius:50%;
  border:2px dashed var(--stamp); color:var(--stamp); background:var(--stamp-tint);
  display:flex; align-items:center; justify-content:center; text-align:center;
  font-family:var(--font-body); font-weight:700; font-size:11px; line-height:1.3; letter-spacing:.04em; text-transform:uppercase;
  transform:rotate(-10deg);
}

/* ---------- Section heading ---------- */
.section-head{ max-width:640px; }
.section-head h2{ font-size:clamp(25px,3vw,34px); margin-top:16px; line-height:1.2; }
.section-head p{ margin-top:14px; color:var(--ink-soft); font-size:16.5px; }

/* ---------- Services: menu rows with product illustrations ---------- */
.service-list{ margin-top:12px; }
.service-row{
  display:grid; grid-template-columns:84px 1fr auto; gap:24px; align-items:start;
  padding-block:30px; border-top:1px solid var(--line);
}
.service-list .service-row:last-child{ border-bottom:1px solid var(--line); }
.service-visual{
  width:84px; height:84px; flex:none; background:var(--surface);
  border:2px solid var(--ink); border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center;
  box-shadow:3px 3px 0 var(--primary-tint);
}
.service-row:nth-child(even) .service-visual{ transform:rotate(1.4deg); }
.service-row:nth-child(odd) .service-visual{ transform:rotate(-1.4deg); }
.product-icon{ width:60px; height:60px; }
.service-num{ display:block; font-family:var(--font-display); font-style:italic; font-size:14px; color:var(--ink-faint); margin-bottom:2px; }
.service-body h3{ font-size:20px; }
.service-body p{ margin-top:8px; color:var(--ink-soft); font-size:15px; max-width:62ch; }
.service-tag{
  align-self:center; display:inline-flex; align-items:center; gap:7px;
  font-size:13.5px; font-weight:700; color:var(--stamp);
  white-space:nowrap; padding:10px 16px; border:2px solid var(--stamp); border-radius:var(--r-sm);
  transition:background-color .15s ease, color .15s ease;
}
.service-tag:hover{ background:var(--stamp); color:#fff; }
.service-tag .icon{ width:15px; height:15px; }

/* ---------- Process ---------- */
.process-grid{ margin-top:44px; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(24px,4vw,40px); }
.process-step{ border-top:2px solid var(--ink); padding-top:14px; }
.process-step .step-num{ font-family:var(--font-display); font-style:italic; font-size:28px; color:var(--primary); }
.process-step h3{ margin-top:10px; font-size:17px; }
.process-step p{ margin-top:8px; color:var(--ink-soft); font-size:14.5px; }

/* ---------- Why us: checklist, not bento ---------- */
.why-list{ margin-top:44px; display:grid; grid-template-columns:1fr 1fr; gap:0 40px; }
.why-item{ display:flex; gap:14px; padding-block:20px; border-top:1px solid var(--line); }
.why-item .icon{ width:22px; height:22px; color:var(--primary); flex:none; margin-top:3px; }
.why-item h3{ font-size:16.5px; }
.why-item p{ margin-top:6px; color:var(--ink-soft); font-size:14.5px; }

/* ---------- FAQ ---------- */
/* ---------- Reviews (honest empty state, no invented quotes) ---------- */
.reviews-box{
  margin-top:40px; max-width:560px; margin-inline:auto; text-align:center;
  border:2px dashed var(--line); border-radius:var(--r-md); padding:clamp(32px,5vw,48px) 28px;
}
.reviews-stars{ display:flex; justify-content:center; gap:6px; color:var(--line); }
.reviews-stars .icon{ width:22px; height:22px; }
.reviews-empty-text{ margin-top:16px; color:var(--ink-soft); font-size:15px; line-height:1.6; }
.reviews-box .btn{ margin-top:22px; }
.reviews-pending-note{ margin-top:12px; font-size:13px; color:var(--ink-faint); }

.faq-list{ margin-top:36px; max-width:820px; }
.faq-item{ border-top:1px solid var(--line); }
.faq-list .faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-item summary{
  list-style:none; cursor:pointer; padding-block:20px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--font-display); font-weight:700; font-size:17px; color:var(--ink);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-family:var(--font-display); font-size:22px; color:var(--primary); flex:none;
  transition:transform .2s ease;
}
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item .faq-answer{ padding-bottom:22px; color:var(--ink-soft); font-size:15px; max-width:68ch; }

/* ---------- Final CTA: flat, no glow ---------- */
.cta-band{
  background:var(--ink); color:var(--paper); padding:clamp(40px,6vw,64px) clamp(24px,5vw,56px);
  display:grid; grid-template-columns:1.2fr auto; gap:32px; align-items:center;
  border-radius:var(--r-md);
}
.cta-band h2{ color:#fff; font-size:clamp(25px,3vw,34px); }
.cta-band p{ margin-top:12px; color:#D9C6A8; font-size:16px; max-width:46ch; }
.cta-actions{ display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.cta-actions .btn{ width:100%; justify-content:center; }
.cta-links{ display:flex; gap:16px; margin-top:4px; }
.cta-links a{ font-size:13.5px; font-weight:700; color:#D9C6A8; border-bottom:1px solid rgba(217,198,168,.4); }
.cta-links a:hover{ color:#fff; border-color:#fff; }

/* ---------- Footer ---------- */
.site-footer{ padding-block:52px 28px; border-top:1px solid var(--line); background:var(--paper); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.footer-brand p{ margin-top:14px; color:var(--ink-soft); font-size:14.5px; max-width:34ch; }
.footer-col h4{ font-family:var(--font-body); font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); }
.footer-col ul{ margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:14.5px; color:var(--ink-2); }
.footer-col a:hover{ color:var(--primary-dark); }
.footer-bottom{
  margin-top:44px; padding-top:22px; border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between;
  font-size:13.5px; color:var(--ink-faint);
}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero-inner{ grid-template-columns:1fr; }
  .ticket-wrap{ order:-1; }
  .ticket{ max-width:360px; }
  .why-list{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .cta-band{ grid-template-columns:1fr; }
  .cta-actions{ align-items:stretch; }
}
@media (max-width:760px){
  .main-nav{
    position:fixed; inset:68px 12px auto 12px; z-index:90;
    background:var(--surface); border:2px solid var(--ink); border-radius:var(--r-sm);
    flex-direction:column; align-items:stretch; gap:0;
    padding:6px; opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .main-nav.is-open{ opacity:1; visibility:visible; transform:translateY(0); }
  .main-nav a{ padding:13px 14px; border-bottom:1px solid var(--line-soft); }
  .main-nav a:last-child{ border-bottom:none; }
  .header-actions .phone-pill{ display:none; }
  .nav-toggle{ display:flex; }
  .service-row{ grid-template-columns:60px 1fr; gap:16px; }
  .service-visual{ width:60px; height:60px; }
  .product-icon{ width:42px; height:42px; }
  .service-tag{ grid-column:2; align-self:start; margin-top:4px; }
  .process-grid{ grid-template-columns:1fr; gap:28px; }
  .footer-grid{ grid-template-columns:1fr; gap:26px; }
}
