/* ─────────────────────────────────────────────
   ARINA ZHAKINA — art coaching & painting
   Design: warm editorial, sunlit palette
───────────────────────────────────────────── */

:root {
  --ink: #1e1a16;
  --ink-soft: #5a4e44;
  --paper: #fbf6ef;
  --paper-warm: #f5ead9;
  --line: #e8dcc8;
  --sun: #e36344;
  --sun-deep: #c74a2d;
  --leaf: #7a8c5c;
  --sky: #6a90a8;
  --cream: #fff9ed;
  --shadow: 0 1px 2px rgba(30, 26, 22, .04), 0 8px 32px rgba(30, 26, 22, .06);
  --shadow-deep: 0 20px 60px rgba(30, 26, 22, .12);

  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Caveat", "Comfortaa", cursive;

  --radius: 2px;
  --radius-lg: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.75 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .5;
  z-index: 1;
  mix-blend-mode: multiply;
}

main, nav, footer, section, header { position: relative; z-index: 2; }

/* Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  font-style: italic;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: .8rem;
  font-weight: 500;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

p { margin-bottom: 1.1rem; }

a { color: var(--sun-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sun); }

strong, b { font-weight: 600; color: var(--ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sun-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.script {
  font-family: var(--font-accent);
  font-size: 1.35em;
  color: var(--sun-deep);
  line-height: 1;
}

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

.narrow { max-width: 760px; margin: 0 auto; }

section { padding: 90px 0; }
section.tight { padding: 60px 0; }

.lead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Header ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 239, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: opacity .2s;
}
.logo:hover { opacity: .75; }
.logo svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--ink);
}
.logo-name em {
  font-style: normal;
  color: var(--sun);
  margin-right: 4px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand a { color: inherit; }
.brand .dot { color: var(--sun); }

.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-list a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: .02em;
  position: relative;
  padding: 6px 0;
}

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

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--sun);
  transition: width .25s ease;
}
.nav-list a:hover::after { width: 100%; }

.lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: var(--cream);
  list-style: none;
}
.lang-switch a,
.lang-switch .current {
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.lang-switch a {
  color: var(--ink-soft);
  text-decoration: none;
}
.lang-switch a:hover {
  color: var(--sun-deep);
  background: rgba(227, 99, 68, .08);
}
.lang-switch .current {
  background: var(--sun);
  color: white;
}

.burger {
  display: none;
  width: 32px; height: 32px;
  background: none; border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .3s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero ───────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-text .eyebrow { margin-bottom: 24px; }

.hero-name {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  font-style: italic;
  margin-bottom: 20px;
}
.hero-name .surname { font-style: normal; color: var(--sun-deep); display: block; }

.hero-tagline {
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-tagline strong { color: var(--ink); font-weight: 500; }

.hero-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.cred-chip {
  font-size: 0.82rem;
  letter-spacing: .04em;
  padding: 7px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--ink-soft);
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  transform: rotate(1.2deg);
}

.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(227, 99, 68, .08) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-sticker {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 130px; height: 130px;
  background: var(--sun);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  line-height: 1.2;
  padding: 16px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

/* Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  border-radius: 40px;
  transition: transform .25s, box-shadow .25s, background .25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--sun);
  color: white;
  box-shadow: 0 8px 24px rgba(227, 99, 68, .28);
}
.btn-primary:hover {
  background: var(--sun-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(227, 99, 68, .38);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-2px);
}

.btn-small { padding: 10px 20px; font-size: 0.85rem; }

.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* About section ──────────────────────────── */
.about {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--sun-deep);
  line-height: 1;
  font-style: italic;
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.materials-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-top: 28px;
}

.materials-box h4 { color: var(--sun-deep); margin-bottom: 10px; }
.materials-box p { margin-bottom: 12px; font-size: 0.97rem; }
.materials-box p:last-child { margin-bottom: 0; }

/* Coaching section ───────────────────────── */
.coaching .lead { max-width: 720px; }

.coaching-prose p { margin-bottom: 1.2rem; }
.coaching-prose strong { color: var(--sun-deep); font-weight: 600; }

.callout {
  border-left: 3px solid var(--sun);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.4;
}

.articles-list {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.articles-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
}
.articles-list a:hover { color: var(--sun-deep); padding-left: 8px; }
.articles-list a::after { content: "↗"; color: var(--sun); transition: transform .2s; }
.articles-list a:hover::after { transform: translate(3px, -3px); }

/* Subsections (eco, kids) ────────────────── */
.subsections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.sub-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.sub-card::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 99, 68, .18), transparent 70%);
}

.sub-card h3 { color: var(--sun-deep); position: relative; }
.sub-card p { position: relative; margin-bottom: 0.9rem; font-size: 0.97rem; }

