/*
Theme Name: Stepanov Legal
Theme URI: https://a-stepanov.ru/
Author: OpenAI
Description: Авторская WordPress-тема для адвоката по налоговым спорам. Композиция вдохновлена современными юридическими сайтами: крупный первый экран, экспресс-оценка, услуги, география, преимущества, практика и контакты. Не содержит исходный код, тексты, логотипы или графику сторонних сайтов.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: stepanov-legal
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --sl-bg: #f5f2eb;
  --sl-paper: #ffffff;
  --sl-ink: #102432;
  --sl-muted: #64727b;
  --sl-navy: #092536;
  --sl-navy-2: #0d3043;
  --sl-cyan: #63c7c5;
  --sl-cyan-dark: #2e8f90;
  --sl-sand: #d8c6a3;
  --sl-line: #d9d7d0;
  --sl-danger: #b94d4d;
  --sl-max: 1240px;
  --sl-radius: 4px;
  --sl-shadow: 0 24px 70px rgba(9, 37, 54, .12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sl-ink);
  background: var(--sl-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.sl-container {
  width: min(calc(100% - 48px), var(--sl-max));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--sl-ink);
  background: #fff;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: #fff;
  background: rgba(9, 37, 54, .97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.header-top {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-top__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  letter-spacing: .04em;
}

.header-top__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.header-top a {
  text-decoration: none;
}

.header-main {
  display: grid;
  min-height: 88px;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.custom-logo {
  width: auto;
  max-height: 54px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(99,199,197,.62);
  color: var(--sl-cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: -.04em;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.15;
}

.brand-tagline {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.primary-navigation {
  justify-self: end;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: block;
  padding: 34px 0 30px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--sl-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  border: 1px solid var(--sl-cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.header-cta:hover {
  color: var(--sl-navy);
  background: var(--sl-cyan);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
}

/* Shared typography */
.sl-section {
  padding: 105px 0;
}

.sl-section--white {
  background: var(--sl-paper);
}

.sl-section--navy {
  color: #fff;
  background: var(--sl-navy);
}

.sl-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 19px;
  color: var(--sl-cyan-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.sl-kicker::before {
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
}

.sl-section--navy .sl-kicker {
  color: var(--sl-cyan);
}

.sl-title {
  max-width: 940px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.1vw, 82px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.045em;
}

.sl-h2 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.7vw, 62px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.sl-lead {
  max-width: 790px;
  margin: 27px 0 0;
  color: var(--sl-muted);
  font-size: clamp(18px, 1.8vw, 22px);
}

.sl-section--navy .sl-lead {
  color: rgba(255,255,255,.69);
}

.sl-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 23px;
  border: 1px solid transparent;
  color: var(--sl-navy);
  background: var(--sl-cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.sl-button:hover {
  transform: translateY(-2px);
  background: #7dd7d4;
}

.sl-button--ghost {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
}

.sl-button--ghost:hover {
  color: var(--sl-navy);
  background: #fff;
}

.sl-button--dark {
  color: #fff;
  background: var(--sl-navy);
}

.sl-button--dark:hover {
  background: var(--sl-navy-2);
}

.sl-arrow::after {
  content: "↗";
  font-size: 16px;
  font-weight: 400;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4,26,40,.98) 0%, rgba(4,26,40,.90) 48%, rgba(4,26,40,.55) 100%),
    radial-gradient(circle at 83% 22%, rgba(99,199,197,.25), transparent 25%),
    var(--sl-navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to left, #000, transparent 75%);
}

.hero__inner {
  position: relative;
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 55px;
  align-items: center;
  padding: 96px 0 90px;
}

.hero__content {
  max-width: 800px;
}

.hero .sl-kicker {
  color: var(--sl-cyan);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero__caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 65px;
  background: rgba(255,255,255,.14);
}

.hero__caption-item {
  min-height: 106px;
  padding: 20px;
  background: rgba(9,37,54,.88);
}

.hero__caption-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--sl-cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.hero__caption-item span {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  line-height: 1.45;
}

.hero-services {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  box-shadow: var(--sl-shadow);
}

.hero-services__label {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.55);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-slide {
  display: none;
  min-height: 400px;
  padding: 34px 28px 90px;
}

.hero-slide.is-active {
  display: block;
  animation: slFade .35s ease;
}

@keyframes slFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slide__number {
  color: var(--sl-cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
}

.hero-slide h2 {
  margin: 34px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.08;
}

.hero-slide p {
  color: rgba(255,255,255,.64);
  font-size: 14px;
}

.hero-slide a {
  display: inline-block;
  margin-top: 24px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.14);
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 20px 22px;
}

.hero-dot {
  width: 24px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.26);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--sl-cyan);
}

.hero-next {
  width: 66px;
  height: 62px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.14);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 25px;
}

/* Express */
.express {
  position: relative;
  margin-top: -1px;
  color: #fff;
  background: var(--sl-navy-2);
}

.express__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 55px;
  align-items: stretch;
}

.express__intro {
  padding: 82px 0;
}

.express__intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.05;
}

.express__intro p {
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.express__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid rgba(255,255,255,.1);
  border-left: 1px solid rgba(255,255,255,.1);
}

