:root {
  --blue: #0b3a66;
  --orange: #f7941d;
  --light: #ffffff;
  --light-alt: #f4f6f8;
  --gray: #333;
  --font: 'Montserrat', sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  color: var(--gray);
  line-height: 1.6;
}

/* ================= LAYOUT ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 80px 0;
}

.section.light {
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--blue);
}

/* ================= TOPBAR ================= */
.topbar {
  background: #002b55;
  color: #fff;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

/* ================= HEADER ================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 52px;
}

/* ================= NAV DESKTOP ================= */
.main-nav {
  display: flex;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 500;
  white-space: nowrap;
}

.btn-header {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
}

/* ================= SUBMENÚ ================= */
.submenu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  min-width: 220px;
  display: none;
  z-index: 2000;
}

.submenu li {
  border-bottom: 1px solid #eee;
}

.submenu li:last-child {
  border-bottom: none;
}

.submenu a {
  padding: 12px 16px;
  display: block;
  color: var(--blue);
}

.has-submenu:hover .submenu {
  display: block;
}

/* ================= HAMBURGER ================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--blue);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  background: url("../img/hero-formacion-marista.png") center / cover no-repeat;
  min-height: 480px;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 58, 99, 0.65);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 480px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 44px;
  margin-bottom: 15px;
  color: #fff;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #fff;
}

/* ================= BUTTONS ================= */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  animation: floatBtn 3s ease-in-out infinite;
}

@keyframes floatBtn {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.btn-primary:hover {
  background: #e07f16;
}

.btn-secondary {
  background: var(--blue);
  color: #fff;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 6px;
  text-align: center;
}

/*.card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}*/

/* ================= CONTACT ================= */
.contact {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
}

.contact-cta {
  background: var(--orange);
  color: #fff;
  padding: 40px;
  border-radius: 6px;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--blue);
  color: #fff;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    border-top: 1px solid #eee;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid #eee;
  }

  .main-nav a {
    padding: 14px 20px;
    display: block;
  }

  .submenu {
    position: static;
    box-shadow: none;
    display: none;
  }

  .has-submenu.open .submenu {
    display: block;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 32px;
  }
}
/* ================= NAV DESKTOP ================= */

.main-nav {
  display: flex;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ================= SUBMENUS DESKTOP ================= */

.has-submenu:hover > .submenu {
  display: block;
}

/* ================= NAV MOBILE ================= */

@media (max-width: 992px) {

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    width: 100%;
  }

  /* Submenu mobile */
  .submenu {
    display: none;
    padding-left: 0;
  }

  .has-submenu.open > .submenu {
    display: block;
  }

  .submenu li {
    padding-left: 20px;
    background: #f9f9f9;
  }
}
/* ===== FIX DROPDOWN DESKTOP ===== */

.main-nav li {
  position: relative;
}

.main-nav .submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.main-nav li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu {
  top: 100%;
  left: 0;
  margin-top: 8px;
}
@media (max-width: 992px) {
  .main-nav .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
.section.alt {
  background: var(--light-alt);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.card {
  text-align: center;
  padding: 20px;
}

.card-icon {
  height: 120px;
  margin-bottom: 20px;
}

.card h3 {
  color: #0b3c6d;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card-icon {
    height: 100px;
  }
}
/* ================= QUIÉNES SOMOS – Hover Cards ================= */

.cards .card {
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  border: 1px solid #eee;
  background: #fff;
  position: relative;
}

.cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11, 58, 102, 0.15);
  border-color: var(--orange);
}

/* Icono / imagen */
.card-icon {
  width: 90px;
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.35s ease;
}

.cards .card:hover .card-icon {
  transform: scale(1.08);
}

/* Título */
.cards .card h3 {
  transition: color 0.3s ease;
}

.cards .card:hover h3 {
  color: var(--orange);
}

/* Línea decorativa inferior */
.cards .card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.35s ease, left 0.35s ease;
}

.cards .card:hover::after {
  width: 60%;
  left: 20%;
}
/* ================= CARRERAS ================= */

.cards.careers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.career-card {
  padding: 0;
  text-decoration: none;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.career-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(11, 58, 102, 0.18);
}

