/* ========================================
   FLORASTITCH ART — Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --rose: #c4806b;
  --rose-light: #e8c4ba;
  --rose-pale: #f7ede9;
  --sage: #7a9478;
  --sage-light: #b5c9b3;
  --sage-pale: #edf2ec;
  --ivory: #faf6f1;
  --cream: #f2ebe1;
  --ink: #2c2420;
  --ink-soft: #4a3f3a;
  --stone: #8c7e78;
  --border: #e2d8d1;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1120px;
  --radius: 12px;
  --radius-sm: 6px;

  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

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

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--cream);
}

.section--sage {
  background: var(--sage-pale);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  width: 38px;
  height: 38px;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.logo__tagline {
  font-size: 0.65rem;
  color: var(--stone);
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--rose);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--rose);
  color: var(--white);
}

.btn--primary:hover {
  background: #b5705a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196, 128, 107, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--rose);
  border: 1.5px solid var(--rose);
}

.btn--outline:hover {
  background: var(--rose-pale);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 0;
  border-radius: 0;
  gap: 6px;
  font-size: 0.9rem;
}

.btn--ghost:hover {
  color: var(--rose);
}

/* ---- Hamburger (mobile) ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

/* ---- Hero ---- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 40px;
  max-width: 640px;
  margin-left: auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--rose);
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--rose);
}

.hero__desc {
  font-size: 1.1rem;
  max-width: 440px;
  margin-bottom: 40px;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ivory) 0%, transparent 20%);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  bottom: 48px;
  left: 48px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(44, 36, 32, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__badge-icon {
  width: 40px;
  height: 40px;
  background: var(--rose-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero__badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.hero__badge-sub {
  font-size: 0.75rem;
  color: var(--stone);
}

/* ---- Portfolio Preview ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

.portfolio-card:hover img {
  transform: scale(1.04);
}

.portfolio-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(44, 36, 32, 0.7), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---- About Course ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--rose-pale);
  border-radius: 50%;
  z-index: -1;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.about__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__item-icon {
  width: 44px;
  height: 44px;
  background: var(--rose-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about__item-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.about__item-text p {
  font-size: 0.9rem;
  color: var(--stone);
}

/* ---- Program ---- */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  counter-reset: program-counter;
}

.program-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  counter-increment: program-counter;
  transition: background var(--transition);
  cursor: default;
}

.program-item:first-child {
  border-top: 1px solid var(--border);
}

.program-item__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-light);
  line-height: 1;
  padding-top: 4px;
  text-align: center;
}

.program-item__content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}

.program-item__content p {
  font-size: 0.9rem;
  color: var(--stone);
}

.program-item__tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--sage-pale);
  color: var(--sage);
  font-weight: 500;
}

/* ---- For Whom ---- */
.whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.whom-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.whom-card:hover {
  box-shadow: 0 12px 32px rgba(44, 36, 32, 0.08);
  transform: translateY(-2px);
}

.whom-card__emoji {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.whom-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 12px;
}

.whom-card p {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.65;
}

/* ---- Format ---- */
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.format__image {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.format__features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.format__feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.format__feature-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.format__feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.format__feature-text p {
  font-size: 0.875rem;
  color: var(--stone);
}

/* ---- Instructor ---- */
.instructor-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.instructor__photo-wrap {
  position: relative;
}

.instructor__photo-bg {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--rose-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.instructor__photo-bg svg {
  width: 160px;
  height: 160px;
  color: var(--rose-light);
}

.instructor__decoration {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: var(--sage-pale);
  border-radius: 50%;
  z-index: -1;
}

.instructor__name {
  font-size: 2rem;
  margin-bottom: 8px;
}

.instructor__role {
  font-size: 0.9rem;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.instructor__bio {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.instructor__bio p {
  font-size: 1rem;
  line-height: 1.8;
}

.instructor__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.instructor__fact {
  background: var(--sage-pale);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.instructor__fact-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sage);
  margin-bottom: 4px;
}

.instructor__fact-label {
  font-size: 0.8rem;
  color: var(--stone);
}

/* ---- Lead Form ---- */
.form-section {
  background: var(--ink);
  color: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 128, 107, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.form-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(122, 148, 120, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.form-section .section-label {
  color: var(--rose-light);
}

.form-section .section-title {
  color: var(--white);
}

.form-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-lead {
  padding-top: 16px;
}

.form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 48px 40px;
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-field input,
.form-field select {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--rose-light);
  background: rgba(255, 255, 255, 0.12);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-field select option {
  background: var(--ink);
  color: var(--white);
}

.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

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

.form-consent label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.form-consent a {
  color: var(--rose-light);
  text-decoration: underline;
}

.form-card .btn--primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

.form-promise {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.form-promise svg {
  flex-shrink: 0;
}

.form-lead-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-lead-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.form-lead-point-check {
  width: 28px;
  height: 28px;
  background: rgba(196, 128, 107, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-lead-point-check svg {
  color: var(--rose-light);
}

.form-lead-point-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.form-lead-point-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 780px;
  margin: 56px auto 0;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--rose);
}

.faq-question-text {
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--rose-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-icon svg {
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--rose);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer__brand .logo__name {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--rose-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__legal {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
}

.footer__legal strong {
  color: rgba(255, 255, 255, 0.5);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-wrap: wrap;
}

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

.cookie-banner__text {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--rose-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn--cookie-accept {
  background: var(--rose);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-body);
}

.btn--cookie-accept:hover {
  background: #b5705a;
}

.btn--cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.btn--cookie-decline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---- Legal Pages ---- */
.legal-page {
  padding-top: 72px;
}

.legal-hero {
  background: var(--cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--stone);
  font-size: 0.9rem;
}

.legal-content {
  padding: 64px 0 96px;
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 32px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-back {
  margin-bottom: 48px;
}

/* ---- Success Page ---- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  padding: 40px 24px;
}

.success-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.success-icon {
  width: 88px;
  height: 88px;
  background: var(--rose-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2.5rem;
}

.success-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.success-card p {
  font-size: 1rem;
  color: var(--stone);
  margin-bottom: 40px;
  line-height: 1.7;
}

.success-card .btn {
  margin: 0 auto;
}

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

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 80px 24px 48px;
    max-width: 100%;
    margin-left: 0;
  }

  .hero__image-wrap {
    height: 420px;
  }

  .hero__image-overlay {
    background: linear-gradient(to bottom, var(--ivory) 0%, transparent 20%);
  }

  .hero__badge {
    bottom: 24px;
    left: 24px;
  }

  .about-grid,
  .format-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .instructor-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .instructor__photo-bg {
    aspect-ratio: 16/9;
    max-height: 300px;
  }

  .form-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .portfolio-grid,
  .whom-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer__copy {
    text-align: left;
  }

  .form-card {
    padding: 32px 24px;
  }

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

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

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .btn--cookie-accept,
  .btn--cookie-decline {
    flex: 1;
    text-align: center;
  }
}