/* Eco block (with image) ──────────────────── */
.eco {
  background: linear-gradient(180deg, transparent, rgba(122, 140, 92, .04) 30%, rgba(122, 140, 92, .04) 70%, transparent);
  padding: 70px 0;
}
.eco-block {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 50px;
  position: relative;
  overflow: hidden;
}
.eco-block::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 140, 92, .22), transparent 65%);
  pointer-events: none;
}
.eco-block .eyebrow { position: relative; }
.eco-block h2 { position: relative; color: var(--sun); margin-bottom: 24px; }
.eco-text { position: relative; }
.eco-text p { font-size: 0.97rem; margin-bottom: 0.9rem; }
.eco-image {
  position: relative;
  margin: 32px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.eco-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}

/* Reviews ────────────────────────────────── */
.reviews {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.review-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--sun);
  line-height: 1;
  opacity: .25;
}

.review-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}
.review-card p strong { color: var(--ink); font-weight: 500; }

/* Cases ──────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.case-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}

.case-card h3 {
  font-style: italic;
  color: var(--sun-deep);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.case-row { margin-bottom: 16px; }
.case-row h4 { font-size: 0.78rem; letter-spacing: .15em; color: var(--sun); margin-bottom: 4px; }
.case-row p { font-size: 0.95rem; margin-bottom: 0; line-height: 1.55; color: var(--ink-soft); }

.case-disclaimer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Price / Packages ───────────────────────── */
.prices-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  padding: 32px;
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.prices-intro h3 { color: var(--sun-deep); }

.packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.package {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }

.package.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.package.featured h3, .package.featured .pkg-tag { color: var(--sun); }
.package.featured li { color: var(--paper-warm); border-color: rgba(255,255,255,.1); }

.pkg-tag {
  font-size: 0.78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sun-deep);
  margin-bottom: 8px;
}

.package h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-style: italic;
}
.package.featured h3 { border-color: rgba(255,255,255,.15); }

.package ul {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}
.package li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 22px;
}
.package li::before {
  content: "◦";
  position: absolute;
  left: 0;
  color: var(--sun);
  font-size: 1.2rem;
  line-height: 1.2;
}

.pkg-duration {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 24px;
}
.package.featured .pkg-duration { color: var(--paper-warm); }

.offline-note {
  margin-top: 40px;
  padding: 24px 30px;
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--sun);
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* CTA Block ──────────────────────────────── */
.cta-block {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 99, 68, .18), transparent 65%);
}

.cta-block h2 { color: var(--cream); position: relative; }
.cta-block p { color: rgba(255, 249, 237, .75); max-width: 540px; margin: 0 auto 32px; position: relative; }
.cta-block .btn { position: relative; }

/* Practices ──────────────────────────────── */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.practice-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.practice-card h3 {
  font-size: 1.4rem;
  color: var(--sun-deep);
  margin-bottom: 12px;
  font-style: italic;
}

.practice-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.practice-card .btn {
  align-self: flex-start;
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* Course teaser ──────────────────────────── */
.course-teaser {
  background: linear-gradient(135deg, var(--paper-warm), var(--cream));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.course-teaser::before {
  content: "";
  position: absolute;
  bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 140, 92, .22), transparent 65%);
}

.course-teaser::after {
  content: "";
  position: absolute;
  top: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 99, 68, .18), transparent 65%);
}

.course-teaser > * { position: relative; }

.course-teaser h2 { font-style: italic; margin-bottom: 16px; }
.course-teaser p { font-size: 1.15rem; color: var(--ink-soft); max-width: 600px; margin: 0 auto 28px; }

/* Gallery (painting) ─────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-deep); }

.gallery-item .img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .meta {
  padding: 16px 18px;
}
.gallery-item .meta h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 4px;
}
.gallery-item .meta p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.gallery-footer {
  text-align: center;
  margin-top: 40px;
}

/* Lightbox ──────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 22, .94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--cream);
  color: var(--ink);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
}

/* Education gallery ──────────────────────── */
.education {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.edu-item {
  aspect-ratio: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s;
}
.edu-item:hover { transform: scale(1.04); }

.edu-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.edu-toggle {
  text-align: center;
  margin-top: 30px;
}

.edu-item.hidden { display: none; }

/* Contacts ──────────────────────────────── */
.contacts {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.contacts::before {
  content: "";
  position: absolute;
  top: 50%; left: -10%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 99, 68, .18), transparent 65%);
}

.contacts h2 { color: var(--cream); position: relative; }
.contacts .lead { color: rgba(255, 249, 237, .75); position: relative; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.contact-card {
  background: rgba(255, 249, 237, .06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 249, 237, .12);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  transition: background .25s, transform .25s;
}
.contact-card:hover { background: rgba(255, 249, 237, .12); transform: translateY(-3px); }

.contact-card .icon {
  width: 18px;
  height: 18px;
  margin: 0 auto 10px;
  color: var(--sun);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .85;
}
.contact-card .icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}
.contact-card h4 {
  color: var(--sun);
  margin-bottom: 6px;
  font-size: 0.92rem;
  min-height: 0;
  font-weight: 600;
}
.contact-card a,
.contact-card span {
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 400;
  word-break: break-word;
  opacity: .8;
}
.contact-card a:hover { color: var(--sun); }

