:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --bg-card: #1e222b;
  --text: #f4f1ea;
  --muted: #b8b2a8;
  --accent: #e6a44f;
  --accent-dark: #be7d2f;
  --line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --container: 1160px;
}

* {
  box-sizing: border-box;
  text-wrap: balance;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}


.golos-text {
  font-family: "Golos Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Golos Text", Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 30%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  border-radius: 50%;
}

.logo-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #19130c;
  border-radius: 50%;
  font-weight: 900;
   transition: 0.2s ease;
  transform: scale(1);
}

.logo-mark:hover {
  transition: 0.2s ease;
  transform: scale(1.05);
  box-shadow: 1px 1px 15px;
}

.logo-text {
  letter-spacing: -0.02em;
}

.logo__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
}


.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  transition: color 0.2s ease;
  color:var(--bg-card)
}

.nav a:hover {
  color: var(--text);
}

.header-button {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  transition: all 0.2s ease;
  background: #ff8c00;
}

.header-button:hover {
  background: var(--text);
  color: var(--bg);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.2s ease;
}

.mobile-menu {
  display: none;
}

.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at top left, rgba(230, 164, 79, 0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: flex-end;
  gap: 56px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.img__border {
  border-radius: 50px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #17100a;
}

.button.primary:hover {
  background: #f0b664;
}

.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
}

.hero-details div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-details strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 20px;
}

.hero-details span {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: -24px;
  bottom: 36px;
  width: min(300px, 80%);
  padding: 20px;
  background: rgba(244, 241, 234, 0.95);
  color: #151515;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-card span {
  display: block;
  margin-bottom: 7px;
  color: #6a5c4b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card strong {
  font-size: 20px;
  line-height: 1.15;
}

.section {
  padding: 96px 0;
}

.two-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.checkbox-label a {
  color: rgb(81, 81, 124);
}

.text-block {
  display: none;
  color: var(--muted);
  font-size: 20px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.dark-section {
  background: var(--bg-soft);
}

.section-head {
  max-width: 840px;
  margin-bottom: 44px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  min-height: 220px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.card p,
.program-item p,
.teacher-card p {
  color: var(--muted);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 540px;
}

.image-stack img {
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  width: 78%;
  height: 420px;
}

.image-stack img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 330px;
  border: 8px solid var(--bg);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 18px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #19130c;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-item {
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.program-item span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
}

.course-price-block {
  background: #0d0f13;
  color: #f4f2ec;
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 40px 0;
}

.course-price-block h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.course-price-block .intro {
  font-size: 16px;
  color: #c8cad0;
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.price-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.price-item {
  background: #15181e;
  padding: 24px;
  border-radius: 16px;
  min-width: 280px;
  max-width: 360px;
  text-align: left;
}

.price-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.price-item .price {
  font-size: 28px;
  font-weight: 900;
  color: #d8a34f;
  margin-bottom: 16px;
}

.price-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-item ul li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.cta-text {
  font-size: 16px;
  color: #d8a34f;
  margin-bottom: 20px;
  font-weight: 700;
}

.button--primary {
  background: linear-gradient(135deg, #efbd68, #d8a34f);
  color: #171109;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.button--primary:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .price-grid {
    flex-direction: column;
    gap: 20px;
  }

  .price-item {
    max-width: 100%;
  }
}

.result-section {
  background: #f4f1ea;
  color: #151515;
}

.result-section .section-label {
  color: var(--accent-dark);
}

.result-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.result-list div {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.result-list strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
}

.result-list p {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
}

.masters {
  background: var(--bg-soft);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.teacher-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.teacher-card_link {
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #e6a44f;
}

.teacher-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.price-section {
  padding-top: 0;
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(230, 164, 79, 0.22), rgba(255, 255, 255, 0.04)),
    var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.price-card p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  min-height: 68px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.accordion-button span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.accordion-button span::before,
.accordion-button span::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 999px;
}

.accordion-button span::before {
  top: 10px;
  left: 2px;
  width: 18px;
  height: 2px;
}

.accordion-button span::after {
  top: 2px;
  left: 10px;
  width: 2px;
  height: 18px;
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-button span::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-content p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  background:
    radial-gradient(circle at top right, rgba(230, 164, 79, 0.16), transparent 34%),
    var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
  font-size: 19px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  color: var(--accent);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.checkbox-label {
  font-size: 12px;
  display: flex !important;
}

.checkbox-label input {
  width: 10px !important;
  margin-top: -5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px 16px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  background: #1b1f28;
}

.form-button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin: 10px 0;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--accent);
  font-weight: 800;
}

.partners-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%,
      rgba(230, 164, 79, 0.12),
      transparent 32%),
    var(--bg-soft);
}

.partners-section::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.partners-head {
  max-width: 760px;
}

