/*
Theme Name: Замки Краснодар — Editorial
Theme URI: https://example.com/
Author: Site Studio
Description: Конверсионная одностраничная тема для службы вскрытия и замены замков в Краснодаре.
Version: 1.2.0
Text Domain: locksmith-editorial
*/

:root {
  --ink: #171716;
  --paper: #f6f0e7;
  --paper-2: #fffaf3;
  --wine: #651b2b;
  --wine-dark: #3f101b;
  --blue: #1f4fc7;
  --blue-dark: #15388f;
  --line: rgba(23, 23, 22, .18);
  --muted: #686861;
  --white: #ffffff;
  --radius: 0;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--wine);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; flex: 0 0 auto; }
.section-title {
  max-width: 830px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.section-copy { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: 20px; }

.topline {
  background: var(--wine-dark);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.topline__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topline__status { display: inline-flex; align-items: center; gap: 10px; }
.topline__dot { width: 10px; height: 10px; background: #79d489; border: 2px solid var(--white); border-radius: 50%; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
}
.site-header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto auto;
  align-items: center;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  font-size: 24px;
  font-style: normal;
}
.brand__text { min-width: 0; }
.brand__name { display: block; font-size: 18px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; line-height: 1.1; }
.brand__city { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 800; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a:focus-visible { color: var(--blue); border-color: var(--blue); }
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}
.header-phone:hover, .header-phone:focus-visible { background: var(--blue-dark); transform: translateY(-2px); }

.hero { position: relative; border-bottom: 2px solid var(--ink); background: var(--paper); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(23,23,22,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23,23,22,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  min-height: 690px;
}
.hero__content { padding: 74px 64px 62px 0; display: flex; flex-direction: column; justify-content: center; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  font-size: clamp(58px, 7.4vw, 110px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero h1 em { color: var(--wine); font-style: normal; font-weight: 900; }
.hero__lead { max-width: 650px; margin: 32px 0 0; color: #4e4e49; font-size: 21px; line-height: 1.48; }
.hero__actions { display: flex; align-items: stretch; gap: 14px; margin-top: 34px; }
.phone-cta {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 340px;
  min-height: 82px;
  padding: 12px 26px;
  color: var(--white);
  background: var(--blue);
  border: 3px solid var(--blue);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.phone-cta:hover, .phone-cta:focus-visible { background: var(--blue-dark); transform: translateY(-3px); }
.phone-cta__label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.phone-cta__number { margin-top: 2px; font-size: clamp(23px, 2.5vw, 34px); font-weight: 900; line-height: 1.05; white-space: nowrap; }
.hero__note { max-width: 175px; align-self: center; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.35; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 13px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}
.trust-chip::before { content: ""; width: 8px; height: 8px; background: var(--wine); }
.hero__visual { position: relative; min-height: 690px; border-left: 2px solid var(--ink); overflow: hidden; background: var(--wine); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.hero__visual-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(76%, 390px);
  padding: 21px 24px;
  color: var(--ink);
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}
.hero__visual-tag span { color: var(--wine); }

.quick-strip { background: var(--ink); color: var(--white); }
.quick-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item { min-height: 126px; padding: 24px 26px; border-right: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; justify-content: space-between; }
.quick-item:last-child { border-right: 0; }
.quick-item__index { color: #adbbec; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-style: normal; font-size: 20px; }
.quick-item strong { display: block; max-width: 230px; font-size: 18px; line-height: 1.25; }

.services { padding: 112px 0 96px; background: var(--paper-2); }
.services__head { display: grid; grid-template-columns: 1fr 310px; gap: 60px; align-items: end; margin-bottom: 54px; }
.services__aside { padding: 20px 0 4px 22px; border-left: 4px solid var(--blue); color: var(--muted); font-size: 16px; }
.services__layout { display: grid; grid-template-columns: 1fr 1.55fr; gap: 0; border: 2px solid var(--ink); }
.services__image { min-height: 600px; background: var(--paper); overflow: hidden; }
.services__image img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.price-list { background: var(--white); }
.price-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 106px;
  padding: 17px 24px 17px 18px;
  border-bottom: 1px solid var(--ink);
  transition: background .18s ease, color .18s ease;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover { color: var(--white); background: var(--wine); }
.price-row__num { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; color: var(--blue); font-size: 20px; font-style: normal; }
.price-row:hover .price-row__num, .price-row:hover .price-row__note { color: #dbe3ff; }
.price-row__name { min-width: 0; padding-right: 22px; }
.price-row__name strong { display: block; font-size: 20px; line-height: 1.18; }
.price-row__note { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; font-weight: 700; }
.price-row__price { font-size: 22px; font-weight: 900; white-space: nowrap; }
.false-call {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--ink);
  border-top: 0;
  font-weight: 900;
}

.process { padding: 105px 0; color: var(--white); background: var(--wine-dark); }
.process .eyebrow { color: #f0a4b1; }
.process__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.process__intro { max-width: 480px; margin: 0 0 6px; color: #e2cbd0; font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 62px; border-top: 2px solid rgba(255,255,255,.58); }
.step { position: relative; min-height: 260px; padding: 36px 26px 20px 0; border-right: 1px solid rgba(255,255,255,.22); }
.step:last-child { border-right: 0; padding-left: 26px; }
.step:not(:first-child) { padding-left: 26px; }
.step::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; background: var(--paper-2); border: 3px solid var(--blue); }
.step__time { display: block; color: #aec0ff; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 36px; font-style: normal; line-height: 1; letter-spacing: .01em; }
.step h3 { margin: 22px 0 10px; font-size: 20px; line-height: 1.2; }
.step p { margin: 0; color: #e2cbd0; font-size: 15px; line-height: 1.48; }

.trust { padding: 110px 0; background: var(--paper); border-bottom: 2px solid var(--ink); }
.trust__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.trust__title { position: sticky; top: 150px; }
.principles { border-top: 2px solid var(--ink); }
.principle { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principle__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--white); background: var(--blue); font-weight: 900; }
.principle:nth-child(even) .principle__icon { background: var(--wine); }
.principle h3 { margin: 0 0 7px; font-size: 22px; }
.principle p { margin: 0; color: var(--muted); font-size: 16px; }

.area { padding: 105px 0; background: var(--paper-2); }
.area__head { display: grid; grid-template-columns: 1fr .72fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.area__head .section-copy { margin: 0 0 8px; }
.coverage-board { display: grid; grid-template-columns: .72fr 1.28fr .9fr; min-height: 390px; border: 2px solid var(--ink); }
.coverage-hours { display: flex; flex-direction: column; justify-content: space-between; padding: 34px; color: var(--white); background: var(--wine-dark); }
.coverage-hours small { font-size: 14px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.coverage-hours strong { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif; font-size: clamp(82px, 9vw, 132px); line-height: .82; letter-spacing: -.035em; }
.coverage-hours span { max-width: 190px; color: #e9cbd1; font-size: 16px; font-weight: 800; line-height: 1.35; }
.coverage-districts { padding: 28px 0; background: var(--paper); border-inline: 2px solid var(--ink); }
.coverage-districts__title { margin: 0; padding: 0 28px 24px; font-size: 15px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.district-row { display: grid; grid-template-columns: 48px minmax(0,1fr) 28px; align-items: center; min-height: 52px; padding: 0 28px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 900; }
.district-row:last-child { border-bottom: 1px solid var(--line); }
.district-row b { color: var(--blue); font-size: 13px; }
.district-row i { color: var(--wine); font-style: normal; font-size: 19px; text-align: right; }
.coverage-action { display: flex; flex-direction: column; justify-content: space-between; padding: 34px; color: var(--white); background: var(--blue); }
.coverage-action p { margin: 0; font-size: 17px; line-height: 1.48; }
.coverage-action__label { display: block; margin-bottom: 10px; color: #cad6ff; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.coverage-action__phone { display: block; padding: 17px 18px; color: var(--ink); background: var(--paper-2); border: 2px solid var(--ink); font-size: clamp(19px, 2vw, 26px); font-weight: 900; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease; }
.coverage-action__phone:hover, .coverage-action__phone:focus-visible { transform: translate(-4px,-4px); box-shadow: 4px 4px 0 var(--ink); }

.faq { padding: 105px 0 120px; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.faq__list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-question { width: 100%; display: grid; grid-template-columns: 1fr 34px; gap: 18px; align-items: center; padding: 24px 0; color: var(--ink); background: transparent; border: 0; text-align: left; font: inherit; font-size: 19px; font-weight: 900; cursor: pointer; }
.faq-plus { position: relative; width: 28px; height: 28px; border: 2px solid var(--blue); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--blue); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-plus::before { width: 12px; height: 2px; }
.faq-plus::after { width: 2px; height: 12px; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-answer { display: none; max-width: 670px; padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; }
.faq-item.is-open .faq-answer { display: block; }

.final-cta { color: var(--white); background: var(--blue); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.final-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; min-height: 310px; padding-block: 48px; }
.final-cta h2 { max-width: 750px; margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif; font-size: clamp(42px, 6vw, 76px); font-weight: 900; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.final-phone { display: inline-flex; flex-direction: column; justify-content: center; min-width: 360px; min-height: 112px; padding: 18px 26px; color: var(--ink); background: var(--paper-2); border: 3px solid var(--ink); text-decoration: none; transition: transform .18s ease; }
.final-phone:hover, .final-phone:focus-visible { transform: translate(-5px,-5px); box-shadow: 5px 5px 0 var(--ink); }
.final-phone small { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.final-phone strong { margin-top: 6px; font-size: 30px; line-height: 1; white-space: nowrap; }

.site-footer { padding: 35px 0 96px; color: #d9d3ca; background: var(--ink); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer__inner strong { color: var(--white); }
.footer__meta { max-width: 690px; font-size: 14px; line-height: 1.5; }
.footer__top { color: var(--white); font-size: 14px; font-weight: 900; text-decoration: none; }

.mobile-call {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 275px;
  padding: 15px 19px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mobile-call::before { content: "Позвонить мастеру"; margin-bottom: 4px; color: #d7dfff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.mobile-call:hover, .mobile-call:focus-visible { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .hero__inner { grid-template-columns: 1fr .78fr; }
  .hero__content { padding-right: 38px; }
  .hero h1 { font-size: clamp(58px, 8.6vw, 92px); }
  .services__layout { grid-template-columns: .72fr 1.28fr; }
  .quick-strip__inner { grid-template-columns: repeat(2,1fr); }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .final-cta__inner { grid-template-columns: 1fr; }
  .final-phone { justify-self: start; }
}

@media (max-width: 820px) {
  body { font-size: 17px; padding-bottom: 70px; }
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .topline__inner { justify-content: center; text-align: center; }
  .topline__inner > span:last-child { display: none; }
  .site-header__inner { min-height: 74px; gap: 12px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 15px; }
  .brand__city { font-size: 13px; }
  .header-phone { padding: 0 13px; font-size: 14px; min-height: 44px; }
  .hero__inner { display: flex; flex-direction: column; min-height: 0; }
  .hero__content { padding: 60px 0 42px; }
  .hero h1 { font-size: clamp(53px, 14.3vw, 82px); line-height: .91; }
  .hero__lead { font-size: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .phone-cta { min-width: 0; width: 100%; }
  .hero__note { max-width: none; align-self: auto; }
  .hero__visual { min-height: 430px; border-left: 0; border-top: 2px solid var(--ink); }
  .hero__visual img { object-position: 52% center; }
  .services, .process, .trust, .area, .faq { padding: 78px 0; }
  .services__head, .process__head, .trust__grid, .area__head, .faq__grid { grid-template-columns: 1fr; gap: 38px; }
  .services__aside { max-width: 560px; }
  .services__layout { grid-template-columns: 1fr; }
  .services__image { min-height: 350px; border-bottom: 2px solid var(--ink); }
  .price-row { grid-template-columns: 44px minmax(0,1fr); min-height: 116px; padding: 16px; }
  .price-row__price { grid-column: 2; margin-top: 7px; font-size: 20px; }
  .price-row__name { padding-right: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .trust__title { position: static; }
  .final-phone { min-width: 0; width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .coverage-board { grid-template-columns: 1fr 1.35fr; }
  .coverage-action { grid-column: 1 / -1; min-height: 220px; }
  .mobile-call { left: 0; right: 0; bottom: 0; min-width: 0; min-height: 70px; flex-direction: row; align-items: center; justify-content: center; gap: 10px; padding: 10px 18px; border-width: 2px 0 0; box-shadow: none; font-size: 18px; }
  .mobile-call::before { margin: 0; font-size: 12px; }
}

@media (max-width: 520px) {
  .header-phone { display: none; }
  .site-header__inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(49px, 15vw, 70px); }
  .hero__visual { min-height: 330px; }
  .hero__visual-tag { width: 88%; padding: 15px; font-size: 13px; }
  .quick-strip__inner { grid-template-columns: 1fr; }
  .quick-item { min-height: 100px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .quick-item:last-child { border-bottom: 0; }
  .section-title { font-size: clamp(39px, 12.2vw, 58px); }
  .services__image { min-height: 260px; }
  .false-call { flex-direction: column; gap: 2px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:first-child), .step:last-child { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .step:last-child { border-bottom: 0; }
  .principle { grid-template-columns: 54px 1fr; gap: 14px; }
  .principle__icon { width: 46px; height: 46px; }
  .coverage-board { grid-template-columns: 1fr; }
  .coverage-hours { min-height: 250px; }
  .coverage-districts { border-inline: 0; border-block: 2px solid var(--ink); }
  .coverage-action { grid-column: auto; min-height: 230px; }
  .district-row { padding-inline: 20px; }
  .final-phone strong { font-size: 25px; }
}

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