/* Imagen */
.career-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.career-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.career-card:hover .career-image img {
  transform: scale(1.08);
}

/* Overlay institucional */
.career-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 58, 102, 0.1),
    rgba(11, 58, 102, 0.85)
  );
}

/* Contenido */
.career-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  z-index: 2;
}

.career-content h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}

.career-content span {
  font-size: 14px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .cards.careers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .cards.careers {
    grid-template-columns: 1fr;
  }

  .career-image {
    height: 200px;
  }
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card-link:hover h3 {
  color: var(--primary);
}
/* ================= QUIÉNES SOMOS – Fix alineación ================= */

.cards .card {
  align-items: center;
  text-align: center;
}

.cards .card img.card-icon {
  display: block;
  margin: 0 auto 20px auto;
}
.hero-badge {
  margin-top: 25px;
  display: inline-block;
  padding: 10px 18px;
  background: rgba(255,255,255,0.15);
  border-left: 4px solid var(--orange);
  font-size: 15px;
  color: #fff;
  backdrop-filter: blur(4px);
}

.hero-badge strong {
  font-weight: 700;
  margin-right: 6px;
}
/* Contact form improvements */

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.contact-form h2 {
  margin-bottom: 25px;
  color: var(--blue);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.25s ease;
  background: #fafafa;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,58,102,0.08);
}

.btn-submit {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}
/* ================= CONTACT CTA con imagen ================= */

.contact-cta {
  position: relative;
  background: url("../img/contacto-proyecto-educativo.jpg") center / cover no-repeat;
  color: #fff;
  padding: 50px 40px;
  border-radius: 10px;
  overflow: hidden;
}

/* Overlay institucional */
.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,58,102,0.9),
    rgba(11,58,102,0.65)
  );
}

/* Contenido por encima del overlay */
.contact-cta * {
  position: relative;
  z-index: 2;
}

.contact-cta h3 {
  font-size: 22px;
  margin-bottom: 22px;
  color: #fff;
  line-height: 1.4;
}

/* Botón */
.contact-cta .btn-primary {
  background: var(--orange);
  color: #fff;
}

.contact-cta .btn-primary:hover {
  background: #e07f16;
}

/* ================= Contact form – versión compacta ================= */

.contact-form {
  padding: 28px 30px;
}

.contact-form h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 90px;
}

.btn-submit {
  padding: 12px;
  font-size: 15px;
}
/* ================= SEPARADOR SECCIÓN CONTACTO ================= */

.section.light {
  position: relative;
}

.section.light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(11,58,102,0.06),
    transparent
  );
}
/* ================= FOOTER ================= */

