:root {
--primary-color: #FFD700;
--text-color: #6f6f6f;
--accent-color: #FFB800;
--primary-hover: #E6C200;
--secondary-color: #B38F00;
--text-inverted: #000000;
--text-primary: #111111;
--text-secondary: #333333;
--background-color: #1A1A1A;
--secondary-background: #333300;
--border-radius-primary: 12px;
--border-radius-secondary: 8px;
--border-radius-third: 4px;

  --font-family: 'Solway', sans-serif;
  --second-family: 'Solway', serif;
  --third-family: 'Solway', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* === Header === */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--secondary-color);
  padding: 15px 25px;
  overflow-x: hidden;
  width: 100%;
  transition: all 0.3s ease;
}

.container-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center ;
  max-width: 1440px;
  width: 100%;
  margin: 0;
  padding: 0 80px;
}

.header-nav {
  display: flex;
  gap: 430px;
  align-items: center;
}

.header-nav-list {
  display: flex;
  gap: 30px;
}

.header-nav-list a {
  transition: all 0.3s ease;
  color: var(--text-inverted);
}

.header-nav-list a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.burger-btn {
  display: none;
}

.mobile-menu {
  display: none;
}

@media screen and (max-width: 1240px) {
  .header {
    padding: 10px 25px;
  }

  .header .secondary-btn,
  .header-nav {
    display: none;
  }

  .burger-btn {
    display: block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 3px;
  }

  .burger-btn svg {
    width: 45px;
    height: 45px;
    color: #333;
    background-color: #00ff51;
    border: 1px solid #333;
  }

  .burger-btn:active svg {
    color: var(--primary-hover);
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-background);
    padding: 15px 30px;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .mobile-menu-active {
    right: 0;
  }

  .close-btn {
    display: block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 3px;
    margin-left: auto;
  }

  .close-btn svg {
    width: 35px;
    height: 35px;
    stroke: var(--text-inverted);
  }

  .close-btn:active svg {
    stroke: var(--primary-hover);
  }

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

/* === Hero === */

.hero {
  padding: 160px 0 100px;
}

.hero .container {
  padding: 0 30px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  max-width: 630px;
  width: calc(100% / 2 - 80px);
}

.section-name {
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 72px;
  line-height: 108%;
  color: #fff;
  margin-bottom: 23px;
}

.hero-content .descr {
  margin-bottom: 46px;
}

.wrapper {
  display: flex;
  position: relative;
  max-width: 630px;
  width: calc(100% / 2 - 80px);
  min-height: 600px;
  max-height: 760px;
  overflow: hidden;
  padding: 0 30px 30px 0;
}

.wrapper::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  bottom: 0;
  right: 0;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-primary);
  z-index: 1;
}

.wrapper.left {
  padding: 30px 0 0 30px;
}

.wrapper.left::after {
  top: 0;
  left: 0;
  bottom: 30px;
  right: 30px;
}

.wrapper-img {
  position: relative;
  z-index: 2;
  flex: 1;
  object-fit: cover;
  border-radius: var(--border-radius-primary);
}

@media screen and (max-width: 1240px) {
  .hero-title {
    font-size: 50px;
  }

  .wrapper {
    padding: 0 15px 15px 0;
    min-height: 500px;
    width: calc(100% / 2 - 50px);
  }

  .hero-content {
    width: calc(100% / 2 - 50px);
  }
}

@media screen and (max-width: 768px) {
  .wrapper {
    width: 100%;
  }

  .hero-content {
    width: 100%;
  }
}

/* === Our Services === */

.our-services {
  padding: 100px 0;
  background-color: var(--background-color);
}

.our-services-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-name {
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.our-services .title {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.our-services .descr {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-color);
  font-size: 1.1rem;
}

.our-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.our-service-card {
  background-color: var(--secondary-background);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 87, 160, 0.2);
  background-color: var(--primary-hover);
  color: var(--text-inverted);
}

.our-service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.our-service-card .subtitle {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.our-service-card .descr {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
}

.our-service-card:hover .subtitle,
.our-service-card:hover .descr {
  color: var(--text-inverted);
}


/* === About Us === */

.about-us {
  background-color: var(--background-color);
  padding: 80px 0;
}

.about-us-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.about-us-text {
  flex: 1 1 500px;
  color: var(--text-primary);
}

.section-label {
  color: var(--secondary-color);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--text-color);
}

.about-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: var(--text-inverted);
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.about-btn:hover {
  background-color: var(--primary-hover);
}

.about-us-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-us-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .about-us-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-us-text {
    flex: 1 1 100%;
  }

  .about-title {
    font-size: 28px;
  }
}


