/* NEYA EDUCATION | Premium editorial design | October 2026
   Loaded after site.css. All controls have sharp corners.
   Red / charcoal / porcelain; no generic rounded cards. */
:root {
    --navy: #18191c;
    --ink: #191a1e;
    --muted: #65656b;
    --blue: #bf0c26;
    --gold: #bf0c26;
    --bg: #f5f4f2;
    --line: #e5e2de;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; line-height: 1.7; color: var(--ink); }
h1, h2, h3, h4 { letter-spacing: -.025em; }
h1, h2, .section-head h2, .page-hero h1, .detail-grid h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; }
h1 { font-size: clamp(43px, 5.4vw, 76px); line-height: 1.07; }
h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.17; }
h3 { font-size: 22px; }
button, .btn, .nav-cta, .nav-toggle, .filter, .course-card, .blog-card, .special-card,
.form-panel, .side-box, .contact-tile, .detail-tags span, .article-cta,
.cta-panel, .mega, .mega-intro, .mega-course, .mega-course img, .special-menu,
.special-parent, .special-child, .special-child a, .floating-card,
.hero-visual > img, .feature-photo img, .course-image span, .article-cover,
.inquiry-form input, .inquiry-form select, .inquiry-form textarea,
.neya-footer input, .neya-footer select, .neya-footer button { border-radius: 0 !important; }
button, .btn, .nav-cta { box-shadow: none !important; }
.btn, .nav-cta { padding: 14px 24px; font-size: 14px; letter-spacing: .01em; }
.btn:hover, .nav-cta:hover { transform: none; }
.btn-primary, .nav-cta { background: #bf0c26; border-color: #bf0c26; }
.btn-primary:hover, .nav-cta:hover { background: #970a1d; border-color: #970a1d; }
.utility { background: #18191c; font-size: 12px; }
.site-header { box-shadow: none; border-bottom: 1px solid #e6e3e0; }
.nav { min-height: 88px; }
.nav-links > a, .nav-parent { font-size: 14px; font-weight: 700; }
.brand img { width: 53px; height: 53px; }
.mega-intro { background: #f6f2ef; }
.mega-course strong, .special-child a { font-size: 13px; }
.hero { background: radial-gradient(circle at 85% 20%,#ffe3e3 0,transparent 28%),linear-gradient(120deg,#f4f1ed,#fff5f5); padding: 80px 0; }
.hero-layout { gap: 62px; }
.hero-copy p, .detail-grid p { font-size: 18px; line-height: 1.75; }
.hero-visual > img { box-shadow: none; height: 500px; }
.floating-card { border-left: 3px solid var(--blue); box-shadow: 0 12px 30px #00000018; }
.eyebrow { font-size: 11px; letter-spacing: .22em; }
.eyebrow i { border-radius: 0; }
.trust-grid strong { font-family: Georgia, serif; font-size: 27px; }
.trust-grid span { font-size: 13px; }
.section { padding: 94px 0; }
.section-soft { background: #f5f4f2; }
.section-head { margin-bottom: 37px; }
.section-head p { font-size: 16px; }
.course-grid { gap: 19px; }
.course-card, .blog-card, .special-card { border: 1px solid #e6e2de; box-shadow: none; }
.course-card:hover, .blog-card:hover, .special-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px #0000000c; }
.course-image { height: 195px; }
.course-content { padding: 23px; }
.course-content small, .blog-card small { font-size: 11px; }
.course-content p, .blog-card p, .special-card p { font-size: 15px; line-height: 1.7; }
.course-content b, .blog-card b, .special-card b { font-size: 13px; }
.course-image span { border-radius: 0; font-size: 11px; }
.feature-photo img { box-shadow: none; }
.benefit small { font-size: 14px; }
.cta-panel { background: #1c1c1f; box-shadow: none; }
.page-hero, .detail-hero { background: #f4f1ed; }
.prose { font-size: 16px; }
.filter { font-size: 13px; }
.inquiry-form label { font-size: 14px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { font-size: 15px; }
/* Premium footer: modest type, generous alignment, no oversized text. */
.neya-next { color: #fff; background: linear-gradient(90deg, #111111fa, #161616db 62%, #16161699), url('../../images/neya_bann_image.jpeg') center / cover; }
.neya-next__inner { min-height: 230px; display: grid; grid-template-columns: 1fr 1.8fr; gap: 42px; align-items: center; padding-top: 38px; padding-bottom: 38px; }
.neya-next__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .25em; }
.neya-next h2 { font: 500 clamp(31px, 3.1vw, 47px)/1.1 Georgia, serif; margin: 14px 0 19px; }
.neya-next h2 em { font-style: normal; color: #ef354b; }
.neya-next__rule, .neya-footer__rule { display: block; width: 36px; height: 2px; background: #dc1430; }
.neya-next__actions { display: grid; grid-template-columns: repeat(3, 1fr); }
.neya-next__actions a { padding: 12px 22px; border-left: 1px solid #ffffff50; color: #fff; }
.neya-next__actions a:hover { background: #ffffff12; }
.neya-next__number { color: #f04a5b; font-size: 14px; font-weight: 700; }
.neya-next__actions strong { display: block; font: 500 20px/1.2 Georgia, serif; margin: 12px 0 8px; }
.neya-next__actions small { display: block; color: #d0d0d0; font-size: 13px; line-height: 1.55; }
.neya-footer { background: #131315; color: #ececec; font-size: 14px; }
.neya-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr .85fr 1.1fr; gap: 42px; padding-top: 65px; padding-bottom: 62px; }
.neya-footer__grid > * { min-width: 0; }
.neya-footer h3 { font: 500 18px/1.2 Georgia, serif; margin: 0 0 13px; color: #fff; }
.neya-footer__rule { margin-bottom: 24px; }
.neya-footer__logo { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 25px; }
.neya-footer__logo img { width: 64px; height: 60px; object-fit: contain; background: #fff; }
.neya-footer__logo strong { display: block; font-size: 18px; line-height: 1.1; letter-spacing: -.025em; }
.neya-footer__logo small { display: block; font-size: 9px; letter-spacing: .14em; margin-top: 7px; }
.neya-footer__brand p, .neya-footer__enquiry p { color: #c4c4c4; font-size: 14px; line-height: 1.75; margin: 0 0 19px; }
.neya-footer__social { display: flex; gap: 8px; margin-bottom: 22px; }
.neya-footer__social a { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: #28282b; font-weight: 700; }
.neya-footer__social a:hover { background: #c8102e; }
.neya-footer__contact { display: grid; gap: 11px; font-style: normal; }
.neya-footer__contact a { font-size: 13px; color: #e7e7e7; overflow-wrap: anywhere; }
.neya-footer__program { display: flex; align-items: center; gap: 13px; padding: 0 0 11px; margin-bottom: 11px; border-bottom: 1px solid #ffffff1a; color: #fff; }
.neya-footer__program img { width: 69px; height: 55px; object-fit: cover; flex: none; }
.neya-footer__program strong { display: block; font: 500 16px/1.2 Georgia, serif; }
.neya-footer__program small { display: block; color: #b7b7b7; font-size: 12px; margin-top: 4px; }
.neya-footer__link { display: block; color: #d6d6d6; font-size: 14px; margin-bottom: 15px; }
.neya-footer__link:hover, .neya-footer__program:hover strong { color: #f35b6d; }
.neya-footer__enquiry form { display: grid; gap: 10px; }
.neya-footer__enquiry input, .neya-footer__enquiry select { display: block; width: 100%; height: 43px; padding: 0 12px; color: #fff; background: #29292c; border: 1px solid #424246; font-size: 14px; }
.neya-footer__enquiry input::placeholder { color: #bbb; }
.neya-footer__enquiry select option { background: #29292c; }
.neya-footer__enquiry button { height: 45px; color: #fff; background: #c8102e; border: 1px solid #c8102e; font-size: 14px; font-weight: 700; cursor: pointer; }
.neya-footer__enquiry button:hover { background: #a30d24; }
.neya-footer__note { display: block; margin-top: 11px; color: #9d9da0; font-size: 11px; line-height: 1.5; }
.neya-footer__bottom { border-top: 1px solid #ffffff20; }
.neya-footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; padding-bottom: 20px; color: #aaa; font-size: 12px; }
.neya-footer__bottom-inner span:last-child { color: #fff; letter-spacing: .2em; font-size: 10px; }
.neya-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
    .neya-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
    .neya-next__inner { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .nav-toggle { border-radius: 0; }
    .section { padding: 64px 0; }
    .hero { padding: 52px 0; }
    .hero-visual > img { height: 360px; }
    .neya-next__actions a { padding: 10px 15px; }
}
@media (max-width: 580px) {
    .wrap { width: calc(100% - 32px); }
    .hero-visual > img { height: 310px; }
    .course-grid, .blog-grid, .special-grid { grid-template-columns: 1fr; }
    .neya-next__actions { grid-template-columns: 1fr; gap: 15px; }
    .neya-next__actions a { border-left: 2px solid #c8102e; }
    .neya-footer__grid { grid-template-columns: 1fr; gap: 35px; padding-top: 46px; padding-bottom: 45px; }
    .neya-footer__bottom-inner { flex-direction: column; }
}
