/*
Theme Name: Jurist
Theme URI: https://nalog--audit.ru/
Author: Клишковская Ирина
Description: Тема сайта налогового консультанта. Тексты, контакты и картинки — в Внешний вид → Настроить; меню — Внешний вид → Меню; услуги, отзывы и дипломы — отдельные разделы админки.
Version: 2.0
Text Domain: jurist
*/

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  --blue-dark: #0d1f3c;
  --blue-mid: #1a3460;
  --blue-accent: #2a4d8f;
  --blue-light: #3a6bbf;
  --gold: #c9a84c;
  --gold-light: #e8c86a;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --gray-light: #e8edf5;
  --gray-text: #6b7a96;
  --text-dark: #0d1f3c;
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-logo: 'Great Vibes', cursive;
  --shadow: 0 8px 16px rgba(28, 44, 70, 0.2);
  --shadow-hover: 0 8px 40px rgba(13, 31, 60, 0.18);
  --radius: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


@font-face {
  font-family: 'Heinrich Script';
  src: url('HeinrichScript.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('GothamMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1 {
  font-family: 'Heinrich Script', cursive;
  font-size: 20pt;
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Gotham', sans-serif;
  font-size: 16pt;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
}

h3 {
  font-size: 15pt;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.35;
}

h4 {
  font-size: 13pt;
  font-weight: 600;
  color: var(--blue-dark);
}

p {
  font-size: 14pt;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Home Highlight Block (НАЛОГ-АУДИТ) */
.home-highlight-section {
  padding: 0;
  background: linear-gradient(180deg, #0d1f3c 0%, #081224 100%);
  min-height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-highlight-block {
  border: 4px solid var(--white);
  border-radius: 20px;
  background: rgba(13, 31, 60, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 25px 40px;
  text-align: center;
  display: inline-block;
  margin: 0 auto;
}

.home-highlight-block h2 {
  color: var(--white);
  margin: 0;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .home-highlight-section {
    height: auto;
    padding: 30px 0;
    min-height: 80px;
  }

  .home-highlight-block {
    padding: 15px 20px;
    border-radius: 20px;
    border-width: 3px;
  }

  .home-highlight-block h2 {
    font-size: 18px;
  }
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--off-white);
}

/* ========== HEADER & NAVIGATION ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--blue-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 2.5px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  max-width: 320px;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

.site-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue-dark);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

.site-logo .logo-text {
  font-family: var(--font-logo);
  font-size: 29px;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.25;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

.site-logo .logo-text .logo-sub {
  display: block;
  font-family: var(--font-logo);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all var(--transition);
  display: block;
}

.nav-menu li a:hover {
  color: var(--gold);
  background: transparent;
}

.nav-menu li.current-menu-item a {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border: none;
  background: none;
  z-index: 1001;
  /* Ensure stay above overlay */
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span {
  background: var(--gold);
  /* gold toggle when active */
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== MOBILE OVERLAY ========== */

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--blue-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay .overlay-close {
  position: absolute;
  top: 17px;
  right: 44px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  transition: color var(--transition);
}

.mobile-nav-overlay .overlay-close:hover {
  color: var(--gold);
}

.overlay-menu {
  list-style: none;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.overlay-menu li a {
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.overlay-menu li a:hover {
  color: var(--gold);
}

.overlay-menu li.current-menu-item a {
  color: var(--gold);
}

/* ========== HOME PAGE: HERO ========== */
.hero-main {
  position: relative;
  height: 691px;
  min-height: 691px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--blue-dark);
  padding: 0;
  overflow: hidden;
}

.hero-main-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/hero.webp');
  background-size: cover;
  background-position: center top;
  opacity: 1;
}

.hero-main-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 31, 60, 0.4) 0%, rgba(13, 31, 60, 0.2) 100%);
  z-index: 1;
}

.container--hero {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-main-content {
  max-width: 900px;
  margin-left: 50%;
  text-align: center;
}

.hero-name-cursive {
  font-family: 'Heinrich Script', cursive;
  font-size: 43px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 15px;
  font-weight: 400;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-titles {
  font-family: 'Gotham', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hero-services-box {
  border: 4px solid var(--white);
  border-radius: 20px;
  padding: 20px 35px;
  display: inline-block;
  background: rgba(13, 31, 60, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-service-item {
  font-family: 'Gotham', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  letter-spacing: 1.5px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-service-divider {
  width: 80px;
  height: 2px;
  background: var(--white);
  border: none;
  margin: 15px auto;
  opacity: 0.8;
}


#herobtn {
  background-color: var(--blue-accent) !important;
  color: var(--white) !important;
  border-color: var(--blue-accent) !important;
  width: 250px;
  max-width: 250px;
  padding: 16px 20px;
  font-size: 16px;
}

#herobtn:hover {
  background-color: var(--blue-dark) !important;
  border-color: var(--blue-dark) !important;
  color: var(--white) !important;
}

#herobtn2 {
  background-color: transparent !important;
  color: white !important;
  border-color: white !important;
  width: 250px;
  max-width: 250px;
  padding: 16px 20px;
  font-size: 15px;
}


#herobtn2:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  width: 250px;
  max-width: 250px;
  padding: 16px 20px;
  font-size: 15px;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .hero-main-bg {
    background-image: url('assets/img/heroMobile.webp');
    background-position: center;
  }

  .hero-main {
    height: 691px;
    min-height: 691px;
    justify-content: center;
  }

  .hero-main-content {
    margin-right: 0;
    margin-left: auto;
    width: 100%;
    text-align: right;
  }

  .hero-name-cursive {
    font-size: 34px;
  }

  .hero-titles {
    font-family: 'Gotham', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 10px;
    margin-bottom: 25px;
    padding: 0 10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: 0;
  }

  .hero-services-box {
    padding: 20px 15px;
    border-radius: 20px;
    border-width: 3px;
    width: 100%;
    font-size: 15px;
    font-family: 'Gotham', 'Inter', sans-serif;
    font-weight: 700;
    text-align: center;
  }

  .hero-service-item {
    font-size: 15px;
    letter-spacing: 2px;
    font-family: 'Gotham', 'Inter', sans-serif;
    font-weight: 700;
  }

  .hero-service-divider {
    margin: 12px auto;
    width: 90px;
  }
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* ========== BENEFITS ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.benefit-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  border: none;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Remove shadow expansions on mouse over */
.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Same as default */
}

.benefit-item .benefit-icon {
  font-size: 25px;
  color: var(--blue-dark);
  /* Brand dark blue */
  display: block;
}

.benefit-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--blue-dark);
}

.benefit-item p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.6;
}

/* ========== SERVICES HOME GRID ========== */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-home-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--blue-accent);
}

