/* ===== CatMakeup Academy — sistema visual heredado del sitio del studio ===== */
:root {
  --ink: #000000;
  --text: #333333;
  --muted: #666666;
  --line: #E0E0E0;
  --white: #FFFFFF;
  --wash: #FAFAFA;
  --dark-line: #444444;
  --dark-text: #CCCCCC;
  --dark-mute: #999999;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --ui: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --disp: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ui);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: var(--ink); transition: color .3s; }
a:hover { color: var(--text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-md { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }

.disp { font-family: var(--disp); font-weight: 400; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
}

.ph { color: var(--muted); font-style: italic; border-bottom: 1px dashed #999999; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; border-radius: 0; padding: 14px 32px; min-height: 50px;
  font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; transition: all .3s; text-align: center;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--text); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-invert { background: var(--white); color: var(--ink); }
.btn-invert:hover { background: #F5F5F5; color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 24px; min-height: 44px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-on-dark { border-color: var(--white); color: var(--white); }
.btn-on-dark:hover { background: var(--white); color: var(--ink); }

.glink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 10px; }
.glink:hover { color: var(--muted); }

/* ===== Barra de anuncio ===== */
.topbar { background: var(--ink); color: var(--white); padding: 11px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar-msg { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .5px; }
.topbar-url { font-size: 13px; color: var(--dark-mute); letter-spacing: .5px; }

/* ===== Header ===== */
.header {
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 132px; }
.brand-rule { width: 1px; height: 34px; background: var(--line); display: block; }
.brand-sub { font-size: 13px; font-weight: 600; letter-spacing: 3px; color: var(--ink); }
.nav-menu { display: flex; gap: 34px; align-items: center; }
.nav-menu a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-menu a:hover, .nav-menu a.active { color: var(--ink); }
.nav-menu a.active { font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .icon-link { color: var(--text); display: flex; }
.nav-actions .icon-link:hover { color: var(--ink); }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; width: 48px; height: 48px; background: transparent; border: none; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--ink); display: block; transition: all .3s; }
.hamburger span:last-child { width: 18px; }

/* ===== Hero ===== */
.hero { padding: 104px 0 96px; }
.hero .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line);
  border-radius: 20px; padding: 8px 16px; font-size: 14px; font-weight: 500;
  color: var(--text); margin-bottom: 26px;
}
.hero h1 { font-size: 66px; line-height: 1.04; letter-spacing: -.01em; color: var(--ink); margin-bottom: 24px; }
.hero-lead { font-size: 18px; line-height: 1.8; color: var(--muted); margin-bottom: 34px; max-width: 520px; text-wrap: pretty; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 38px; }
.trust-row { display: flex; gap: 28px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.trust-row li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 620px; object-fit: cover; }
.hero-chip {
  position: absolute; left: -32px; bottom: -32px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 26px 30px; width: 320px;
}
.hero-chip h3 { font-size: 20px; color: var(--ink); margin: 10px 0 6px; line-height: 1.3; }
.hero-chip p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.hero-chip .price { font-size: 26px; font-weight: 300; color: var(--ink); }

/* ===== Bandas ===== */
.band-wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--white); }
.band-dark .eyebrow { color: var(--dark-mute); }
.band-dark p { color: var(--dark-text); }

.section { padding: 100px 0; }
.section-sm { padding: 80px 0; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.section-head h2 { font-size: 46px; line-height: 1.12; color: var(--ink); margin-top: 14px; }
.section-head p { font-size: 16px; color: var(--muted); max-width: 340px; line-height: 1.8; }
.section-head-center { text-align: center; margin-bottom: 50px; }
.section-head-center h2 { font-size: 46px; line-height: 1.12; color: var(--ink); margin-top: 14px; }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; text-align: center; }
.stat-n { font-size: 52px; color: var(--ink); line-height: 1.1; margin-bottom: 8px; }
.band-dark .stat-n { color: var(--white); }
.stat-l { font-size: 15px; color: var(--muted); letter-spacing: 1px; }

