/*
Theme Name: Ambulance
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Современная тема WordPress для сайта скорой помощи, созданная на основе макета Figma
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ambulance
Tags: medical, ambulance, emergency, responsive, modern
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "Bounded";
  src: url("assets/fonts/Bounded-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors from Figma */
  --primary-red: #8e0f11;
  --dark-blue: #070f51;
  --medium-gray: #566576;
  --dark-gray: #292a2d;
  --text-color: #070f51;
  --white: #ffffff;
  --black: #000000;
  --border-color: rgba(74, 69, 72, 0.74);

  /* Typography */
  --font-primary: "Bounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-fallback);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 54px;
  line-height: 67px;
}
h2 {
  font-size: 36px;
  line-height: 45px;
}
h3 {
  font-size: 24px;
  line-height: 30px;
}
h4 {
  font-size: 22px;
  line-height: 27px;
}
h5 {
  font-size: 20px;
  line-height: 25px;
}
h6 {
  font-size: 18px;
  line-height: 22px;
}

p {
  margin-bottom: 1rem;
  font-family: var(--font-primary);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Container */
.container {
  margin: 0;
  padding: 0;
  width: 100%;
  gap: 30px;
}

/* Header / Navigation */
.site-header {
  background: rgba(0, 0, 0, 0.81);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
}

.archive-news-site-main {
  padding-top: 120px;
  min-height: calc(100vh - 60px);
}

.archive-news-site-main .container {
  padding: 0 200px;
}

@media (max-width: 1440px) {
  .site-main .container {
    padding: 0 100px;
  }
}

@media (max-width: 1040px) {
  .site-main .container {
    padding: 0 100px;
  }
}

@media (max-width: 768px) {
  .site-main .container {
    padding: 0 15px;
  }
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.site-logo {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 40px;
  color: var(--white);
  text-transform: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: var(--white);
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-align: center;
}

.main-navigation a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: plus-darker;
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #000 100%);
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0 50px;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 400;
  line-height: 67px;
  color: var(--white);
  margin-top: 160px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 38px;
  color: var(--white);
  margin-bottom: 16vh;
  display: flex;
  align-items: center;
}

.hero-phone {
  margin-bottom: 20px;
}

.phone-number {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 40px;
  color: var(--white);
  display: inline-block;
  letter-spacing: -0.03em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 40px;
  font-family: var(--font-primary);
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: none;
  letter-spacing: 0;
}

.btn-call {
  background: var(--primary-red);
  color: var(--white);
  font-size: 28px;
  line-height: 40px;
  padding: 20px 10px;
  min-width: 283px;
  height: 80px;
  border-radius: 40px;
  margin-bottom: 50px;
}

.btn-call:hover {
  background: #7a0d0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 15, 17, 0.4);
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
  font-size: 15px;
  line-height: 30px;
  padding: 8px 32px;
  border-radius: 20px;
}

.btn-primary:hover {
  background: #7a0d0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 15, 17, 0.4);
}

.btn-more {
  background: var(--primary-red);
  color: var(--white);
  font-size: 24px;
  line-height: 30px;
  padding: 16px 32px;
  border-radius: 20px;
  max-width: 350px;
  align-self: end;
}

.btn-more:hover {
  background: #7a0d0f;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: var(--dark-blue);
  position: relative;
}

.services-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-header {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 90px;
  margin-bottom: 60px;
  align-items: start;
  padding: 0;
}

.services-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  color: var(--white);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  padding: 24px 0 12px 0;
}

.services-intro {
  border-left: 5px solid white;
  padding-left: 40px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--white);
  display: flex;
  align-items: center;
  max-width: 1006px;
}

.services-intro p {
  margin: 0;
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 450px);
  gap: 70px;
  justify-content: center;
  padding: 0 50px;
}

.service-card {
  background: var(--white);
  padding: 0;
  border: 1px solid var(--border-color);
  filter: drop-shadow(6px 6px 4px rgba(0, 0, 0, 0.25));
  border-radius: 10px;
  height: 400px;
  width: 400px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: grid;
  grid-template-rows: 120px auto;
  grid-template-columns: auto 1fr;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-card-link {
  cursor: pointer;
  background: var(--white);
}

.service-icon {
  grid-row: 1;
  grid-column: 1;
  width: 50px;
  height: 100%;
  margin-left: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-blue);
}

.service-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.service-card h3 {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--dark-blue);
  margin: 0 0 0 32px;
  display: flex;
  align-items: center;
}

.service-card p {
  grid-row: 2;
  grid-column: span 2;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  color: var(--dark-blue);
  margin: 20px 20px 20px 30px;
  flex: 1;
}

.services-grid .service-card:last-child {
  grid-template-rows: 340px 50px;
}

.services-grid .service-card:last-child .service-icon {
  grid-column: span 2;
  grid-row: 2;
  width: 100%;
  padding-right: 15px;
  margin: 0;
  justify-content: flex-end;
}

.services-grid .service-card:last-child .service-icon img {
  width: auto;
  height: 50px;
}

.services-grid .service-card:last-child h3 {
  margin-top: 60px !important;
  text-align: center;
  margin-right: 32px;
}

