/* Navigation model: hero → home cards → footer. Other screens replace the cards. */
[hidden] { display:none !important; }
#mainContent { min-height:0; background:#f6fbf0; }
.screen { width:100%; }
.screen-home .course-hub { padding-top:clamp(45px,5vw,80px); padding-bottom:clamp(65px,7vw,110px); }
.screen-home .hub-heading h2 { text-wrap:balance; }
.course-menu,.projects-view,.course-view-heading { background:linear-gradient(180deg,#f2fbed 0%,#fafff6 100%); }
.course-menu { padding:clamp(40px,5.2vw,70px) 0 clamp(70px,7vw,110px); }
.course-view-top { display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:clamp(34px,5vw,61px); }
.back-pill,.course-back,.course-home-link {
  display:inline-flex;align-items:center;gap:10px;border-radius:999px;
  color:#074b36;font-weight:800;font-size:12px;text-decoration:none;
}
.back-pill{padding:7px 17px 7px 7px;background:#e1f6cf;border:1px solid #bfdfa9;}
.back-pill>span { width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#074b36;color:#caff91;font-size:20px;}
.back-pill:hover{background:#c9f3a8;color:#074b36;}
.view-breadcrumb{font-size:10px;font-weight:900;letter-spacing:.12em;color:#47815a;}
.menu-heading{max-width:740px;}
.menu-heading h2,.projects-heading h2,.course-view-heading h2{
  margin:15px 0 18px;color:#074c38;font-size:clamp(41px,5.1vw,73px);font-weight:900;line-height:1.02;letter-spacing:-.072em;text-wrap:balance;
}
.menu-heading h2 em,.projects-heading h2 em,.course-view-heading h2 em{font-style:normal;color:#208e55;}
.menu-heading p,.projects-heading p,.course-view-heading p{font-size:14px;color:#50745a;line-height:1.62;max-width:610px;margin:0;}
.course-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:40px;}
.choice-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:340px;padding:clamp(22px,2.8vw,38px);border-radius:30px;overflow:hidden;box-shadow:0 16px 35px #153b2112;transition:transform .2s,box-shadow .2s;}
.choice-card:hover,.choice-card:focus-visible{transform:translateY(-5px);box-shadow:0 22px 45px #173f232b;}
.choice-topics{background:linear-gradient(138deg,#d9ffac,#a2ed87 72%,#62d897);border:1px solid #b8e997;color:#064c35;}
.choice-activities{background:linear-gradient(138deg,#00432f,#0a7952 80%,#32af75);border:1px solid #44875b;color:#f7fff1;}
.choice-projects{background:linear-gradient(138deg,#f4ffe9,#d5f5bd 62%,#a0e5a9);border:1px solid #d0eac4;color:#064c35;}
.choice-index{font-size:10px;font-weight:900;letter-spacing:.12em;}
.choice-activities .choice-index{color:#c5f4a8;}
.choice-icon{margin:27px 0 auto;height:62px;width:62px;display:grid;place-items:center;border-radius:50%;background:#f7fff5db;color:#08513b;}
.choice-activities .choice-icon{background:#c7ff88;color:#054a34;}
.choice-icon .icon{width:30px;height:30px;}
.choice-card strong{display:block;margin:24px 0 7px;font-size:clamp(28px,2.9vw,39px);font-weight:900;letter-spacing:-.058em;line-height:1.05;}
.choice-card small{font-size:12px;line-height:1.5;max-width:225px;color:inherit;opacity:.78;}
.choice-arrow{position:absolute;top:22px;right:23px;border:1px solid currentColor;border-radius:50%;height:36px;width:36px;display:grid;place-items:center;font-size:22px;}
.course-scope{font-size:11px;color:#557961;line-height:1.5;margin:21px 0 0;}
/* True alternate tabs, not more landing sections. */
.course-switcher{background:linear-gradient(105deg,#065a42,#0d7651);color:#f5fff0;border-bottom:1px solid #b6f48746;}
.course-switcher-inner{display:flex;align-items:center;gap:22px;min-height:88px;}
.course-back{border:1px solid #d3fba867;color:#e9ffdc;padding:9px 13px;}
.course-back:hover{background:#c4fa8e;color:#064936;}
.course-switcher-links{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;}
.course-switcher-links a{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #ccffaa52;background:#ffffff10;color:#efffea;padding:13px 18px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap;transition:background .2s,color .2s;}
.course-switcher-links a .icon{height:16px;width:16px;}
.course-switcher-links a:hover,.course-switcher-links a.is-active{background:#c2f980;border-color:#e2ffb5;color:#07452f;}
.course-home-link{color:#d2f8b8;white-space:nowrap;}
.course-home-link:hover{color:#fff;}
.course-view-heading{padding:clamp(42px,5vw,68px) 0 clamp(42px,5vw,68px);}
.screen-course .learning{padding-top:clamp(44px,5vw,76px);}
.screen-course .map-heading{scroll-margin-top:20px;}
.screen-course .practice{background:linear-gradient(120deg,#06412f,#107d50);}
/* Projects are explicit sample briefs, not invented official coursework. */
.projects-view{padding:clamp(45px,5.5vw,77px) 0 clamp(80px,7.2vw,116px);}
.projects-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:18px 0 38px;}
.projects-count{border:1px solid #cdeab8;border-radius:999px;padding:7px 7px 7px 17px;display:inline-flex;align-items:center;gap:15px;font-size:10px;letter-spacing:.12em;font-weight:900;color:#256a44;white-space:nowrap;}
.projects-count>span{height:31px;width:31px;display:grid;place-items:center;color:#c8fa90;background:#07543b;border-radius:50%;font-size:19px;}
.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.project-card{padding:clamp(23px,2.8vw,36px);border-radius:30px;min-height:430px;display:flex;flex-direction:column;border:1px solid #c4e1b0;background:linear-gradient(138deg,#d0f9a5,#9ae6a6);color:#074c34;box-shadow:0 14px 31px #173e2217;}
.project-card:nth-child(2){background:linear-gradient(135deg,#064634,#0b8657);color:#f6fff1;border-color:#397b52;}
.project-card:nth-child(3){background:linear-gradient(135deg,#f6ffe9,#cbefb2 66%,#a1e4ab);}
.project-index{font-size:10px;letter-spacing:.1em;font-weight:900;}
.project-icon{display:grid;place-items:center;width:67px;height:67px;background:#faffeb;border-radius:50%;font:900 23px monospace;margin:27px 0 auto;color:#064b34;box-shadow:0 7px 18px #07402a16;}
.project-card h3{font-weight:900;letter-spacing:-.062em;font-size:clamp(28px,3vw,40px);line-height:1.05;margin:23px 0 12px;}
.project-card>p{font-size:12px;line-height:1.57;opacity:.84;min-height:56px;}
.project-card details{border-top:1px solid currentColor;margin-top:11px;padding-top:16px;}
.project-card summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-weight:900;font-size:12px;}
.project-card summary::-webkit-details-marker{display:none;}
.project-card summary span{border:1px solid currentColor;height:32px;width:32px;display:grid;place-items:center;border-radius:50%;font-size:19px;}
.project-card details[open] summary span{transform:rotate(90deg);}
.project-card details>p{font-size:12px;line-height:1.55;margin:14px 0 0;}
/* Footer: the only element after the landing grid. */
.footer.route-footer{background:#034533;color:#e8ffd9;}
.route-footer-inner{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;font-weight:800;}
.route-footer-inner a{display:grid;place-items:center;border-radius:50%;border:1px solid #b7f48e;color:#caff9a;width:40px;height:40px;font-size:24px;text-decoration:none;}
.route-footer-inner a:hover{background:#bdff8d;color:#064837;}
/* Page-sized information overlays: requirements, methodology, course intro,
   temario, calendar and the rich Cisco accreditation section. */
.course-info-modal .modal-dialog{--bs-modal-width:min(1160px,calc(100vw - 32px));max-width:1160px;}
.course-info-modal .modal-content{border:1px solid #dcf0d3;border-radius:26px;overflow:hidden;background:#fafff7;box-shadow:0 32px 80px #001e1350;}
.course-info-modal .modal-header{padding:20px 29px;background:#fafff7;border-bottom:1px solid #daead2;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.info-modal-kicker{font-size:9px;letter-spacing:.11em;font-weight:900;color:#208554;}
.course-info-modal .modal-title{font-size:clamp(22px,2.5vw,29px);font-weight:900;letter-spacing:-.05em;color:#054a36;margin:4px 0 0;}
.info-modal-close{border:0;display:grid;place-items:center;background:#053e32;color:#f5fff0;width:43px;height:43px;border-radius:50%;font-size:31px;font-weight:400;line-height:1;flex:none;}
.info-modal-close:hover{background:#197351;}
.course-info-modal .modal-body{padding:clamp(22px,3.2vw,44px);background:#f6fbf2;}
.course-info-modal .modal-footer{padding:14px 25px;background:#fafff7;border-top:1px solid #daead2;display:flex;align-items:center;gap:12px;}
.info-modal-footnote{margin-right:auto;font-size:10px;color:#577c63;max-width:350px;}
.info-modal-action{background:#c2fa88;color:#064731;border:1px solid #a9e474;border-radius:999px;padding:6px 6px 6px 20px;display:inline-flex;align-items:center;gap:17px;font-weight:900;font-size:12px;}
.info-modal-action>span{display:grid;place-items:center;border-radius:50%;width:32px;height:32px;background:#034733;color:#c7ff91;font-size:20px;}
.info-modal-dismiss{border:1px solid #c0dcb3;background:#fff;color:#255a3d;padding:11px 17px;border-radius:999px;font-weight:800;font-size:12px;}
.info-modal-dismiss:hover{background:#e1f5d0;}
.course-info-modal .course-introduction,.course-info-modal .accreditation{padding:0;background:none;}
.course-info-modal .container-xxl{padding:0;max-width:none;}
.course-info-modal .introduction-card{box-shadow:none;border:1px solid #d4eac6;padding:clamp(22px,3vw,37px);}
.course-info-modal .accred-feature,.course-info-modal .accred-showcase{min-height:400px;}
.course-info-modal .accred-feature h3{font-size:clamp(43px,5vw,64px);}
.course-info-modal .accred-heading h2{font-size:clamp(34px,4.3vw,56px);}
.info-sheet{max-width:1040px;margin:0 auto;}
.info-overline{font-size:10px;color:#188151;font-weight:900;letter-spacing:.12em;}
.info-sheet h3{font-size:clamp(31px,4vw,51px);line-height:1.08;letter-spacing:-.065em;font-weight:900;margin:15px 0;color:#074b35;}
.info-sheet h3 span{color:#26a765;}
.info-sheet>p{font-size:14px;line-height:1.67;color:#476c52;max-width:850px;}
.info-accordion{margin-top:28px;}
.info-accordion .accordion-item{border:1px solid #c7e5b5;overflow:hidden;border-radius:21px!important;margin-bottom:15px;background:white;box-shadow:0 11px 26px #10432311;}
.info-accordion .accordion-button{font-weight:900;letter-spacing:-.025em;font-size:clamp(16px,2vw,22px);color:#0b4b35;background:#fff;box-shadow:none;padding:18px 24px;}
.info-accordion .accordion-button:not(.collapsed){background:linear-gradient(110deg,#baf09f,#def8d0);color:#064a34;}
.info-accordion .accordion-button:focus{box-shadow:0 0 0 3px #c2ef9b;}
.info-accordion .accordion-body{padding:26px;color:#3d5f48;font-size:14px;line-height:1.7;}
.info-accordion .accordion-body p:last-child{margin-bottom:0;}
.info-feature-list{margin:25px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.info-feature-list>div{background:linear-gradient(135deg,#e0f8ca,#bbebac);padding:23px;border-radius:20px;display:flex;flex-direction:column;gap:12px;}
.info-feature-list b{font-size:12px;color:#07573a;}
.info-feature-list span{font-size:13px;color:#386c48;line-height:1.45;}
.info-syllabus{counter-reset:syllabus;list-style:none;padding:0;margin:26px 0;display:grid;gap:10px;}
.info-syllabus li{counter-increment:syllabus;display:flex;align-items:center;gap:17px;background:#e7f9d6;padding:15px 20px;border-radius:17px;color:#095137;font-weight:800;font-size:14px;line-height:1.4;}
.info-syllabus li:before{content:counter(syllabus,decimal-leading-zero);border-radius:50%;height:37px;min-width:37px;display:grid;place-items:center;background:#07543c;color:#caff91;font-size:11px;}
.info-alert{display:flex;align-items:center;gap:13px;background:#e2f6d1;border-radius:18px;padding:24px;color:#175e3e;font-size:13px;line-height:1.5;}
.info-alert .icon{width:30px;height:30px;}
@media(max-width:1020px){
  .course-switcher-inner{flex-wrap:wrap;justify-content:space-between;padding-top:15px;padding-bottom:15px;}
  .course-switcher-links{order:3;width:100%;flex-basis:100%;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;}
  .course-choices,.projects-grid{gap:12px;}
}
@media(max-width:767px){
  .course-menu{padding-top:38px;}
  .course-view-top{margin-bottom:36px;}.view-breadcrumb{font-size:8px;}
  .course-choices,.projects-grid{grid-template-columns:1fr;}
  .choice-card{min-height:235px;padding:26px;}
  .choice-icon{margin:13px 0 auto;width:52px;height:52px;}
  .choice-icon .icon{width:24px;height:24px;}
  .choice-card strong{font-size:32px;margin-top:14px;}
  .projects-heading{align-items:flex-start;flex-direction:column;}
  .project-card{min-height:335px;}
  .course-switcher-inner{gap:12px;}
  .course-switcher-links{gap:6px;}
  .course-switcher-links a{padding:11px 13px;font-size:10px;}
  .course-switcher-links a .icon{width:15px;height:15px;}
  .course-home-link{font-size:11px;}
  .info-feature-list{grid-template-columns:1fr;}
  .course-info-modal .modal-dialog{margin:8px;max-width:calc(100vw - 16px);}
  .course-info-modal .modal-content{border-radius:19px;}
  .course-info-modal .modal-header{padding:16px;}
  .course-info-modal .modal-body{padding:18px;}
  .course-info-modal .modal-footer{padding:13px;flex-wrap:wrap;}
  .info-modal-footnote{flex-basis:100%;max-width:none;}
  .course-info-modal .accred-grid{grid-template-columns:1fr;}
  .course-info-modal .accred-feature,.course-info-modal .accred-showcase{min-height:350px;}
  .route-footer-inner{font-size:11px;min-height:83px;}
}
@media(max-width:380px){.view-breadcrumb{display:none}.course-switcher-links a{padding:10px 9px;font-size:9px}.course-switcher-links a .icon{display:none}}
@media(prefers-reduced-motion:reduce){.choice-card,.hub-card{transition:none!important;}}


/* The Temas tab lands on the actual map first; progress utilities follow it. */
.screen-course #temario{margin-top:16px;}
.personal-tools-divider{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #cee5bf;margin:68px 0 34px;padding-top:23px;}
.personal-tools-divider span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#1c774b;}
.personal-tools-divider small{font-size:10px;font-weight:900;letter-spacing:.09em;color:#68886d;}
.screen-course .personal-tools-divider + .learning-head{margin-top:0;}
@media(max-width:767px){.personal-tools-divider{margin-top:48px;}.personal-tools-divider small{display:none;}}