/* Footer ────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 249, 237, .55);
  padding: 40px 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 249, 237, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-grid a { color: rgba(255, 249, 237, .75); }
.footer-grid a:hover { color: var(--sun); }

.footer-col h4 { color: var(--cream); font-size: 0.78rem; letter-spacing: .15em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

.copyline {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 249, 237, .08);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* Forms ─────────────────────────────────── */
.form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 50px 50px 40px;
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 22px;
}
.form-field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s, background .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--sun);
  background: white;
}

.form-check {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--sun);
}

.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  margin-top: 20px;
  font-size: 0.92rem;
  display: none;
}
.form-msg.success { background: rgba(122, 140, 92, .15); color: var(--leaf); border: 1px solid var(--leaf); display: block; }
.form-msg.error { background: rgba(199, 74, 45, .12); color: var(--sun-deep); border: 1px solid var(--sun-deep); display: block; }

/* Page Hero (inner pages) ────────────────── */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 16px;
}
.page-hero .lead { max-width: 620px; margin: 0 auto; }

/* Legal pages ────────────────────────────── */
.legal-content {
  padding: 70px 0 100px;
}
.legal-content h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: 1rem; font-style: normal; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; font-size: 0.98rem; line-height: 1.7; color: var(--ink-soft); }
.legal-content ul { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; font-size: 0.98rem; color: var(--ink-soft); }
.legal-content strong { color: var(--ink); }

/* Book page ──────────────────────────────── */
.book-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #fff1e3, var(--cream));
}

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

.book-cover {
  aspect-ratio: 3 / 4.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  transform: rotate(-1.2deg);
  background: var(--paper-warm);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.book-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1;
}

.book-author {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sun-deep);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.for-whom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.for-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.for-card h3 {
  color: var(--sun-deep);
  font-style: italic;
  margin-bottom: 16px;
}
.for-card ul { padding-left: 20px; }
.for-card li { margin-bottom: 8px; color: var(--ink-soft); font-size: 0.96rem; }

.gifts-box {
  margin-top: 40px;
  padding: 32px;
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--sun);
}

.gifts-box h3 { color: var(--sun-deep); font-style: italic; margin-bottom: 14px; }
.gifts-box ul { padding-left: 20px; }
.gifts-box li { margin-bottom: 6px; color: var(--ink-soft); font-size: 0.96rem; }

.authors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
  padding: 50px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.author-block h4 { color: var(--sun); margin-bottom: 12px; }
.author-block h3 { font-style: italic; margin-bottom: 10px; }
.author-block p { font-size: 0.96rem; color: var(--ink-soft); }

/* Course page ────────────────────────────── */
.course-hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--paper-warm), var(--paper));
}

.course-hero .eyebrow { color: var(--sun); }
.course-hero h1 { margin-bottom: 16px; font-style: italic; }
.course-hero .lead { max-width: 640px; margin: 0 auto 36px; }

.course-feats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.feat-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.feat-card .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--sun);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.feat-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-style: italic;
}
.feat-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 0; line-height: 1.55; }

.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 50px 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-deep);
}
.pricing-card .pkg-tag { color: var(--sun); }
.pricing-card h3 {
  color: var(--cream);
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 24px;
}
.price-big {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-style: italic;
  color: var(--sun);
  line-height: 1;
  margin-bottom: 32px;
}
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.pricing-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,249,237,.08);
  padding-left: 24px;
  position: relative;
  color: rgba(255,249,237,.8);
  font-size: 0.95rem;
}
.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sun);
}

.marquee {
  background: var(--sun);
  color: white;
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-block;
  animation: scroll 35s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
}
.marquee-track span { margin: 0 30px; }
.marquee-track span::after { content: "·"; margin-left: 30px; color: rgba(255,255,255,.5); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Art page (EN) ──────────────────────────── */
.art-en .page-hero { background: var(--paper-warm); }
.art-en .legal-content h2 { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--sun-deep); }

/* Scroll animations ──────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive ─────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .cases-grid, .packages,
  .subsections, .for-whom, .authors, .book-hero-grid,
  .prices-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .eco-block { padding: 30px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 40px 0 60px; }
  .course-teaser { padding: 50px 28px; }
  .authors { padding: 30px; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  .nav-list {
    position: fixed;
    top: 67px;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 67px);
    overflow-y: auto;
  }
  .nav-list.open { transform: translateY(0); }
  .burger { display: block; }
  .lang-switch { display: none; }
  .nav-list .lang-switch { display: inline-flex; margin-top: 10px; }
  .logo-name { font-size: 1rem; }

  .hero-sticker { width: 100px; height: 100px; font-size: .9rem; left: auto; right: -10px; bottom: -15px; }
  .form-wrap { padding: 32px 24px; }
  .course-teaser { padding: 40px 24px; }
  .pricing-card { padding: 32px 24px; }
  .price-big { font-size: 2.6rem; }
  .edu-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .hero-name { font-size: clamp(2.4rem, 12vw, 4rem); }
}
