/* Approved 2026-08-19 homepage redesign: one-piece header/hero, brand palette, wide course grid. */
:root {
  --paper: #fbfaf7;
  --paper-2: #f5f2eb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --ink: #25211f;
  --ink-2: #1d0a5b;
  --muted: #6f6962;
  --soft: #8b857e;
  --line: rgba(29, 10, 91, 0.12);
  --line-strong: rgba(29, 10, 91, 0.28);
  --gold: #cd8c2a;
  --gold-deep: #a96e18;
  --gold-soft: rgba(205, 140, 42, 0.12);
  --navy: #1d0a5b;
  --ivory: #eeebe0;
  --shadow: 0 18px 54px rgba(29, 10, 91, 0.1);
  --radius: 2px;
  --max: 1320px;
  --nav-height: 86px;
}

html {
  scroll-padding-top: var(--nav-height);
  background: var(--paper);
}

body {
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  overflow: clip;
}

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--nav-height);
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-inner {
  width: 100%;
  max-width: none;
  padding: 0 clamp(24px, 3vw, 48px);
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: clamp(44px, 4vw, 76px);
}

.brand-link {
  width: 196px;
  height: 72px;
}

.brand-link img {
  width: 100%;
  height: 62px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  justify-content: flex-start;
  gap: clamp(22px, 2.1vw, 40px);
}

.nav-links a {
  min-height: 42px;
  color: #2c2926;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a::after {
  bottom: 2px;
  height: 1px;
}

.nav-links a.is-active::after {
  right: 100%;
}

.nav-links a.is-active:hover::after,
.nav-links a.is-active:focus-visible::after {
  right: 0;
}

.nav-actions {
  justify-self: end;
  gap: 16px;
}

.btn,
.nav-action,
.btn-submit {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
}

.btn.primary,
.nav-action.primary,
.btn-submit {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 26px rgba(205, 140, 42, 0.16);
}

.btn.primary:hover,
.nav-action.primary:hover,
.btn-submit:hover {
  border-color: #b97b1f;
  background: #b97b1f;
}