.partners-intro {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.partner-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.partner-card:hover {
  transform: translateY(-7px);
  border-color: rgba(230, 164, 79, 0.48);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.partner-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.partner-logo {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: #ffffff;
}

.partner-logo img {
  width: 100%;
  max-width: 260px;
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.partner-logo--square {
  padding: 20px;
}

.partner-logo--square img {
  max-width: 190px;
  max-height: 190px;
  border-radius: 16px;
}

.partner-card:hover .partner-logo img {
  transform: scale(1.04);
}

.partner-card--dark .partner-logo {
  background: #050505;
}

.partner-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.partner-info h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 23px;
}

.partner-info p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.partner-info span {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.partner-card:hover .partner-info span {
  transform: translateX(5px);
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 1100px;
    margin: auto;
    background: #ffffff;
    color: #222;
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    z-index: 99999;
    font-family: inherit;
    animation: cookieShow .4s ease;
}

.cookie-text strong {
    display:block;
    font-size:18px;
    margin-bottom:8px;
}

.cookie-text p {
    margin:0;
    font-size:14px;
    line-height:1.5;
    color:#555;
}

.cookie-text a {
    color:#111;
    text-decoration:underline;
}

.cookie-btn {
    flex-shrink:0;
    border:none;
    background:#111;
    color:white;
    padding:12px 28px;
    border-radius:50px;
    cursor:pointer;
    font-size:15px;
    transition:.2s;
    z-index: 10000000 !important;
}

.cookie-btn:hover {
    opacity:.8;
}


@keyframes cookieShow {
    from {
        opacity:0;
        transform:translateY(30px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}





@media (max-width: 920px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .partner-card:last-child {
    grid-column: auto;
  }

  .partners-intro {
    font-size: 17px;
  }

  .partner-logo {
    height: 190px;
    padding: 26px;
  }

  .partner-logo--square {
    height: 220px;
  }

  .partner-info {
    padding: 21px;
  }

  .partner-info h3 {
    font-size: 21px;
  }
}

@media (max-width: 980px) {

  .nav,
  .header-button {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    display: grid;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: var(--bg);
    border-top: 1px solid transparent;
    transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  }

  body.menu-open .mobile-menu {
    max-height: 340px;
    padding: 22px 24px 26px;
    border-top-color: var(--line);
  }

  body.menu-open .burger span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.menu-open .burger span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero-grid,
  .two-columns,
  .image-text-grid,
  .result-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-media {
    max-width: 640px;
  }

  .cards-grid,
  .program-grid,
  .teachers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-stack {
    min-height: 480px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .logo-text {
    font-size: 15px;
  }

  .hero {
    padding: 42px 0 70px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }


  .button {
    width: 100%;
    font-size: 13px;
  }


  .hero-details {
    grid-template-columns: 1fr;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .section {
    padding: 68px 0;
  }

  .cards-grid,
  .program-grid,
  .teachers-grid,
  .result-list {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .image-stack {
    min-height: auto;
  }

  .image-stack img:first-child,
  .image-stack img:last-child {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .image-stack {
    display: grid;
    gap: 14px;
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .price-card {
    display: grid;
    padding: 28px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Мобильная версия */
@media(max-width:600px){

    .cookie-banner {
        left:12px;
        right:12px;
        bottom:12px;
        padding:18px;
        border-radius:14px;
        display:block;
    }

    .cookie-text strong {
        font-size:16px;
    }

    .cookie-text p {
        font-size:13px;
    }

    .cookie-btn {
        width:100%;
        margin-top:15px;
        padding:13px;
    }

}

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.promo-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.promo-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(8px);
}

.promo-popup__card {
  position: relative;
  width: min(100%, 1024px);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(230, 164, 79, 0.16), transparent 40%),
    #171a21;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.25s ease;
}

.promo-popup.is-open .promo-popup__card {
  transform: translateY(0) scale(1);
}

.promo-popup__image {
  position: relative;
  min-height: 420px;
  background: #0f1115;
}

.promo-popup__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 0.1), rgba(15, 17, 21, 0.45)),
    linear-gradient(0deg, rgba(15, 17, 21, 0.18), transparent);
  pointer-events: none;
}

.promo-popup__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.promo-popup__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.promo-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(15, 17, 21, 0.55);
  color: #f4f1ea;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.promo-popup__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(90deg);
}

.promo-popup__label {
  margin: 0 0 14px;
  color: #e6a44f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-popup__title {
  margin: 0 0 18px;
  max-width: 420px;
  color: #f4f1ea;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.promo-popup__text {
  margin: 0 0 26px;
  max-width: 430px;
  color: #b8b2a8;
  font-size: 18px;
  line-height: 1.5;
}

.promo-popup__button {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: #e6a44f;
  color: #17100a;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.promo-popup__button:hover {
  background: #f0b664;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .promo-popup {
    align-items: end;
    padding: 12px;
  }

  .promo-popup__card {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    border-radius: 26px;
  }

  .promo-popup__image {
    min-height: 220px;
  }

  .promo-popup__image img {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .promo-popup__image::after {
    background: linear-gradient(0deg, rgba(15, 17, 21, 0.58), transparent 55%);
  }

  .promo-popup__content {
    padding: 26px 22px 24px;
  }

  .promo-popup__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    box-shadow: 1px 1px 15px;
  }

  .logo-text {
    display: none;
  }

}