/* About Section */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: min(60%, 820px) min(40%, 600px);
  gap: 40px;
  min-height: 905px;
  justify-content: center;
  padding: 80px;
}

.about-left {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 15px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.about-left h2 {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  color: var(--white);
  margin-bottom: 40px;
  text-align: left;
}

.about-content {
  margin-bottom: 40px;
}

.about-content p {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 27px;
  color: var(--white);
  margin-bottom: 32px;
}

.about-right {
  background: var(--medium-gray);
  color: var(--white);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 15px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
}

.about-right h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  color: var(--white);
  margin-bottom: 40px;
  text-align: center;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 170px;
  height: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-text {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
  background: var(--medium-gray);
  position: relative;
}

.testimonials-container {
  margin: 0;
  padding: 0 50px;
  width: 100%;
  max-width: 1640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.testimonials-section .section-title {
  grid-row: 1;
  grid-column: span 2;

  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  color: var(--white);
  margin-bottom: 40px;
  padding: 0 50px;
}

.testimonials-intro {
  grid-row: 2;
  grid-column: 1;

  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--white);
  max-width: 647px;
  margin: 0 0 40px 50px;
}

.testimonial-form-prompt {
  grid-row: 2;
  grid-column: 2;

  max-width: 695px;
  margin: 0 50px 60px 50px;
  padding: 0;
}

.testimonial-form-prompt p {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--white);
  margin-bottom: 20px;
}

.testimonials-grid {
  grid-row: 3;
  grid-column: span 2;

  display: grid;
  grid-template-columns: repeat(3, 450px);
  gap: 50px;
  justify-content: center;
  padding: 0 50px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  color: var(--dark-blue);
  line-height: 27px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-content p {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: var(--dark-blue);
}

.testimonial-author {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  color: var(--dark-blue);
}

.testimonial-author strong {
  color: var(--dark-blue);
}

/* Contact Section */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 20px 0;
  background: var(--dark-gray);
  color: var(--white);
}

.contact-section .container {
  max-width: 1280px;
}

.contact-section .section-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 35px;
  color: var(--white);
  margin-bottom: 40px;
  padding: 0;
  text-align: left;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 50px;
  margin-top: 0;
  padding: 0;
  justify-content: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: var(--white);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.contact-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center;
}

.contact-item a {
  color: var(--white);
}

.contact-item a:hover {
  color: var(--primary-red);
}

