/* Uppcynodont — Smart Learning
   Clean minimal · sage + cream + terracotta · Barcelona
   Type: Manrope + Crimson Pro */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #fbf9f4;
  color: #1d2520;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #fbf9f4;
  --bg-soft: #f4efe5;
  --card: #ffffff;
  --ink: #1d2520;
  --ink-dim: #5a6b62;
  --sage: #2c4a3a;
  --sage-soft: #4a6c5a;
  --terra: #c7843a;
  --terra-soft: #e7c08a;
  --line: #d8d2c4;
  --container: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 16px;
  --radius-lg: 28px;
}

h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(44px, 6.5vw, 88px); }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); }
h4 { font-size: 20px; font-weight: 600; }
.serif { font-family: 'Crimson Pro', serif; font-weight: 400; font-style: italic; color: var(--sage); }
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); font-weight: 600;
  padding: 8px 14px; background: #fff3e3;
  border-radius: 999px;
}
p { color: var(--ink-dim); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }

/* === Header === */
.site-header {
  position: fixed; top: 16px; left: 16px; right: 16px;
  z-index: 100;
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 24px;
  transition: all 0.4s ease;
}
.site-header.scrolled { background: rgba(251, 249, 244, 0.95); box-shadow: 0 6px 24px rgba(28, 60, 40, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--container); margin: 0 auto; }
.brand {
  font-family: 'Crimson Pro', serif;
  font-style: italic; font-weight: 500;
  font-size: 26px; color: var(--sage); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.brand::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  background: var(--terra);
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; color: var(--ink-dim); font-weight: 500;
  padding: 6px 0; transition: color 0.3s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage); }
.nav-links a.active::before {
  content: ''; position: absolute; left: 50%; bottom: -2px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--terra);
  transform: translateX(-50%);
}
.nav-cta {
  background: var(--sage); color: #fff;
  padding: 10px 20px; font-size: 13px; font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--terra); transform: translateY(-1px); }
.burger { display: none; background: none; border: 0; flex-direction: column; gap: 4px; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--sage); }

/* === Hero (split) === */
.hero {
  padding: 160px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(231, 192, 138, 0.4), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero h1 { margin: 24px 0 28px; max-width: 14ch; }
.hero h1 em { font-family: 'Crimson Pro', serif; font-weight: 400; color: var(--sage); font-style: italic; }
.hero .lede { font-size: 19px; margin-bottom: 36px; max-width: 38ch; }
.hero-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: 0;
  transition: all 0.3s ease;
}
.btn-primary { background: var(--sage); color: #fff; }
.btn-primary:hover { background: var(--terra); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--sage); border: 1.5px solid var(--sage); }
.btn-ghost:hover { background: var(--sage); color: #fff; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  transform: rotate(-2deg);
  box-shadow: 0 30px 60px -20px rgba(28, 60, 40, 0.25);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(28, 60, 40, 0.2));
}
.hero-badge {
  position: absolute; bottom: -24px; left: -24px; z-index: 2;
  background: #fff; padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -10px rgba(28, 60, 40, 0.2);
  display: flex; gap: 14px; align-items: center;
  transform: rotate(2deg);
}
.hero-badge .num {
  font-family: 'Crimson Pro', serif; font-style: italic;
  font-size: 36px; color: var(--terra); line-height: 1;
}
.hero-badge .label { font-size: 13px; color: var(--ink-dim); line-height: 1.3; max-width: 14ch; }

/* === Trusted strip === */
.trusted {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg-soft);
}
.trusted-inner {
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center;
}
.trusted span {
  font-family: 'Crimson Pro', serif;
  font-style: italic; font-size: 18px;
  color: var(--sage-soft);
  white-space: nowrap;
}
.trusted span:not(:last-child)::after { content: '·'; margin-left: 48px; color: var(--terra); }

/* === Sec head === */
.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.sec-head .eyebrow { margin-bottom: 24px; }
.sec-head h2 { margin-bottom: 20px; }
.sec-head p { font-size: 18px; max-width: 56ch; margin: 0 auto; }

/* === Stats horizontal strip === */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat { padding: 48px 28px; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: 'Crimson Pro', serif; font-weight: 500;
  font-size: clamp(48px, 6vw, 72px); color: var(--sage);
  font-style: italic; line-height: 1;
}
.stat .num::after { content: ''; display: block; width: 32px; height: 2px; background: var(--terra); margin: 16px auto 18px; }
.stat .label { font-size: 14px; color: var(--ink-dim); }