/* Success Stats */
.success-stats {
  padding: 80px 0;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: #ffffff;
}

.success-stats .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.success-stats .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 60px;
  color: #ffffff;
}

.stats-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats-item {
  flex: 1 1 200px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 48px;
  margin: 0 0 10px;
}

.stat-label {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  margin: 0;
}

@media screen and (max-width: 900px) {
  .stats-list {
    gap: 20px;
  }
  .stats-item {
    flex: 1 1 45%;
    padding: 20px;
  }
  .stat-number {
    font-size: 36px;
  }
  .stat-label {
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .stats-list {
    flex-direction: column;
    gap: 30px;
  }
  .stats-item {
    flex: 1 1 100%;
  }
}

/* === Why Choose === */

.why-choose {
  background-color: var(--background-color);
  padding: 100px 0;
}

.container-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.why-choose-img {
  flex: 1 1 45%;
}

.why-choose-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.why-choose-content {
  flex: 1 1 50%;
  color: var(--text-primary);
}

.section-label {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.section-text {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 40px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.why-choose-card {
  background-color: var(--secondary-background);
  border-left: 6px solid var(--primary-hover);
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  align-items: center;
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.card-text h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--secondary-color);
}

.card-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .container-flex {
    flex-direction: column;
  }

  .why-choose-img,
  .why-choose-content {
    flex: 1 1 100%;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}


/* === Successfully === */

.successfully {
  padding: 80px 0;
  background-color: var(--secondary-background);
}

.successfully .title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
}

.successfully-list {
  display: flex;
  justify-content: space-between;
}

.successfully-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 15px;
  max-width: 185px;
  width: 100%;
  height: 182px;
  box-shadow: 0 13px 16px 0 rgba(0, 0, 0, 0.1);
  background-color: var(--background-color);
  border-radius: var(--border-radius-secondary);
}

.successfully-item:nth-child(even) {
  margin-top: 91px;
}

.successfully-item .subtitle {
  font-size: 40px;
}

.successfully-line-left,
.successfully-line-right {
  position: absolute;
  top: 50%;
  height: 1px;
  background-color: #e0e0e0;
}

.successfully-line-center {
  position: absolute;
  top: 50%;
  right: -50%;
  bottom: 0;
  height: auto;
  width: 1px;
  background-color: #e0e0e0;
}

.successfully-line-center.top {
  top: 0;
  bottom: 50%;
}

@media screen and (max-width: 900px) {
  .successfully-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }

  .successfully-lines {
    display: none;
  }

  .successfully-item {
    width: calc(100% / 2 - 15px);
  }

  .successfully-item:nth-child(even) {
    margin-top: 0;
  }
}

/* === Testimonials === */

.testimonials {
  padding: 80px 0;
  background-color: var(--secondary-background);
  color: var(--text-primary);
  font-family: var(--font-family);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 36px;
  margin: 0 auto;
  max-width: 600px;
  color: var(--text-primary);
}

.testimonials-navigation {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  gap: 16px;
}

.swiper-button-prev-testimonials,
.swiper-button-next-testimonials {
  background-color: var(--primary-color);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverted);
  transition: background-color 0.3s ease;
}

.swiper-button-prev-testimonials:hover,
.swiper-button-next-testimonials:hover {
  background-color: var(--primary-hover);
}

.icon-left,
.icon-right {
  width: 20px;
  height: 20px;
  stroke: var(--text-inverted);
  stroke-width: 3;
}

.testimonials-list {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.testimonials-list-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius-secondary);
  padding: 30px 25px;
  display: flex;
  gap: 25px;
  align-items: center;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease;
}

.testimonials-list-item:hover {
  transform: translateY(-8px);
}

.testimonials-item-img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius-secondary);
  object-fit: cover;
  box-shadow: 0 0 10px rgb(0 87 160 / 0.4);
}

.testimonials-item-wrap {
  flex-grow: 1;
}

.subtitle {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.subtitle span {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-secondary);
}

.testimonials-item-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* === Our Blog === */

.our-blog {
  background-color: var(--background-color);
  color: var(--text-primary);
  padding: 80px 0;
  font-family: var(--font-family);
}

.our-blog-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.our-blog-navigation {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 12px;
}

.swiper-button-prev,
.swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverted);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--primary-hover);
}

.blog-swiper {
  overflow: hidden;
}

.blog-slide {
  background-color: var(--secondary-background);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0, 87, 160, 0.2);
}

.blog-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.blog-text {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: auto;
}

.blog-link {
  margin-top: 16px;
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-inverted);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.blog-link:hover {
  background-color: var(--primary-hover);
}