.contact-map {
  min-height: 457px;
  background: var(--medium-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-full-address {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.contact-full-address p {
  margin-bottom: 0;
}

.map-placeholder {
  text-align: center;
  color: var(--white);
  font-family: var(--font-primary);
}

/* Footer */
.site-footer {
  background: black;
  color: var(--white);
  padding: 20px 50px;
}

.site-footer .container {
  padding: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--white);
  padding: 0;
}

.footer-content > p {
  margin: 0;
  text-align: center;
}

.footer-center {
  text-align: center;
  flex: 1;
  font-size: 18px;
  line-height: 22px;
}

.footer-center p {
  margin: 0.25rem 0;
  color: var(--white);
}

.footer-center a {
  color: var(--white);
}

.footer-center a:hover {
  color: var(--primary-red);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Styles */
/* Large Desktop (1400px - 1680px) */
@media (max-width: 1680px) {
  .container {
    padding: 0 80px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 400px);
    gap: 50px;
  }

  .about-wrapper {
    grid-template-columns: 60% 40%;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 400px);
    gap: 40px;
  }

  .contact-wrapper {
    grid-template-columns: 500px 1fr;
  }
}

/* Desktop (1024px - 1400px) */
@media (max-width: 1400px) {
  .container {
    padding: 0 50px;
  }

  .hero-content {
    max-width: 800px;
  }

  .hero-title {
    font-size: 42px;
    line-height: 52px;
  }

  .hero-subtitle {
    font-size: 26px;
    line-height: 32px;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 0 auto;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    max-width: 900px;
  }

  .about-left {
    border-radius: 15px 15px 0 0;
  }

  .about-right {
    border-radius: 0 0 15px 15px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
  }

  .contact-map {
    min-height: 400px;
  }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .header-wrapper {
    padding: 0 20px;
  }

  .site-logo {
    font-size: 24px;
    line-height: 30px;
  }

  .main-navigation a {
    font-size: 15px;
    padding: 0 15px;
  }

  .hero-section {
    min-height: 800px;
    margin-top: 120px;
  }

  .hero-content {
    padding: 0 30px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 45px;
  }

  .hero-subtitle {
    font-size: 22px;
    line-height: 28px;
  }

  .phone-number {
    font-size: 28px;
    line-height: 35px;
  }

  .btn-call {
    min-width: 280px;
    min-height: 120px;
    font-size: 28px;
  }

  .services-section {
    padding: 60px 0;
  }

  .services-header {
    padding: 0 30px;
  }

  .services-title {
    font-size: 32px;
    line-height: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    padding: 0 30px;
  }

  .service-card {
    min-height: auto;
  }

  .about-wrapper {
    padding: 60px 30px;
  }

  .about-left,
  .about-right {
    padding: 40px 30px;
  }

  .about-left h2,
  .about-right h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-section .section-title {
    padding: 0 30px;
  }

  .testimonials-intro,
  .testimonial-form-prompt {
    margin-left: 30px;
    margin-right: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    padding: 0 30px;
  }

  .testimonial-card {
    min-height: auto;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-section .section-title {
    padding: 0 30px;
  }

  .contact-wrapper {
    padding: 0 30px;
  }

  .footer-content {
    padding: 0;
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile (480px - 768px) */
@media (max-width: 768px) {
  .site-header {
    height: auto;
    min-height: 80px;
  }

  .header-wrapper {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-navigation {
    display: none;
    width: 100%;
    margin-top: 1rem;
  }

  .main-navigation.menu-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-navigation a {
    display: block;
    padding: 1rem;
    text-align: left;
  }

  .site-logo {
    font-size: 16px;
    line-height: 25px;
  }

  .hero-section {
    min-height: 600px;
    margin-top: 0;
  }

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

  .hero-title {
    font-size: 28px;
    line-height: 35px;
    margin-top: 120px;
  }

  .hero-subtitle {
    font-size: 20px;
    line-height: 25px;
  }

  .phone-number {
    font-size: 24px;
    line-height: 30px;
  }

  .btn-call {
    min-width: 100%;
    min-height: 80px;
    font-size: 24px;
    padding: 20px;
  }

  .container {
    padding: 0 20px;
  }

  .services-section {
    padding: 40px 0;
  }

  .services-header {
    padding: 0 20px;
    gap: 30px;
  }

  .services-title {
    font-size: 28px;
    line-height: 35px;
    border: none;
    padding: 0;
  }

  .services-intro {
    font-size: 14px;
    line-height: 20px;
  }

  .services-grid {
    padding: 0;
    gap: 30px;
  }

  .service-card {
    min-height: auto;
    height: auto;
    width: 100%;
    padding: 20px;
  }

  .service-icon {
    margin: 0 20px 0 0;
    padding-bottom: 14px;
  }

  .service-card h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 25px;
  }

  .service-card p {
    margin: 0;
    font-size: 18px;
    line-height: 23px;
  }

  .services-grid .service-card:last-child {
    grid-template-rows: 300px 60px;
  }

  .services-grid .service-card:last-child h3 {
    margin: 0;
  }

  .about-wrapper {
    padding: 40px 20px;
  }

  .about-left,
  .about-right {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .about-left h2,
  .about-right h2 {
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 30px;
  }

  .about-content p {
    font-size: 18px;
    line-height: 24px;
  }

  .features-list {
    padding: 0;
    gap: 20px;
  }

  .feature-text {
    font-size: 15px;
    line-height: 25px;
  }

  .testimonials-section {
    padding: 40px 0;
  }

  .testimonials-container {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .testimonials-section .section-title {
    grid-row: 1;
    grid-column: 1;

    font-size: 28px;
    line-height: 35px;
    padding: 0 20px;
  }

  .testimonials-intro {
    grid-row: 2;
    grid-column: 1;
  }

  .testimonial-form-prompt {
    grid-row: 3;
    grid-column: 1;
  }

  .testimonials-intro,
  .testimonial-form-prompt {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 15px;
    line-height: 24px;
  }

  .testimonial-form-prompt p {
    font-size: 15px;
  }

  .testimonials-grid {
    grid-row: 4;
    grid-column: 1;
    padding: 0 20px;
    gap: 30px;
  }

  .testimonial-card {
    padding: 20px;
    min-height: auto;
  }

  .testimonial-content p {
    font-size: 15px;
    line-height: 24px;
  }

  .testimonial-author {
    font-size: 18px;
    line-height: 24px;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-section .section-title {
    font-size: 24px;
    line-height: 30px;
    padding: 0 20px;
  }

  .contact-wrapper {
    padding: 0 20px;
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .contact-item {
    font-size: 20px;
    line-height: 26px;
  }

  .contact-map {
    height: 300px !important;
  }

  .contact-full-address {
    grid-column: 1;
    text-align: center;
  }

  .footer-content {
    padding: 0px;
    line-height: 18px;
  }

  .footer-center {
    font-size: 16px;
    line-height: 20px;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
    line-height: 30px;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 23px;
  }

  .phone-number {
    font-size: 20px;
    line-height: 25px;
  }

  .btn-call {
    min-height: 60px;
    font-size: 20px;
    height: 50px;
    padding: 0;
    max-width: 205px;
    min-width: unset;
    width: 100%;
  }

  .services-title {
    font-size: 24px;
    line-height: 30px;
  }

  .services-intro {
    font-size: 14px;
  }

  .service-card h3 {
    font-size: 15px;
    line-height: 23px;
  }

  .service-card p {
    font-size: 16px;
    line-height: 21px;
  }

  .about-wrapper {
    padding: 40px 10px;
  }

  .testimonials-grid {
    padding: 0;
  }

  .about-wrapper {
    padding: 20px 10px;
  }

  .about-left h2,
  .about-right h2 {
    font-size: 24px;
    line-height: 30px;
    width: calc(100% - 30px);
    padding: 30px 10px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .about-content p {
    font-size: 16px;
    line-height: 22px;
  }

  .btn-more {
    font-size: 15px;
    padding: 10px 25px;
  }

  .testimonials-section .section-title {
    font-size: 24px;
    line-height: 30px;
  }

  .contact-section .section-title {
    font-size: 20px;
    line-height: 26px;
  }

  .contact-info {
    gap: 10px;
    margin-bottom: 60px;
  }

  .contact-item {
    font-size: 15px;
    line-height: 24px;
  }
}

/* WordPress Specific */
.wp-block-group {
  margin-bottom: 2rem;
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

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

/* Ilya additions */
/* Services Page Section */
.services-page-section {
  padding: 140px 0 60px 0;
  background: var(--white);
  position: relative;
}

.services-page-section .container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 50px;
}

.services-page-section .services-header {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 90px;
  margin-bottom: 60px;
  align-items: start;
}

.services-page-section .services-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  color: var(--dark-blue);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.services-page-section .services-intro {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  max-width: 1006px;
}

.services-page-section .services-intro p {
  margin: 0;
  color: var(--text-color);
}

.services-list-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item-card {
  background: var(--dark-blue);
  color: var(--white);
  padding: 30px 40px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.service-item-card:hover {
  background: #0a1258;
}

.service-item-card.active {
  background: #0a1258;
  border-radius: 15px 15px 0 0;
}

.service-item-card.active .service-arrow {
  opacity: 1;
}

.service-item-content {
  flex: 1;
}

.service-item-content h3 {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  color: var(--white);
  margin: 0;
}

.service-arrow {
  width: 48px;
  height: 48px;
  margin-left: 20px;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  object-fit: contain;
}

.service-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out, margin-top 0.4s ease-out;
  background: var(--dark-blue);
  border-radius: 0 0 15px 15px;
  margin-top: -15px;
  padding: 0 40px;
  position: relative;
  z-index: 1;
  opacity: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-dropdown.active {
  max-height: 2000px;
  padding: 40px;
  margin-top: -15px;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-dropdown-content {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--white);
}

.service-dropdown-intro {
  margin-bottom: 20px;
  color: var(--white);
}

.service-dropdown-section {
  margin-bottom: 30px;
}

.service-dropdown-section:last-of-type {
  margin-bottom: 0;
}

.service-dropdown-subtitle {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: var(--white);
  margin-bottom: 15px;
  margin-top: 0;
}

.service-dropdown-section p {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  color: var(--white);
  margin-bottom: 15px;
}

.service-dropdown-section p:last-child {
  margin-bottom: 0;
}

.service-dropdown-link {
  color: var(--white);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.service-dropdown-link:hover {
  opacity: 0.8;
}

.service-dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}

.service-dropdown-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
}

.service-dropdown-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--white);
  font-size: 20px;
  line-height: 25px;
}

.service-cost-section {
  margin-top: 30px;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-cost-title {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  color: var(--dark-blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.service-cost-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(7, 15, 81, 0.05);
  border-radius: 8px;
}

.service-cost-name {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  color: var(--dark-blue);
  flex: 1;
}

.service-cost-price {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--dark-blue);
  margin-left: 20px;
  white-space: nowrap;
}

.services-download {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 0;
}

.btn-download {
  background: var(--primary-red);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 400;
  line-height: 27px;
  padding: 18px 40px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background: #7a0d0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 15, 17, 0.4);
}

/* Partners Section on Services Page */
.partners-section {
  padding: 80px 0;
  background: var(--white);
}

.partners-section .container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 50px;
}

.partners-header {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.partners-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 45px;
  color: var(--dark-blue);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  padding: 28px 12px 12px 12px;
}

.partners-intro {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  max-width: 1051px;
  border-left: 5px solid var(--text-color);
  padding-left: 40px;
}

.partners-intro p {
  margin: 0;
  color: var(--text-color);
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  justify-content: center;
}

.partner-logo {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 234px;
  transition: all 0.3s ease;
}

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

.partner-logo-content {
  text-align: center;
}

.partner-logo-content img {
  max-width: 100%;
  height: auto;
}

/* Responsive Styles for Services Page */
@media (max-width: 1680px) {
  .services-page-section .container,
  .partners-section .container {
    padding: 0 80px;
  }

  .services-list-wrapper {
    gap: 40px;
  }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media (max-width: 1400px) {
  .services-page-section .container,
  .partners-section .container {
    padding: 0 50px;
  }

  .services-page-section .services-header,
  .partners-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-list-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-download {
    justify-content: center;
    margin-top: 20px;
  }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
  }
}

@media (max-width: 1024px) {
  .services-page-section {
    padding: 140px 0 60px 0;
  }

  .services-page-section .container,
  .partners-section .container {
    padding: 0 30px;
  }

  .services-page-section .services-header,
  .partners-header {
    padding: 0;
    gap: 30px;
  }

  .services-page-section .services-title,
  .partners-title {
    font-size: 32px;
    line-height: 40px;
  }

  .service-item-card {
    padding: 25px 30px;
  }

  .service-item-content h3 {
    font-size: 28px;
    line-height: 35px;
  }

  .service-arrow {
    width: 40px;
    height: 40px;
  }

  .service-dropdown {
    padding: 0 30px;
  }

  .service-dropdown.active {
    padding: 30px;
  }

  .partners-section {
    padding: 60px 0;
  }

  .partners-logos {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .services-page-section {
    padding: 100px 0 40px 0;
  }

  .services-page-section .container,
  .partners-section .container {
    padding: 0 20px;
  }

  .services-page-section .services-header,
  .partners-header {
    gap: 20px;
  }

  .services-page-section .services-title,
  .partners-title {
    font-size: 28px;
    line-height: 35px;
  }

  .services-page-section .services-intro,
  .partners-intro {
    font-size: 14px;
    line-height: 20px;
  }

  .services-list-wrapper {
    gap: 20px;
  }

  .service-item-card {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .service-item-content h3 {
    font-size: 22px;
    line-height: 28px;
  }

  .service-arrow {
    width: 32px;
    height: 32px;
    margin-left: 0;
    align-self: flex-end;
  }

  .service-dropdown {
    padding: 0 20px;
  }

  .service-dropdown.active {
    padding: 20px;
  }

  .service-dropdown-content {
    font-size: 16px;
    line-height: 22px;
  }

  .service-dropdown-intro {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 15px;
  }

  .service-dropdown-section {
    margin-bottom: 20px;
  }

  .service-dropdown-subtitle {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 12px;
  }

  .service-dropdown-section p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 12px;
  }

  .service-dropdown-list li {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 10px;
    padding-left: 20px;
  }

  .service-cost-section {
    padding: 20px;
    margin-top: 20px;
  }

  .service-cost-title {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 15px;
  }

  .service-cost-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
  }

  .service-cost-name {
    font-size: 16px;
    line-height: 22px;
  }

  .service-cost-price {
    font-size: 16px;
    line-height: 22px;
    margin-left: 0;
  }

  .btn-download {
    font-size: 18px;
    line-height: 24px;
    padding: 15px 30px;
    width: 100%;
    text-align: center;
  }

  .partners-section {
    padding: 40px 0;
  }

  .partners-logos {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .partner-logo {
    min-height: 100px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .services-page-section .services-title,
  .partners-title {
    font-size: 24px;
    line-height: 30px;
  }

  .service-item-content h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .service-dropdown-content {
    font-size: 14px;
    line-height: 20px;
  }

  .service-dropdown-intro {
    font-size: 14px;
    line-height: 20px;
  }

  .service-dropdown-section {
    margin-bottom: 15px;
  }

  .service-dropdown-subtitle {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
  }

  .service-dropdown-section p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .service-dropdown-list li {
    font-size: 14px;
    line-height: 20px;
    padding-left: 18px;
  }

  .service-cost-section {
    padding: 15px;
    margin-top: 15px;
  }

  .service-cost-title {
    font-size: 18px;
    line-height: 24px;
  }

  .service-cost-name,
  .service-cost-price {
    font-size: 14px;
    line-height: 20px;
  }

  .btn-download {
    font-size: 16px;
    padding: 12px 20px;
  }
}

/* WordPress Specific */
.wp-block-group {
  margin-bottom: 2rem;
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

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

/* ============================================
   About Page Styles (О компании)
   ============================================ */

.about-page {
  padding-top: 120px;
  background: #ffffff;
}

/* About Section Titles */
.about-section-title {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  color: var(--dark-blue);
  margin-bottom: 0;
  padding: 0 32px;
}

.about-divider {
  width: 100%;
  height: 5px;
  background: var(--dark-blue);
  margin: 0 0 50px 0;
}

/* Contacts Section */
.about-contacts-section {
  padding: 50px 0;
  background: #ffffff;
}

.about-contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 0 32px;
  margin-top: 30px;
}

.about-contacts-info {
  display: flex;
  align-items: flex-start;
}

.about-contacts-text {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--dark-blue);
  margin: 0;
}

.about-contacts-map {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 457px;
  border-radius: 10px;
  overflow: hidden;
}

/* Organization Info Section */
.about-org-info-section {
  padding: 50px 0;
  background: #ffffff;
}

.about-org-details {
  padding: 0 32px;
  margin-bottom: 50px;
}

.about-org-details p {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--dark-blue);
  margin: 0;
}

.about-licenses {
  display: grid;
  grid-template-columns: repeat(3, 500px);
  gap: 30px;
  padding: 0 32px;
  justify-content: center;
}

.license-image {
  width: 500px;
  height: 699px;
  overflow: hidden;
  border-radius: 10px;
}

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

/* Schedule Section */
.about-schedule-section {
  padding: 50px 0;
  background: #ffffff;
}

.about-schedule-card {
  width: 1609px;
  max-width: calc(100% - 64px);
  margin: 0 auto;
  padding: 30px 40px;
  background: var(--dark-blue);
  border-radius: 10px;
}

.schedule-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 35px;
  color: var(--white);
  margin-bottom: 20px;
}

.schedule-text {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--white);
  margin: 0;
}

/* Staff Section */
.about-staff-section {
  padding: 50px 0;
  background: #ffffff;
}

.about-staff-content {
  padding: 0 32px;
}

.about-staff-text {
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  color: #000000;
  margin: 0;
  text-align: center;
}

/* Vacancies Section */
.about-vacancies-section {
  padding: 50px 0;
  background: #ffffff;
}

.about-vacancies-card {
  width: 1609px;
  max-width: calc(100% - 64px);
  margin: 0 auto 30px;
  padding: 30px 40px;
  background: var(--dark-blue);
  border-radius: 10px;
}

.about-vacancies-card:last-child {
  margin-bottom: 0;
}

.vacancies-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 35px;
  color: var(--white);
  margin-bottom: 20px;
}

.vacancies-text {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--white);
  margin: 0;
}

.vacancies-text li {
  margin-left: 35px;
}

/* Organs Section */
.about-organs-section {
  padding: 50px 0;
  background: #ffffff;
}

.about-organ-card {
  width: 1609px;
  max-width: calc(100% - 64px);
  margin: 0 auto 30px;
  padding: 30px 40px;
  background: var(--dark-blue);
  border-radius: 10px;
}

.about-organ-card:last-child {
  margin-bottom: 0;
}

.organ-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 35px;
  color: var(--white);
  margin-bottom: 20px;
}

.organ-text {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  color: var(--white);
  margin: 0;
}

.organ-text li {
  margin-left: 35px;
}

/* Consumers Section */
.about-consumers-section {
  padding: 50px 0;
  background: #ffffff;
}

.about-download-buttons {
  display: grid;
  grid-template-columns: repeat(2, 747px);
  gap: 30px;
  padding: 0 32px;
  justify-content: center;
  margin-top: 30px;
}

.about-download-card {
  width: 747px;
  height: auto;
  background: var(--dark-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: white;
  justify-content: space-between;
  flex-direction: column;
  padding: 15px;
}

.btn-download-about {
  background: #8e0f11;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 400;
  line-height: 27px;
  padding: 18px 50px;
  border-radius: 20px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  align-self: flex-end;
}

.btn-download-about:hover {
  background: #7a0d0f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 15, 17, 0.4);
}

/* Contact Footer Section */
.about-contact-footer {
  padding: 50px 0;
  background: var(--dark-gray);
  color: var(--white);
}

.about-contact-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 35px;
  color: var(--white);
  margin-bottom: 40px;
  padding: 0;
  text-align: center;
}

.about-contact-wrapper {
  display: grid;
  grid-template-columns: 452px 1fr;
  gap: 50px;
  padding: 0 32px;
  margin-bottom: 50px;
}

.about-contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  color: var(--white);
}

.about-contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-contact-item a {
  color: var(--white);
  text-decoration: none;
}

.about-contact-item a:hover {
  color: var(--primary-red);
}

.about-contact-map {
  position: relative;
  width: 817px;
  height: 457px;
  border-radius: 10px;
  overflow: hidden;
}

.about-footer-address {
  padding: 0 32px;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  color: var(--white);
}

.about-footer-address p {
  margin: 5px 0;
}

/* Responsive Styles for About Page */
@media (max-width: 1680px) {
  .about-contacts-section .container,
  .about-org-info-section .container,
  .about-schedule-section .container,
  .about-staff-section .container,
  .about-vacancies-section .container,
  .about-organs-section .container,
  .about-consumers-section .container,
  .about-contact-footer .container {
    padding: 0 0;
  }

  .about-contacts-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0 20px;
  }

  .about-contacts-map {
    width: 100%;
    max-width: 817px;
    height: 400px;
  }

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

  .license-image {
    width: 100%;
    height: auto;
    aspect-ratio: 500/699;
  }

  .about-schedule-card,
  .about-organ-card {
    width: 100%;
    max-width: calc(100% - 160px);
    margin: 20px 80px;
  }

  .about-download-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .about-download-card {
    width: 100%;
    max-width: 747px;
    height: auto;
    min-height: 150px;
  }

  .about-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-contact-map {
    width: 100%;
    max-width: 817px;
    height: 400px;
  }
}