.btn.secondary,
.nav-action.secondary {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.btn.secondary:hover,
.nav-action.secondary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 776px;
  display: block;
  padding: var(--nav-height) clamp(28px, 4vw, 72px) 0;
  overflow: visible;
  border-bottom: 0;
  background:
    radial-gradient(circle at 75% 16%, rgba(255, 234, 211, 0.78), transparent 28%),
    radial-gradient(circle at 55% 12%, rgba(228, 232, 255, 0.72), transparent 34%),
    linear-gradient(180deg, #fbfaf7 0%, #f1f6fb 100%);
  background-size: 125% 125%, 135% 135%, 100% 100%;
  animation: miusheng-hero-wash 18s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(180deg, transparent, rgba(222, 237, 250, 0.56));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
}

.hero-content {
  min-width: 0;
  padding: 42px 48px 112px 0;
  display: flex;
  align-items: center;
}

.hero-copy-wrap {
  width: 100%;
  max-width: 580px;
}

.hero-kicker {
  display: block;
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero-kicker::before {
  display: none;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(48px, 4.1vw, 64px);
  line-height: 1.42;
  letter-spacing: 0.045em;
  font-weight: 500;
  white-space: normal;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 540px;
  margin: 24px 0 30px;
  color: #57514c;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-actions {
  margin-top: 0;
  gap: 16px;
}

.hero-actions .btn {
  min-width: 164px;
  min-height: 54px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  height: 520px;
  overflow: visible;
}

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

.hero-visual {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.92);
  background: #fff;
  box-shadow: 0 24px 70px rgba(29, 10, 91, 0.15);
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  object-fit: cover;
}

.hero-visual-main {
  z-index: 2;
  top: 48px;
  right: 9%;
  width: 70%;
  height: 420px;
  border-radius: 30px;
  transform: rotate(-1.5deg);
}

.hero-visual-main img {
  object-position: center;
}

.hero-visual-guitar {
  z-index: 3;
  top: 20px;
  right: -1%;
  width: 31%;
  height: 220px;
  border-radius: 22px;
  transform: rotate(6deg);
  animation: miusheng-float 6s ease-in-out infinite;
}

.hero-visual-vocal {
  z-index: 4;
  left: 0;
  bottom: 30px;
  width: 28%;
  height: 190px;
  border-radius: 20px;
  transform: rotate(-7deg);
  animation: miusheng-float 7s ease-in-out -2s infinite;
}

.hero-stage-label {
  position: absolute;
  z-index: 5;
  right: 3%;
  bottom: 18px;
  min-height: 48px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(29, 10, 91, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(29, 10, 91, 0.12);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.hero-stage-label strong {
  color: var(--gold);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 26px;
  line-height: 1;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(29, 10, 91, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: 36px;
  right: 3%;
  width: 430px;
  height: 430px;
}

.hero-orbit-two {
  top: 124px;
  right: 17%;
  width: 260px;
  height: 260px;
}

@keyframes miusheng-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes miusheng-hero-wash {
  0%, 100% { background-position: 68% 8%, 42% 4%, 0 0; }
  50% { background-position: 74% 12%, 50% 8%, 0 0; }
}

.proof-band {
  position: relative;
  z-index: 8;
  width: min(1180px, calc(100% - 96px));
  margin: -72px auto -64px;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.proof-item {
  min-height: 136px;
  padding: 24px 26px;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border: 1px solid rgba(29, 10, 91, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 50px rgba(29, 10, 91, 0.11);
}

.proof-item:not(:last-child) {
  padding-right: 26px;
  border-right: 1px solid rgba(29, 10, 91, 0.06);
}

.proof-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.proof-icon i {
  color: currentColor;
  font-size: 30px;
}

.proof-blue { color: #4679b9; background: #eaf3ff; }
.proof-pink { color: #ad6174; background: #fcecf0; }
.proof-gold { color: #b77a1e; background: #fff3cf; }

.proof-item strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
}

.proof-item span:not(.proof-icon) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.courses-section {
  width: 100%;
  max-width: none;
  padding: 150px clamp(24px, 3vw, 48px) 72px;
  background: var(--paper);
}

.courses-head {
  max-width: 760px;
  margin: 0 auto 38px;
  display: block;
  text-align: center;
}

.courses-head .section-head {
  max-width: none;
  margin: 0;
  display: block;
  gap: 0;
}

.section-title,
.consult-copy h2,
.contact-info .section-title {
  color: var(--navy);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.courses-head .section-title {
  margin: 7px 0 8px;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 68.5px;
}

.courses-head .section-title::before {
  display: none;
}

.courses-head .section-copy {
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
}

.course-all {
  display: none;
}

.courses-grid {
  max-width: 1320px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.course-card,
.course-card.is-wide {
  min-height: 250px;
  display: grid;
  grid-template-columns: 31% 69%;
  align-items: stretch;
  overflow: hidden;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #f7f4ed;
  color: var(--ink);
  box-shadow: none;
}

.course-card::after {
  display: none;
}

.course-card picture {
  position: static;
  grid-area: 1 / 2;
  width: 100%;
  height: 100%;
  min-height: 250px;
}

.course-card img {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-card:hover img {
  transform: scale(1.025);
}

.course-body {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  padding: 30px 24px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-body::before {
  content: attr(data-index);
  color: var(--gold);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 42px;
  line-height: 1;
}

.course-card h3 {
  margin: 13px 0 5px;
  color: var(--navy);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 24px;
  font-weight: 600;
}

.course-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.course-more {
  display: none;
}

.consult-card {
  max-width: 1320px;
  min-height: 405px;
  margin: 72px auto 0;
  grid-template-columns: 44% 56%;
  border-radius: 0;
  background: #f5f2eb;
  box-shadow: none;
}

.consult-copy {
  padding: 64px 5vw 58px max(4vw, 52px);
  gap: 18px;
  background: #f5f2eb;
}

.cta-label {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.cta-label::before {
  display: none;
}

.consult-copy h2 {
  font-size: clamp(34px, 3.1vw, 50px);
}

.consult-media img {
  min-height: 405px;
}

.alliance-strip {
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 42px 28px;
}

.alliance-title i,
.alliance-title h2 {
  color: var(--navy);
}

.contact-section {
  background: #f6f3ed;
  border-top-color: var(--line);
}

.contact-wrap {
  max-width: 1180px;
}

.contact-info,
.contact-form {
  border-color: var(--line);
  border-radius: 0;
}

.contact-form,
.form-tab,
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
}

.section-label,
.form-tab.is-active,
.form-status,
.course-dialog__label {
  color: var(--gold-deep);
}

.section-label::before {
  background: var(--gold);
}

.site-footer {
  border-top: 0;
  background: var(--navy);
}

.footer-inner {
  max-width: 1240px;
  padding: 48px 0 26px;
}

.footer-logo {
  width: 210px;
  min-height: 70px;
}

.footer-logo img {
  width: 210px;
  height: 70px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.footer-links a,
.footer-legal,
.footer-legal a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fff;
}

.footer-legal {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1180px) {
  .nav-inner {
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
  }

  .brand-link {
    width: 180px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links li:nth-last-child(-n + 2) {
    display: none;
  }

  .education-action {
    display: none;
  }

  .hero {
    padding-inline: 36px;
  }

  .proof-band {
    width: calc(100% - 72px);
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 72px;
  }

  .site-nav {
    height: var(--nav-height);
  }

  .nav-inner {
    width: 100%;
    padding: 0 20px;
    grid-template-columns: 1fr auto auto;
  }

  .brand-link {
    width: 160px;
    height: 60px;
  }

  .brand-link img {
    height: 54px;
  }

  .nav-action.primary {
    min-height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .mobile-toggle {
    border-color: rgba(29, 10, 91, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy);
  }

  .nav-links.is-open {
    top: var(--nav-height);
    border-color: var(--line);
    border-radius: 8px;
  }

  .nav-links.is-open li {
    display: list-item;
  }

  .nav-links.is-open .nav-system-item a {
    background: var(--navy);
  }

  .hero {
    min-height: auto;
    padding: var(--nav-height) 20px 0;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 470px;
    padding: 58px 4px 28px;
    align-items: flex-start;
  }

  .hero-kicker {
    line-height: normal;
  }

  .hero h1 {
    font-size: clamp(40px, 10.577vw, 54px);
    letter-spacing: 0.045em;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-media {
    min-height: 420px;
    height: 420px;
  }

  .hero-visual-main {
    right: 7%;
    width: 76%;
    height: 340px;
  }

  .hero-visual-guitar {
    width: 34%;
    height: 170px;
  }

  .hero-visual-vocal {
    width: 32%;
    height: 150px;
  }

  .proof-band {
    width: 100%;
    margin: 0;
    padding: 0 20px 30px;
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:not(:last-child) {
    min-height: 112px;
    padding: 24px 26px;
    border: 1px solid rgba(29, 10, 91, 0.06);
  }

  .proof-item:last-child {
    padding: 24px 26px;
    border-bottom: 1px solid rgba(29, 10, 91, 0.06);
  }

  .courses-section {
    padding: 58px 20px;
  }

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

  .courses-head .section-title {
    line-height: 48.5px;
  }

  .course-card,
  .course-card.is-wide {
    min-height: 210px;
    grid-template-columns: 35% 65%;
  }

  .course-card picture,
  .course-card img {
    min-height: 210px;
  }

  .consult-card {
    grid-template-columns: 1fr;
  }

  .consult-copy {
    padding: 58px 24px;
  }

  .consult-media img {
    min-height: 320px;
  }

  .footer-inner {
    width: calc(100% - 48px);
  }
}

@media (max-width: 520px) {
  .nav-inner {
    gap: 8px;
  }

  .brand-link {
    width: 128px;
  }

  .brand-link img {
    height: 48px;
  }

  .nav-action.primary {
    padding-inline: 11px;
    font-size: 12px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-content {
    min-height: 450px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    min-height: 350px;
    height: 350px;
  }

  .hero-visual-main {
    right: 4%;
    width: 82%;
    height: 285px;
  }

  .hero-visual-guitar {
    height: 140px;
  }

  .hero-visual-vocal {
    height: 125px;
  }

  .course-card,
  .course-card.is-wide {
    grid-template-columns: 40% 60%;
  }

  .course-body {
    padding: 24px 16px;
  }

  .course-body::before {
    font-size: 34px;
  }

  .course-more {
    display: none;
  }

  .footer-logo,
  .footer-logo img {
    width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-visual-guitar,
  .hero-visual-vocal {
    animation: none;
  }
}

/* Full-page parity with the approved 5173 design. */
.js .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.skip-link {
  position: absolute;
}

.advantages-section {
  padding: 44px max(5.5vw, 68px) 52px;
  border-top: 1px solid rgba(29, 10, 91, 0.08);
  border-bottom: 1px solid rgba(29, 10, 91, 0.08);
  background: #f6f3ed;
}

.advantages-head {
  margin: 0 auto 28px;
  text-align: center;
}

.advantages-head .section-kicker {
  line-height: 22px;
}

.section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.16em;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  margin: 0 16px 4px;
  background: rgba(205, 140, 42, 0.68);
}

.advantage-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.advantage {
  min-height: 152px;
  padding: 0 38px;
  color: var(--navy);
  text-align: center;
  border-right: 1px solid rgba(29, 10, 91, 0.13);
}

.advantage:last-child {
  border-right: 0;
}

.advantage > i {
  display: block;
  margin-bottom: 13px;
  font-size: 40px;
}

.advantage h3 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 20px;
  font-weight: 600;
}

.advantage p {
  margin: 0;
  color: #69635d;
  font-size: 13px;
  line-height: 1.7;
}

.plan-section {
  min-height: 405px;
  display: grid;
  grid-template-columns: 44% 56%;
  background: #f5f2eb;
}

.plan-copy {
  padding: 76px 5vw 64px max(5.5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-copy h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(34px, 3.1vw, 50px);
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.04em;
}

.plan-copy p {
  margin: 0 0 28px;
  color: #5f5954;
  font-size: 15px;
  line-height: 1.9;
}

.plan-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plan-media,
.plan-media img {
  width: 100%;
  height: 100%;
  min-height: 405px;
}

.plan-media img {
  object-fit: cover;
  object-position: center;
}

.partners-section {
  min-height: 300px;
  padding: 72px max(5.5vw, 68px);
  display: grid;
  place-items: center;
  background: var(--paper);
}

.partners-copy {
  max-width: 760px;
  text-align: center;
  line-height: normal;
}

.partners-copy h2 {
  margin: 7px 0 8px;
  color: var(--navy);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 68.5px;
  letter-spacing: 0.05em;
}

.partners-copy > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
}

.partners-copy button {
  margin: 22px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 500;
  line-height: 23px;
  cursor: pointer;
}

.reservation-dialog {
  position: fixed;
  z-index: 2000;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(18, 10, 37, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reservation-dialog[hidden] {
  display: none;
}

.reservation-panel {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 42px;
  overflow-y: auto;
  background: #fbfaf7;
  box-shadow: 0 28px 80px rgba(20, 12, 39, 0.24);
}

.reservation-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
}

.reservation-eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.reservation-panel h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: 34px;
  font-weight: 600;
}

.reservation-intro {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.7;
}

.reservation-panel form {
  display: grid;
  gap: 18px;
}

.reservation-panel .form-group {
  display: grid;
  gap: 8px;
  margin: 0;
}

.reservation-panel label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}

.reservation-panel input,
.reservation-panel select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(29, 10, 91, 0.22);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.reservation-panel .btn-submit {
  width: 100%;
  margin-top: 6px;
}

.reservation-panel .form-note,
.reservation-panel .form-status {
  margin: 0;
}

.footer-inner {
  max-width: 1240px;
  padding: 48px 0 20px;
  display: block;
  gap: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 44px;
}

.footer-brand > p {
  margin: 14px 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 20.8px;
}

.footer-logo {
  display: block;
  height: 70px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.footer-column h3 {
  margin: 5px 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}

.footer-column a,
.footer-column button {
  margin: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.footer-column:not(.footer-contact) a {
  display: block;
  line-height: normal;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-column button:hover,
.footer-column button:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: #fff;
}

.footer-legal {
  margin-top: 32px;
  justify-content: space-between;
  min-height: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  line-height: normal;
}

@media (max-width: 820px) {
  .advantages-section {
    padding: 42px 20px;
  }

  .advantage-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 0;
  }

  .advantage:nth-child(2) {
    border-right: 0;
  }

  .plan-section {
    grid-template-columns: 1fr;
  }

  .plan-copy {
    padding: 58px 24px;
  }

  .plan-media,
  .plan-media img {
    min-height: 320px;
  }

  .partners-section {
    padding: 58px 20px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-legal {
    gap: 16px;
    flex-direction: column;
  }
}

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

  .advantage,
  .advantage:nth-child(2) {
    padding: 20px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(29, 10, 91, 0.12);
  }

  .advantage:last-child {
    border-bottom: 0;
  }

  .plan-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-copy h2,
  .partners-copy h2 {
    line-height: 48.5px;
  }

  .reservation-panel {
    padding: 36px 24px 28px;
  }

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

  .footer-contact {
    padding-bottom: 19.796875px;
  }

  .footer-brand {
    grid-column: auto;
  }
}
