 :root {
  --gold: #d6a51f;
  --gold-deep: #a96f00;
  --gold-bright: #ffd33d;
  --ink: #101010;
  --text: #263443;
  --muted: #5d6670;
  --cream: #f7f4ec;
  --paper: #fff;
  --line: #e8dfd0;
  --footer: #101010;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: 'Montserrat', sans-serif; line-height: 1.65; }
h1, h2, h3, .brand-name, .stat-value { font-family: 'Cinzel', serif; }
a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); border-bottom: 1px solid #eee8dd; box-shadow: 0 2px 14px rgba(0,0,0,.04); }
.navbar { min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 0; min-width: 300px; }
.brand-logo { width: 67px; height: 67px; object-fit: contain; flex-shrink: 0; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: clamp(1.5rem, 2vw, 2.05rem); color: #090909; font-weight: 700; letter-spacing: .025em; }
.brand-subtitle { color: #40454a; font-size: .67rem; margin-top: 4px; }
.navbar-nav { gap: 5px; }
.nav-link { color: #1d2935 !important; text-transform: uppercase; font-size: .67rem; font-weight: 600; padding: 1.8rem .65rem !important; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--gold-deep) !important; }
.nav-link.active:after { content: ""; position: absolute; bottom: 17px; left: .65rem; right: .65rem; height: 2px; background: var(--gold); }
.btn-gold { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold); background: linear-gradient(115deg, #ffd23e, #e9ad17); color: #101010; border-radius: 7px; padding: 11px 24px; font-size: .86rem; font-weight: 700; box-shadow: 0 2px 4px rgba(0,0,0,.05); transition: transform .18s ease, filter .18s ease; }
.btn-gold:hover { color: #101010; filter: brightness(.96); transform: translateY(-1px); }
.nav-cta { margin-left: 10px; padding: 10px 16px; font-size: .75rem; white-space: nowrap; }
.navbar-toggler { border-color: #d6cbb8; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(214,165,31,.2); }
.hero { position: relative; isolation: isolate; min-height: 340px; overflow: hidden; display: flex; align-items: center; background: #16110a; }
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-photo { background: url('assets/hero-biblia-globo.jpg') center 52% / cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(12,10,7,.97) 0%, rgba(12,10,7,.88) 35%, rgba(12,10,7,.48) 58%, rgba(12,10,7,.03) 100%); }
.hero-container { position: relative; }
.hero-content { max-width: 570px; padding: 36px 0 40px; color: #fff; }
.eyebrow { margin: 0 0 4px; color: var(--gold-deep); text-transform: uppercase; font-size: .72rem; font-weight: 700; letter-spacing: .17em; }
.hero-eyebrow { color: #ffd42f; font-size: .8rem; letter-spacing: .23em; margin-bottom: 4px; }
.hero-eyebrow span { padding: 0 8px; }
.hero h1 { color: #fff; font-size: clamp(2.65rem, 5vw, 4.7rem); line-height: .98; margin: 0 0 10px; font-weight: 700; }
.hero h1 > span { display: block; color: #ffd13b; font-size: 1.15em; letter-spacing: .02em; }
.hero h1 small { display: block; color: #fff; font-size: .43em; line-height: 1.12; font-weight: 600; margin-top: 4px; }
.gold-rule { width: 49px; height: 3px; background: var(--gold); margin: 13px 0 11px; }
.gold-rule.centered { margin: 8px auto 0; }
.hero-description { color: #f5f1e9; max-width: 480px; font-size: 1rem; line-height: 1.55; margin-bottom: 14px; text-align: justify;}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-gold { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e7b91f; color: #ffd42f; background: rgba(0,0,0,.36); border-radius: 7px; padding: 10px 24px; font-size: .86rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.btn-outline-gold:hover { background: var(--gold); color: #111; }
.section-pad { padding: 28px 0; }
.about-section { background: #fbf8f1; 

text-align: justify;}
.about-image { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: 7px; box-shadow: 0 5px 15px rgba(0,0,0,.1); }
.about-copy { padding-top: 2px; }
.about-copy h2, .section-heading h2, .admission-section h2 { color: #111827; font-size: clamp(1.7rem, 2.6vw, 2.25rem); font-weight: 700; margin: 0; }
.about-copy .gold-rule { margin-top: 8px; margin-bottom: 9px; }
/*
.about-copy p:last-child { margin: 0; color: #334155; font-size: .91rem; line-height: 1.6; }
*/
.mission-section { background: #fff; }
.section-heading { text-align: center; margin-bottom: 18px; }
.section-heading h2 { line-height: 1.2; }
.mission-card { height: 100%; display: flex; align-items: flex-start; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 4px 13px rgba(0,0,0,.055); }
.round-icon { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, #b77900, #e0ae23); display: grid; place-items: center; }
.round-icon svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mission-card h3 { color: #111; font-size: 1.35rem; font-weight: 700; margin: 0; }
.mission-card .gold-rule { margin: 8px 0 9px; }
.mission-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #3e4855;
    text-align: justify;

}
.institution-section { background: linear-gradient(rgba(247,244,236,.94),rgba(247,244,236,.94)), url('assets/biblia-abierta.jpg') center/cover; padding-top: 25px; padding-bottom: 25px; }
.institution-section .section-heading { margin-bottom: 10px; }
.institution-stats { align-items: stretch; }
.stat { min-height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 7px 16px; }
.stat svg { width: 37px; height: 37px; fill: #b77a00; stroke: #b77a00; stroke-width: 1.4; margin-bottom: 1px; }
.stat strong { font-family: 'Cinzel', serif; color: #101010; font-size: 1.35rem; line-height: 1.2; }
.stat strong.stat-word { font-size: 1.08rem; }
.stat span { color: #344054; font-size: .74rem; text-transform: uppercase; letter-spacing: .025em; }
.institution-stats .col-md-4 + .col-md-4 .stat { border-left: 1px solid #dfcfaa; }
.study-section { background: #fff; }
.study-section .section-heading { margin-bottom: 16px; }
.study-intro { margin: -6px 0 18px; color: var(--muted); text-align: center; font-size: .9rem; }
.study-card { height: 100%; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.study-card h3 { margin: 0; padding: 7px 12px; color: #fff; text-transform: uppercase; text-align: center; font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 700; background: linear-gradient(100deg, #b77b00, #e3b327); }
.study-card ul { margin: 0; padding: 10px 16px 12px 37px; color: #354052; font-size: 1rem; line-height: 1.55; }
.study-card li::marker { color: #b77b00; }
.admission-section { background: #fbf8f1; padding-top: 28px; padding-bottom: 30px; }
.admission-section h2 { font-size: clamp(1.65rem, 2.5vw, 2.15rem); }
.admission-section .gold-rule { margin-top: 8px; margin-bottom: 8px; }
.requirement-list { list-style: none; margin: 0; padding: 0; }
.requirement-list li { position: relative; padding-left: 29px; color: #344054; font-size: .83rem; line-height: 1.85; }
.requirement-list li:before { content: "✓"; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; display: grid; place-items: center; background: #b77b00; color: #fff; font-size: .7rem; font-weight: 800; border-radius: 50%; line-height: 1; }
.admission-actions { border-left: 1px solid #e1d5bf; padding-left: 32px; }
.download-card { display: flex; align-items: center; gap: 15px; padding: 11px 16px; border-radius: 7px; background: linear-gradient(100deg, #ffd33d, #f1b51b); color: #111; font-size: .82rem; font-weight: 700; box-shadow: 0 3px 9px rgba(177,123,0,.12); }
.download-card:hover { color: #111; filter: brightness(.97); }
.download-card svg { width: 43px; height: 43px; flex: 0 0 43px; fill: none; stroke: #a66d00; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.download-card span:nth-child(2) { flex: 1; }
.download-symbol { font-size: 1.5rem; line-height: 1; }
.whatsapp-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #111827; box-shadow: 0 3px 10px rgba(0,0,0,.035); }
.whatsapp-card:hover { border-color: #d4b56e; color: #111827; }
.whatsapp-icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border: 2px solid #171717; border-radius: 50%; font-size: 1.5rem; }
.whatsapp-card strong, .whatsapp-card small { display: block; }
.whatsapp-card strong { font-size: .78rem; }
.whatsapp-card small { color: #4b5563; font-size: .72rem; line-height: 1.4; margin-top: 2px; }
.whatsapp-card .arrow { margin-left: auto; color: #c18400; font-size: 1.8rem; }
.small-note { margin: 8px 0 0; color: #777; font-size: .65rem; }
.site-footer { background: #101010; color: #f2f2f2; padding: 17px 0 14px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #f0bd25; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; }
.footer-brand strong { display: block; font-family: 'Cinzel', serif; font-size: 1.25rem; line-height: 1.15; }
.footer-brand small { display: block; color: #eee; font-size: .6rem; line-height: 1.3; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; }
.footer-links a, .footer-contact a { color: #f1f1f1; font-size: .67rem; }
.footer-links a:hover, .footer-contact a:hover { color: #ffd33d; }
.copyright { margin: 13px 0 0; text-align: center; font-size: .58rem; color: #c8c8c8; }
.footer-contact { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (max-width: 1199.98px) {
  .brand { min-width: 270px; }
  .brand-logo { width: 58px; height: 58px; }
  .brand-name { font-size: 1.6rem; }
  .nav-link { padding-left: .45rem !important; padding-right: .45rem !important; font-size: .62rem; }
  .nav-cta { padding: 9px 12px; }
}
@media (max-width: 991.98px) {
  .navbar { min-height: 76px; }
  .brand { min-width: 0; }
  .brand-logo { width: 58px; height: 58px; }
  .navbar-collapse { padding: 12px 0 18px; }
  .nav-link { padding: .65rem .25rem !important; font-size: .78rem; }
  .nav-link.active:after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .hero { min-height: 370px; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,10,7,.97), rgba(12,10,7,.82) 57%, rgba(12,10,7,.36)); }
  .admission-actions { border-left: 0; border-top: 1px solid #e1d5bf; padding: 22px 12px 0; }
  .footer-contact { justify-content: center; }
}
@media (max-width: 767.98px) {
  .section-pad { padding: 38px 0; }
  .hero { min-height: 420px; }
  .hero-photo { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,10,7,.96), rgba(12,10,7,.82) 72%, rgba(12,10,7,.55)); }
  .hero-content { padding: 38px 0; max-width: 540px; }
  .hero h1 { font-size: clamp(2.45rem, 9vw, 3.5rem); }
  .hero h1 small { font-size: .46em; }
  .hero-description { font-size: .87rem; }
  .about-image { height: 200px; }
  .mission-card { padding: 19px; gap: 16px; }
  .institution-stats .col-md-4 + .col-md-4 .stat { border-left: 0; border-top: 1px solid #dfcfaa; }
  .stat { min-height: 90px; }
  .footer-links { gap: 10px 14px; }
}
@media (max-width: 480px) {
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { font-size: 1.35rem; }
  .brand-subtitle { max-width: 210px; font-size: .56rem; }
  .hero-eyebrow { font-size: .64rem; letter-spacing: .16em; }
  .hero-eyebrow span { padding: 0 3px; }
  .hero-actions .btn { width: 100%; }
  .mission-card { flex-direction: column; }
  .round-icon { width: 54px; height: 54px; flex-basis: 54px; }
  .download-card { gap: 10px; padding: 10px; font-size: .75rem; }
  .whatsapp-card { gap: 9px; padding: 10px; }
  .whatsapp-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .footer-brand { justify-content: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Secciones de admisión e inscripción: contenido textual fiel al index de referencia */
.requirements-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(17, 17, 17, .045);
}
.requirements-list {
  margin: 0;
  padding-left: 1.35rem;
  color: #30343b;
}
.requirements-list li { padding: 0 0 10px 7px; }
.requirements-list li::marker { color: #a96f00; }
.admission-note {
  margin-top: 25px;
  padding: 20px 22px;
  border-left: 4px solid #d6a51f;
  background: #f7f4ec;
  border-radius: 0 7px 7px 0;
  text-align: justify;
}
.admission-note h3 {
  margin: 0 0 8px;
  color: #9a6b0b;
  font: 700 1.1rem 'Montserrat', sans-serif;
}
.admission-note p { margin: 0; color: #343434; }
.enrollment-section { background: #fff; }
.enrollment-card {
  height: 100%;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 10px;
  box-shadow: 0 7px 24px rgba(17,17,17,.05);
  text-align: justify;
}
.enrollment-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  margin-bottom: 18px; border-radius: 50%; background: #f7f0d9; color: #9a6b0b;
}
.enrollment-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.enrollment-card h3, .contact-person h3 {
  color: #171717;
  font: 700 1.2rem 'Montserrat', sans-serif;
  margin: 0 0 12px;
}
.enrollment-card p { color: #424852; margin-bottom: 22px; }
.enrollment-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.enrollment-actions .btn { margin: 0; }
.enrollment-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.enrollment-download svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.enrollment-actions .btn-outline-gold {
  color: #8c6109; background: #fff; border: 1px solid #b58a20;
}
.ready-section { background: #f7f4ec; }
.ready-section .section-heading h2,
.contact-section .section-heading h2 { color: #171717; }
.ready-section .section-heading p,
.contact-section .section-heading p { color: #505761; }
.contact-person {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px 22px;
  border: 1px solid #e8dfd0; border-radius: 10px; background: #fff;
  box-shadow: 0 7px 24px rgba(17,17,17,.045);
}
.contact-person h3 { max-width: 100%; }
.contact-person p { color: #555; margin-bottom: 20px; }
.contact-person .btn { margin: 0; }
.send-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.send-whatsapp svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff; background: #218c50; border: 1px solid #218c50;
  font-weight: 700; border-radius: 6px; padding: 10px 22px;
}
.whatsapp-button-icon { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-whatsapp:hover { color: #fff; background: #176d3d; border-color: #176d3d; }
.contact-section { background: #fff; }
.contact-section .contact-person { border-top: 3px solid #d6a51f; }
@media (max-width: 575.98px) {
  .enrollment-actions { flex-direction: column; }
  .enrollment-actions .btn { width: 100%; }
}


/* Palomitas para cada requisito de admisión */
.requirements-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.requirements-list li {
  position: relative;
  padding: 0 0 12px 34px;
  color: #30343b;
  line-height: 1.65;
}
.requirements-list li:last-child { padding-bottom: 0; }
.requirements-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d6a51f;
  color: #111111;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}

/* Aula Virtual */
.nav-link-aula {
  color: #8d6509 !important;
  font-weight: 700 !important;
}

.nav-link-aula:hover,
.nav-link-aula:focus-visible {
  color: #171717 !important;
}

.virtual-classroom-section {
  padding: 26px 0 30px;
  background: #f7f4ec;
  scroll-margin-top: 24px;
}

.virtual-classroom-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  align-items: center;
  gap: 28px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 10px;
  box-shadow: 0 7px 24px rgba(17, 17, 17, .045);
}

.virtual-classroom-main {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.virtual-classroom-icon {
  color: #c49a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.virtual-classroom-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.virtual-classroom-copy .eyebrow {
  margin: 0 0 6px;
  color: #9a6b0b;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.virtual-classroom-copy h2 {
  margin: 0 0 7px;
  color: #171717;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
}

.virtual-classroom-copy > p:last-child {
  margin: 0;
  color: #50545b;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  line-height: 1.6;
}

.virtual-classroom-action {
  width: 100%;
}

.virtual-classroom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  white-space: normal;
  text-align: center;
  font-size: .86rem;
  font-weight: 700;
}

.virtual-classroom-arrow {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1;
}

.virtual-classroom-button:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 3px;
}

.modality-section { background: #fff; }
.modality-section .section-heading { margin-bottom: 20px; }
.modality-intro { max-width: 650px; margin: 12px auto 0; color: #50545b; }
.modality-card {
  height: 100%;
  padding: 22px 18px;
  text-align: center;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.modality-card h3 { margin: 0 0 7px; color: #8d6509; font-family: 'Montserrat', sans-serif; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.modality-card p { margin: 0; color: #171717; font-size: 1.1rem; font-weight: 700; }
.modality-card > span { color: var(--muted); font-size: .8rem; }
.modality-price p { color: #8d6509; font-size: 1.55rem; }
.modality-price p span { font-size: .8rem; }
.modality-action { margin-top: 20px; text-align: center; }
.modality-action .btn { gap: 8px; }
.payment-section { background: #fbf8f1; }
.payment-section .section-heading { margin-bottom: 18px; }
.payment-section .gold-rule.centered { width: 49px; height: 3px; margin: 8px auto 0; 

margin-top: 8px;
    margin-bottom: 9px;
  
  }
.payment-section .section-heading > p:last-child { max-width: 650px; margin: 12px auto 0; color: #50545b; }
.payment-card { max-width: 520px; margin: 0 auto; border-top: 3px solid var(--gold); }
.payment-card h3 { margin-bottom: 8px; }
.payment-card p { margin-bottom: 18px; }
.payment-button { gap: 8px; }
.payment-button svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 575.98px) {
  .payment-card { padding: 24px 18px; }
  .payment-button { width: 100%; }
}

/* Tabletas */
@media (max-width: 991.98px) {
  .virtual-classroom-card {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 20px;
    padding: 24px;
  }

  .virtual-classroom-main {
    gap: 15px;
  }

  .virtual-classroom-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .virtual-classroom-icon svg {
    width: 29px;
    height: 29px;
  }
}

/* Móviles */
@media (max-width: 767.98px) {
  .virtual-classroom-section {
    padding: 22px 0 24px;
  }

  .virtual-classroom-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
    padding: 22px 18px;
  }

  .virtual-classroom-main {
    align-items: flex-start;
    gap: 13px;
  }

  .virtual-classroom-icon {
    flex-basis: 49px;
    width: 49px;
    height: 49px;
    border-radius: 8px;
  }

  .virtual-classroom-icon svg {
    width: 26px;
    height: 26px;
  }

  .virtual-classroom-copy .eyebrow {
    font-size: .65rem;
    letter-spacing: .1em;
  }

  .virtual-classroom-copy h2 {
    font-size: 1.22rem;
    line-height: 1.3;
  }

  .virtual-classroom-copy > p:last-child {
    font-size: .82rem;
  }

  .virtual-classroom-button {
    min-height: 49px;
    font-size: .85rem;
  }
}

/* Móviles pequeños */
@media (max-width: 380px) {
  .virtual-classroom-card {
    padding: 19px 15px;
  }

  .virtual-classroom-main {
    gap: 11px;
  }

  .virtual-classroom-icon {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .virtual-classroom-copy h2 {
    font-size: 1.08rem;
  }
}


/* =====================================
   AJUSTES FINALES RESPONSIVE
   Logo institucional y birrete del Aula Virtual
   ===================================== */

/* Logotipo: conserva proporción en escritorio */
.brand {
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
}

.brand-logo {
  display: block;
  width: 67px;
  height: 67px;
  flex: 0 0 67px;
  object-fit: contain;
}

/* Birrete SVG: tamaño controlado, sin ampliar el contenedor */
.virtual-classroom-icon {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  color: #c49a3a;
  background: #f7f0d9;
  border-radius: 9px;
}

.virtual-classroom-icon svg {
  display: block;
  width: 36px;
  height: 36px;
  max-width: 100%;
  max-height: 100%;
}

/* Tabletas */
@media (max-width: 991.98px) {
  .brand-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .virtual-classroom-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .virtual-classroom-icon svg {
    width: 31px;
    height: 31px;
  }
}

/* Móviles */
@media (max-width: 767.98px) {
  .navbar {
    min-height: 68px;
  }

  .brand {
    gap: 9px;
    margin-right: 8px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-name {
    font-size: clamp(1.1rem, 5vw, 1.35rem);
    white-space: nowrap;
  }

  .virtual-classroom-main {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
  }

  .virtual-classroom-icon {
    flex: 0 0 49px;
    width: 49px;
    height: 49px;
  }

  .virtual-classroom-icon svg {
    width: 27px;
    height: 27px;
  }

  .virtual-classroom-copy {
    flex: 1;
    min-width: 0;
  }

  .virtual-classroom-copy h2 {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .virtual-classroom-copy > p:last-child {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* Móviles pequeños */
@media (max-width: 380px) {
  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .virtual-classroom-card {
    padding: 19px 15px;
  }

  .virtual-classroom-main {
    gap: 11px;
  }

  .virtual-classroom-icon {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .virtual-classroom-icon svg {
    width: 24px;
    height: 24px;
  }
}


.regulation-section {
  padding: 28px 0;
  background: #fff;
}

.regulation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  align-items: center;
  gap: 28px;
  padding: clamp(22px, 3vw, 34px);
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 7px 24px rgba(17, 17, 17, .045);
}

.regulation-content {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.regulation-icon {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: #9a6b0b;
  background: #f3e8c8;
  border: 1px solid #e5d4a7;
  border-radius: 8px;
}

.regulation-icon svg {
  width: 30px;
  height: 30px;
}

.regulation-copy {
  min-width: 0;
}

.regulation-copy .eyebrow {
  margin: 0 0 6px;
  color: var(--gold-deep);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.regulation-copy h2 {
  margin: 0 0 7px;
  color: #171717;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
}

.regulation-copy > p:last-child {
  margin: 0;
  color: #50545b;
  font-size: .9rem;
  line-height: 1.6;
}

.regulation-action {
  width: 100%;
}

.regulation-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  text-align: center;
  white-space: normal;
}

.regulation-button svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
}

/* Tabletas */
@media (max-width: 991.98px) {
  .regulation-card {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 20px;
    padding: 24px;
  }

  .regulation-content {
    gap: 15px;
  }
}

/* Móviles */
@media (max-width: 767.98px) {
  .regulation-section {
    padding: 22px 0 24px;
  }

  .regulation-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 22px 18px;
  }

  .regulation-content {
    align-items: flex-start;
    gap: 13px;
  }

  .regulation-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .regulation-icon svg {
    width: 26px;
    height: 26px;
  }

  .regulation-copy h2 {
    font-size: 1.2rem;
  }

  .regulation-copy > p:last-child {
    font-size: .84rem;
  }
}