@media (max-width: 1400px) {
  .about-contacts-section .container,
  .about-org-info-section .container,
  .about-schedule-section .container,
  .about-staff-section .container,
  .about-vacancies-section .container,
  .about-organs-section .container,
  .about-consumers-section .container,
  .about-contact-footer .container {
    padding: 0 0;
  }

  .about-section-title {
    padding: 0;
  }

  .about-contacts-wrapper,
  .about-org-details,
  .about-licenses,
  .about-staff-content,
  .about-download-buttons,
  .about-contact-wrapper,
  .about-footer-address {
    padding: 0;
  }

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

  .about-download-buttons {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1024px) {
  .about-page {
    padding-top: 140px;
  }

  .about-contacts-section,
  .about-org-info-section,
  .about-schedule-section,
  .about-staff-section,
  .about-vacancies-section,
  .about-organs-section,
  .about-consumers-section,
  .about-contact-footer {
    padding: 60px 0;
  }

  .about-contacts-section .container,
  .about-org-info-section .container,
  .about-schedule-section .container,
  .about-staff-section .container,
  .about-vacancies-section .container,
  .about-organs-section .container,
  .about-consumers-section .container,
  .about-contact-footer .container {
    padding: 0 0;
  }

  .about-section-title {
    font-size: 28px;
    line-height: 35px;
    padding: 0;
  }

  .about-divider {
    margin-bottom: 40px;
  }

  .about-contacts-wrapper,
  .about-org-details,
  .about-licenses,
  .about-staff-content,
  .about-download-buttons,
  .about-contact-wrapper,
  .about-footer-address {
    padding: 0 20px;
    margin-top: 20px;
  }

  .about-contacts-text {
    font-size: 18px;
    line-height: 26px;
  }

  .about-contacts-map {
    height: 350px;
  }

  .about-org-details {
    margin-bottom: 40px;
  }

  .about-download-buttons {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-org-details p {
    font-size: 18px;
    line-height: 23px;
  }

  .about-licenses {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
  }

  .license-image {
    max-width: 100%;
  }

  .about-schedule-card,
  .about-organ-card {
    padding: 25px 30px;
  }

  .schedule-title,
  .organ-title {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
  }

  .about-contacts-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 0 15px;
  }

  .schedule-text,
  .organ-text {
    font-size: 18px;
    line-height: 23px;
  }

  .about-staff-text {
    font-size: 28px;
    line-height: 35px;
  }

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

  .about-download-card {
    height: auto;
    min-height: 120px;
    padding: 20px;
  }

  .btn-download-about {
    font-size: 20px;
    padding: 15px 40px;
  }

  .about-contact-title {
    font-size: 24px;
    line-height: 30px;
    padding: 0;
  }

  .about-contact-item {
    font-size: 22px;
    line-height: 28px;
  }

  .about-contact-map {
    height: 350px;
  }

  .about-footer-address {
    padding: 0 30px;
    font-size: 16px;
    line-height: 20px;
  }
}

@media (max-width: 768px) {
  .about-page {
    padding-top: 100px;
  }

  .about-contacts-section,
  .about-org-info-section,
  .about-schedule-section,
  .about-staff-section,
  .about-vacancies-section,
  .about-organs-section,
  .about-consumers-section,
  .about-contact-footer {
    padding: 40px 0;
  }

  .about-contacts-section .container,
  .about-org-info-section .container,
  .about-schedule-section .container,
  .about-staff-section .container,
  .about-vacancies-section .container,
  .about-organs-section .container,
  .about-consumers-section .container,
  .about-contact-footer .container {
    padding: 0 0;
  }

  .about-section-title {
    font-size: 24px;
    line-height: 30px;
    padding: 0;
  }

  .about-divider {
    margin-bottom: 30px;
  }

  .about-contacts-wrapper,
  .about-org-details,
  .about-licenses,
  .about-staff-content,
  .about-download-buttons,
  .about-contact-wrapper,
  .about-footer-address {
    padding: 0 20px;
    margin-top: 20px;
  }

  .about-contacts-text {
    font-size: 16px;
    line-height: 24px;
  }

  .about-contacts-map {
    height: 300px;
  }

  .about-org-details {
    margin-bottom: 30px;
  }

  .about-org-details p {
    font-size: 16px;
    line-height: 22px;
  }

  .about-licenses {
    gap: 20px;
  }

  .about-schedule-card,
  .about-organ-card {
    width: 100%;
    max-width: calc(100% - 30px);
    padding: 20px;
    margin: 0 15px 20px 15px;
  }

  .schedule-title,
  .organ-title {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 12px;
  }

  .schedule-text,
  .organ-text {
    font-size: 16px;
    line-height: 22px;
  }

  .about-staff-text {
    font-size: 24px;
    line-height: 30px;
  }

  .about-download-card {
    min-height: 100px;
    padding: 15px;
  }

  .btn-download-about {
    font-size: 18px;
    padding: 12px 30px;
    width: 100%;
  }

  .about-contact-title {
    font-size: 22px;
    line-height: 28px;
    padding: 0;
    margin-bottom: 30px;
  }

  .about-contact-wrapper {
    gap: 25px;
    margin-bottom: 30px;
  }

  .about-contact-info {
    gap: 20px;
  }

  .about-contact-item {
    font-size: 18px;
    line-height: 24px;
    gap: 15px;
  }

  .about-contact-icon {
    width: 35px;
    height: 35px;
  }

  .about-contact-map {
    height: 300px;
  }

  .about-footer-address {
    padding: 0 20px;
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 480px) {
  .about-page {
    padding-top: 80px;
  }

  .about-contacts-section,
  .about-org-info-section,
  .about-schedule-section,
  .about-staff-section,
  .about-vacancies-section,
  .about-organs-section,
  .about-consumers-section,
  .about-contact-footer {
    padding: 30px 0;
  }

  .about-contacts-section .container,
  .about-org-info-section .container,
  .about-schedule-section .container,
  .about-staff-section .container,
  .about-vacancies-section .container,
  .about-organs-section .container,
  .about-consumers-section .container,
  .about-contact-footer .container {
    padding: 0 0;
  }

  .about-section-title {
    font-size: 20px;
    line-height: 26px;
    padding: 0 10px;
  }

  .about-divider {
    margin-bottom: 25px;
    height: 3px;
  }

  .about-contacts-wrapper,
  .about-org-details,
  .about-licenses,
  .about-staff-content,
  .about-download-buttons,
  .about-contact-wrapper,
  .about-footer-address {
    padding: 0 15px;
  }

  .about-contacts-text {
    font-size: 14px;
    line-height: 20px;
  }

  .about-contacts-map {
    height: 250px;
  }

  .about-org-details p {
    font-size: 14px;
    line-height: 20px;
  }

  .about-licenses {
    gap: 15px;
  }

  .about-schedule-card,
  .about-organ-card {
    padding: 15px;
    margin: 0 15px 20px 15px;
    width: calc(100% - 30px);
  }

  .schedule-title,
  .organ-title {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 10px;
  }

  .schedule-text,
  .organ-text {
    font-size: 12px;
    line-height: 20px;
  }

  .about-staff-text {
    font-size: 20px;
    line-height: 26px;
  }

  .about-download-card {
    min-height: 80px;
    padding: 12px;
    flex-direction: column;
  }

  .btn-download-about {
    font-size: 16px;
    padding: 10px 25px;
  }

  .about-contact-title {
    font-size: 20px;
    line-height: 26px;
    padding: 0;
    margin-bottom: 25px;
  }

  .about-contact-item {
    font-size: 16px;
    line-height: 22px;
    gap: 12px;
  }

  .about-contact-icon {
    width: 30px;
    height: 30px;
  }

  .about-contact-map {
    height: 250px;
  }

  .about-footer-address {
    padding: 0 15px;
    font-size: 12px;
    line-height: 16px;
  }
}

.testimonials-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  grid-column: span 2;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  padding-left: 0px;
  transition: transform 0.4s ease;
  will-change: transform;
  margin: 0;
}

.testimonial-card {
  flex: 0 0 min(90vw, 450px);
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}

.slider-btn:hover {
  background: #f0f0f0;
}

/* Mobile */
@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }
}