.footer {
  background: var(--blue);
  color: #fff;
  padding: 50px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-info p {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.footer-info a:hover {
  opacity: 1;
}

/* Redes */
.footer-social span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

/* Copy */
.footer-copy {
  margin-top: 35px;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 3000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
/* ================= NAV – Hover ================= */

.main-nav > ul > li > a {
  position: relative;
  transition: color 0.25s ease;
}

/* Cambio de color al hover */
.main-nav > ul > li > a:hover {
  color: var(--orange);
}

/* Línea inferior animada */
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.main-nav > ul > li > a:hover::after {
  width: 100%;
}
/* ================= SUBMENU – Hover ================= */

.submenu a {
  transition: background 0.2s ease, color 0.2s ease;
}

.submenu a:hover {
  background: #f4f6f8;
  color: var(--orange);
}

/* ================= FIX MENU MOBILE ================= */

@media (max-width: 992px) {

  /* Anula hover de desktop */
  .main-nav li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Submenús cerrados por defecto */
  .submenu {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Solo se abren con click (.open) */
  .has-submenu.open > .submenu {
    display: block;
  }

  /* Quita línea hover */
  .main-nav > ul > li > a::after {
    display: none;
  }
}
@media (max-width: 992px) {

  .submenu li {
    background: #f6f8fa;
  }

  .submenu a {
    padding-left: 35px;
    font-size: 14px;
  }

  .has-submenu > a {
    position: relative;
  }

  /* Flecha indicadora */
  .has-submenu > a::before {
    content: "▾";
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
  }

  .has-submenu.open > a::before {
    transform: rotate(180deg);
  }
}
/* ================= MENU MOBILE FIX DEFINITIVO ================= */

@media (max-width: 992px) {

  /* NAV cerrado */
  .main-nav {
    display: none;
    width: 100%;
  }

  /* NAV abierto */
  .main-nav.open {
    display: block;
  }

  /* Lista vertical */
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  /* Items principales */
  .main-nav > ul > li {
    border-bottom: 1px solid #e5e7eb;
  }

  /* Submenús SIEMPRE cerrados */
  .submenu {
    display: none !important;
  }

  /* Submenú activo */
  .has-submenu.open > .submenu {
    display: block !important;
  }

  /* Links */
  .main-nav a {
    padding: 14px 20px;
    display: block;
  }

  /* Botón contacto visible */
  .btn-header {
    margin: 10px 20px;
    text-align: center;
  }
}
@media (max-width: 992px) {

  .main-nav ul {
    padding: 0;
  }

  .main-nav li {
    width: 100%;
  }

  .btn-header {
    display: block;
    width: 90%;
    margin: 10px auto;
    padding: 12px;
    text-align: center;
    box-sizing: border-box;
  }

}
/* ================= INSTITUTIONAL PAGE ================= */

.institutional {
  background: var(--light-alt);
}

.institutional-block {
  margin-bottom: 50px;
}

.institutional-block h2 {
  color: var(--blue);
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 600;
}

.institutional-block p,
.institutional-block ul {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 14px;
}

.institutional-block ul {
  list-style: disc;
  margin-left: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.team-member h4 {
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 4px;
}

.team-member p {
  font-size: 14px;
  color: var(--gray);
}
.container.narrow {
  max-width: 820px;
}

.institutional-index ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
}

.accordion summary {
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
}

blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  font-style: italic;
}
/*institucional*/
.page-hero {
  background: linear-gradient(
    rgba(11,58,102,0.75),
    rgba(11,58,102,0.75)
  ),
  url("../img/contacto-proyecto-educativo.jpg") center / cover no-repeat;
  color: #fff;
  padding: 90px 0;
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.9;
}
.institutional-index {
  background: #f4f6f8;
  border-bottom: 1px solid #e5e7eb;
}

.institutional-index ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.institutional-index a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  position: relative;
}

.institutional-index a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.institutional-index a:hover::after {
  width: 100%;
}
.section h2 {
  margin-bottom: 20px;
  color: var(--blue);
}

.section h3 {
  margin: 30px 0 15px;
  color: var(--blue);
}

.section p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.styled-list {
  margin: 20px 0 30px;
  padding-left: 0;
}

.styled-list li {
  list-style: none;
  padding-left: 26px;
  margin-bottom: 10px;
  position: relative;
}

.styled-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.accordion {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 18px 22px;
  background: #fff;
}

.accordion summary {
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}

.accordion p {
  margin-top: 15px;
  font-size: 15px;
}
.section.highlight {
  background: linear-gradient(
    to right,
    rgba(11,58,102,0.05),
    transparent
  );
}

blockquote {
  font-size: 17px;
  border-left: 4px solid var(--orange);
  padding-left: 24px;
  margin-top: 20px;
  line-height: 1.7;
}

/* CARRERA – CIENCIAS SAGRADAS */

.carrera-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.carrera-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* overlay */
}

.carrera-hero .container {
  position: relative;
  z-index: 1;
}

.carrera-hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.carrera-hero p {
  font-size: 17px;
  opacity: 0.9;
}

.carrera-content h2,
.carrera-content h3 {
  color: var(--blue);
  margin-top: 30px;
  margin-bottom: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 30px;
  margin-top: 25px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.team-member h4 {
  font-size: 17px;
  color: var(--blue);
  margin-bottom: 4px;
}

/* ================= ARANCELES CARD ================= */

.arancel-card {
  margin: 50px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e1e6ee;
}

.arancel-header {
  background: var(--primary);
  color: #fff;
  padding: 18px 24px;
}

.arancel-header h3 {
  margin: 0;
  font-size: 20px;
}

.arancel-body {
  padding: 26px;
}

.arancel-price {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.arancel-price strong {
  font-size: 26px;
}

.arancel-detail {
  margin-bottom: 18px;
  color: #333;
}

.arancel-body h4 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 16px;
}

.arancel-body ul {
  padding-left: 18px;
}

.arancel-body ul li {
  margin-bottom: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .arancel-body {
    padding: 20px;
  }

  .arancel-price strong {
    font-size: 22px;
  }
}
.arancel-card {
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
/* ================= CTA INSCRIPCIÓN ================= */

.arancel-cta {
  margin-top: 28px;
  text-align: center;
}

.btn-inscribite {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-inscribite:hover {
  background: #0f2e5d; /* tono más oscuro del primary */
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .btn-inscribite {
    width: 100%;
    padding: 14px 0;
  }
}
.adjuntos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.adjunto-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.adjunto-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.adjunto-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.adjunto-card h4 {
  margin: 0;
  font-size: 17px;
  color: var(--blue);
}

.adjunto-card p {
  margin-top: 6px;
  font-size: 14px;
  color: #666;
}
.carrera-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .carrera-layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  .carrera-sidebar {
    position: sticky;
    top: 120px;
  }
}
/* IMÁGENES POR CARRERA */
.hero-primaria {
  background-image: url("../img/carrera-educacion-primaria.jpg");
}

.hero-inicial {
  background-image: url("../img/carrera-educacion-inicial.png");
}

.hero-sagradas {
  background-image: url("../img/carrera-educacion-ciencias.png");
}

.hero-pedagogica {
  background-image: url("../img/formacion-pedagogica.jpg");
}

.hero-pastoral {
  background-image: url("../img/formacion-pastoral.jpg");
}

/* ================= CONTACTO ================= */

.hero-contacto {
  background-image: url("../img/hero-contacto.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.hero-contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 58, 99, 0.6);
}

.contact-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.contact-main h2 {
  margin-bottom: 25px;
  color: var(--blue);
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  font-size: 15px;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,58,102,0.08);
}

.btn-submit {
  margin-top: 10px;
  width: 100%;
  font-size: 16px;
}

.contact-sidebar {
  background: #f8f9fb;
  padding: 30px 25px;
  border-radius: 8px;
}

.contact-info h3 {
  margin-bottom: 18px;
  color: var(--blue);
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 15px;
}

.contact-social h4 {
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--blue);
}

.contact-social .social-icons {
  display: flex;
  gap: 10px;
}

.contact-social .social {
  background: var(--blue);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s;
}

.contact-social .social:hover {
  background: var(--orange);
}
/* ================= FORMULARIO DE PREINSCRIPCIÓN ================= */

.preinscription-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.25s ease;
}

.preinscription-form select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,58,102,0.08);
}
/* ================= PREINSCRIPCIÓN – FORM ================= */