.service-home-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--blue-dark);
}

.service-home-card p {
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 24px;
}

.link-gold {
  color: var(--blue-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  transition: gap var(--transition);
}

.link-gold:hover {
  gap: 8px;
  color: var(--gold-light);
}

/* ========== LANDING ABOUT ========== */
.landing-about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.landing-about-img {
  position: relative;
}

.landing-about-img img {
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gold);
}

.landing-about-img .img-frame {
  display: none;
}

.landing-stats {
  display: flex;
  gap: 40px;
  margin: 32px 0;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-dark);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== CTA SECTION ========== */
/* .section-cta {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  border-radius: 20px;
  max-height: 500px;
  margin: 0 auto;
} */

.btn-lg {
  padding: 18px 44px;
  font-size: 16px;
}

.cta-card {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 80%);
  padding: 80px 40px;
  border-radius: var(--radius);
  border: 0px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 110px;
  text-align: center;

  margin: 0 auto;
}

.cta-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--white);
}



.cta-card p {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-gold {
  background: var(--blue-accent);
  color: var(--white);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--blue-dark);
  color: var(--white);
}

@media (max-width: 991px) {
  .hero-name-cursive {
    font-size: 40px;
  }

  .hero-titles {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--white);
  }

  .landing-about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-grid,
  .services-grid-home {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .benefits-grid,
  .services-grid-home {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-main {
    text-align: center;
  }

  .hero-main p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-card {
    padding: 40px 20px;
  }

  .cta-card h2 {
    font-size: 22px;
  }

  .cta-card p {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .btn-lg {
    padding: 14px 30px;
    font-size: 14px;
    width: 100%;
  }

  .landing-about-text .btn-primary {
    display: block;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
  }

}

/* ========== HERO BANNER ========== */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/img/justice-pattern.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}


/* MOBILE HERO */

.page-heroS {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/img/justice-pattern.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}

.page-heroS::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.75) 100%);
  z-index: 0;
}


.page-heroS::after {
  display: none;
}




/* Remove geometric decorations to let pattern shine */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.75) 100%);
  z-index: 0;
}

.page-hero::after {
  display: none;
}

/* Services page gets the hero image */
.page-hero--image {
  background: var(--blue-dark);
}



