/* ===========================
   WebArtSchool — style.css
   Art School, Pastel Palette
   Playfair Display + Raleway
   Handwritten Accent Feel
   =========================== */

/* --- CSS Variables --- */
:root {
  --primary: #C4728F;
  --primary-hover: #A85D78;
  --primary-light: rgba(196, 114, 143, 0.10);
  --primary-soft: rgba(196, 114, 143, 0.06);
  --accent: #D4A276;
  --accent-light: rgba(212, 162, 118, 0.12);
  --pastel-pink: #F5E1E9;
  --pastel-lavender: #E8DFF5;
  --pastel-mint: #D5ECD4;
  --pastel-peach: #FDEBD3;
  --pastel-sky: #D6EAF8;
  --bg: #FFFAF7;
  --bg-white: #FFFFFF;
  --text: #2D2A32;
  --text-light: #5A5662;
  --text-muted: #8E8A96;
  --gray-bg: #F9F5F2;
  --border: #E8E2DD;
  --shadow: 0 2px 20px rgba(45, 42, 50, 0.06);
  --shadow-lg: 0 8px 40px rgba(45, 42, 50, 0.10);
  --shadow-soft: 0 4px 24px rgba(196, 114, 143, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 76px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', sans-serif;
}

/* --- Reset & Base --- */
*, *::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(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* --- Decorative Brush Stroke Divider --- */
.section-divider {
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin: 0 auto 32px;
  opacity: 0.7;
}

.section-divider--left {
  margin: 0 0 24px;
}

/* --- Handwritten Accent --- */
.handwritten {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

/* --- Pastel Blob Decoration --- */
.pastel-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.pastel-blob--pink {
  background: var(--pastel-pink);
}

.pastel-blob--lavender {
  background: var(--pastel-lavender);
}

.pastel-blob--mint {
  background: var(--pastel-mint);
}

.pastel-blob--peach {
  background: var(--pastel-peach);
}

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

.section {
  padding: 64px 0;
  position: relative;
}

.section--gray {
  background: var(--gray-bg);
}

.section--pastel {
  background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-lavender) 50%, var(--pastel-sky) 100%);
}

.section__title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 16px;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 114, 143, 0.35);
  color: #fff;
}

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

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn--block {
  width: 100%;
}

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

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.header__logo span {
  color: var(--primary);
  font-style: italic;
}

.header__nav {
  display: none;
}

.header__nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-height));
  background: var(--bg);
  padding: 24px;
  gap: 8px;
  
}

.header__nav a {
  color: var(--text);
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: 0.95rem;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.875rem;
  margin-top: var(--header-height);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumbs__item a {
  color: var(--text-muted);
}

.breadcrumbs__item a:hover {
  color: var(--primary);
}

.breadcrumbs__separator {
  font-size: 0.75rem;
}

/* --- Hero --- */
.hero {
  margin-top: var(--header-height);
  padding: 80px 0;
  background: linear-gradient(160deg, var(--bg) 0%, var(--pastel-pink) 40%, var(--pastel-lavender) 70%, var(--pastel-peach) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: var(--pastel-mint);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: var(--pastel-lavender);
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
}

.hero__content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(196, 114, 143, 0.2);
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: var(--text-light);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Advantages Grid --- */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.advantage-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.advantage-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-lavender));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 24px;
}

.advantage-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.advantage-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--pastel-pink);
  line-height: 1;
}

.review-card__stars {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 4px;
}

.review-card__text {
  font-style: italic;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.review-card__author {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-heading);
}

.review-card__role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, #E8A87C 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-section .btn--primary {
  background: #fff;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.cta-section .btn--primary:hover {
  background: #f8f4f0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

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

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-bg);
  aspect-ratio: 16/10;
  border: 3px solid var(--pastel-pink);
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.stat-item {
  padding: 28px 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-item__label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

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

.team-card {
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.team-card__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-lavender));
  padding: 3px;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.team-card__role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-style: italic;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Courses Page --- */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.module-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  transition: all var(--transition);
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.module-card__number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.module-card h3 {
  margin-bottom: 8px;
}