.preinscription-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.preinscription-form .form-group {
  margin-bottom: 18px;
}

.preinscription-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
}

.preinscription-form input,
.preinscription-form textarea,
.preinscription-form select {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.25s ease;
}

.preinscription-form textarea {
  min-height: 120px;
  resize: vertical;
}

.preinscription-form input:focus,
.preinscription-form textarea:focus,
.preinscription-form select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,58,102,0.08);
}

.preinscription-form .btn-submit {
  margin-top: 10px;
  width: 100%;
  font-size: 16px;
}
/* ================= THANK YOU PAGE ================= */

.hero-thankyou {
  background-image: url("assets/img/hero-thankyou.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.hero-thankyou::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 58, 99, 0.65);
}

.hero-thankyou h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero-thankyou p {
  font-size: 18px;
  opacity: 0.9;
}

.thankyou-content {
  padding-top: 50px;
  padding-bottom: 50px;
}

.thankyou-text {
  font-size: 18px;
  color: var(--blue);
  text-align: center;
  margin-bottom: 25px;
}

.thankyou-next {
  font-size: 16px;
  color: var(--gray);
  text-align: center;
  margin-bottom: 25px;
}

.thankyou-links {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-bottom: 30px;
}

.thankyou-links li {
  margin-bottom: 12px;
}

.thankyou-links a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
}

.thankyou-links a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.thankyou-cta {
  text-align: center;
  margin-top: 20px;
}

.thankyou-cta .btn-primary {
  padding: 14px 36px;
  font-size: 16px;
}