.page-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-hero h1 {
  color: var(--blue-dark);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero .hero-subtitle {
  font-size: 20px;
  color: var(--blue-dark);
  opacity: 0.85;
  max-width: 800px;
  margin: 0 auto;
}

.page-heroS .hero-content {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-heroS h1 {
  color: var(--blue-dark);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-heroS .subtitle {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-accent);
  margin-bottom: 12px;
}

.page-heroS .hero-subtitle {
  font-size: 18px;
  color: var(--blue-dark);
  opacity: 1;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
}

.page-heroS .hero-subtitle-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.page-heroS .hero-subtitle-list li {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-dark);
}

.page-heroS .hero-subtitle-list li + li::before {
  content: ' / ';
  color: var(--blue-accent);
  padding: 0 6px;
}

@media (max-width: 768px) {
  .page-heroS {
    min-height: 160px;
  }

  .page-heroS .hero-subtitle-list {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .page-heroS .hero-subtitle-list li {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .page-heroS .hero-subtitle-list li + li::before {
    display: none;
  }

  .page-heroS .hero-subtitle-list li::before {
    content: '•';
    color: var(--blue-accent);
    font-size: 16px;
  }
}

/* ========== SERVICES PAGE ========== */

/* ========== SERVICES PAGE ========== */

/* Services Nav (sticky sidebar style) */
.services-nav {
  background: var(--blue-dark);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.services-nav h3 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.65;
}

.services-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.services-nav ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.services-nav ul li a:hover,
.services-nav ul li a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--blue-light);
}

.services-nav ul li a .nav-icon {
  font-size: 16px;
}

/* Services Layout */
.services-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Service Cards */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  padding: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.service-card-header {
  background: var(--blue-dark);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-card-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

.service-price-badge {
  background: var(--blue-light);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body .btn {
  margin-top: 40px;
  /* Space above button */
  width: fit-content;
  align-self: flex-start;
}

.service-description {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.5;
}

.service-features li::before {
  content: '✓';
  color: var(--blue-light);
  font-weight: 700;
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.service-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--off-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
}

.btn:hover,
.btn:active,
.btn:focus {
  transform: none;
  box-shadow: none;
}

.btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 12px;
  margin-top: -2px;
}

.btn .btn-icon svg {
  width: 22px;
  height: 22px;
}

.btn-primary {
  background: var(--blue-accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue-accent);
  border: 2px solid var(--blue-accent);
}

.btn-outline:hover {
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--blue-accent);
  color: var(--blue-accent);
}

.btn-outline-dark:hover,
.hero-btns .btn-outline-dark:hover,
#site-header .btn-outline-dark:hover {
  background: transparent !important;
  color: var(--blue-light) !important;
  border-color: var(--blue-light) !important;
}

/* ========== ABOUT PAGE ========== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  align-self: flex-start;
  margin-top: -60px;
}

.about-image-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--gold);
}

.about-image-wrap::before {
  display: none;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.about-badge .badge-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-light);
  display: block;
}

.about-badge .badge-label {
  font-size: 12px;
  opacity: 0.8;
}


.about-content h1 {
  margin-bottom: 16px;
}

.about-content .subtitle {
  font-size: 16px;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.about-content p {
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.stat-item {
  text-align: center;
  background: var(--off-white);
  border-radius: 10px;
  padding: 20px 12px;
  border-left: 4px solid var(--blue-light);
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-dark);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 4px;
}

.about-skills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}


.skill-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.skill-bar {
  height: 6px;
  background: var(--gray-light);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Education / Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--gray-light);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--blue-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  margin-top: 2px;
}

.timeline-content h4 {
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.timeline-content .year {
  font-size: 12px;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0;
}

/* ========== REVIEWS PAGE ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 4px solid var(--gold);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.review-stars span {
  color: var(--gold);
  font-size: 18px;
}

.review-text {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.review-author-info .name {
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-dark);
}

.review-author-info .position {
  font-size: 12px;
  color: var(--gray-text);
}

/* Reviews Hero */
.reviews-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.review-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.review-stat-card .stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue-dark);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.review-stat-card .stat-label {
  font-size: 14px;
  color: var(--gray-text);
}

/* ========== CONTACTS PAGE ========== */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}


.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info .intro {
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--blue-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
}

.contact-text .label {
  font-size: 12px;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-text .value {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-dark);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.social-btn.telegram {
  background: #0088cc;
  color: white;
}

.social-btn.whatsapp {
  background: #25d366;
  color: white;
}

.social-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  color: white;
}

.social-btn-minimal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1.5px solid var(--blue-dark);
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}

.social-btn-minimal:hover {
  background: var(--blue-dark);
  color: white;
}

