/* Preparatoria Supérate /test/ - diseño responsivo independiente de WordPress.
   Mantiene la hoja común styles.css para el encabezado, pie y controles flotantes. */
.test-page{background:#f8f8f8;color:#092246}
.test-page .site-header{height:87px}
.test-page .nav-container{max-width:1080px}
.test-page .brand img{width:145px}
.test-page .primary-nav{height:40px;gap:57px;padding-right:53px;border-right:1px solid #ededed}
.test-page .nav-link.active{color:#092246}
.test-page .back-to-top{background:#ffc629;color:#071e3b}
.test-page .back-to-top:hover{background:#f4b70b}
.test-page .whatsapp-widget{bottom:18px}
.test-page h1,.test-page h2{letter-spacing:-.02em}
.test-banner{min-height:267px;background:#222 url('../img/test-banner.jpg') center 49% / cover no-repeat;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;position:relative}
.test-banner::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.10)}
.test-banner-content{position:relative;z-index:1;margin-top:-4px}
.test-banner h1{font-size:50px;line-height:1.2;letter-spacing:.005em;font-weight:800;margin:0 0 18px;color:#fff}
.test-breadcrumb{font-size:16px;display:flex;align-items:center;justify-content:center;gap:11px;font-weight:500}
.test-breadcrumb a:hover{text-decoration:underline}
.test-breadcrumb span[aria-current]{color:#ffcb2c}
.test-breadcrumb span[aria-hidden]{font-size:24px;line-height:1}
.test-main{padding:105px 0 104px}
.test-layout{max-width:1620px;width:100%;margin:0 auto;display:grid;grid-template-columns:minmax(0,1040fr) minmax(0,520fr);column-gap:60px;align-items:start}
.test-content-column{min-width:0}
.test-intro{padding:21px 2px 0}
.test-intro h2,.test-exams h2,.test-video-section h2,.test-form-panel h2{font-size:27px;line-height:1.27;color:#092246;font-weight:800}
.test-intro h2{margin:0 0 15px}
.test-intro p{font-size:15px;line-height:1.7;margin:0;color:#171717}
.test-exams{margin-top:60px}
.test-exams h2,.test-video-section h2{text-align:center;margin:0 0 21px}
.test-exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px;padding:0 5px}
.test-exam-button,.test-video-button{min-height:47px;background:#ffc629;color:#f34687;border:1px solid #f8bd22;border-radius:3px;font-size:15px;font-weight:750;line-height:1.35;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 12px;transition:background .18s,box-shadow .18s,transform .18s}
.test-exam-button:hover,.test-video-button:hover{background:#ffdb60;box-shadow:0 4px 14px rgba(127,89,0,.17);transform:translateY(-2px)}
.test-exam-button:nth-child(10){grid-column:2}
.test-video-section{padding:62px 15px 20px;text-align:center}
.test-video-button{min-width:148px;display:inline-flex;margin:0 auto}
.test-info-panel{border:1px solid #ededed;border-radius:5px;box-shadow:0 10px 35px rgba(0,0,0,.035);padding:18px 38px 37px;background:transparent;min-height:353px}
.test-info-row{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #e9e9e9;min-height:74px}
.test-info-row:last-child{border-bottom:0}
.test-info-row>svg{color:#ffc324;height:34px;width:34px;stroke-width:2.35;flex:none}
.test-info-row>div{display:flex;flex-direction:column;gap:2px}
.test-info-row strong{font-size:16px;font-weight:800;color:#092246;line-height:1.14}
.test-info-row span{font-size:14px;color:#777;line-height:1.25}
.test-form-panel{background:#f8f8f8;box-shadow:0 16px 42px rgba(0,0,0,.045);padding:50px 48px 16px;margin:0 -3px 0 0}
.test-form-panel h2{margin:0 0 46px;font-size:27px}
.test-contact-form{display:flex;flex-direction:column;gap:15px}
.test-input-row{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.test-contact-form input,.test-contact-form textarea{width:100%;font:inherit;font-size:15px;border:1px solid #e8e8e8;border-radius:2px;background:transparent;color:#25354a;padding:11px 12px;outline-color:#2675dc;box-shadow:none}
.test-contact-form input{height:44px}
.test-contact-form textarea{height:116px;resize:vertical;min-height:116px}
.test-contact-form input::placeholder,.test-contact-form textarea::placeholder{color:#bfbfbf;opacity:1}
.test-submit-button{align-self:flex-start;background:#ffc629;border:0;border-radius:30px;color:#071a32;min-width:124px;height:47px;letter-spacing:.08em;font-weight:800;font-size:16px;padding:0 27px;transition:background .2s}
.test-submit-button:hover{background:#f0b418}
.test-form-hint{color:#767676;margin:0 0 3px;font-size:12px;line-height:1.4}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.test-link-dialog{width:min(500px,calc(100% - 36px));padding:34px;border:0;border-radius:14px;background:white;color:#092246;box-shadow:0 22px 80px rgba(0,0,0,.25)}
.test-link-dialog::backdrop{background:rgba(3,16,32,.65)}
.test-dialog-close{position:absolute;top:12px;right:18px;background:transparent;border:0;font-size:30px;color:#657387}
.test-dialog-kicker{color:#2675dc;font-weight:800;font-size:11px;letter-spacing:.12em}
.test-link-dialog h2{font-size:25px;margin:15px 0}
.test-link-dialog p{color:#4c596e;line-height:1.55}
.test-dialog-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}
.test-dialog-actions a{padding:11px 14px;border-radius:4px;color:#fff;background:#2675dc;font-size:13px;font-weight:700}
.test-dialog-actions button{padding:10px 14px;border-radius:4px;border:1px solid #d7dde8;background:#fff;color:#092246;font-weight:700;font-size:13px}
/* Anchos intermedios sin desbordamiento horizontal. */
@media(max-width:1650px){.test-layout{width:calc(100% - 38px)}.test-intro{padding-left:0}}
@media(max-width:1190px){
 .test-layout{grid-template-columns:minmax(0,1.75fr) minmax(315px,.9fr);gap:26px}
 .test-page .primary-nav{gap:28px}
 .test-info-panel{padding-inline:22px}
 .test-exam-button{font-size:13px;padding-inline:7px}
 .test-form-panel{padding-inline:32px}
}
@media(max-width:900px){
 .test-layout{display:flex;flex-direction:column;gap:36px}
 .test-content-column,.test-info-panel{width:100%}
 .test-info-panel{order:-1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 22px}
 .test-info-row{padding:14px 12px}
 .test-info-row:nth-last-child(2){border-bottom:0}
 .test-main{padding:58px 0 80px}
 .test-exams{margin-top:35px}
}
@media(max-width:760px){
 .test-page .site-header{height:78px}
 .test-page .nav-container{max-width:none}
 .test-page .brand img{width:150px}
 .test-page .primary-nav{height:auto;padding:12px 24px 22px;border-right:0}
 .test-banner{min-height:218px;background-position:55% center}
 .test-banner h1{font-size:43px}
 .test-main{padding:48px 0 72px}
 .test-layout{width:calc(100% - 28px)}
 .test-intro{padding:0}
 .test-intro h2,.test-exams h2,.test-video-section h2,.test-form-panel h2{font-size:clamp(22px,5.3vw,27px)}
 .test-intro p{font-size:14px}
 .test-exam-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0}
 .test-exam-button:nth-child(10){grid-column:auto}
 .test-exam-button{font-size:12px;min-height:58px;padding:9px 7px}
 .test-info-panel{order:0;grid-template-columns:repeat(2,1fr);gap:0;margin-top:0}
 .test-info-row{gap:10px}
 .test-info-row svg{width:28px;height:28px}
 .test-info-row strong{font-size:13px}
 .test-info-row span{font-size:12px}
 .test-video-section{padding:36px 0 32px}
 .test-form-panel{padding:28px 20px 24px;margin:0}
 .test-form-panel h2{margin:0 0 27px}
 .test-input-row{gap:12px}
 .test-contact-form{gap:12px}
 .test-page .footer-columns{padding-top:55px}
}
@media(max-width:420px){
 .test-info-panel{grid-template-columns:1fr;padding:8px 20px}
 .test-info-row:nth-last-child(2){border-bottom:1px solid #e9e9e9}
 .test-info-row{min-height:64px}
 .test-exam-grid{grid-template-columns:1fr;gap:10px}
 .test-exam-button{min-height:49px;font-size:13px}
 .test-input-row{grid-template-columns:1fr}
 .test-breadcrumb{font-size:14px}
}
