:root {
  --bg: #fff8f5;
  --bg-soft: #fff0e8;
  --rose: #f2c3b0;
  --rose-deep: #ce6d54;
  --rose-ink: #8a4b32;
  --peach: #ffddb5;
  --cream: #fffdfa;
  --text: #2f1b18;
  --muted: #715756;
  --line: rgba(138, 75, 50, 0.16);
  --shadow: 0 24px 50px rgba(106, 88, 133, 0.15);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 215, 170, 0.4), transparent 30%),
    radial-gradient(circle at top right, rgba(145, 147, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #fff8f5 0%, #fff5ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  appearance: none;
}

.cookie-slot:empty {
  display: none;
}

.site-shell {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 8px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-brand__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #efb469, #d86a57);
  color: #fff;
  box-shadow: 0 10px 20px rgba(216, 106, 87, 0.24);
}

.site-brand__text {
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link,
.mobile-nav__cta,
.button-primary,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.header-link,
.button-primary {
  background: linear-gradient(90deg, #4b55cb, #6f7bff);
  color: #fff;
  box-shadow: 0 14px 28px rgba(77, 86, 203, 0.2);
}

.button-outline {
  border: 1px solid rgba(164, 79, 99, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--rose-ink);
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.site-main {
  display: grid;
  gap: 34px;
  margin-top: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 38px 42px 48px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(175, 132, 18, 0.72) 0%, rgba(128, 93, 22, 0.55) 32%, rgba(58, 65, 173, 0.5) 68%, rgba(46, 65, 164, 0.82) 100%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), rgba(255, 245, 247, 0.08) 28%, transparent 52%);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  right: -70px;
  top: 44px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 128, 0.2), transparent 66%);
}

.hero::after {
  left: 44%;
  top: 70px;
  width: 420px;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 239, 209, 0.16), transparent);
  transform: rotate(-8deg);
  clip-path: polygon(0 35%, 100% 0, 84% 100%, 0 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.dancer-block {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 340px;
}

.dancer-block--right {
  place-items: center end;
}

.dance-photo {
  display: block;
  width: min(100%, 400px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(16, 14, 39, 0.28));
}

.dance-photo--solo {
  transform: translateX(-8px);
}

.dance-photo--couple {
  width: min(100%, 470px);
  transform: translateX(10px);
}

.hero-copy {
  text-align: center;
  display: grid;
  gap: 18px;
  color: #fffaf5;
}

.hero-copy__logo {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 248, 239, 0.82);
  color: #7a422d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-style: italic;
  box-shadow: 0 16px 28px rgba(255, 203, 136, 0.18);
}

.hero-copy h1,
.section-head h2,
.inner-hero h1,
.feature-panel h3,
.footer-grid h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 700;
  color: #fff9f3;
}

.hero-copy p {
  color: rgba(255, 247, 239, 0.9);
}

.hero-copy p,
.section-head p,
.feature-panel p,
.inner-hero p,
.footer-grid p,
.footer-grid a,
.detail-list,
.field span,
.checkbox-field span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy .button-primary {
  margin: 0 auto;
}

.section {
  display: grid;
  gap: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--rose-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-grid,
.feature-grid,
.gallery-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-panel,
.gallery-card,
.faq-card,
.contact-panel,
.footer-grid,
.inner-hero {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(138, 75, 50, 0.08);
  box-shadow: var(--shadow);
}

.service-card,
.feature-panel,
.faq-card,
.contact-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.service-thumb,
.gallery-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background-color: #f7ccd2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.service-thumb {
  aspect-ratio: 1 / 1.05;
  margin-bottom: 14px;
}

.gallery-card__thumb {
  aspect-ratio: 1 / 1.18;
}

.services-grid .service-card:nth-child(1) .service-thumb {
  background-image: url("../img/card-latin-group.png");
}

.services-grid .service-card:nth-child(2) .service-thumb {
  background-image: url("../img/card-contemporary-solo.png");
}

.services-grid .service-card:nth-child(3) .service-thumb {
  background-image: url("../img/card-stage-couple.png");
}

.services-grid .service-card:nth-child(4) .service-thumb {
  background-image: url("../img/hero-dancer-couple.png");
  background-position: center top;
}

.gallery-grid .gallery-card:nth-child(1) .gallery-card__thumb {
  background-image: url("../img/card-stage-couple.png");
}

.gallery-grid .gallery-card:nth-child(2) .gallery-card__thumb {
  background-image: url("../img/card-latin-group.png");
}

.gallery-grid .gallery-card:nth-child(3) .gallery-card__thumb {
  background-image: url("../img/card-contemporary-solo.png");
}

.service-card h3,
.feature-panel h3,
.gallery-card h3,
.faq-card h3,
.contact-panel h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

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

.detail-list {
  padding-left: 18px;
}

.detail-list li + li {
  margin-top: 8px;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
}

.inner-page {
  display: grid;
  gap: 24px;
}

.inner-hero {
  padding: 30px;
  border-radius: 28px;
}

.inner-hero__row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 22px;
  align-items: end;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(164, 79, 99, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  outline: 0;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
}

.site-footer {
  margin-top: 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 0.8fr));
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
}

.footer-grid a {
  display: block;
}

.footer-grid a + a {
  margin-top: 8px;
}

@media (max-width: 1120px) {
  .hero-grid,
  .feature-grid,
  .inner-hero__row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-nav,
  .header-actions .header-link {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
  }

  .mobile-nav {
    display: none;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .hero {
    padding: 26px 20px 30px;
  }

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

  .dancer-block {
    min-height: 190px;
  }

  .dancer-block--right {
    display: none;
  }

  .dance-photo {
    width: min(100%, 320px);
    transform: none;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(100%, calc(100% - 12px));
  }

  .hero,
  .service-card,
  .feature-panel,
  .faq-card,
  .contact-panel,
  .inner-hero,
  .footer-grid {
    padding: 18px;
  }

  .hero-copy h1,
  .section-head h2,
  .inner-hero h1 {
    font-size: 1.55rem;
    line-height: 1.04;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .section-head h2 {
    max-width: 330px;
  }
}
