:root {
  --red: #c4303c;
  --red-hero: #d62538;
  --red-dark: #9e1f2b;
  --orange: #e5603a;
  --teal: #285f6b;
  --purple: #6b2a7c;
  --gold: #b08a2e;
  --wine: #8c1f1f;
  --bg: #f2f2f2;
  --bg-alt: #ebebeb;
  --bg-footer: #e4e4e4;
  --gray-dark: #5f5f5f;
  --black: #222;
  --text: #333;
  --line: #d6d6d6;
  --c-cl: #e2a253;
  --c-ca: #a6a97a;
  --c-eie: #5a8db1;
  --c-eio: #a1805f;
  --max: 1140px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 15px; cursor: pointer;
  padding: 8px 22px; border: 3px solid var(--red);
  background: transparent; color: var(--black);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(196, 48, 60, .25); }
.btn--solid { background: var(--red); color: #fff; border-color: var(--red); }
.btn--solid:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ---------- Header ---------- */
.header { background: var(--bg); position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.header__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.header__left { display: flex; align-items: center; gap: 50px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.logo__img { height: 68px; width: auto; display: block; object-fit: contain; }
.logo__mark { display: flex; flex-direction: column; align-items: center; }
.logo__mark svg { width: 80px; height: 34px; }
.logo__word {
  font-size: 40px; font-weight: 700; line-height: .9; letter-spacing: -1px;
  background: linear-gradient(90deg, #e2603b, #c9303c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo__text { font-size: 11.5px; line-height: 1.12; color: #444; text-transform: uppercase; padding-bottom: 4px; padding-right: 14px; border-right: 2px solid var(--red-hero); }
.lang { display: flex; align-items: center; }
.lang a { font-size: 14px; padding: 0 11px; border-left: 1px solid #ccc; color: var(--black); transition: color .2s; }
.lang a:first-child { border-left: 0; padding-left: 0; }
.lang a:hover, .lang a.active { color: var(--red); }
.header__actions { display: flex; gap: 6px; }
.header__actions .btn { font-size: 14px; padding: 5px 22px; text-transform: uppercase; }
.header__actions .btn--solid { padding: 5px 44px; }

.nav { display: flex; justify-content: flex-end; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 16px 12px; font-size: 14.5px; text-transform: uppercase;
  color: var(--black); cursor: pointer; position: relative;
}
.nav__link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__item:hover .nav__link::after { transform: scaleX(1); }
.dropdown {
  position: absolute; top: 100%; right: 0; min-width: 240px; background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12); border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease); z-index: 60;
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 11px 20px; font-size: 14px; border-bottom: 1px solid #f0f0f0; transition: background .2s, color .2s, padding .2s; }
.dropdown a:hover { background: #faf1f2; color: var(--red); padding-left: 26px; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--black); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 380px; overflow: hidden;
  background: #e6e6e6 url('../images/hero.jpg') right center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(232, 232, 232, .95) 0%, rgba(232, 232, 232, .75) 35%, rgba(232, 232, 232, 0) 60%);
}
.hero .container { position: relative; height: 100%; display: flex; align-items: center; }
.hero h1 {
  font-weight: 300; font-size: 48px; line-height: 1.2; color: var(--red-hero);
  text-transform: uppercase; max-width: 470px;
  animation: fadeUp 1s var(--ease) both;
}

/* ---------- Section titles ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.title {
  text-align: center; font-weight: 300; font-size: 40px; line-height: 1.2;
  color: var(--teal); text-transform: uppercase;
}
.title strong { font-weight: 400; }
.title--purple { color: var(--purple); }
.subtitle {
  text-align: center; text-transform: uppercase; font-size: 17px; color: var(--black);
  max-width: 820px; margin: 22px auto 0; line-height: 1.6;
}

/* decorative line with document icon */
.deco { position: relative; max-width: 1000px; margin: 30px auto 50px; height: 90px; }
.deco__line {
  position: absolute; left: 0; right: 80px; top: 54px; height: 2px;
  background: linear-gradient(90deg, #e9864a, var(--red-hero));
  transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease);
}
.deco svg { position: absolute; right: 0; top: 0; width: 180px; height: 90px; opacity: 0; transition: opacity .8s .9s; }
.deco.in-view .deco__line { transform: scaleX(1); }
.deco.in-view svg { opacity: 1; }

/* ---------- Video ---------- */
.video {
  position: relative; aspect-ratio: 16 / 5.3; overflow: hidden; cursor: pointer;
  background: #ddd url('../images/video-poster.jpg') right center / cover no-repeat;
}
.video::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(225, 225, 225, .9) 30%, rgba(225, 225, 225, 0) 65%); }
.video__title {
  position: absolute; left: 5%; top: 14%; font-weight: 100; font-size: clamp(28px, 4.2vw, 58px);
  letter-spacing: 2px;
  background: linear-gradient(90deg, #e07a3e, #d23b45); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.video__logo { position: absolute; left: 5%; bottom: 20%; transform: scale(.85); transform-origin: left bottom; }
.video__bar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 8px; align-items: center;
}
.video__play {
  width: 58px; height: 34px; border-radius: 4px; background: rgba(20, 20, 20, .9);
  display: grid; place-items: center; transition: background .2s;
}
.video:hover .video__play { background: var(--red); }
.video__track { flex: 1; height: 34px; border-radius: 4px; background: rgba(20, 20, 20, .9); display: flex; align-items: center; padding: 0 14px; gap: 14px; }
.video__progress { flex: 1; height: 3px; background: #555; border-radius: 2px; }
.video__time { color: #fff; font-size: 12px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.feature { padding: 0 10px; }
.feature__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.feature__icon {
  width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.06); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.feature__icon svg { width: 56px; height: 56px; }
.feature h3 { font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.15; margin-top: 12px; }
.feature p { font-size: 17px; color: var(--black); }
.feature--gold .feature__icon { background: var(--gold); } .feature--gold h3 { color: var(--gold); }
.feature--wine .feature__icon { background: var(--wine); } .feature--wine h3 { color: #9b2b2b; }
.feature--teal .feature__icon { background: var(--teal); } .feature--teal h3 { color: var(--teal); }

/* ---------- Course list ---------- */
.courses { margin-top: 50px; border-top: 1px solid var(--line); }
.course {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  padding: 28px 24px; border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.course:hover { background: rgba(255, 255, 255, .55); }
.course__head { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.badge {
  width: 46px; height: 46px; border-radius: 50%; background: #a9a9a9; color: #fff; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 900; font-size: 20px; letter-spacing: -1px;
  transition: background .3s, transform .3s var(--ease);
}
.course:hover .badge { background: var(--red); transform: scale(1.08); }
.course__kicker { font-size: 17px; color: var(--black); }
.course__name { font-size: 24px; font-weight: 500; color: #111; line-height: 1.2; }
.course__name--global { color: transparent; background: linear-gradient(90deg, var(--orange), var(--red-hero)); -webkit-background-clip: text; background-clip: text; display: inline-block; }
.course__desc { font-size: 16.5px; color: var(--black); max-width: 980px; }
.course .btn { padding: 8px 24px; margin-right: 24px; }
.t-cl { color: var(--c-cl); } .t-ca { color: var(--c-ca); } .t-eie { color: var(--c-eie); } .t-eio { color: var(--c-eio); }

/* ---------- Individual tests ---------- */
.lead-up { text-transform: uppercase; font-size: 17px; color: var(--black); margin: 80px 0 40px; line-height: 1.55; }
.tests { display: grid; grid-template-columns: repeat(4, 1fr); }
.test {
  text-align: center; padding: 10px 20px 0; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
}
.test:first-child { border-left: 0; }
.test__icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  color: #fff; font-weight: 900; font-size: 22px; transition: transform .5s var(--ease);
}
.test:hover .test__icon { transform: translateY(-6px) rotate(6deg); }
.test__kicker { font-size: 15px; color: var(--black); }
.test h4 { font-size: 19px; font-weight: 500; color: #111; line-height: 1.3; margin: 6px 0 22px; min-height: 50px; }
.test .btn { margin-top: auto; }

/* ---------- MOOC ---------- */
.mooc { text-align: center; padding: 80px 0; background: var(--bg); }
.mooc h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mooc p { text-transform: uppercase; font-size: 17.5px; color: var(--black); line-height: 1.6; max-width: 860px; margin: 0 auto 30px; }
.mooc .btn { font-size: 16px; padding: 10px 26px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-footer);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__logo-col .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer__logo-col .logo__img {
  height: 54px;
  width: auto;
}
.footer__logo-col .logo__mark svg {
  height: 28px;
  width: auto;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 24px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.social-icon:hover {
  transform: translateY(-3px);
}
.social-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  fill: var(--red);
  transition: fill .2s ease;
}
.social-icon:hover svg {
  fill: var(--red-dark);
}
.footer__links {
  background: var(--bg-footer);
  padding: 44px 0 32px;
}
.footer__top .footer__links {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer__top .footer__links a {
  color: var(--black);
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .2s;
}
.footer__top .footer__links a:hover {
  color: var(--red);
}

.footer__btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer__btns .btn { min-width: 260px; font-weight: 700; padding: 12px 20px; }
.social { display: flex; justify-content: center; gap: 0; margin-top: 38px; }
.social a { width: 140px; display: grid; place-items: center; padding: 10px; }
.social svg { width: 30px; height: 30px; fill: var(--red); transition: transform .3s var(--ease), fill .3s; }
.social a:hover svg { transform: translateY(-4px) scale(1.15); fill: var(--red-dark); }

.footer__bottom,
.footer__logos {
  background: var(--gray-dark);
  color: #fff;
  padding: 24px 0 20px;
}
.footer__partners,
.footer__logos .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__label {
  font-family: 'Roboto Condensed', 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}
.partners {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: .92;
  transition: opacity .25s ease, transform .3s var(--ease);
}
.partner:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.partner img {
  display: block;
  width: auto;
  object-fit: contain;
}
.partner--cervantes img { height: 64px; }
.partner--unam img { height: 66px; }
.partner--salamanca img { height: 56px; }
.partner--uba img { height: 50px; }
.partner--telefonica {
  margin-top: 8px;
}
.partner--telefonica img { height: 36px; }

.subfooter { background: var(--black); color: #fff; text-align: center; padding: 12px 20px; font-size: 13.5px; }
.subfooter a { transition: color .2s; }
.subfooter a:hover { color: #f3a1a8; }

/* ---------- Cookie ---------- */
.cookie-fab {
  position: fixed; left: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2); z-index: 70; transition: transform .3s var(--ease);
}
.cookie-fab:hover { transform: rotate(-20deg) scale(1.1); }
.cookie-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%);
  width: min(760px, calc(100% - 40px)); background: #fff; border-left: 4px solid var(--red);
  padding: 16px 50px 16px 20px; font-size: 13.5px; box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  transition: transform .5s var(--ease); z-index: 80;
}
.cookie-bar.show { transform: translate(-50%, 0); }
.cookie-bar a { color: var(--red); text-decoration: underline; }
.cookie-bar__close { position: absolute; right: 14px; top: 12px; background: none; border: 0; font-size: 18px; cursor: pointer; color: #777; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .header__left { gap: 24px; }
  .tests { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .test:nth-child(3) { border-left: 0; }
  .social a { width: 110px; }
}
@media (max-width: 820px) {
  .lang, .header__actions .btn:not(.btn--solid) { display: none; }
  .header__actions .btn--solid { padding: 5px 16px; }
  .burger { display: block; }
  .nav { display: none; flex-direction: column; }
  .nav.open { display: flex; }
  .nav__link { padding: 14px 4px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; display: none; background: transparent; }
  .nav__item.open .dropdown { display: block; }
  .features { grid-template-columns: 1fr; }
  .course { grid-template-columns: 1fr; padding: 24px 6px; }
  .course .btn { justify-self: start; margin: 0; }
  .hero { height: 300px; background-position: 70% center; }
  .hero h1 { font-size: 30px; }
  .hero::before { background: linear-gradient(90deg, rgba(232, 232, 232, .95) 0%, rgba(232, 232, 232, .6) 70%, rgba(232, 232, 232, .2) 100%); }
  .title { font-size: 28px; }
  .video__logo { display: none; }
}
@media (max-width: 560px) {
  .logo__text { display: none; }
  .tests { grid-template-columns: 1fr; }
  .test { border-left: 0; }
  .social a { width: 60px; }
  .footer__btns .btn { min-width: 100%; }
}

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-card {
  background: #ffffff; width: 100%; max-width: 740px; max-height: 90vh;
  overflow-y: auto; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  border-top: 5px solid var(--red); padding: 34px 40px; position: relative;
  transform: translateY(20px); transition: transform .3s var(--ease);
}
.modal-backdrop.active .modal-card { transform: translateY(0); }

.modal-close {
  position: absolute; top: 16px; right: 18px; width: 36px; height: 36px;
  background: #f0f0f0; border: 0; border-radius: 50%; font-size: 20px;
  line-height: 1; color: #555; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--red); color: #fff; }

.modal-header { margin-bottom: 24px; padding-right: 30px; }
.modal-title { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 6px; line-height: 1.25; }
.modal-subtitle { font-size: 14.5px; color: #666; line-height: 1.45; }

/* Verify form */
.verify-form { display: flex; gap: 10px; margin-top: 18px; }
.verify-input {
  flex: 1; padding: 12px 16px; font-size: 15px; border: 2px solid #ccc;
  border-radius: 4px; font-family: inherit; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.verify-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196, 48, 60, .15); }
.verify-btn {
  padding: 12px 26px; font-weight: 700; font-size: 14px; text-transform: uppercase;
  background: var(--red); color: #fff; border: 2px solid var(--red);
  border-radius: 4px; cursor: pointer; transition: background .2s, transform .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.verify-btn:hover { background: var(--red-dark); }
.verify-btn:disabled { opacity: .7; cursor: not-allowed; }

.sample-codes { margin-top: 14px; font-size: 13px; color: #777; }
.sample-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.sample-tag {
  background: #f1f3f5; padding: 4px 10px; border-radius: 4px; border: 1px solid #dce2e6;
  font-family: monospace; font-size: 12px; color: #333; cursor: pointer; transition: background .2s, color .2s;
}
.sample-tag:hover { background: #feecee; color: var(--red); border-color: #f7aab1; }

/* Verification Result Box */
.cert-result {
  margin-top: 26px; padding: 24px; border-radius: 6px; background: #fafbfc;
  border: 1px solid #e1e4e8; display: none; animation: fadeUp .35s ease both;
}
.cert-result.show { display: block; }
.cert-result--error { background: #fff5f5; border-color: #feb2b2; }

.cert-badge-status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; padding: 6px 14px; border-radius: 30px;
  background: #e6f7ec; color: #1e7e34; border: 1px solid #a3e0b5; margin-bottom: 18px;
}
.cert-badge-status svg { width: 16px; height: 16px; fill: currentColor; }

.cert-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px;
  padding-bottom: 20px; border-bottom: 1px solid #e5e5e5; margin-bottom: 20px;
}
.cert-meta-item { font-size: 13.5px; }
.cert-meta-label { color: #777; text-transform: uppercase; font-size: 11px; letter-spacing: .5px; margin-bottom: 2px; }
.cert-meta-value { color: #111; font-weight: 600; font-size: 14.5px; }

.cert-level-banner {
  background: linear-gradient(135deg, #1b3d4f, #2a5f78);
  color: #fff; padding: 18px 24px; border-radius: 6px; display: flex;
  align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.cert-level-text { font-size: 14px; opacity: .9; }
.cert-level-text b { display: block; font-size: 20px; color: #fff; }
.cert-level-pill {
  font-size: 28px; font-weight: 900; background: #fff; color: #1b3d4f;
  padding: 4px 18px; border-radius: 8px; letter-spacing: 0.5px;
}

.cert-skills { display: flex; flex-direction: column; gap: 12px; }
.cert-skill-row {
  display: grid; grid-template-columns: 140px 1fr 60px 45px; gap: 12px;
  align-items: center; font-size: 13px;
}
.cert-skill-name { font-weight: 600; color: #333; }
.cert-bar-track { height: 10px; background: #e9ecef; border-radius: 5px; overflow: hidden; }
.cert-bar-fill { height: 100%; border-radius: 5px; background: var(--red); transition: width 1s ease; }
.cert-skill-score { font-family: monospace; font-weight: 600; color: #444; text-align: right; }
.cert-skill-badge {
  font-weight: 700; font-size: 11px; padding: 2px 6px; border-radius: 4px;
  background: #333; color: #fff; text-align: center;
}

.cert-footer-info {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed #ddd; font-size: 12px; color: #888;
}

/* Booking modal form */
.booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.booking-field { display: flex; flex-direction: column; gap: 6px; }
.booking-field--full { grid-column: span 2; }
.booking-field label { font-size: 13px; font-weight: 600; color: #333; }
.booking-field input, .booking-field select, .booking-field textarea {
  padding: 10px 14px; font-size: 14px; border: 1.5px solid #ccc;
  border-radius: 4px; font-family: inherit; outline: none; transition: border-color .2s;
}
.booking-field input:focus, .booking-field select:focus, .booking-field textarea:focus { border-color: var(--red); }
.booking-submit-btn {
  grid-column: span 2; margin-top: 8px; padding: 13px; background: var(--red);
  color: #fff; border: 0; border-radius: 4px; font-weight: 700; font-size: 15px;
  text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.booking-submit-btn:hover { background: var(--red-dark); }
.booking-alert {
  padding: 14px 18px; border-radius: 4px; font-size: 14px; margin-bottom: 16px; display: none; line-height: 1.5;
}
.booking-alert.show { display: block; }
.booking-alert--success, .booking-alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.booking-alert--error, .booking-alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.booking-alert--info, .booking-alert.info { background: #e8f4fd; color: #0c5460; border: 1px solid #bee5eb; }

@media (max-width: 600px) {
  .cert-grid { grid-template-columns: 1fr; }
  .cert-skill-row { grid-template-columns: 100px 1fr 45px 35px; font-size: 12px; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-field--full { grid-column: span 1; }
  .booking-submit-btn { grid-column: span 1; }
  .verify-form { flex-direction: column; }
}

/* ==============================================================
   COMPROBAR CERTIFICADO DEDICATED PAGE & HERO BANNER
   ============================================================== */
.cc-hero {
  background: #e0e0df url('../images/headerComprobarCertificado.jpg') no-repeat center center;
  background-size: cover;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 20px;
  border-bottom: 1px solid #d8d8d8;
}
.cc-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cc-title {
  font-family: 'Yantramanav', 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 38px;
  color: #d62538;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.cc-subtitle {
  font-size: 16px;
  color: #333;
  margin-bottom: 14px;
  font-weight: 400;
}
.cc-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 440px;
}
.cc-input {
  width: 100%;
  max-width: 380px;
  height: 44px;
  padding: 8px 16px;
  font-size: 16px;
  border: 1px solid #777;
  background: #fff;
  border-radius: 2px;
  text-align: center;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.cc-input:focus {
  border-color: #d62538;
  outline: none;
}
.cc-btn-submit {
  min-width: 240px;
  height: 46px;
  background: rgba(235, 235, 235, 0.95);
  border: 3px solid #d62538;
  color: #000;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.cc-btn-submit:hover {
  background: #d62538;
  color: #fff;
}
.cc-btn-submit:disabled {
  opacity: .8;
  cursor: wait;
}
.cc-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(214, 37, 56, 0.25);
  border-top-color: #d62538;
  border-radius: 50%;
  animation: ccSpin 0.75s linear infinite;
}
@keyframes ccSpin {
  to { transform: rotate(360deg); }
}
.cc-result-section {
  max-width: 860px;
  margin: 30px auto 50px;
  padding: 0 20px;
  display: none;
}
.cc-result-section.show {
  display: block;
  animation: fadeIn .3s ease;
}
.cc-actions-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px auto 20px;
  max-width: 600px;
}
.cc-action-btn {
  display: inline-block;
  padding: 10px 32px;
  border: 2px solid #d62538;
  color: #111;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: #fff;
  transition: all .2s;
}
.cc-action-btn:hover {
  background: #d62538;
  color: #fff;
}
@media (max-width: 768px) {
  .cc-hero {
    background: #e0e0df url('../images/headerComprobarCertificado_mobile.jpg') no-repeat center center;
    background-size: cover;
    min-height: 440px;
  }
  .cc-title { font-size: 26px; }
  .cc-input { max-width: 90%; }
  .cc-actions-row { flex-direction: column; align-items: center; gap: 12px; }
}


/* ==============================================================
   HOME PAGE (INICIO / BOSH SAHIFA) STYLES
   ============================================================== */

/* ---------- Hero Rotator ---------- */
.home-rotator {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 19 / 9;
  max-height: 520px;
  background: #eee;
  user-select: none;
}
.home-rotator__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}
.home-rotator__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}
.home-rotator__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  display: block;
}
.home-rotator__overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(48%, 560px);
  background: linear-gradient(to right, rgba(245,245,247,0.96) 0%, rgba(245,245,247,0.85) 65%, rgba(245,245,247,0) 100%);
  z-index: 1;
  pointer-events: none;
}
.home-rotator__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 5vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
}
.home-rotator__box {
  max-width: 500px;
}
.home-rotator__title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: #d62538;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.home-rotator__sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}
.home-rotator__btn {
  display: inline-block;
  padding: 10px 24px;
  background: #d62538;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #d62538;
  transition: all .2s ease;
  text-decoration: none;
}
.home-rotator__btn:hover {
  background: #fff;
  color: #d62538;
}
.home-rotator__arrow {
  position: absolute;
  bottom: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #d0d0d2;
  background: rgba(238, 238, 239, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  transition: background .2s;
}
.home-rotator__arrow:hover {
  background: #e0e0e3;
}
.home-rotator__arrow--prev {
  left: clamp(20px, 5vw, 64px);
}
.home-rotator__arrow--next {
  left: calc(clamp(20px, 5vw, 64px) + 54px);
}
.home-rotator__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.home-rotator__dot {
  width: 12px;
  height: 12px;
  border: 1px solid #d62538;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.home-rotator__dot.active {
  background: #d62538;
}

@media (max-width: 900px) {
  .home-rotator {
    aspect-ratio: auto;
    height: 400px;
  }
}
@media (max-width: 640px) {
  .home-rotator {
    height: 340px;
  }
  .home-rotator__overlay {
    width: 100%;
    background: linear-gradient(to top, rgba(245,245,247,0.98) 0%, rgba(245,245,247,0.85) 60%, rgba(245,245,247,0.2) 100%);
  }
  .home-rotator__content {
    justify-content: flex-end;
    padding: 20px;
  }
  .home-rotator__arrow {
    display: none;
  }
  .home-rotator__dots {
    bottom: 12px;
  }
}

/* ---------- 4 Info Cards ---------- */
.home-info-section {
  padding: 40px 0;
}
.home-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-info-card {
  background: #fff;
  border-radius: 4px;
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.home-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.home-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 5px;
}
.home-info-card:nth-child(1)::before { background-color: #11626d; }
.home-info-card:nth-child(2)::before { background-color: #a98a2e; }
.home-info-card:nth-child(3)::before { background-color: #6f1514; }
.home-info-card:nth-child(4)::before { background-color: #612c7a; }

.home-info-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #333;
  margin-top: 10px;
  margin-bottom: 24px;
}
.home-info-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.home-info-card:nth-child(1) .home-info-link:hover { color: #11626d; border-color: #11626d; }
.home-info-card:nth-child(2) .home-info-link:hover { color: #a98a2e; border-color: #a98a2e; }
.home-info-card:nth-child(3) .home-info-link:hover { color: #6f1514; border-color: #6f1514; }
.home-info-card:nth-child(4) .home-info-link:hover { color: #612c7a; border-color: #612c7a; }

@media (max-width: 992px) {
  .home-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .home-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Objetivo SIELE Section ---------- */
.home-prep-section {
  padding: 30px 0 50px;
}
.home-prep-card {
  background: #f7f7f8;
  border-radius: 4px;
  padding: clamp(30px, 4vw, 50px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.home-prep-text .subtitulo {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.home-prep-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  color: #d62538;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.home-prep-text .btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #d62538;
  color: #111;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s ease;
}
.home-prep-text .btn-outline:hover {
  background: #d62538;
  color: #fff;
}
.home-prep-image {
  text-align: center;
}
.home-prep-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
@media (max-width: 820px) {
  .home-prep-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-prep-image {
    order: -1;
  }
}

/* ---------- Centers Banner Section ---------- */
.home-centers-section {
  padding: 40px 0 60px;
  text-align: center;
}
.home-centers-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 300;
  color: #d62638;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.home-centers-sub {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}
.home-centers-map {
  display: block;
  max-width: 860px;
  margin: 0 auto 30px;
  transition: transform .3s ease;
}
.home-centers-map:hover {
  transform: scale(1.02);
}
.home-centers-map img {
  width: 100%;
  border-radius: 4px;
}
.home-centers-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid #d62538;
  color: #111;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s ease;
}
.home-centers-btn:hover {
  background: #d62538;
  color: #fff;
}

/* ---------- Associated Universities Marquee ---------- */
.home-unis-section {
  padding: 50px 0 60px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.home-unis-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.home-unis-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}
.home-unis-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}
.home-unis-marquee:hover .home-unis-track {
  animation-play-state: paused;
}
.home-unis-item {
  flex: 0 0 auto;
  height: 84px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e0e0e0;
}
.home-unis-item img {
  max-height: 70px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.88;
  transition: opacity .25s ease, transform .25s ease;
}
.home-unis-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.home-unis-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 8px 30px;
  background: #d62538;
  color: #fff;
  border: 2px solid #d62538;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}
.home-unis-btn:hover {
  background: #fff;
  color: #d62538;
}

/* ---------- Experiencias Testimonials Rotator ---------- */
.home-exp-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #065f66;
  color: #fff;
  min-height: 270px;
  display: flex;
  align-items: center;
  user-select: none;
}
.home-exp-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.22, .61, .36, 1);
}
.home-exp-slide {
  min-width: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.home-exp-slide.azul { background: #065f66; }
.home-exp-slide.morado { background: #642a73; }
.home-exp-slide.amarillo { background: #b78d22; }
.home-exp-slide.rojo { background: #7a1111; }

.home-exp-slide::before,
.home-exp-slide::after {
  content: "“";
  position: absolute;
  font-size: 160px;
  line-height: 0.6;
  opacity: 0.15;
  font-family: serif;
  pointer-events: none;
}
.home-exp-slide::before {
  left: 8%;
  top: 30%;
}
.home-exp-slide::after {
  content: "”";
  right: 8%;
  bottom: 20%;
}

.home-exp-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 860px;
  margin-bottom: 18px;
}
.home-exp-author {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.home-exp-role {
  font-size: 14px;
  opacity: 0.85;
}
.home-exp-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.home-exp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .2s;
}
.home-exp-dot.active {
  background: #fff;
}

/* ==============================================================
   PAGES: EXAMENES, CONOCE SIELE, CENTROS, LOGIN, AYUDA
   ============================================================== */

/* ---------- Generic Page Banner ---------- */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 240px;
  display: flex;
  align-items: center;
  color: #fff;
}
.page-hero--examenes {
  background-image: url('../images/examenes_hero.png');
}
.page-hero--conoce {
  background-image: url('../images/conoce_hero.png');
}
.page-hero--centros {
  background: linear-gradient(135deg, #1d2d3a 0%, #11626d 100%);
}
.page-hero--ayuda {
  background: linear-gradient(135deg, #7a1111 0%, #d62538 100%);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}
.page-hero__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 720px;
}
.page-hero__sub {
  font-size: 16px;
  margin-top: 8px;
  opacity: 0.95;
}

/* ---------- Exámenes Page ---------- */
.exam-section {
  padding: 50px 0;
}
.exam-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}
.exam-intro h2 {
  font-size: 32px;
  color: #d62538;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.exam-intro p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.exam-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.exam-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.exam-card h3 {
  font-size: 24px;
  color: #d62538;
  font-weight: 400;
  margin-bottom: 14px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}
.exam-card p {
  font-size: 14.5px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.exam-skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.exam-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.exam-badge.cl { background: #e7ad68; }
.exam-badge.ca { background: #9ca98d; }
.exam-badge.eie { background: #6fa0b4; }
.exam-badge.eio { background: #9d8675; }

.indep-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.indep-item {
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.indep-code {
  font-weight: 900;
  font-size: 16px;
  color: #d62538;
  min-width: 45px;
}
.indep-desc {
  font-size: 13.5px;
  color: #333;
  flex: 1;
}

.exam-actions-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px auto 60px;
}

/* 4 Pruebas Specific Breakdown */
.pruebas-section {
  padding: 50px 0;
  background: #f7f7f8;
}
.pruebas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.prueba-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.prueba-header {
  padding: 16px 20px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.prueba-header.cl { background: #e7ad68; }
.prueba-header.ca { background: #9ca98d; }
.prueba-header.eie { background: #6fa0b4; }
.prueba-header.eio { background: #9d8675; }

.prueba-body {
  padding: 24px 20px;
}
.prueba-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  text-align: center;
}
.prueba-meta-item {
  background: #fbfbfb;
  border: 1px solid #f0f0f0;
  padding: 8px 4px;
  border-radius: 4px;
}
.prueba-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #777;
  display: block;
}
.prueba-meta-val {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}
.prueba-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Scoring MCER Tables */
.scale-section {
  padding: 50px 0 60px;
}
.scale-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: #222;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: #d62538;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.siele-tables {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.siele-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e8e8e8;
}
.siele-table th {
  padding: 14px 12px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.3px;
}
.siele-table.reading th { background: #e7ad68; }
.siele-table.listening th { background: #9ca98d; }
.siele-table.writing th { background: #6fa0b4; }
.siele-table.speaking th { background: #9d8675; }
.siele-table td {
  padding: 11px 14px;
  text-align: center;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #efefef;
}
.siele-table tr:nth-child(even) td {
  background: #fafafa;
}
.siele-table td:last-child {
  font-weight: 700;
  color: #d62538;
}
.siele-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 992px) {
  .siele-tables {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .siele-tables {
    grid-template-columns: 1fr;
  }
}

/* ---------- Conoce SIELE Page ---------- */
.conoce-about {
  padding: 60px 0;
}
.conoce-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}
.conoce-text h2 {
  font-size: 32px;
  color: #d62538;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.conoce-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
}
.conoce-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.conoce-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #444;
}
.conoce-list svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: #d62538;
  margin-top: 2px;
}
.conoce-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* Fortalezas */
.fortalezas-section {
  padding: 50px 0 70px;
  background: #f7f7f8;
}
.fortalezas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.fortaleza-card {
  background: #fff;
  border-radius: 6px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fortaleza-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.fortaleza-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform .35s var(--ease);
}
.fortaleza-card:hover .fortaleza-icon {
  transform: scale(1.08) rotate(-5deg);
}
.fortaleza-icon svg {
  width: 34px;
  height: 34px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fortaleza-card:nth-child(1) .fortaleza-icon { background: #3d8088; }
.fortaleza-card:nth-child(2) .fortaleza-icon { background: #76685f; }
.fortaleza-card:nth-child(3) .fortaleza-icon { background: #945151; }
.fortaleza-card:nth-child(4) .fortaleza-icon { background: #c4b06f; }
.fortaleza-card:nth-child(5) .fortaleza-icon { background: #87609b; }

.fortaleza-card h4 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.fortaleza-card:nth-child(1) h4 { color: #3d8088; }
.fortaleza-card:nth-child(2) h4 { color: #76685f; }
.fortaleza-card:nth-child(3) h4 { color: #945151; }
.fortaleza-card:nth-child(4) h4 { color: #c4b06f; }
.fortaleza-card:nth-child(5) h4 { color: #87609b; }

.fortaleza-card p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.45;
}

/* Instituciones Titulares Cards */
.titulares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 35px;
}
.titular-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.titular-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.09);
}
.titular-card__banner {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
}
.titular-card__banner--cervantes { background: linear-gradient(135deg, #d62538 0%, #a81928 100%); }
.titular-card__banner--unam { background: linear-gradient(135deg, #002b49 0%, #001a2e 100%); }
.titular-card__banner--salamanca { background: linear-gradient(135deg, #872828 0%, #631b1b 100%); }
.titular-card__banner--uba { background: linear-gradient(135deg, #23527c 0%, #163754 100%); }
.titular-card__banner img {
  max-height: 76px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.titular-card__body {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.titular-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}
.titular-card__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}
@media (max-width: 992px) {
  .titulares-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .titulares-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Encuentra tu Centro ---------- */
.centros-search-bar {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 16px;
  margin: -35px auto 40px;
  max-width: 960px;
  position: relative;
  z-index: 10;
}
.centros-search-input, .centros-select {
  padding: 12px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.centros-search-input:focus, .centros-select:focus {
  border-color: #d62538;
}
.centros-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.center-card {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid #ebebeb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.center-card h4 {
  font-size: 16px;
  color: #111;
  margin-bottom: 6px;
}
.center-card .center-loc {
  font-size: 13px;
  color: #d62538;
  font-weight: 700;
  margin-bottom: 12px;
}
.center-card .center-address {
  font-size: 13.5px;
  color: #666;
  line-height: 1.45;
  margin-bottom: 16px;
}
.center-card .center-btn {
  background: #fff;
  border: 2px solid #d62538;
  color: #d62538;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.center-card .center-btn:hover {
  background: #d62538;
  color: #fff;
}

/* ---------- Login Portal ---------- */
.login-container {
  max-width: 460px;
  margin: 50px auto 80px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}
.login-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
}
.login-tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  background: #f7f7f8;
  color: #777;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all .2s;
}
.login-tab.active {
  background: #fff;
  color: #d62538;
  border-bottom: 3px solid #d62538;
}
.login-body {
  padding: 32px;
}
.login-body h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 6px;
}
.login-body p.sub {
  font-size: 13.5px;
  color: #666;
  margin-bottom: 24px;
}
.login-field {
  margin-bottom: 18px;
}
.login-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.login-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14.5px;
  outline: none;
}
.login-field input:focus {
  border-color: #d62538;
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 24px;
}
.login-options a {
  color: #d62538;
  text-decoration: underline;
}
.login-submit-btn {
  width: 100%;
  padding: 12px;
  background: #d62538;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.login-submit-btn:hover {
  background: #9e1f2b;
}
.login-footer-text {
  text-align: center;
  margin-top: 24px;
  font-size: 13.5px;
  color: #666;
}
.login-footer-text a {
  color: #d62538;
  font-weight: 700;
}

/* ---------- Ayuda & FAQ ---------- */
.faq-section {
  padding: 50px 0;
}
.faq-accordion {
  max-width: 860px;
  margin: 0 auto 50px;
}
.faq-item {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: #fff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}
.faq-question:hover {
  background: #fdfdfd;
  color: #d62538;
}
.faq-icon {
  font-size: 20px;
  transition: transform .25s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: #555;
  font-size: 14.5px;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.contact-section {
  background: #f7f7f8;
  padding: 50px 0 70px;
}
.contact-card {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.contact-card h3 {
  font-size: 24px;
  color: #d62538;
  margin-bottom: 8px;
}
.contact-card p.sub {
  font-size: 14.5px;
  color: #666;
  margin-bottom: 24px;
}

/* Responsiveness */
@media (max-width: 992px) {
  .exam-grid-2col, .pruebas-grid, .conoce-grid {
    grid-template-columns: 1fr;
  }
  .fortalezas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .centros-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .centros-search-bar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .fortalezas-grid, .centros-results-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================
   OFFICIAL HEADER LOGGED-IN USER WIDGET (#userName + #menuuser)
   ============================================================== */
.siele-head-user {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.siele-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #333;
  user-select: none;
  transition: color 0.2s;
}

.siele-user-trigger:hover {
  color: #d62538;
}

.siele-user-trigger #userName {
  font-weight: 400;
  color: #333;
}

.siele-user-trigger img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.siele-user-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 165px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 9999;
}

.siele-user-dropdown .menudearriba_submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.siele-user-dropdown .menudearriba_submenu_li {
  border-bottom: 1px solid #eeeeee;
}

.siele-user-dropdown .menudearriba_submenu_li:last-child {
  border-bottom: none;
}

.siele-user-dropdown .menudearriba_submenu_li a {
  display: block;
  padding: 10px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.siele-user-dropdown .menudearriba_submenu_li a:hover {
  background: #f5f5f5;
  color: #d62538;
}

/* ==============================================================
   OFFICIAL /portallogin PAGE STYLES
   ============================================================== */
.siele-portallogin-banner {
  position: relative;
  width: 100%;
  height: 410px;
  overflow: hidden;
  background: #222;
}

.siele-portallogin-banner img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.siele-portallogin-banner .textoHome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

.siele-portallogin-banner .textoHome h1 {
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.18;
  max-width: 480px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.siele-portallogin-main {
  background: #ffffff;
  padding: 10px 15px 60px;
}

.siele-portallogin-intro {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  text-align: center;
  color: #333;
  margin: 30px auto;
}

.siele-portlet-login-box {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #d5d5d5;
  background: #fff;
}

.siele-portlet-login-box .portlet-topper {
  background: #d9d9d9;
  padding: 6px 12px;
  border-bottom: 1px solid #ccc;
}

.siele-portlet-login-box .portlet-title-text {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.siele-portlet-login-box .portlet-body {
  padding: 20px 18px 16px;
}

.siele-portlet-login-box .aui-field {
  display: block;
  margin-bottom: 12px;
}

.siele-portlet-login-box .aui-field-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #000;
  margin-bottom: 4px;
}

.siele-portlet-login-box .aui-field-input-text {
  width: 220px;
  max-width: 100%;
  height: 28px;
  padding: 3px 6px;
  font-size: 14px;
  border: 1px solid #bbb;
  background: #fff;
  color: #333;
}

.siele-portlet-login-box .aui-button-holder {
  margin-top: 14px;
}

.siele-portlet-login-box .aui-button-input-submit {
  padding: 4px 12px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #f2f2f2;
  border: 1px solid #b5b5b5;
  border-radius: 2px;
  cursor: pointer;
}

.siele-portlet-login-box .aui-button-input-submit:hover {
  background: #e4e4e4;
}

.siele-portlet-login-box .navigation {
  text-align: center;
  margin: 20px 0 30px;
  font-size: 15px;
}

.siele-portlet-login-box .navigation a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d62538;
  text-decoration: none;
}

.siele-portlet-login-box .navigation a:hover {
  text-decoration: underline;
}

.siele-portallogin-bottom {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  text-align: center;
  color: #333;
  margin: 30px auto 10px;
  line-height: 1.5;
}

.siele-portallogin-bottom a {
  color: #d62538;
  text-decoration: none;
}

.siele-portallogin-bottom a:hover {
  text-decoration: underline;
}

.siele-portlet-msg-error {
  background: #ffefef;
  border: 1px solid #ff0000;
  color: #c00;
  padding: 8px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
}

.siele-portlet-msg-success {
  background: #f4fdef;
  border: 1px solid #acdfa7;
  color: #38761d;
  padding: 8px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
}

/* ==============================================================
   OFFICIAL /mi-pagina (CANDIDATE PERSONAL SPACE) STYLES
   ============================================================== */
.siele-mipagina-banner {
  position: relative;
  width: 100%;
  height: 300px;
  background: url('../images/portal/mi_perfil_banner.png') no-repeat center center / cover;
  display: flex;
  align-items: center;
}

.siele-mipagina-banner .textoHome {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}

.siele-mipagina-banner h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 42px;
  line-height: 1.2;
  color: #d62538;
  font-weight: 400;
  max-width: 480px;
  margin: 0;
  text-transform: uppercase;
}

.siele-mipagina-columns {
  max-width: 1170px;
  margin: 0 auto;
  padding: 30px 15px 70px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.siele-mipagina-col-left {
  width: 38%;
  flex: 0 0 38%;
}

.siele-mipagina-col-right {
  width: 62%;
  flex: 1;
  border-left: 1px solid #d8d8d8;
  padding-left: 30px;
}

.siele-portlet-box {
  border: 1px solid #dcdcdc;
  background: #ffffff;
  margin-bottom: 28px;
}

.siele-portlet-box .portlet-topper {
  background: #d9d9d9;
  padding: 7px 14px;
  border-bottom: 1px solid #cccccc;
}

.siele-portlet-box .portlet-title-text {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  color: #333;
}

.siele-portlet-box .portlet-body {
  padding: 20px 22px;
}

.siele-myprofile-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 16px;
}

.miperfil-datos {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}

.miperfil-datos .label {
  font-weight: 700;
  color: #000;
}

.miperfil-datos .label_contenido {
  font-weight: 700;
  color: #000;
}

.siele-profile-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.siele-outline-red-btn {
  border: 3px solid #d62538;
  padding: 5px 30px;
  color: #000;
  background: transparent;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.siele-outline-red-btn:hover {
  background: #d62538;
  color: #fff;
}

/* Direct Access Links */
.separador_mypage {
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
}

.separador_mypage:last-child {
  border-bottom: none;
}

.separador_mypage a {
  color: #d62538;
  font-size: 14px;
  text-decoration: none;
}

.separador_mypage a:hover {
  text-decoration: underline;
}

/* My Exams list */
.list-certifications {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-certifications > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 10px;
  border-bottom: 1px solid #ededed;
}

.list-certifications .table-course-img img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.list-certifications .nameCourse {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
  color: #333;
}

.list-certifications .statusCourse {
  font-size: 14px;
  color: #333;
  margin-right: 16px;
}

.list-certifications .optionCourse {
  position: relative;
}

.siele-actions-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #e8e8e8;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}

.siele-actions-btn:hover {
  background: #dcdcdc;
}

.siele-actions-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 225px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 1000;
}

.siele-actions-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

.siele-actions-menu li a:hover {
  background: #f2f2f2;
  color: #d62538;
}

.siele-actions-menu li a img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* My Courses list */
.mycourses-table {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mycourses-table .table-course-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px;
}

.mycourses-table .table-course-img img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.mycourses-table .nameCourse {
  flex: 1;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

.mycourses-table .botonAcess a.course-title {
  display: inline-block;
  border: 3px solid #d62538;
  padding: 5px 22px;
  color: #000;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mycourses-table .botonAcess a.course-title:hover {
  background: #d62538;
  color: #fff;
}

/* Reservation Details Inline View */
.siele-res-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.siele-res-header .header-back-to {
  align-self: flex-end;
  font-size: 13px;
}

.siele-res-header .header-back-to a {
  color: #d62538;
  text-decoration: none;
  font-weight: 700;
}

.siele-res-header .header-back-to a:hover {
  text-decoration: underline;
}

.siele-res-header .header-title {
  font-size: 22px;
  font-weight: 400;
  color: #333;
  margin: 4px 0 0;
}

.siele-res-section-title {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  background-color: #353f4b;
  color: #fff;
  padding: 12px 15px;
  margin: 14px 0 8px;
}

.siele-res-row {
  padding: 2px 10px;
  font-size: 14px;
  color: #222;
}

.siele-res-row label {
  font-weight: 700;
  display: inline;
}

.siele-res-total {
  font-size: 19px;
  font-weight: 700;
  margin: 14px 10px;
  color: #222;
}

.siele-res-chart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.siele-res-chart-table td {
  padding: 4px 10px;
  font-size: 14px;
  text-align: center;
  width: 25%;
}

/* Edit Profile / Change Password Form inside Mi perfil */
.siele-edit-form .aui-field {
  display: block;
  margin-bottom: 12px;
}

.siele-edit-form .aui-field-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #000;
  margin-bottom: 4px;
}

.siele-edit-form .aui-field-input-text {
  width: 94%;
  height: 28px;
  padding: 3px 8px;
  font-size: 14px;
  border: 1px solid #bbb;
}

.siele-edit-form .aui-field-input-text[disabled] {
  background: #efefef;
  color: #666;
}

.siele-edit-form .siele-bday-selects {
  display: flex;
  gap: 6px;
}

.siele-edit-form .siele-bday-selects select {
  height: 28px;
  font-size: 13px;
  border: 1px solid #bbb;
  background: #fff;
}

.siele-edit-form .buttons {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

@media (max-width: 900px) {
  .siele-mipagina-columns {
    flex-direction: column;
  }
  .siele-mipagina-col-left,
  .siele-mipagina-col-right {
    width: 100%;
    flex: 1 1 100%;
    border-left: none;
    padding-left: 0;
  }
  .siele-portallogin-banner {
    height: 280px;
  }
  .siele-portallogin-banner img {
    height: 280px;
  }
  .siele-portallogin-banner .textoHome h1,
  .siele-mipagina-banner h1 {
    font-size: 28px;
  }
}
