/* ===================================
   MUSIONSO — Styles
   Pure CSS, no framework
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2c2825;
  background: #faf8f5;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- Variables --- */
:root {
  --brand-terracotta: #c97b5a;
  --brand-terracotta-light: #e8a885;
  --brand-terracotta-dark: #a05e40;
  --brand-warm: #f5f0ea;
  --brand-warm-dark: #ece5db;
  --brand-sage: #7a8c7e;
  --brand-sage-light: #d4ddd6;
  --text-primary: #2c2825;
  --text-secondary: #5c5450;
  --text-muted: #8c8480;
  --border-light: #e2dbd4;
  --white: #ffffff;
  --max-width: 1180px;
  --section-pad: 80px;
  --border-radius: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-intro {
  margin-bottom: 52px;
}

.section-intro.narrow {
  max-width: 640px;
}

.section-intro h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--brand-terracotta);
  color: var(--white);
  border: 2px solid var(--brand-terracotta);
}

.btn-primary:hover {
  background: var(--brand-terracotta-dark);
  border-color: var(--brand-terracotta-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-light);
}

.btn-ghost:hover {
  background: var(--brand-warm-dark);
  border-color: #ccc5bc;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c2825;
  color: #f5f0ea;
  z-index: 1000;
  padding: 16px 0;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  min-width: 260px;
}

.cookie-inner a {
  color: var(--brand-terracotta-light);
  text-decoration: underline;
}

.cookie-btn {
  background: var(--brand-terracotta);
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.cookie-btn:hover {
  background: var(--brand-terracotta-dark);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.logo {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
  color: var(--text-primary);
  background: var(--brand-warm-dark);
}

.main-nav .nav-cta {
  background: var(--brand-terracotta);
  color: var(--white);
  padding: 8px 18px;
  margin-left: 8px;
}

.main-nav .nav-cta:hover {
  background: var(--brand-terracotta-dark);
  color: var(--white);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 768px) {
  .burger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #faf8f5;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 4px;
    align-items: flex-start;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    width: 100%;
    padding: 12px;
  }
  .main-nav .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
}

/* --- Hero --- */
.hero {
  padding: 64px 0 72px;
  background: var(--brand-warm);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-terracotta);
  margin-bottom: 16px;
  background: rgba(201, 123, 90, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
}

.hero-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-img-wrap:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .hero-visual {
    order: -1;
  }
}

/* --- What is this --- */
.what-is-this {
  background: var(--white);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.aud-card {
  background: var(--brand-warm);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.aud-card:hover {
  border-color: var(--brand-terracotta-light);
  box-shadow: var(--shadow-sm);
}

.aud-icon {
  font-size: 1.2rem;
  color: var(--brand-terracotta);
  margin-bottom: 14px;
}

.aud-card h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.aud-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Benefits --- */
.benefits {
  background: var(--brand-warm);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.benefits-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
}

.benefits-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits-content h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.benefits-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

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

.benefits-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.b-marker {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-terracotta);
  background: rgba(201, 123, 90, 0.12);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.benefits-list li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.benefits-list li p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .benefits-visual {
    aspect-ratio: 16/9;
    max-height: 320px;
  }
}

/* --- Program --- */
.program {
  background: var(--white);
}

.program-modules {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.module {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.module:last-child {
  border-bottom: none;
}

.module:hover {
  background: var(--brand-warm);
}

.module-num {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-terracotta);
  border-right: 1px solid var(--border-light);
}

.module-body {
  padding: 28px 32px;
  flex: 1;
}

.module-body h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.module-body p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.65;
}

.module-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}

.module-body ul li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.module-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brand-terracotta-light);
}

@media (max-width: 640px) {
  .module {
    flex-direction: column;
  }
  .module-num {
    width: auto;
    height: 52px;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    justify-content: flex-start;
    padding: 16px 20px 0;
    font-size: 1.5rem;
  }
  .module-body {
    padding: 16px 20px 20px;
  }
  .module-body ul {
    grid-template-columns: 1fr;
  }
}

/* --- How it works --- */
.how-it-works {
  background: var(--brand-warm);
}

.hiw-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 56px;
}

