:root {
  --roasl-emerald-deep: #013F32;
  --roasl-emerald: #035F47;
  --roasl-emerald-action: #007B60;
  --roasl-emerald-hover: #006B53;
  --roasl-champagne: #D8B978;
  --roasl-champagne-light: #E6CF9B;
  --roasl-ivory: #FFF9ED;
  --roasl-ink: #062C24;
  --stem-blue: var(--roasl-emerald-action);
}

body {
  --color-primary: var(--roasl-emerald-action);
  --color-primary-dark: var(--roasl-emerald-deep);
  --color-accent: var(--roasl-champagne);
}

.offer,
.suboffer,
.home__offer,
.products__offer {
  color: var(--roasl-emerald-action);
}

.consult--normal,
.products__btn,
.main-nav .sub-menu li a:hover,
button[type="submit"] {
  background-color: var(--roasl-emerald-action) !important;
}

.footer,
.site-header {
  background: linear-gradient(120deg, var(--roasl-emerald-deep) 0%, var(--roasl-emerald) 100%) !important;
}

.consult__btn,
.products__btn,
.footer,
.footer a,
.site-header a {
  color: var(--roasl-ivory) !important;
}

.consult__btn {
  color: #035F47 !important;
}

.site-header .logo,
.site-header .header__logo {
  background: var(--roasl-ivory);
  border: 1px solid var(--roasl-champagne-light);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(1, 63, 50, 0.24);
  padding: 8px 14px;
}

.about__logo {
  box-sizing: border-box;
  width: min(100%, 360px);
  height: auto;
  min-height: 170px;
  background: var(--roasl-ivory);
  border: 1px solid var(--roasl-champagne-light);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(1, 63, 50, 0.26);
  padding: clamp(18px, 3vw, 34px);
}

.about__logo img {
  max-height: 190px;
}

.course-button {
  background: var(--roasl-ivory) !important;
  border: 1px solid var(--roasl-champagne-light);
  box-shadow: 0 12px 28px rgba(1, 63, 50, 0.22);
  transition: background-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.course-button a {
  color: var(--roasl-ink) !important;
  background: transparent !important;
}

.course-button:hover {
  background: var(--roasl-champagne-light) !important;
  box-shadow: 0 16px 34px rgba(1, 63, 50, 0.28);
  transform: translateY(-2px);
}

.banner-timer {
  background: linear-gradient(105deg, var(--roasl-emerald-deep) 0%, var(--roasl-emerald) 62%, var(--roasl-emerald-action) 100%) !important;
}

.hero-bg-overlay {
  background: linear-gradient(0deg, rgba(1, 63, 50, 0.96) 0%, rgba(3, 95, 71, 0.84) 100%), url('https://roasl.ru/wp-content/uploads/2025/08/6cf772d6efa7b92f7f6c0cad0e27cc6d1a8ab2fe.webp') lightgray 50% / cover no-repeat !important;
}

.footer__offer,
.footer__offer a {
  color: var(--roasl-ivory) !important;
}

.course__row-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.course__row-buttons .course__btn,
.course__row-buttons .hours-else-js {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

.course__row-buttons .course__btn {
  color: var(--roasl-ink) !important;
  background: var(--roasl-champagne) !important;
  border: 1px solid var(--roasl-champagne);
}

.course__row-buttons .course__btn:hover {
  color: var(--roasl-ivory) !important;
  background: var(--roasl-emerald-hover) !important;
  border-color: var(--roasl-emerald-hover);
  transform: translateY(-1px);
}

.course__row-buttons .hours-else-js {
  color: var(--roasl-ink) !important;
  background: var(--roasl-ivory) !important;
  border: 1px solid var(--roasl-emerald-action);
}

.course__row-buttons .hours-else-js:hover {
  color: var(--roasl-ivory) !important;
  background: var(--roasl-emerald-hover) !important;
  border-color: var(--roasl-emerald-hover);
  transform: translateY(-1px);
}

.course__row-buttons .hours-else-js::after {
  display: none !important;
}

.main__add_desc {
  border-bottom-color: rgba(3, 95, 71, 0.22) !important;
}

.logo img,
.header__logo img,
.logo-img {
  width: clamp(150px, 16vw, 280px);
  max-height: 120px;
  object-fit: contain;
}

@media (min-width: 1025px) {
  .main-nav .sub-menu {
    background: var(--roasl-ivory);
    border: 1px solid var(--roasl-champagne-light);
  }

  .main-nav .sub-menu li a {
    color: var(--roasl-ink) !important;
    background: transparent !important;
  }

  .main-nav .sub-menu li a:hover {
    color: var(--roasl-ivory) !important;
    background: var(--roasl-emerald-action) !important;
  }
}

@media (max-width: 1024px) {
  .site-header .logo,
  .site-header .header__logo {
    padding: 5px 9px;
    border-radius: 10px;
  }

  .main-nav .sub-menu li a {
    color: var(--roasl-ivory) !important;
  }
}

.trainers,
.trainer-modal,
#trainerModal,
.teacher-section,
[class*="teacher-card"],
[class*="teachers-section"],
.master-teachers,
#schedule,
[href="#schedule"],
[href*="#schedule"],
[href*="/raspisanie"],
.main-schedule,
.course-schedule,
.schedule-popup,
.calendar,
.calendar-head,
.calendar-wrap,
[class*="calendar"] {
  display: none !important;
}