.social-btn-minimal svg {
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.consultation-steps-card {
  margin-top: 32px;
  padding: 24px;
  background: var(--off-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-icon-minimal {
  font-size: 24px;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(42, 77, 143, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  max-width: 250px;
  margin: 0 auto;
  padding: 14px;
  font-size: 15px;
  border-radius: 10px;
  display: block;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: #e8f5e9;
  border-radius: 10px;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 16px;
}

/* ========== FOOTER ========== */
.site-footer {
  margin-top: 60px;
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 30px;
  border-top: 2.5px solid var(--gold);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 34px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ========== SCROLL ANIMATIONS ========== */
.slide-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in.slide-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in--left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in--left.slide-in--visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in--right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in--right.slide-in--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ========== SECTION HEADING ========== */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 15px;
  color: var(--gray-text);
  max-width: 540px;
  margin: 0 auto;
}

.section-heading .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 80px 0;
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
  border-radius: 20px;
  margin-top: 60px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  font-size: 16px;
}

.footer-icon svg {
  fill: var(--gold);
  vertical-align: middle;
  margin-right: 8px;
}

/* Ensure 30px buffer before footer on all pages */
.site-main>section:last-of-type,
.site-main>div:last-child,
.site-main>.container:last-child {
  margin-bottom: 60px !important;
}

.cta-section .btn-primary {
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 10px;
}

/* ========== MOBILE: RESPONSIVE ========== */
@media (max-width: 768px) {

  /* Typography */
  /* Typography Cleansed */

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  /* Handle button position specifically in header-inner */
  .header-inner {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
    margin-right: -10px;
    /* Offset padding for visual alignment */
  }

  /* Layouts → single column */
  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-nav {
    position: static;
    border-radius: var(--radius);
  }

  .services-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .services-nav ul li a {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 8px 12px;
    font-size: 13px;
  }

  .services-nav ul li a.active,
  .services-nav ul li a:hover {
    border-left: none;
    border-bottom-color: var(--blue-light);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-image-wrap::before {
    display: none;
  }

  .about-image-wrap img {
    height: 360px;
  }

  .about-badge {
    right: 0;
    bottom: 16px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

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

  .reviews-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Page hero */
  .page-hero {
    min-height: 110px;
  }

  .page-hero .hero-content {
    padding: 40px 20px;
  }

  /* Sections */
  .section {
    padding: 50px 0;
  }

  /* CTA */
  .cta-section {
    padding: 50px 0.5rem;
  }

  /* Contact form */
  .contact-form-wrap {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  /* Typography Cleansed */

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 16px;
  }
}

/* FINAL MOBILE CTA FIXES */
@media (max-width: 768px) {

  .service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
  }

  .service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .service-card .link-gold {
    font-size: 14px;
  }



  .cta-card {
    padding: 40px 20px !important;
  }

  .cta-card h2 {
    font-size: 18px !important;
  }

  .section-cta .btn-lg {
    padding: 12px 30px !important;
    font-size: 14px !important;
    width: 80% !important;
  }

  .page-hero {
    min-height: 691px !important;
  }

  .page-hero h1 {
    font-size: 28px !important;
  }

  .page-hero .hero-subtitle {
    font-size: 16px !important;
  }

  .hero-name-cursive {
    font-size: 28px !important;
  }

  .hero-titles {
    font-size: 16px !important;
  }

  .benefit-item {
    padding: 10px !important;
  }

  .benefit-item p {
    font-size: 14px !important;
  }

  .benefit-item h3 {
    font-size: 17px !important;
  }
}

/* =========================================================================
   DIPLOMA GALLERY & MOBILE BUTTON
   ========================================================================= */

@media (max-width: 768px) {
  .mobile-center-btn {
    width: 100%;
    margin: 0 auto !important;
    align-items: center !important;
    justify-content: center;
  }

  .btn-outline {
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 12px;
  }
}

.diploma-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  grid-auto-flow: dense;
  margin: 30px auto 40px auto;
  width: 60%;
}

@media (max-width: 768px) {
  .diploma-gallery {
    width: 100%;
    padding: 0 40px;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
  }
}

.diploma-item {
  cursor: pointer;
  border: 2px solid var(--gold);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 3/4;
  background: var(--bg-light);
}

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

.diploma-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: 4px solid var(--gold);
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--gold);
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--gold);
  color: #000;
}

.lightbox-prev {
  left: -50px;
}

.lightbox-next {
  right: -50px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .btn-outline {
    margin: 0 auto !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
  }

  .btn-sm {
    max-width: 300px !important;
    font-size: 12px !important;
  }

  #btnAbout {
    margin: 0 auto !important;
  }

  #news-content {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ========== NEWS PAGE ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card-img {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-date {
  font-size: 12px;
  color: var(--gray-text);
}

.news-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--blue-accent);
  padding: 2px 8px;
  border-radius: 20px;
}

.news-card-body h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-body h3 a {
  color: var(--blue-dark);
  text-decoration: none;
}

.news-card-body h3 a:hover {
  color: var(--blue-accent);
}

.news-card-body p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.news-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-read-more:hover {
  color: var(--gold);
}

@media (max-width: 991px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Элементы, редактируемые из админки ========== */
.about-services { list-style: none; margin: 0 0 24px; padding: 0; }
.about-services li { margin-bottom: 8px; }
.about-content ul:not(.about-services) { margin: 0 0 24px 20px; }
