:root {
  --primary: #9b1458;
  --primary-dark: #68103f;
  --accent: #c45b00;
  --rose: #e2047c;
  --blush: #fff4f8;
  --ink: #2b1d27;
  --muted: #66555f;
  --line: #eadde4;
  --surface: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(78, 25, 54, .12);
  --container: min(1160px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Assistant, Arial, sans-serif; font-size: 18px; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; right: 12px; z-index: 99999; width: auto; height: auto; padding: 10px 18px; margin: 0; clip: auto; background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); border-radius: 8px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand img { width: 102px; height: 62px; object-fit: contain; border-radius: 10px; }
.brand span { max-width: 250px; line-height: 1.2; color: var(--primary-dark); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--primary); }
.phone-link, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 0; background: var(--primary); color: #fff; text-decoration: none; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(155,20,88,.22); }
.phone-link:hover, .btn:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); box-shadow: none; }
.btn-secondary:hover { background: var(--blush); color: var(--primary-dark); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--primary-dark); font-size: 1.5rem; cursor: pointer; }
.hero { position: relative; min-height: 650px; display: grid; place-items: center; color: #fff; background: linear-gradient(90deg, rgba(35,1,37,.88), rgba(155,20,88,.48)), url('/images/hero-education.webp') center/cover; }
.hero-inner { padding-block: 90px; max-width: 820px; margin-inline-end: auto; }
.eyebrow { margin: 0 0 12px; color: #ffd4e9; font-weight: 800; letter-spacing: .04em; }
.hero h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: 1.15; text-wrap: balance; }
.hero h2 { margin: 20px 0 10px; font-size: clamp(1.25rem, 2.5vw, 2rem); color: #fff; }
.hero p { max-width: 700px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.section { padding-block: 88px; }
.section-soft { background: var(--blush); }
.section-title { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section-title h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--primary-dark); line-height: 1.15; }
.section-title p { margin: 0; color: var(--muted); }
.about-grid, .contact-grid, .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.portrait-wrap { position: relative; }
.portrait-wrap::before { content: ''; position: absolute; inset: 24px -18px -18px 24px; border-radius: var(--radius); background: #f5c5da; }
.portrait-wrap img { position: relative; width: 100%; max-height: 560px; object-fit: cover; object-position: center 25%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-copy h2, .contact-copy h2 { margin-top: 0; color: var(--primary-dark); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 32px rgba(78,25,54,.07); }
.service-card h3 { margin: 0 0 10px; color: var(--primary-dark); font-size: 1.3rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 50%; background: #f9d6e6; color: var(--primary-dark); font-weight: 900; }
.feature-image { border-radius: var(--radius); box-shadow: var(--shadow); }
.reviews-wrap { max-width: 900px; margin-inline: auto; }
.contact-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #bcaab4; border-radius: 10px; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(155,20,88,.2); border-color: var(--primary); }
.field input::placeholder { color: #78656f; opacity: 1; }
.field input::-webkit-input-placeholder { color: #78656f; opacity: 1; }
.field input::-moz-placeholder { color: #78656f; opacity: 1; }
.field textarea::placeholder { color: #78656f; opacity: 1; }
.field textarea::-webkit-input-placeholder { color: #78656f; opacity: 1; }
.field textarea::-moz-placeholder { color: #78656f; opacity: 1; }
.form-note { font-size: 1rem; color: var(--muted); }
.map-frame { width: 100%; min-height: 330px; border: 0; border-radius: var(--radius); }
.legal { max-width: 900px; margin-inline: auto; }
.legal h1 { color: var(--primary-dark); font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.2; }
.legal h2 { margin-top: 36px; color: var(--primary-dark); }
.notice { padding: 18px 20px; background: var(--blush); border-right: 5px solid var(--primary); border-radius: 12px; }
.site-footer { padding: 44px 0 110px; background: #2c1322; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a { color: #fff; }
.copyright { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.fab-container { position: fixed; bottom: 24px; left: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.fab { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.fab.wa { background: #0b6b3a; }
.fab.call { background: var(--primary-dark); }
.fab:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 820px) {
  body { font-size: 17px; }
  .header-inner { min-height: 74px; }
  .brand img { width: 78px; height: 52px; }
  .brand span { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 74px; inset-inline: 0; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .site-nav .phone-link { text-align: center; }
  .hero { min-height: 590px; }
  .section { padding-block: 68px; }
  .about-grid, .contact-grid, .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --container: min(100% - 28px, 1160px); }
  .hero-inner { padding-block: 70px; }
  .hero-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .service-card, .contact-card { padding: 22px; }
  .fab-container { left: 14px; bottom: 14px; }
}