.hiw-item {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.hiw-item--reverse {
  grid-template-columns: 1.3fr 1fr;
}

.hiw-item--reverse .hiw-visual {
  order: 1;
}

.hiw-item--reverse .hiw-text {
  order: -1;
}

.hiw-visual {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.hiw-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hiw-text h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.hiw-text p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hiw-flow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px 28px;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.flow-arrow {
  color: var(--brand-terracotta-light);
  font-size: 1.5rem;
  padding-top: 6px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hiw-item, .hiw-item--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hiw-item--reverse .hiw-visual { order: -1; }
  .hiw-item--reverse .hiw-text { order: 1; }
  .hiw-visual { aspect-ratio: 16/9; }
  .flow-arrow { display: none; }
  .hiw-flow { flex-direction: column; }
  .flow-step { flex-direction: row; align-items: flex-start; }
}

/* --- Start Block --- */
.start-block {
  background: var(--white);
}

.start-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.start-content h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.start-content > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

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

.start-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.s-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(201, 123, 90, 0.12);
  color: var(--brand-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.start-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.start-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.start-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/2;
}

.start-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .start-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .start-visual { aspect-ratio: 16/9; }
}

/* --- Trust --- */
.trust-section {
  background: var(--brand-warm);
}

.trust-section .section-intro {
  margin-bottom: 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}

.trust-item:hover {
  border-color: var(--brand-sage-light);
}

.trust-item h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

/* --- FAQ --- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  gap: 12px;
  transition: background 0.15s;
}

.faq-q:hover {
  background: var(--brand-warm);
}

.faq-q[aria-expanded="true"] {
  background: var(--brand-warm);
  color: var(--brand-terracotta-dark);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--brand-terracotta);
  transition: transform 0.25s;
  font-weight: 400;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border-light);
}

.faq-a[hidden] {
  display: none;
}

.faq-a p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 16px;
}

/* --- Lead Form --- */
.lead-form {
  background: var(--brand-warm);
}

.form-wrap {
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-intro h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.form-intro p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-field .optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 3px rgba(201, 123, 90, 0.12);
}

.form-field input.error,
.form-field textarea.error {
  border-color: #c0392b;
}

.field-error {
  display: block;
  font-size: 0.82rem;
  color: #c0392b;
  margin-top: 5px;
  min-height: 18px;
}

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

.form-consent {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-terracotta);
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--brand-terracotta);
  text-decoration: underline;
}

.form-actions {
  margin-bottom: 14px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.btn-loading {
  display: none;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loading {
  display: inline;
}

.form-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .form-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 520px;
  }
}

/* --- Final CTA --- */
.final-cta {
  background: #2c2825;
  padding: 80px 0;
}

.final-inner {
  max-width: 600px;
}

.final-inner h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #f5f0ea;
  line-height: 1.3;
  margin-bottom: 16px;
}

.final-inner p {
  color: #b8b0a8;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* --- Footer --- */
.site-footer {
  background: #1e1c1a;
  color: #9c948c;
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2e2c2a;
  margin-bottom: 32px;
}

.footer-logo {
  color: #f5f0ea;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 6px;
}

.footer-domain {
  font-size: 0.82rem;
  color: var(--brand-terracotta-light);
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #7a726c;
  max-width: 280px;
}

.footer-nav h4,
.footer-legal-nav h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c5450;
  margin-bottom: 14px;
}

.footer-nav nav,
.footer-legal-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a,
.footer-legal-nav a {
  font-size: 0.88rem;
  color: #7a726c;
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-nav a:hover,
.footer-legal-nav a:hover {
  color: #f5f0ea;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-requisites p {
  font-size: 0.83rem;
  color: #5c5450;
  line-height: 1.65;
}

.footer-copy {
  font-size: 0.83rem;
  color: #3e3c3a;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* --- Legal Pages --- */
.legal-page {
  min-height: 100vh;
  background: var(--brand-warm);
}

.legal-header {
  background: rgba(250,248,245, 0.95);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-header .container {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 16px;
}

.legal-header .logo {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.back-link {
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--brand-terracotta);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--brand-terracotta-dark); }

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 32px 0 12px;
}

.legal-content p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 14px;
}

.legal-content ul li {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brand-terracotta-light);
}

.legal-content a {
  color: var(--brand-terracotta);
  text-decoration: underline;
}

.legal-footer {
  background: #1e1c1a;
  padding: 28px 0;
}

.legal-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-footer p {
  font-size: 0.83rem;
  color: #5c5450;
}

/* --- Success Page --- */
.success-page {
  min-height: 100vh;
  background: var(--brand-warm);
  display: flex;
  flex-direction: column;
}

.success-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.success-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 123, 90, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
}

.success-card h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.success-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.success-card .btn {
  margin-top: 12px;
}

/* --- Scroll animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Accessibility --- */
:focus-visible {
  outline: 2px solid var(--brand-terracotta);
  outline-offset: 3px;
}

/* --- Selection --- */
::selection {
  background: rgba(201, 123, 90, 0.2);
  color: var(--text-primary);
}

/* --- Scrollbar (webkit) --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--brand-warm);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-terracotta-light);
  border-radius: 3px;
}