.slider-viewport {
  margin: 0 auto;
  overflow: hidden;
}

/* 3 карточки */
@media (min-width: 1620px) {
  .slider-viewport {
    max-width: calc(3 * 450px + 2 * 24px);
  }
}

/* 2 карточки */
@media (min-width: 1080px) and (max-width: 1619px) {
  .slider-viewport {
    max-width: calc(2 * 450px + 1 * 24px);
  }
}

/* 1 карточка */
@media (max-width: 1079px) {
  .slider-viewport {
    max-width: 450px;
  }
}

@media (max-width: 500px) {
  .testimonial-card {
    flex: 0 0 90vw;
  }

  .slider-viewport {
    max-width: 90vw;
  }
}

/* ========================================
   News Styles
   ======================================== */

/* News Archive Page */
.page-header {
  margin-bottom: 1rem;
  text-align: left;
}

.page-title {
  font-size: 36px;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.news-archive {
  padding: 2rem 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  gap: 2rem;
}

.news-item-thumbnail {
  overflow: hidden;
  background: white;
  text-align: center;
  padding: 15px;
}

.news-item-thumbnail img {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-item-thumbnail img {
  transform: scale(1.05);
}

.news-item-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-item-title {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-blue);
  font-family: var(--font-primary);
}

.news-item-meta {
  margin-bottom: 1rem;
}

.news-item-date {
  font-size: 14px;
  color: var(--medium-gray);
  font-family: var(--font-primary);
}

.news-item-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  flex: 1;
}