.express-step {
  min-height: 100%;
  padding: 48px 30px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.express-step:last-child {
  border-right: 0;
}

.express-step__number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(99,199,197,.55);
  color: var(--sl-cyan);
  font-family: Georgia, "Times New Roman", serif;
}

.express-step h3 {
  margin: 34px 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.express-step p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

/* Services */
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading__aside {
  color: var(--sl-muted);
  font-size: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sl-line);
  border-left: 1px solid var(--sl-line);
}

.service-card {
  position: relative;
  min-height: 365px;
  padding: 33px 30px;
  border-right: 1px solid var(--sl-line);
  border-bottom: 1px solid var(--sl-line);
  background: rgba(255,255,255,.58);
  transition: color .25s ease, background .25s ease;
}

.service-card:hover {
  color: #fff;
  background: var(--sl-navy);
}

.service-card__index {
  color: var(--sl-cyan-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.service-card h3 {
  margin: 70px 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.1;
}

.service-card p {
  margin: 0;
  color: var(--sl-muted);
  font-size: 14px;
  transition: color .25s ease;
}

.service-card:hover p {
  color: rgba(255,255,255,.65);
}

.service-card__link {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--sl-line);
  padding-top: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.service-card:hover .service-card__link {
  border-color: rgba(255,255,255,.2);
}

/* Geography */
.geo {
  position: relative;
  overflow: hidden;
}

.geo::before {
  position: absolute;
  top: -15%;
  right: -12%;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(99,199,197,.18);
  border-radius: 50%;
  content: "";
}

.geo::after {
  position: absolute;
  top: 18%;
  right: 7%;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(99,199,197,.16);
  border-radius: 50%;
  content: "";
}

.geo__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.geo__visual {
  position: relative;
  min-height: 480px;
}

.geo__line {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99,199,197,.75), transparent);
  transform-origin: left;
}

.geo__line--1 { top: 28%; left: 2%; width: 82%; transform: rotate(12deg); }
.geo__line--2 { top: 51%; left: 7%; width: 88%; transform: rotate(-9deg); }
.geo__line--3 { top: 68%; left: 21%; width: 68%; transform: rotate(17deg); }

.geo-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid var(--sl-navy);
  border-radius: 50%;
  background: var(--sl-cyan);
  box-shadow: 0 0 0 1px rgba(99,199,197,.5), 0 0 25px rgba(99,199,197,.35);
}

.geo-dot span {
  position: absolute;
  top: 17px;
  left: 0;
  width: 150px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  white-space: nowrap;
}

.geo-dot--spb { top: 24%; left: 15%; }
.geo-dot--moscow { top: 43%; left: 39%; }
.geo-dot--ural { top: 35%; left: 68%; }
.geo-dot--far { top: 60%; left: 88%; }
.geo-dot--south { top: 72%; left: 42%; }

.geo__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: rgba(255,255,255,.12);
}

.geo-fact {
  padding: 24px;
  background: var(--sl-navy);
}

.geo-fact strong {
  display: block;
  color: var(--sl-cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
}

.geo-fact span {
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 55px;
  border-top: 1px solid var(--sl-line);
  border-left: 1px solid var(--sl-line);
}

.advantage {
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid var(--sl-line);
  border-bottom: 1px solid var(--sl-line);
}

.advantage__value {
  color: var(--sl-cyan-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
}

.advantage h3 {
  margin: 72px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
}

.advantage p {
  color: var(--sl-muted);
  font-size: 13px;
}

/* Lawyer */
.lawyer {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 0;
  align-items: stretch;
  background: var(--sl-paper);
  box-shadow: var(--sl-shadow);
}

.lawyer__portrait {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 25%, rgba(99,199,197,.25), transparent 24%),
    linear-gradient(145deg, #143b4e, #071d2b);
}

.lawyer__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyer__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(100px, 15vw, 210px);
  letter-spacing: -.09em;
}

.lawyer__portrait-note {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(9,37,54,.82);
  color: rgba(255,255,255,.75);
  font-size: 12px;
}

.lawyer__copy {
  padding: clamp(42px, 6vw, 82px);
}

.lawyer__copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.lawyer__role {
  margin: 16px 0 30px;
  color: var(--sl-cyan-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lawyer__copy p {
  color: var(--sl-muted);
}

.lawyer__list {
  display: grid;
  gap: 0;
  margin: 34px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sl-line);
}

.lawyer__list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--sl-line);
  font-size: 14px;
}

.lawyer__list li::before {
  margin-right: 12px;
  color: var(--sl-cyan-dark);
  content: "—";
}

/* Practice */
.posts-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 18px;
  margin-top: 52px;
}

.post-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(to top, rgba(5,24,36,.98), rgba(5,24,36,.26)),
    var(--sl-navy-2);
  text-decoration: none;
}

.post-card:first-child {
  min-height: 520px;
}

.post-card__date {
  color: var(--sl-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 17px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.12;
}

.post-card:first-child h3 {
  font-size: 36px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--sl-line);
}

.faq-item {
  border-bottom: 1px solid var(--sl-line);
}