.module-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.module-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.module-card__topic {
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

.course-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.course-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.course-info-item__icon {
  color: var(--primary);
  font-size: 26px;
  flex-shrink: 0;
}

.course-info-item strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.course-info-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Pricing Page --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--bg-white) 0%, rgba(196, 114, 143, 0.03) 100%);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 5px 22px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0 4px;
}

.pricing-card__currency {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__period {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.pricing-card__features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.pricing-card__features li iconify-icon {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.pricing-card__features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-card__features li.disabled iconify-icon {
  color: var(--text-muted);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.payment-method iconify-icon {
  font-size: 24px;
  color: var(--text-light);
}

/* --- FAQ Page --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--bg-white);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

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

.faq-item__question:hover {
  color: var(--primary);
}

.faq-item__icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #E53935;
}

.form-group .error-msg {
  color: #E53935;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group input.error + .error-msg,
.form-group textarea.error + .error-msg {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary);
}

.form-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 12px;
}

.form-secure iconify-icon {
  color: var(--primary);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__item iconify-icon {
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__item strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.contact-info__item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* --- Legal Pages --- */
.legal-page {
  margin-top: var(--header-height);
  padding: 40px 0 64px;
}

.legal-page h1 {
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

.legal-page h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.legal-page p {
  margin-bottom: 12px;
  line-height: 1.8;
}

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

.legal-page ul li {
  margin-bottom: 6px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Thank You Page --- */
.thankyou {
  margin-top: var(--header-height);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.thankyou__icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-lavender));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
  font-size: 38px;
}

.thankyou h1 {
  margin-bottom: 12px;
}

.thankyou p {
  max-width: 480px;
  margin: 0 auto 32px;
}

/* --- 404 Page --- */
.page-404 {
  margin-top: var(--header-height);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.page-404__code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 h1 {
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.page-404 p {
  max-width: 480px;
  margin: 0 auto 24px;
}

.page-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.page-404__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all var(--transition);
}

.page-404__links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: #fff;
  padding: 16px 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

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

.cookie-banner__btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.cookie-banner__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --- Footer --- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 52px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.footer__logo span {
  color: var(--primary);
  font-style: italic;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

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

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

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

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer__contact-item iconify-icon {
  color: var(--primary);
  font-size: 18px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
}

.footer__bottom a:hover {
  color: var(--primary);
}

/* --- Honeypot --- */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --- Page Top Spacing --- */
.page-content {
  padding-top: 20px;
}

/* ===========================
   Responsive Breakpoints
   =========================== */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .container {
    padding: 0 32px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 100px 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

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

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

  .about-intro {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .module-card {
    grid-template-columns: 52px 1fr;
    align-items: start;
  }

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

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

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

  .contact-form {
    padding: 40px 32px;
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .header__nav a {
    padding: 8px 14px;
  }

  .header__burger {
    display: none;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

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

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

/* Large Desktop: 1280px+ */
@media (min-width: 1280px) {
  .container {
    padding: 0 40px;
  }
}

/* Print */
@media print {
  .header, .footer, .cookie-banner {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
[class*="photo"] img,[class*="avatar"] img{width:100%;height:100%;object-fit:cover;border-radius:50%}
[class*="visual"] img{width:100%;height:100%;object-fit:cover;border-radius:12px}

/* === WebArtSchool Cases === */
.was-cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:2rem}
.was-case{background:#fff;border-radius:12px;padding:2rem;border:1px solid #eee;transition:transform .3s,box-shadow .3s}
.was-case:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(229,57,53,.1)}
.was-case__icon{font-size:2rem;color:#E53935;margin-bottom:1rem}
.was-case h3{color:#333;margin-bottom:.5rem}
.was-case p{color:#666;font-size:.95rem;margin-bottom:1rem}
.was-case__tags{display:flex;flex-wrap:wrap;gap:.5rem}
.was-case__tags span{background:#fde8e8;color:#E53935;padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:500}
@media(max-width:768px){.was-cases-grid{grid-template-columns:1fr}}