/* Single News Page */
.single-news {
  margin: 0;
  padding: 0;
}

.single-news .entry-header {
  margin-bottom: 2rem;
  text-align: center;
}

.single-news .entry-title {
  font-size: 42px;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.single-news .entry-meta {
  font-size: 16px;
  color: var(--medium-gray);
}

.single-news-site-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  min-height: calc(100vh - 60px);
}

.single-news-site-main .container {
  max-width: 900px;
  padding: 15px;
}

.single-news .post-thumbnail {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.single-news .post-thumbnail img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
}

.single-news .entry-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-color);
}

.single-news .entry-content p {
  margin-bottom: 1.5rem;
}

.single-news .entry-content h2,
.single-news .entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.news-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.back-to-news {
  display: inline-block;
  padding: 0.75rem 0.75rem;
  background: var(--primary-red);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-family: var(--font-primary);
  font-size: 14px;
}

@media (max-width: 768px) {
  .back-to-news {
    min-width: calc(100vw - 30px);
  }
}

.back-to-news:hover {
  background: #a01214;
  color: var(--white);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-weight: 600;
}

/* No News Message */
.no-news {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--medium-gray);
  font-size: 18px;
}

/* Responsive Styles for News */
@media (max-width: 768px) {
  .page-title {
    font-size: 36px;
  }

  .news-item-link {
    flex-direction: column;
    gap: 0;
  }

  .news-item-thumbnail {
    flex: 0 0 auto;
    width: 100%;
    max-height: 250px;
  }

  .news-item-content {
    padding: 1.5rem;
  }

  .news-item-title {
    font-size: 20px;
  }

  .single-news .entry-title {
    font-size: 32px;
  }

  .single-news .entry-content {
    font-size: 16px;
  }

  .pagination {
    gap: 0.25rem;
  }

  .pagination .page-numbers {
    padding: 0.4rem 0.8rem;
    font-size: 14px;
  }
}

.error-content {
  text-align: center;
  padding: 4rem 0;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.error-content .btn-primary {
  max-width: 320px;
  align-self: center;
}

