/* Seminar page: solar portals, programme and shared tuition prices. */
.seminar-intro { max-width: 620px; margin: 0 auto; padding: 0 20px; color: rgba(242,238,232,.7); line-height: 1.75; }
.seminar-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 24px; color: var(--meteor-gold); font-size: .85rem; }
.seminar-facts span + span::before { content: '✦'; margin-right: 24px; opacity: .5; }
.seminar-action-ticket { order: 2; }
.seminar-action-schedule { order: 0; }
.seminar-action-prices { order: 3; }
.seminar-action-register { order: 1; }
.seminar-section { border-top: 1px solid rgba(216,162,74,.12); padding-top: 80px; scroll-margin-top: 90px; }
.section-kicker { display: block; margin-bottom: 14px; color: var(--meteor-gold); font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.teachers-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; }
.teacher-card { min-width: 0; text-align: center; }
.teacher-portal { --portal-color: #d8a24a; position: relative; height: 390px; isolation: isolate; overflow: hidden; }
.teacher-card:nth-child(2) .teacher-portal { --portal-color: #e16a42; }
.teacher-card:nth-child(3) .teacher-portal { --portal-color: #e0b96d; }
.portal-space { position: absolute; z-index: -3; inset: 10% 0 0; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, rgba(216,162,74,.18), rgba(92,64,40,.07) 50%, transparent 72%); }
.portal-space::before, .portal-space::after { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 12% 34%, #f2eee8 0 1px, transparent 2px), radial-gradient(circle at 80% 20%, #d8a24a 0 1px, transparent 2px), radial-gradient(circle at 90% 63%, #f2eee8 0 1px, transparent 2px), radial-gradient(circle at 28% 80%, #d8a24a 0 1px, transparent 2px), radial-gradient(circle at 65% 8%, #f2eee8 0 1px, transparent 2px); animation: portal-stars 7s ease-in-out infinite alternate; }
.portal-space::after { transform: rotate(50deg) scale(.85); animation-delay: -3s; }
.portal-ring { position: absolute; z-index: -2; width: 88%; aspect-ratio: 1; left: 6%; top: 15%; border-radius: 50%; border: 1px solid var(--portal-color); box-shadow: 0 0 13px rgba(216,162,74,.3), inset 0 0 18px rgba(216,162,74,.2); }
.portal-ring::before { content: ''; position: absolute; inset: -7px; border-radius: inherit; background: conic-gradient(from 20deg, transparent 0deg, var(--portal-color) 55deg, transparent 90deg, transparent 170deg, var(--portal-color) 225deg, transparent 270deg); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: portal-orbit 20s linear infinite; }
.portal-ring-outer { width: 97%; left: 1.5%; top: 11%; border-style: dashed; border-color: rgba(216,162,74,.24); box-shadow: none; animation: portal-orbit 80s linear infinite reverse; }
.portal-ring-outer::before { display: none; }
.teacher-img { position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 0 15px rgba(216,162,74,.14)); transition: transform .6s ease, filter .6s ease; mask-image: linear-gradient(#000 83%, transparent 100%); }
.teacher-card:hover .teacher-img { transform: scale(1.025); filter: drop-shadow(0 0 22px rgba(216,162,74,.3)); }
.portal-horizon { position: absolute; z-index: 1; left: 10%; right: 10%; bottom: 13px; height: 1px; background: linear-gradient(90deg, transparent, var(--portal-color), transparent); box-shadow: 0 0 18px var(--portal-color); }
.teacher-body { padding: 12px 12px 0; }
.teacher-role { color: var(--meteor-gold); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.teacher-name { font-size: 1.7rem; line-height: 1.2; margin-bottom: 8px; }
.teacher-city { color: rgba(242,238,232,.5); font-size: .8rem; margin-bottom: 16px; }
.teacher-desc { color: rgba(242,238,232,.7); font-size: .87rem; line-height: 1.8; }
.teacher-lesson-link { display: inline-block; margin-top: 18px; padding: 9px 0; color: var(--meteor-gold); border-bottom: 1px solid rgba(216,162,74,.3); font-size: .82rem; text-decoration: none; }
.teacher-lesson-link:hover { color: var(--warm-ivory); border-color: var(--warm-ivory); }
.schedule-days { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px; align-items: start; }
.schedule-day { border: 1px solid rgba(216,162,74,.18); background: rgba(18,18,22,.65); border-radius: 8px; overflow: hidden; }
.schedule-day-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 24px; background: linear-gradient(110deg, rgba(216,162,74,.12), transparent); border-bottom: 1px solid rgba(216,162,74,.18); }
.schedule-day-header h3 { font-size: 1.6rem; }
.schedule-day-header p { color: var(--meteor-gold); font-size: .85rem; }
.lesson { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 18px; padding: 24px; border-bottom: 1px solid rgba(242,238,232,.07); }
.lesson:last-child { border: 0; }
.lesson time { color: var(--meteor-gold); font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lesson-kind { display: block; color: rgba(216,162,74,.8); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; margin: 2px 0 8px; }
.lesson h4 { font-family: 'Manrope',sans-serif; font-size: .95rem; text-transform: none; letter-spacing: 0; line-height: 1.6; margin-bottom: 7px; }
.lesson p { color: rgba(242,238,232,.65); font-size: .85rem; line-height: 1.75; }
.lesson-practice { background: rgba(216,162,74,.035); }
.programme-note { margin: 22px 0 0; color: rgba(242,238,232,.5); font-size: .8rem; line-height: 1.7; }
.pricing-stack { max-width: 1000px; margin: auto; display: grid; gap: 28px; }
.price-block { border: 1px solid rgba(216,162,74,.2); border-radius: 8px; overflow: hidden; background: rgba(18,18,22,.7); scroll-margin-top: 100px; }
.price-block-heading { padding: 26px 28px 20px; display: flex; gap: 18px; align-items: flex-start; }
.price-number { flex: 0 0 36px; color: var(--meteor-gold); font-size: .75rem; border-top: 1px solid var(--meteor-gold); padding-top: 8px; }
.price-block-heading h3 { font-size: 1.6rem; margin-bottom: 8px; line-height: 1.25; }
.price-block-heading p { font-size: .82rem; line-height: 1.7; color: rgba(242,238,232,.6); }
.seminar-price-table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.seminar-price-table caption { text-align: left; padding: 0 28px 18px; color: rgba(242,238,232,.5); font-size: .75rem; }
.seminar-price-table thead { background: rgba(216,162,74,.08); }
.seminar-price-table th, .seminar-price-table td { padding: 18px 24px; border-top: 1px solid rgba(242,238,232,.07); font-size: .87rem; }
.seminar-price-table thead th { color: var(--meteor-gold); font-size: .8rem; font-weight: 600; vertical-align: top; }
.seminar-price-table thead small { display: block; margin-top: 5px; color: rgba(242,238,232,.5); font-weight: 400; font-size: .68rem; line-height: 1.5; }
.seminar-price-table tbody th { font-weight: 500; }
.seminar-price-table td { text-align: right; white-space: nowrap; }
.seminar-price-table thead th:not(:first-child) { text-align: right; }
.seminar-price-table tbody tr:hover { background: rgba(216,162,74,.04); }
.seminar-price-table .price-best { background: rgba(216,162,74,.065); color: var(--meteor-gold); }
.price-best th, .price-best td { font-weight: 700; }
.price-block-note { padding: 16px 28px 20px; color: rgba(242,238,232,.5); font-size: .75rem; line-height: 1.7; }
.reg-popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 9999; justify-content: center; align-items: center; }
.reg-popup-overlay.active { display: flex; }
.reg-popup-box { background: #141418; border: 1px solid rgba(216,162,74,.3); border-radius: 10px; padding: 50px 40px; text-align: center; max-width: 420px; width: 90%; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.reg-popup-title { font-family: 'Bebas Neue',sans-serif; font-size: 2rem; color: var(--meteor-gold); margin-bottom: 15px; }
.reg-popup-text { font-size: 1rem; color: rgba(242,238,232,.8); margin-bottom: 25px; font-weight: 300; line-height: 1.5; }
.reg-popup-close { background: linear-gradient(135deg,var(--meteor-gold),#b38032); color: var(--cosmic-black); font-family: 'Bebas Neue',sans-serif; font-size: 1.1rem; padding: 10px 30px; border: none; border-radius: 4px; cursor: pointer; }
:is(.teacher-lesson-link,.hamburger-toggle,.reg-popup-close):focus-visible { outline: 2px solid var(--meteor-gold); outline-offset: 6px; }
@keyframes portal-orbit { to { transform: rotate(360deg); } }
@keyframes portal-stars { from { opacity: .35; } to { opacity: .9; } }
@media (max-width: 991px) {
    .teachers-grid { gap: 15px; }
    .teacher-portal { height: 310px; }
    .teacher-name { font-size: 1.35rem; }
    .schedule-days { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .seminar-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 !important;
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
    }
    .seminar-hero-actions .btn-premium {
        width: 100% !important;
        max-width: none !important;
        min-height: 44px !important;
        margin: 0;
    }
    .seminar-hero-actions .seminar-action-ticket {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 50px !important;
        margin-bottom: 12px;
    }
    .seminar-hero-actions :is(.seminar-action-schedule, .seminar-action-prices, .seminar-action-register) {
        background: transparent;
        box-shadow: none;
        color: var(--meteor-gold);
        border: 0;
        border-radius: 0;
        padding: 10px 8px !important;
        font-family: 'Manrope', sans-serif;
        font-size: .78rem !important;
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0;
    }
    .seminar-hero-actions .seminar-action-schedule { grid-column: 1; grid-row: 2; border-right: 1px solid rgba(216,162,74,.2); }
    .seminar-hero-actions .seminar-action-prices { grid-column: 2; grid-row: 2; }
    .seminar-hero-actions .seminar-action-register { grid-column: 1 / -1; grid-row: 3; color: rgba(242,238,232,.65); text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 640px) {
    #teachers .section-header { margin-bottom: 24px; }
    #teachers .section-title { font-size: 1.65rem; line-height: 1.2; }
    #teachers .section-subtitle { font-size: .8rem; line-height: 1.6; }
    #teachers .section-kicker { font-size: .6rem; letter-spacing: .15em; }
    .teachers-grid { grid-template-columns: 1fr; gap: 22px; }
    .teacher-card { display: grid; grid-template-columns: clamp(94px, 28vw, 130px) minmax(0, 1fr); align-items: start; gap: 14px; width: 100%; text-align: left; padding-bottom: 22px; border-bottom: 1px solid rgba(216,162,74,.12); }
    .teacher-card:last-child { padding-bottom: 0; border-bottom: 0; }
    .teacher-portal { height: clamp(132px, 39vw, 182px); margin-top: 4px; }
    .teacher-name { font-size: 1.08rem; line-height: 1.3; margin-bottom: 5px; }
    .teacher-body { padding: 0; }
    .teacher-role { font-size: .58rem; letter-spacing: .08em; line-height: 1.5; margin-bottom: 6px; }
    .teacher-city { font-size: .7rem; margin-bottom: 8px; }
    .teacher-desc { font-size: .8rem; line-height: 1.65; }
    .teacher-lesson-link { margin-top: 3px; font-size: .75rem; padding: 11px 0; min-height: 44px; }
    .seminar-facts { gap: 8px 16px; }
    .seminar-facts span + span::before { display: none; }
    .seminar-section { padding-top: 50px; }
    .lesson { padding: 20px 16px; gap: 12px; grid-template-columns: 52px minmax(0,1fr); }
    .schedule-day-header { padding: 20px 16px; }
    .price-block-heading { padding: 22px 18px 18px; gap: 12px; }
    .price-block-heading h3 { font-size: 1.3rem; }
    .price-number { flex-basis: 24px; }
    .seminar-price-table caption { display: block; width: 100%; padding: 0 18px 16px; }
    .seminar-price-table thead { display: none; }
    .seminar-price-table, .seminar-price-table tbody, .seminar-price-table tr { display: block; width: 100%; }
    .seminar-price-table tr { padding: 18px; border-top: 1px solid rgba(216,162,74,.15); }
    .seminar-price-table tbody th { display: block; padding: 0 0 12px; border: 0; color: var(--meteor-gold); font-size: .95rem; }
    .seminar-price-table td { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 7px 0; border: 0; font-size: .9rem; }
    .seminar-price-table td::before { content: attr(data-label); text-align: left; white-space: normal; color: rgba(242,238,232,.6); font-weight: 400; font-size: .75rem; }
    .price-block-note { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .portal-ring, .portal-ring::before, .portal-space::before, .portal-space::after { animation: none; }
    .teacher-img { transition: none; }
    .teacher-card:hover .teacher-img { transform: none; }
    html { scroll-behavior: auto; }
}