.faq-item summary {
  position: relative;
  padding: 24px 55px 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 22px;
  right: 0;
  color: var(--sl-cyan-dark);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 26px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 45px 25px 0;
  color: var(--sl-muted);
  font-size: 14px;
}

/* Contact */
.contact {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9,37,54,.99), rgba(9,37,54,.86)),
    var(--sl-navy);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 80px;
  align-items: start;
}

.contact__phone {
  display: inline-block;
  margin: 32px 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 52px);
  text-decoration: none;
}

.contact__details {
  display: grid;
  gap: 15px;
  margin-top: 34px;
}

.contact__detail {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.69);
  font-size: 14px;
}

.contact__form {
  padding: 36px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
}

.contact__form h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.contact__form p {
  color: rgba(255,255,255,.63);
  font-size: 14px;
}

.contact__form input,
.contact__form textarea,
.contact__form select {
  width: 100%;
  margin-bottom: 12px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(255,255,255,.45);
}

.contact__form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact__form .wpcf7-submit,
.contact__form input[type="submit"] {
  width: auto;
  margin-top: 14px;
  padding: 14px 22px;
  border: 0;
  color: var(--sl-navy);
  background: var(--sl-cyan);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Content pages */
.page-hero {
  padding: 100px 0 75px;
  color: #fff;
  background: var(--sl-navy);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.02;
}

.content-area {
  padding: 75px 0 110px;
  background: #fff;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(220px, 1fr);
  gap: 70px;
  align-items: start;
}

.entry-content {
  font-size: 18px;
}

.entry-content h2,
.entry-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}

.entry-content h2 {
  margin-top: 55px;
  font-size: 40px;
}

.entry-content h3 {
  margin-top: 38px;
  font-size: 29px;
}

.entry-content a {
  color: var(--sl-cyan-dark);
}

.entry-content blockquote {
  margin: 38px 0;
  padding: 24px 30px;
  border-left: 3px solid var(--sl-cyan-dark);
  background: var(--sl-bg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.entry-meta {
  margin-top: 18px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

.content-sidebar {
  position: sticky;
  top: 125px;
  padding: 26px;
  border: 1px solid var(--sl-line);
  background: var(--sl-bg);
}

.content-sidebar h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.content-sidebar p {
  color: var(--sl-muted);
  font-size: 13px;
}

/* Footer */
.site-footer {
  padding: 70px 0 24px;
  color: #fff;
  background: #061b28;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr .9fr;
  gap: 65px;
}

.footer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.footer-copy {
  max-width: 390px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

.footer-heading {
  margin: 0 0 20px;
  color: var(--sl-cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-menu,
.footer-contacts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a,
.footer-contacts a {
  color: rgba(255,255,255,.71);
  font-size: 13px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.43);
  font-size: 11px;
}

/* Cookie note */
.cookie-note {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 20px;
  display: none;
  width: min(430px, calc(100% - 40px));
  padding: 19px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  background: var(--sl-navy);
  box-shadow: var(--sl-shadow);
  font-size: 12px;
}

.cookie-note.is-visible {
  display: block;
}

.cookie-note__actions {
  display: flex;
  gap: 10px;
  margin-top: 13px;
}

.cookie-note button {
  padding: 8px 14px;
  border: 0;
  color: var(--sl-navy);
  background: var(--sl-cyan);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: auto auto;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 20px 24px 26px;
    background: var(--sl-navy);
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 0;
  }

  .primary-navigation a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .primary-navigation a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr 340px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-top {
    display: none;
  }

  .header-main {
    min-height: 72px;
  }

  .hero__inner,
  .express__grid,
  .geo__grid,
  .lawyer,
  .faq-grid,
  .contact__grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
    padding: 75px 0;
  }

  .hero-services {
    min-height: 420px;
  }

  .express__intro {
    padding: 65px 0 20px;
  }

  .express__steps {
    margin-bottom: 65px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .geo__visual {
    min-height: 380px;
  }

  .lawyer__portrait {
    min-height: 470px;
  }

  .posts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .post-card:first-child {
    grid-column: 1 / -1;
  }

  .content-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .sl-container {
    width: min(calc(100% - 28px), var(--sl-max));
  }

  .sl-section {
    padding: 72px 0;
  }

  .brand-tagline {
    display: none;
  }

  .brand-title {
    font-size: 17px;
  }

  .hero__caption,
  .express__steps,
  .services-grid,
  .advantages-grid,
  .posts-grid,
  .geo__facts {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .sl-button {
    width: 100%;
  }

  .hero-services {
    min-height: 440px;
  }

  .express-step {
    min-height: 235px;
  }

  .service-card {
    min-height: 330px;
  }

  .advantage {
    min-height: 270px;
  }

  .advantage h3 {
    margin-top: 42px;
  }

  .geo__visual {
    min-height: 320px;
  }

  .geo-dot span {
    display: none;
  }

  .lawyer__portrait {
    min-height: 360px;
  }

  .lawyer__copy {
    padding: 35px 25px;
  }

  .post-card,
  .post-card:first-child {
    min-height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    display: grid;
  }
}