/* ===== Pasos ===== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.step { background: var(--white); border: 1px solid var(--line); padding: 38px 34px 42px; transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-n { font-size: 46px; color: var(--line); line-height: 1; }
.step h3 { font-size: 22px; color: var(--ink); margin: 14px 0 12px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ===== Selector de moneda / segmentos ===== */
.seg-wrap { display: flex; align-items: center; gap: 12px; }
.seg-label { font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.seg { display: flex; border: 1px solid var(--line); background: var(--white); }
.seg button {
  border: none; background: transparent; font-family: inherit; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; padding: 10px 20px; min-height: 44px; cursor: pointer; color: var(--muted); transition: all .2s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* ===== Cursos ===== */
.courses-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.course {
  background: var(--white); border: 1px solid var(--line); position: relative;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-body { padding: 36px 36px 0; }
.catalog-grid .course-body { padding: 34px 32px 0; }
.course h3 { font-size: 26px; color: var(--ink); margin: 12px 0; line-height: 1.28; }
.catalog-grid .course h3 { font-size: 22px; min-height: 58px; }
.course-lead { font-size: 15px; color: var(--muted); line-height: 1.78; margin-bottom: 24px; }
.catalog-grid .course-lead { min-height: 82px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); padding: 7px 13px; font-size: 13px; color: var(--text); }
.tick-list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 30px; }
.tick-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--text); line-height: 1.7; }
.tick-list svg { flex-shrink: 0; margin-top: 4px; }
.meta-list { display: flex; flex-direction: column; gap: 11px; padding-bottom: 26px; }
.meta-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.meta-list svg { flex-shrink: 0; }
.course-foot {
  margin-top: auto; border-top: 1px solid var(--line); padding: 24px 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.catalog-grid .course-foot { padding: 22px 32px; }
.course-price { font-size: 30px; font-weight: 300; color: var(--ink); line-height: 1.2; }
.catalog-grid .course-price { font-size: 24px; }
.course-price-note { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.flag {
  position: absolute; top: 0; right: 0; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; padding: 8px 14px;
}
.flag-dark { background: var(--ink); color: var(--white); }
.flag-soft { background: var(--white); color: var(--muted); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ===== Filtros ===== */
.filter-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 28px;
}
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters button {
  border: 1px solid var(--line); background: var(--white); font-family: inherit; font-size: 14px;
  font-weight: 500; letter-spacing: .5px; padding: 11px 22px; min-height: 44px; cursor: pointer;
  color: var(--text); transition: all .2s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.count { font-size: 14px; color: var(--muted); margin: 30px 0; }

/* ===== Membresía ===== */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.split-media { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 72px; align-items: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 30px; }
.benefit { border-top: 1px solid var(--dark-line); padding-top: 20px; }
.benefit h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--dark-mute); line-height: 1.7; }
.price-xl { font-size: 54px; line-height: 1; }

/* ===== Planes ===== */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.plan { border: 1px solid var(--line); background: var(--white); padding: 44px 42px 46px; position: relative; }
.plan-featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.plan h2 { font-size: 28px; color: var(--ink); margin: 12px 0; }
.plan-lead { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 30px; min-height: 84px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 28px; }
.plan-price .amount { font-size: 52px; color: var(--ink); line-height: 1; }
.plan-note { font-size: 14px; color: var(--muted); margin: 8px 0 28px; }

/* ===== Tabla comparativa ===== */
.compare { background: var(--white); border: 1px solid var(--line); }
.compare-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px 180px; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: none; }
.compare-head { background: var(--wash); }
.compare-head div { padding: 20px 28px; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--muted); }
.compare-row > div + div { border-left: 1px solid var(--line); text-align: center; display: flex; align-items: center; justify-content: center; }
.compare-row > div { padding: 20px 28px; font-size: 16px; color: var(--text); }
.compare-b { color: var(--ink) !important; font-weight: 600; }
.compare-head div:last-child { color: var(--ink); }

/* ===== Acordeón ===== */
.acc { border-bottom: 1px solid var(--line); }
.acc-q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%;
  background: transparent; border: none; font-family: inherit; text-align: left; cursor: pointer;
  padding: 24px 0; min-height: 56px; font-size: 19px; font-weight: 600; color: var(--ink);
}
.acc-q:hover { color: var(--text); }
.acc-sign { font-size: 24px; font-weight: 300; color: var(--muted); flex-shrink: 0; }
.acc-a { font-size: 16px; line-height: 1.9; color: var(--muted); padding: 0 0 26px; max-width: 700px; }
.acc[hidden] { display: none; }
.acc-a[hidden] { display: none; }

/* Temario */
.temario { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 70px; align-items: start; }
.mod-q { display: flex; align-items: center; gap: 22px; width: 100%; background: transparent; border: none;
         font-family: inherit; text-align: left; cursor: pointer; padding: 22px 4px; min-height: 56px; transition: background .2s; }