/* === Zigzag features === */
.zigzag { display: grid; gap: 96px; }
.zig {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.zig.flip > .zig-img { order: 2; }
.zig-img {
  aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.zig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.zig:hover .zig-img img { transform: scale(1.05); }
.zig-img::before {
  content: ''; position: absolute; top: 16px; left: 16px;
  background: var(--terra); color: #fff;
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 2;
}
.zig:nth-child(1) .zig-img::before { content: 'Paso 01'; }
.zig:nth-child(2) .zig-img::before { content: 'Paso 02'; }
.zig:nth-child(3) .zig-img::before { content: 'Paso 03'; }
.zig:nth-child(4) .zig-img::before { content: 'Paso 04'; }
.zig-body h3 { margin-bottom: 18px; }
.zig-body p { font-size: 17px; margin-bottom: 14px; }
.zig-body ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.zig-body li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.zig-body li::before { content: '✓'; color: var(--terra); font-weight: 700; }

/* === Course cards (tabbed grid) === */
.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.tab {
  background: #fff; border: 1px solid var(--line); color: var(--ink-dim);
  padding: 12px 22px; border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 0.3s ease;
}
.tab:hover { color: var(--sage); }
.tab.active { background: var(--sage); color: #fff; border-color: var(--sage); }

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.course:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -16px rgba(28, 60, 40, 0.15); }
.course-img { aspect-ratio: 16/10; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.course:hover .course-img img { transform: scale(1.08); }
.course-body { padding: 28px; }
.course-tag { display: inline-block; font-size: 12px; color: var(--terra); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.course h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.3; }
.course p { font-size: 15px; margin-bottom: 20px; }
.course-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-dim); }
.course-meta strong { color: var(--sage); font-weight: 700; }

/* === Teachers (large cards) === */
.teachers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.teacher {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 32px; display: grid; grid-template-columns: 180px 1fr; gap: 28px;
  border: 1px solid var(--line);
  transition: transform 0.4s ease;
}
.teacher:hover { transform: translateY(-4px); }
.teacher-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.teacher-img img { width: 100%; height: 100%; object-fit: cover; }
.teacher h4 { font-size: 22px; margin-bottom: 4px; }
.teacher .role { font-size: 13px; color: var(--terra); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.teacher p { font-size: 15px; line-height: 1.65; }
.teacher .creds { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.teacher .cred { background: var(--bg-soft); padding: 5px 12px; border-radius: 999px; font-size: 12px; color: var(--sage); font-weight: 600; }

/* === Testimonials grid === */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 320px;
}
.testi blockquote {
  font-family: 'Crimson Pro', serif;
  font-style: italic; font-size: 20px;
  line-height: 1.5; color: var(--ink); margin-bottom: 28px;
}
.testi blockquote::before { content: '"'; font-size: 60px; color: var(--terra); line-height: 0.2; vertical-align: -0.2em; margin-right: 4px; }
.testi-who { display: flex; gap: 14px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.testi-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.testi-role { font-size: 13px; color: var(--ink-dim); }
.testi .rating { display: flex; gap: 4px; margin-bottom: 16px; }
.testi .rating span { color: var(--terra); }

/* === Blog featured + small === */
.blog-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.blog-feature-img { aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; }
.blog-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.blog-feature:hover .blog-feature-img img { transform: scale(1.05); }
.blog-feature h3 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 16px; line-height: 1.15; }
.blog-feature p { font-size: 17px; margin-bottom: 22px; }
.tag { display: inline-block; background: var(--terra-soft); color: var(--sage); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.read-more { color: var(--terra); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; transition: gap 0.3s ease; }
.read-more:hover { gap: 14px; }

.blog-small-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-small {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s ease;
}
.blog-small:hover { transform: translateY(-4px); }
.blog-small-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-small-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.blog-small:hover .blog-small-img img { transform: scale(1.05); }
.blog-small-body { padding: 24px; }
.blog-small h4 { font-size: 18px; margin: 12px 0 10px; line-height: 1.3; }
.blog-small p { font-size: 14px; }

/* === FAQ 2-col grid === */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: var(--terra); }
.faq-item.open { border-color: var(--sage); }
.faq-q { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.faq-q h4 { font-size: 17px; line-height: 1.4; padding-right: 16px; }
.faq-q .ico {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--terra); font-size: 20px; flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--sage); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; margin-top: 16px; }
.faq-a p { font-size: 15px; }

/* === Form === */
.form-wrap { background: var(--card); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form { display: grid; gap: 18px; }
.form .field { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: 13px; color: var(--sage); font-weight: 600; }
.form input, .form textarea, .form select {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border-color 0.3s ease;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-color: var(--sage); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-dim); }
.form .consent input { width: auto; }
.form .consent a { color: var(--terra); text-decoration: underline; }
.form textarea { resize: vertical; min-height: 120px; }
.contact-side .info-row { padding: 20px 0; border-bottom: 1px dashed var(--line); }
.contact-side .info-row:last-child { border-bottom: 0; }
.contact-side h5 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terra); margin-bottom: 6px; font-weight: 700; }
.contact-side p { color: var(--ink); font-size: 17px; }
.map-wrap { margin-top: 56px; aspect-ratio: 21/9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* === Footer === */
.site-footer { background: var(--sage); color: #d3e3d8; padding: 96px 0 32px; border-radius: 32px 32px 0 0; margin-top: 64px; }
.site-footer h5 { color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: #b9d2c2; font-size: 14px; transition: color 0.3s ease; }
.footer-grid a:hover { color: var(--terra-soft); }
.footer-brand .brand { font-size: 32px; color: #fff; margin-bottom: 16px; }
.footer-brand .brand::before { background: var(--terra-soft); }
.footer-brand p { color: #b9d2c2; max-width: 36ch; font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: all 0.3s ease;
}
.socials a:hover { background: var(--terra); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #93b3a0; }

/* === Page head === */
.page-head { padding: 200px 0 80px; background: var(--bg-soft); position: relative; }
.page-head::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--line);
}
.page-head .crumbs { font-size: 13px; color: var(--ink-dim); margin-bottom: 18px; }
.page-head .crumbs a { color: var(--sage); }
.page-head h1 { max-width: 16ch; margin-bottom: 20px; }
.page-head .lede { max-width: 60ch; font-size: 19px; }

/* === Legal === */
.legal { max-width: 800px; margin: 0 auto; background: #fff; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.legal h2 { font-size: 26px; margin: 48px 0 14px; color: var(--sage); }
.legal h3 { font-size: 18px; margin: 28px 0 10px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-dim); font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.legal ul { margin: 8px 0 20px 24px; }
.legal a { color: var(--terra); text-decoration: underline; }
.legal .updated { font-size: 13px; color: var(--ink-dim); padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 28px;
  z-index: 1000;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  max-width: 980px; margin: 0 auto;
  box-shadow: 0 24px 60px rgba(28, 60, 40, 0.18);
  transform: translateY(140%); transition: transform 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 14px; }
.cookie-banner a { color: var(--terra); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner button {
  padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 0; cursor: pointer; transition: all 0.3s ease; font-family: inherit;
}
.cookie-accept { background: var(--sage); color: #fff; }
.cookie-accept:hover { background: var(--terra); }
.cookie-reject { background: var(--bg-soft); color: var(--ink); }
.cookie-reject:hover { background: var(--line); }

/* === Reveal === */
[data-reveal], [data-reveal-stagger] > * { opacity: 0; transform: translateY(28px); }
[data-reveal].animate { animation: revealUp 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
[data-reveal-stagger].animate > * { animation: revealUp 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
[data-reveal-stagger].animate > *:nth-child(1) { animation-delay: 0s; }
[data-reveal-stagger].animate > *:nth-child(2) { animation-delay: 0.08s; }
[data-reveal-stagger].animate > *:nth-child(3) { animation-delay: 0.16s; }
[data-reveal-stagger].animate > *:nth-child(4) { animation-delay: 0.24s; }
[data-reveal-stagger].animate > *:nth-child(5) { animation-delay: 0.32s; }
[data-reveal-stagger].animate > *:nth-child(6) { animation-delay: 0.4s; }
@keyframes revealUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { transform: none; max-width: 480px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .zig { grid-template-columns: 1fr; gap: 32px; }
  .zig.flip > .zig-img { order: 0; }
  .courses-grid, .teachers-grid, .testi-grid, .blog-small-grid { grid-template-columns: 1fr 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    background: #fff; padding: 24px; border-radius: 24px;
    border: 1px solid var(--line);
  }
  .courses-grid, .teachers-grid, .testi-grid, .blog-small-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .teacher { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .teacher-img { max-width: 160px; margin: 0 auto; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner .actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
