/* Full light homepage. The existing hero and header remain the visual anchor. */
:root {
  --home-ink: #17191d;
  --home-muted: #62666f;
  --home-line: #e7e8e8;
  --home-cream: #f8f6f2;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.hero-actions .button { min-height: 43px; padding: 10px 17px; font-size: 13px; }
.button-outline { color: var(--home-ink); background: #fff; box-shadow: inset 0 0 0 1px #cfd1d4; }
.button-outline:hover { color: var(--red); background: #fff7f8; box-shadow: inset 0 0 0 1px var(--red); }
.hero .red-rule { margin-top: 28px; }

.eyebrow { display: inline-block; color: #be2638; font-size: 12px; font-weight: 700; letter-spacing: .15em; line-height: 1.5; }
.section-intro { max-width: 760px; margin-bottom: 31px; }
.section-intro.centered { text-align: center; margin-inline: auto; margin-bottom: 48px; }
.section-intro h2, .benefits-intro h2, .journey-copy h2, .testimonial-layout h2, .faq-layout h2 { margin: 13px 0 17px; color: var(--home-ink); font: 400 clamp(38px, 4.5vw, 74px)/1.09 Anton, Impact, sans-serif; letter-spacing: -.015em; }
.section-intro p, .benefits-intro p, .journey-copy p, .faq-list p { margin: 0; max-width: 630px; color: var(--home-muted); font-size: 16px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #bf2437; font-size: 14px; font-weight: 700; }
.text-link .icon { width: 19px; height: 19px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.home-benefits { padding: clamp(72px, 8vw, 130px) 0; border-top: 1px solid var(--home-line); background: var(--home-cream); }
.benefits-layout { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(0,1.1fr); gap: clamp(40px,7vw,120px); align-items: start; }
.benefits-intro h2 { margin-bottom: 20px; }
.benefits-intro .text-link { margin-top: 29px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 26px; }
.benefit-grid article { min-height: 176px; padding: 21px 0 26px; border-top: 1px solid #d7d4d0; }
.benefit-number { color: #bf2639; font: 700 13px/1 Inter, sans-serif; }
.benefit-grid h3 { margin: 17px 0 9px; color: var(--home-ink); font-size: 19px; letter-spacing: -.03em; }
.benefit-grid p { margin: 0; color: #63666d; font-size: 14px; line-height: 1.65; }

.featured-section { padding: clamp(78px,8vw,134px) 0 100px; background: #fff; }
.featured-section .section-intro h2 { font-size: clamp(47px,5.7vw,92px); }
.course-rail { display: grid; grid-auto-columns: minmax(215px,1fr); grid-auto-flow: column; gap: 14px; overflow-x: auto; padding: 0 0 15px; scroll-snap-type: x mandatory; scrollbar-color: #cfd0d4 transparent; scrollbar-width: thin; }
.feature-card { position: relative; display: block; min-height: 392px; overflow: hidden; border-radius: 10px; scroll-snap-align: start; isolation: isolate; background: #d9dfe2; transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 19px 30px #1b1c2124; }
.feature-card:focus-visible { outline-offset: 4px; }
.feature-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 25%; transition: transform .4s; }
.feature-card:hover img { transform: scale(1.04); }
.feature-card:nth-child(2) img, .feature-card:nth-child(5) img { object-position: 50% 50%; }
.feature-card .card-shade { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 30%,#16182033 53%,#111317ed 100%); }
.feature-card-copy { position: absolute; inset: auto 17px 20px; z-index: 1; color: #fff; }
.feature-card-copy small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.feature-card-copy strong { display: block; margin: 9px 0 11px; font: 400 clamp(27px,2.3vw,39px)/1.08 Anton,Impact,sans-serif; }
.feature-card-copy > span { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid #ffffff80; font-size: 12px; font-weight: 600; }
.feature-card-copy .icon { width: 17px; height: 17px; }
.rail-footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 17px; }
.rail-footer p { margin: 0; color: #777b82; font-size: 11px; line-height: 1.5; }
.rail-footer .text-link { flex-shrink: 0; }

.explore-section { padding: clamp(78px,8vw,126px) 0; background: #f4f5f5; }
.explore-section .section-intro { max-width: 970px; }
.explore-section .section-intro h2 { font-size: clamp(38px,4vw,64px); }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 24px 0 28px; padding-bottom: 7px; scrollbar-width: thin; }
.category-tab { flex-shrink: 0; min-height: 43px; padding: 10px 17px; border: 1px solid #d7d9dc; border-radius: 40px; color: #30343b; background: #fff; font-size: 13px; font-weight: 700; transition: background .2s,color .2s,border-color .2s; }
.category-tab:hover { border-color: #b32235; color: #b32235; }
.category-tab.is-active { border-color: #b82538; background: #c5263b; color: #fff; }
.subject-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.subject-card { display: flex; flex-direction: column; min-height: 298px; padding: 21px; overflow: hidden; border: 1px solid #e1e2e3; border-radius: 10px; background: #fff; transition: border-color .2s,transform .2s,box-shadow .2s; }
.subject-card:hover { transform: translateY(-4px); border-color: #e2b5bd; box-shadow: 0 14px 28px #272c3914; }
.subject-index { color: #7a7d84; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.subject-art { display: flex; align-items: center; justify-content: center; flex: 1; padding: 16px; margin: 16px 0 14px; min-height: 160px; border-radius: 5px; text-align: center; font: 400 clamp(38px,4vw,66px)/.95 Anton,Impact,sans-serif; letter-spacing: -.025em; }
.subject-anatomy { color: #a82f44; background: radial-gradient(circle at 20% 25%,#ffe4e7,#f5c9d0 44%,#f8eef0); }
.subject-physiology { color: #315677; background: radial-gradient(circle at 75% 20%,#deebf4,#c6d9e7 50%,#edf4f7); }
.subject-medicine { color: #527052; background: radial-gradient(circle at 30% 80%,#d5e4d1,#e8f0e3 60%,#f2f5ee); }
.subject-surgery { color: #945b34; background: radial-gradient(circle at 70% 70%,#f0cfb9,#f7e6d8 55%,#f9f4ed); }
.subject-ecg { color: #4d6383; background: radial-gradient(circle at 10% 80%,#dce5f5,#eef2f9); }
.pulse-line { color: #bf2639; font-family: Inter,Arial,sans-serif; }
.subject-residency { color: #645482; background: radial-gradient(circle at 80% 30%,#e0d5f1,#f0ebf7); }
.subject-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #e9e9eb; color: #202329; font-size: 13px; }
.subject-bottom .icon { width: 18px; height: 18px; color: #c5263b; }
.filter-status { margin: 17px 0 0; color: #7b7e85; font-size: 12px; }

.journey-section { padding: clamp(74px,7.5vw,120px) 0; background: #f9e9e8; overflow: hidden; }
.journey-layout { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(40px,8vw,130px); align-items: center; }
.journey-copy { max-width: 620px; }
.journey-copy h2 { font-size: clamp(43px,5.1vw,82px); }
.journey-copy p { max-width: 540px; }
.journey-copy .button { margin-top: 29px; min-height: 51px; gap: 30px; }
.journey-copy .button .icon { width: 19px; height: 19px; }
.journey-visual { position: relative; min-height: 450px; }
.journey-photo { width: 73%; height: 430px; margin-left: auto; overflow: hidden; border-radius: 8px; background: #e6c7c0; }
.journey-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.journey-note { position: absolute; left: 0; bottom: 17px; width: 51%; padding: 23px; border: 1px solid #e9d9d4; border-radius: 7px; background: #fff; color: #c5263b; box-shadow: 0 12px 40px #50202918; font: 400 clamp(28px,3vw,45px)/1.05 Anton,Impact,sans-serif; }
.journey-note strong { color: #202329; font-weight: 400; }

.more-section { padding: clamp(76px,8vw,126px) 0; }
.more-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.more-grid a { display: flex; flex-direction: column; min-height: 260px; padding: 22px; border: 1px solid #e5e6e8; border-radius: 8px; background: #fff; transition: transform .2s,border-color .2s,background .2s; }
.more-grid a:hover { transform: translateY(-4px); border-color: #eac3c9; background: #fff9fa; }
.more-grid a > span { color: #c5263b; font-size: 12px; font-weight: 700; }
.more-grid strong { display: block; margin: 44px 0 12px; color: #202329; font: 400 clamp(26px,2.6vw,39px)/1.1 Anton,Impact,sans-serif; }
.more-grid p { margin: 0 0 18px; color: #6b6f76; font-size: 13px; line-height: 1.6; }
.more-grid .icon { width: 20px; height: 20px; margin-top: auto; color: #c5263b; }

.testimonial-section { padding: clamp(72px,8vw,122px) 0; background: #f4f5f5; }
.testimonial-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(40px,8vw,128px); align-items: start; }
.testimonial-layout h2 { font-size: clamp(38px,4.4vw,70px); }
.testimonial-layout .text-link { margin-top: 18px; }
.testimonial-layout blockquote { position: relative; margin: 0; padding: 43px 50px; border: 1px solid #e6e7e9; border-radius: 9px; background: #fff; }
.quote-mark { color: #c5263b; font: 400 80px/.6 Georgia,serif; }
.testimonial-layout blockquote p { margin: 18px 0 37px; color: #1e2126; font-size: clamp(20px,2vw,30px); line-height: 1.45; letter-spacing: -.035em; }
.testimonial-layout blockquote footer { padding-top: 18px; border-top: 1px solid #e5e6e8; color: #62666f; font-size: 12px; font-weight: 600; }

.faq-section { padding: clamp(78px,8vw,125px) 0; }
.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px,8vw,120px); }
.faq-list { border-top: 1px solid #dfe1e4; }
.faq-list details { border-bottom: 1px solid #dfe1e4; }
.faq-list summary { position: relative; padding: 23px 36px 23px 0; color: #202329; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 5px; top: 19px; color: #c5263b; font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 620px; padding: 0 40px 23px 0; font-size: 14px; }

.home-footer { color: #edf0f4; background: #1d2025; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-top: 58px; padding-bottom: 65px; }
.footer-top .brand { color: #fff; }
.footer-top p { margin: 19px 0 0; color: #adb2bc; font-size: 14px; line-height: 1.7; }
.footer-top nav { display: grid; grid-template-columns: repeat(2,minmax(120px,1fr)); gap: 17px 60px; align-content: start; font-size: 13px; font-weight: 600; }
.footer-top nav a:hover, .footer-bottom a:hover { color: #ff6a7d; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 23px; border-top: 1px solid #454a50; color: #a7adb6; font-size: 11px; }

@media (max-width: 1100px) {
  .course-rail { grid-auto-columns: minmax(215px,27%); }
  .more-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .benefits-layout, .journey-layout, .testimonial-layout, .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .benefit-grid { gap: 0 20px; }
  .course-rail { grid-auto-columns: minmax(220px,37%); }
  .subject-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journey-visual { max-width: 620px; width: 100%; }
}
@media (max-width: 600px) {
  .hero-actions .button { flex: 1 1 auto; justify-content: center; }
  .home-benefits, .featured-section, .explore-section, .journey-section, .more-section, .testimonial-section, .faq-section { padding-top: 66px; padding-bottom: 72px; }
  .section-intro h2, .benefits-intro h2, .journey-copy h2, .testimonial-layout h2, .faq-layout h2 { font-size: clamp(37px,10vw,54px); }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 0; padding: 18px 0 22px; }
  .section-intro.centered { text-align: left; margin-bottom: 31px; }
  .course-rail { grid-auto-columns: minmax(230px,74%); margin-right: -16px; }
  .feature-card { min-height: 380px; }
  .rail-footer { flex-direction: column; align-items: flex-start; }
  .subject-grid { grid-template-columns: 1fr; }
  .subject-card { min-height: 255px; }
  .subject-art { min-height: 130px; }
  .journey-visual { min-height: 330px; }
  .journey-photo { height: 315px; }
  .journey-note { padding: 15px; font-size: 27px; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .more-grid a { min-height: 215px; padding: 15px; }
  .more-grid strong { font-size: 25px; margin-top: 32px; }
  .testimonial-layout blockquote { padding: 34px 25px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .more-grid { grid-template-columns: 1fr; }
  .more-grid a { min-height: 185px; }
}