.mod-q:hover { background: var(--wash); }
.mod-n { font-size: 20px; color: var(--dark-mute); width: 34px; flex-shrink: 0; }
.mod-t { font-size: 19px; font-weight: 600; color: var(--ink); flex-grow: 1; }
.mod-c { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.mod-a { font-size: 16px; line-height: 1.85; color: var(--muted); padding: 0 0 24px 56px; max-width: 700px; }

/* ===== Galería ===== */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gallery img { width: 100%; height: 280px; object-fit: cover; }
.gallery-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery-2 img { width: 100%; height: 260px; object-fit: cover; }

/* ===== Testimonios ===== */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.quote { border: 1px dashed #999999; background: var(--wash); padding: 34px 32px; }
.quote p { font-size: 16px; line-height: 1.8; color: var(--muted); font-style: italic; margin: 18px 0 24px; }
.quote-who { border-top: 1px solid var(--line); padding-top: 18px; }
.quote-who strong { display: block; font-size: 15px; color: var(--text); }
.quote-who span { font-size: 14px; color: var(--muted); }

/* ===== Página de curso ===== */
.course-hero { background: var(--wash); border-bottom: 1px solid var(--line); padding: 34px 0 80px; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 40px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.course-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 70px; align-items: start; }
.course-hero h1 { font-size: 60px; line-height: 1.05; color: var(--ink); margin-bottom: 22px; }
.course-hero-lead { font-size: 19px; line-height: 1.8; color: var(--muted); max-width: 640px; margin-bottom: 34px; text-wrap: pretty; }
.meta-row { display: flex; flex-wrap: wrap; gap: 34px; border-top: 1px solid var(--line); padding-top: 26px; }
.meta-row .k { margin-bottom: 6px; }
.meta-row .v { font-size: 17px; color: var(--ink); font-weight: 600; }
.buy { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: sticky; top: 110px; }
.buy > img { width: 100%; height: 220px; object-fit: cover; }
.buy-body { padding: 30px 32px 34px; }
.buy-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.buy-price { font-size: 46px; color: var(--ink); line-height: 1; }
.buy-note { font-size: 14px; color: var(--muted); margin: 6px 0 24px; }
.buy .tick-list { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 0; }
.buy-foot { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; display: flex; align-items: center; gap: 12px; }
.buy-foot span { font-size: 14px; color: var(--muted); line-height: 1.6; }
.goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 60px; }
.goal { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 22px; }
.goal svg { flex-shrink: 0; margin-top: 4px; }
.goal p { font-size: 16px; line-height: 1.75; color: var(--text); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; }
.two-col h3 { font-size: 24px; color: var(--ink); margin-bottom: 24px; }
.dark-list li { border-bottom: 1px solid var(--dark-line); padding-bottom: 18px; }
.dark-list li:last-child { border-bottom: none; padding-bottom: 0; }
.dark-list strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.dark-list span { font-size: 14px; color: var(--dark-mute); line-height: 1.7; }

/* ===== Formulario ===== */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; min-height: 50px;
  transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.info-block { border: 1px solid var(--line); padding: 32px 30px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-item svg { flex-shrink: 0; margin-top: 3px; }
.info-item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.info-item span { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ===== CTA ===== */
.cta-center { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-center h2 { font-size: 48px; line-height: 1.1; margin-bottom: 20px; }
.cta-center p { font-size: 18px; line-height: 1.8; margin-bottom: 34px; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--white); padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 46px; }
.footer img { width: 150px; margin-bottom: 18px; }
.footer p { color: var(--dark-text); font-size: 15px; line-height: 1.8; max-width: 320px; }
.footer h4 { font-size: 17px; margin-bottom: 20px; }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer ul li { color: var(--dark-text); font-size: 15px; }
.footer ul a:hover { color: var(--white); }
.social { display: flex; gap: 15px; margin-top: 22px; }
.social a {
  width: 44px; height: 44px; background: #3C3C3C; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white); transition: all .3s;
}
.social a:hover { background: #505050; color: var(--white); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid var(--dark-line); padding-top: 28px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-bottom p { color: var(--dark-mute); font-size: 14px; }

/* ===== Utilidades ===== */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 26px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero .container, .split, .course-hero-grid, .temario, .split-media { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-media img { height: 480px; }
  .hero-chip { position: static; width: auto; margin-top: -1px; }
  .buy { position: static; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-media img { height: 420px; }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    flex-direction: column; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 16px 0; font-size: 16px; }
  .header .container { position: relative; gap: 16px; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .steps, .courses-grid, .quotes, .goals, .two-col, .benefit-grid, .plans { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head p { max-width: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery img { height: 220px; }
  .compare-row { grid-template-columns: minmax(0, 1fr) 110px 110px; }
  .compare-row > div { padding: 16px; font-size: 14px; }
  .compare-head div { padding: 16px; font-size: 11px; }
  .topbar-url { display: none; }
}

@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }
  .hero { padding: 44px 0 56px; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-media img { height: 380px; }
  .section-head h2, .section-head-center h2, .cta-center h2 { font-size: 34px; }
  .course-hero h1 { font-size: 40px; }
  .course-hero-lead { font-size: 17px; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-grid .course h3, .catalog-grid .course-lead { min-height: 0; }
  .plan-lead { min-height: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .course-body, .catalog-grid .course-body { padding: 26px 22px 0; }
  .course-foot, .catalog-grid .course-foot { padding: 20px 22px; flex-direction: column; align-items: stretch; gap: 14px; }
  .course-foot .btn { width: 100%; }
  .meta-row { gap: 22px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mod-q { flex-wrap: wrap; gap: 12px; }
  .mod-c { width: 100%; order: 3; padding-left: 46px; }
  .mod-a { padding-left: 0; }
  .acc-q, .mod-t { font-size: 17px; }
  .hero-buttons .btn, .cta-buttons .btn { width: 100%; }
  .plan { padding: 32px 24px 34px; }
  .btn { width: auto; }
}

@media print {
  .header, .topbar, .hamburger, .seg-wrap, .filters { display: none; }
  body { color: #000; }
}