@media (max-width: 768px) {
  .our-blog-navigation {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }

  .blog-image {
    height: 180px;
  }

  .blog-title {
    font-size: 18px;
  }

  .blog-text {
    font-size: 14px;
  }
}

/* === Contact === */

.contact {
  background-color: var(--background-color);
  padding: 100px 20px;
  color: var(--text-primary);
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-title {
  font-size: 32px;
  color: var(--primary-color);
  font-weight: 700;
}

.contact-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.detail-item .icon {
  font-size: 18px;
  color: var(--primary-hover);
}

.detail-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-form {
  background-color: var(--secondary-background);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 87, 160, 0.1);
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary-color);
}

input,
textarea {
  padding: 12px;
  font-size: 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-primary);
}

input:focus,
textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 87, 160, 0.2);
  outline: none;
}

.submit-button {
  margin-top: 30px;
  background-color: var(--accent-color);
  color: var(--text-inverted);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--primary-hover);
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

  .contact-title {
    font-size: 26px;
  }
}

/* === Footer === */

.footer {
  background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
  color: var(--text-inverted);
  padding: 80px 20px 40px;
  border-top: 5px solid var(--accent-color);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-menu h3,
.footer-contact h3 {
  font-size: 20px;
  color: var(--accent-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-menu ul,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.7;
}

.footer-menu ul li a {
  color: var(--text-inverted);
  text-decoration: none;
  position: relative;
  padding-left: 16px;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-menu ul li a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.footer-menu ul li a:hover {
  color: var(--primary-hover);
}

.footer-contact a {
  color: var(--text-inverted);
  text-decoration: underline;
}

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

.footer-rights {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 14px;
  color: var(--text-inverted);
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-menu h3,
  .footer-contact h3 {
    margin-bottom: 15px;
  }

  .footer-menu ul li a::before {
    display: none;
  }

  .footer-menu ul li a {
    padding-left: 0;
  }
}


/* === Cookie Popup === */

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-popup a {
  text-decoration: underline;
  transition: all 0.3s ease;
}

.cookie-popup a:hover {
  color: var(--primary-hover);
}

.cookie-popup h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.cookie-popup p {
  margin: 0 0 20px;
  font-size: 1rem;
}

.header {
  background-color: var(--secondary-background);
}

.mobile-menu {
  background-color: var(--secondary-background);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  color: #ffffff;
}

.our-services-navigate button svg {
  stroke: #ffffff;
}

/* === Blog Page Custom Styles === */

.blog {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-primary);
}

.blog .container {
  margin: 0 auto;
  padding: 0 20px;
}

.blog .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.3;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.blog-meta {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

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

.blog-content .wrapper {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--border-radius-secondary);
}

.blog-content .wrapper-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius-secondary);
}

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

.blog-list li {
  margin-bottom: 24px;
}

.blog-list .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
}

.blog-list .descr:last-child {
  margin-bottom: 0;
}

/* === Footer Overrides === */

.footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.footer .footer-menu h3,
.footer .footer-contact h3 {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer .footer-menu ul,
.footer .footer-contact p {
  margin: 0;
  padding: 0;
}

.footer .footer-menu ul li {
  margin-bottom: 8px;
}

.footer .footer-menu ul li a,
.footer .footer-contact a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #e0e0e0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer .footer-menu ul li a:hover,
.footer .footer-contact a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-rights {
  text-align: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  color: #888888;
  margin-top: 30px;
}

/* === Responsive Adjustments === */

@media screen and (max-width: 768px) {
  .blog .title {
    font-size: 28px;
  }

  .blog-meta {
    font-size: 12px;
    margin-bottom: 30px;
  }

  .blog-list .descr {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer .container {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .footer .footer-menu,
  .footer .footer-contact {
    width: 100%;
  }
}

.terms-privacy {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

.terms-privacy .container {
  margin: 0 auto;
  padding: 0 20px;
}

.terms-privacy .title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.terms-privacy .descr {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.terms-privacy .subtitle {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-inverted);
}

.terms-privacy ul.descr {
  list-style: disc inside;
  margin-left: 20px;
}

.terms-privacy ul.descr li {
  margin-bottom: 12px;
}

.terms-privacy ul.descr li strong {
  font-weight: 700;
}

.terms-privacy a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-privacy a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .terms-privacy .title {
    font-size: 28px;
  }

  .terms-privacy .subtitle {
    font-size: 20px;
  }

  .terms-privacy .descr,
  .terms-privacy ul.descr li {
    font-size: 14px;
  }

  .terms-privacy .container {
    padding: 0 15px;
  }
}