/* ================================
   COLOR PALETTE
   ================================ */
:root {
  --pink-dark: #cc7299;
  --pink: #fdcae1;
  --pink-light: #ffe5f0;
  --teal: #5dc1b9;
  --teal-light: #9ce0db;

  --bg-main: #fff7fb;
  --bg-card: #ffffff;
  --border-soft: #f1b9d1;
  --text-dark: #333333;
  --text-light: #4d4c4c;
}

/* ================================
   RESET + BASE
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

html,
body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  color: var(--text-dark);
}

/* Constrain content a bit */
main .container {
  max-width: 1100px;
}

/* ================================
   HEADER
   ================================ */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-soft);
}

.site-header h1 {
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Social icons */
.social-icons .btn {
  border-radius: 999px;
  border-color: var(--pink-dark);
  color: var(--pink-dark);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.9rem;
}

.social-icons .btn:hover {
  background-color: var(--pink-dark);
  color: #ffffff;
}

/* ================================
   NAVBAR
   ================================ */
.navbar-custom {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-soft);
}

.navbar-custom .navbar-nav {
  gap: 0.25rem;
}

.navbar-custom .nav-link {
  position: relative;
  color: #555555 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
}

.navbar-custom .nav-link:hover {
  color: #111111 !important;
}

/* underline on hover */
.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink-dark), var(--teal));
  transition: width 0.2s ease-in-out;
}

.navbar-custom .nav-link:hover::after {
  width: 60%;
}

/* Mobile toggler */
.navbar-toggler {
  border-color: var(--pink-dark);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(197,148,170, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================================
   SECTIONS
   ================================ */
.section {
  padding: 3rem 0;
  background-color: transparent;
  /* outer background = body */
}

/* Big white card for each section */
.section>.container {
  background-color: var(--bg-card);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
  border: 1.5px solid var(--border-soft);
}

/* Slightly different background for every other section */
.section:nth-of-type(even)>.container {
  background: linear-gradient(135deg, #ffffff 0, #fff5fb 100%);
}

.section-banner>.container.banner-card {
  padding: 0;
  border: none;
  box-shadow: none;
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 1.8rem;
  color: var(--pink-dark);
}

/* ================================
   HERO (HOME)
   ================================ */
body.home main>.section:first-of-type>.container {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: radial-gradient(circle at top left, var(--pink-light) 0, #ffffff 55%);
}

main>.section:first-of-type h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

main>.section:first-of-type p {
  color: var(--text-light);
}

/* ================================
   CARDS
   ================================ */
.placeholder-card {
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.placeholder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

/* card images */
.placeholder-card img {
  border-radius: 0.75rem;

}

/* ================================
   BUTTONS
   ================================ */
.btn-dark {
  background-color: var(--pink-dark);
  border-color: var(--pink-dark);
}

.btn-dark:hover {
  background-color: #aa7a96;
  border-color: #aa7a96;
}

.btn-outline-dark {
  color: var(--pink-dark);
  border-color: var(--pink-dark);
}

.btn-outline-dark:hover {
  background-color: var(--pink-dark);
  color: #ffffff;
  border-color: var(--pink-dark);
}

/* ================================
   FORMS
   ================================ */
.form-control,
.form-select {
  border-radius: 0.75rem;
  border-color: var(--border-soft);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 0.15rem rgba(197, 148, 170, 0.25);
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: linear-gradient(90deg, var(--pink-dark), var(--teal));
  color: #ffffff;
  padding: 2.5rem 0 2rem;
  text-align: center;
  margin-top: 3rem;
}

.site-footer h5 {
  color: #ffffff;
}

.site-footer p {
  margin-bottom: 0.3rem;
}

.max-height-img {
  max-height: 300px;
}

/* new */
/* ================================
   MOBILE SPACING FIX (cards not touching edges)
   ================================ */
.section {
  /* keep your vertical spacing, add a tiny horizontal buffer */
  padding: 3rem 0;
}

.section>.container {
  margin-left: auto;
  margin-right: auto;
}

/* On mobile: give the "big card" breathing room */
@media (max-width: 576px) {
  .section {
    padding: 2rem 12px;
    /* <-- padding creates breathing room both sides */
  }

  .section>.container {
    margin: 0;
    padding: 1.5rem 1.25rem;
    border-radius: 1.1rem;
  }
}

/* ================================
   SECTION BACKGROUND BANDS (pink/gray outside the card too)
   ================================ */
.section:nth-of-type(even) {
  background: linear-gradient(135deg, #fff7fb 0%, #ffffff 100%);
}

.section:nth-of-type(odd) {
  background: #ffffff;
}

/* ================================
   LOGO CARD (ACOG) - center both axes
   ================================ */
.logo-card {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

/* =========================================================
   JUNTA DIRECTIVA — PRO / INSTITUTIONAL SHOWCASE
   (dark stage + overlay + clean cards)
   ========================================================= */

#junta-directiva {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Dark backdrop */
#junta-directiva::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pink-dark);
  /* deep institutional blue */
  z-index: 0;
}

/* Optional subtle background image (very faint) */
#junta-directiva::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/junta/junta-bg.jpg");
  /* optional placeholder */
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

/* Soft gradient overlay for depth */
#junta-directiva .junta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.12));
  z-index: 0;
}

#junta-directiva .container {
  position: relative;
  z-index: 1;
  /* above overlays */
}

/* Header */
#junta-directiva .junta-title {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 0.4rem;
}

#junta-directiva .junta-subtitle {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

/* Grid spacing */
#junta-directiva .row {
  margin-left: 0;
  margin-right: 0;
}

/* Cards */
.junta-pro-card {
  background: #ffffff;
  border-radius: 0;
  /* sharp like the reference */
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  height: 100%;
}

/* Image frame */
.junta-pro-media {
  padding: 18px 18px 0;
}

.junta-pro-img {
  width: 100%;
  height: 300px;
  /* consistent gallery feel */
  object-fit: cover;
  /* pro look; no stretching */
  object-position: center top;
  /* keeps faces higher */
  background: #eaeaea;
  border-radius: 0;
  display: block;
}

/* Text */
.junta-pro-body {
  padding: 14px 18px 18px;
}

.junta-pro-name {
  font-weight: 800;
  margin: 0;
}

.junta-pro-role {
  color: var(--pink-dark);
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.95rem;
}

/* Small pink accent line */
.junta-pro-accent {
  height: 3px;
  width: 42px;
  background: var(--pink-dark);
  margin: 12px 0 10px;
  border-radius: 999px;
}

/* Hover */
.junta-pro-card:hover {
  transform: translateY(-6px);
  transition: 0.22s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

/* Mobile */
@media (max-width: 576px) {
  #junta-directiva {
    padding: 3.5rem 0;
  }

  .junta-pro-img {
    height: 360px;
  }
}

.row {
  margin-left: 0;
  margin-right: 0;
}

/* ================================
   COLEGIADOS LAYOUT IMPROVEMENT
   ================================ */

#colegiadosLetters button {
  border-radius: 0.6rem;
  font-weight: 500;
  min-width: 36px;
}

#colegiadosSearch {
  border-radius: 0.75rem;
}

#colegiadosClear {
  border-radius: 0.75rem;
}

/* ================================
   COLEGIADOS – Desktop polish
   ================================ */

.page-colegiados .colegiados-search-wrap {
  width: 100%;
  max-width: 980px;
  /* big, but not absurd */
  margin: 0 auto;
}

.page-colegiados #colegiadosLetters {
  max-width: 980px;
  margin: 0 auto;
  gap: 0.35rem !important;
}

.page-colegiados #colegiadosLetters .btn {
  padding: 0.35rem 0.55rem;
  min-width: 40px;
  border-radius: 0.75rem;
}

/* Make letters pack tighter on large screens */
@media (min-width: 992px) {
  .page-colegiados #colegiadosLetters .btn {
    min-width: 38px;
    padding: 0.32rem 0.5rem;
  }
}

/* Pagination look (match brand) */
.page-colegiados .pagination .page-link {
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft);
  color: var(--text);
  padding: 0.45rem 0.75rem;
}

.page-colegiados .pagination .page-item.active .page-link {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  color: #fff;
}

.page-colegiados .pagination .page-link:hover {
  background: #fff0f7;
  border-color: var(--pink-dark);
  color: var(--text);
}

.page-colegiados .pagination .page-item.disabled .page-link {
  opacity: 0.55;
}

logo-footer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================
   HOME HERO CAROUSEL
========================= */
.home-hero {
  background: var(--pink-light);
}

.home-hero .carousel,
.home-hero .carousel-inner,
.home-hero .carousel-item {
  min-height: 580px;
}

.home-hero-slide {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slide 1 image layout (your congress poster) */
.home-hero-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
}

/* Slides 2 & 3 background images */
.home-hero-bg {
  background-size: cover;
  background-position: center;
}

/* Dark overlay for readability on photo backgrounds */
.home-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 238, 245, 0.92) 0%,
      rgba(255, 238, 245, 0.78) 45%,
      rgba(255, 238, 245, 0.30) 100%);
  pointer-events: none;
}

.home-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.home-hero-card {
  max-width: 580px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(6px);
}

.home-hero-kicker {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pink-dark);
  margin-bottom: 0.35rem;
}

.home-hero-title {
  margin: 0 0 0.5rem;
  color: var(--pink-dark);
  font-weight: 700;
  line-height: 1.15;
}

.home-hero-text {
  margin: 0;
  color: var(--text-light);
  font-size: 1.02rem;
}

.home-hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Make controls nicer on light background */
.home-hero .carousel-control-prev-icon,
.home-hero .carousel-control-next-icon {
  filter: invert(1) grayscale(1);
  opacity: 0.85;
}

/* Flechas en carusel */
@media (max-width: 768px) {

  .carousel-control-prev,
  .carousel-control-next {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.75);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    filter: invert(32%) sepia(20%) saturate(500%) hue-rotate(290deg);
  }

}

.home-hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 991px) {

  .home-hero .carousel,
  .home-hero .carousel-inner,
  .home-hero .carousel-item,
  .home-hero-slide {
    min-height: 520px;
  }

  .home-hero-card {
    max-width: 100%;
    opacity: 80%;
    position: relative;
    padding-left: 40px;
    text-align: center;
  }

  .home-hero-actions{
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 576px) {

  .home-hero .carousel,
  .home-hero .carousel-inner,
  .home-hero .carousel-item,
  .home-hero-slide {
    min-height: 540px;
  }

  .home-hero-img {
    height: 540px;
  }

  .home-hero-title {
    font-size: 1.55rem;
  }

  .home-hero-text {
    font-size: 0.98rem;
  }
}

/* =========================
   EDUCACIÓN MÉDICA CONTINUA
========================= */

/* Congress cards */
.congres-card {
  position: relative;
}

.congres-card .congres-thumb {
  aspect-ratio: 4 / 3;
  min-height: 240px;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.congres-card .congres-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Optional per-item modes if later you want to force a crop */
.congres-card .congres-thumb--cover img {
  object-fit: cover;
}

.congres-card .congres-thumb--tight {
  padding: 0.45rem;
}

.congres-card .congres-thumb--logo {
  padding: 1.25rem;
}

@media (max-width: 576px) {
  .congres-card .congres-thumb {
    min-height: 210px;
  }
}

.congres-meta {
  font-size: 0.92rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Banner sections (Aula/Biblioteca) */
.section-banner>.container {
  padding: 0;
  border: none;
  box-shadow: none;
}

.banner-card {
  position: relative;
  border-radius: 1.25rem;
  border: 1.5px solid var(--border-soft);
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.banner-overlay {
  background: transparent;
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 2.75rem 2.25rem;
  max-width: 620px;
}

.banner-kicker {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pink-dark);
  margin-bottom: 0.35rem;
}

.banner-title {
  color: var(--pink-dark);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.banner-text {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
  max-width: 62ch;
}

.section-banner>.container.banner-card.banner-aula {
  background:
    linear-gradient(90deg,
      rgba(255, 238, 245, 0.92) 0%,
      rgba(255, 238, 245, 0.76) 42%,
      rgba(255, 238, 245, 0.22) 100%),
    url("../img/banners/banner-aula.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-banner>.container.banner-card.banner-biblioteca {
  background:
    linear-gradient(90deg,
      rgba(255, 238, 245, 0.92) 0%,
      rgba(255, 238, 245, 0.76) 42%,
      rgba(255, 238, 245, 0.22) 100%),
    url("../img/banners/biblioteca.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.colegiado-btn:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
  transition: 150ms ease;
}

.banner-card .btn {
  border-radius: 0.75rem;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 576px) {
  .banner-card {
    min-height: 300px;
  }

  .banner-content {
    padding: 1.75rem 1.25rem;
  }
}

/* =========================================================
   FILIALES / CAPÍTULOS
   ========================================================= */

.page-filiales {
  background: linear-gradient(180deg, #fff8fb 0%, #ffffff 18%, #fff8fb 100%);
}

.filiales-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.2rem;
  background:
    radial-gradient(circle at top left, rgba(182, 91, 127, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(182, 91, 127, 0.08), transparent 32%),
    linear-gradient(180deg, #fff5f8 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filiales-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-dark);
  background: rgba(182, 91, 127, 0.1);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.filiales-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--pink-dark);
  margin-bottom: 0.8rem;
}

.filiales-subtitle {
  max-width: 780px;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0;
}

.filiales-stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  min-width: 170px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.filiales-stat-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--pink-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.filiales-stat-card span {
  color: var(--text-light);
  font-size: 0.92rem;
}

.filiales-section {
  padding-top: 3rem;
}

.chapter-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

.chapter-aside {
  position: relative;
  color: #ffffff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.chapter-aside--oriente {
  background: linear-gradient(160deg, #8b3a5f 0%, #b65b7f 48%, #d38aa6 100%);
}

.chapter-aside--climaterio {
  background: linear-gradient(160deg, #7f2d54 0%, #a34973 50%, #c97fa0 100%);
}

.chapter-aside--uro {
  background: linear-gradient(160deg, #6f2746 0%, #934764 52%, #ba7690 100%);
}

.chapter-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.chapter-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.chapter-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.chapter-copy,
.chapter-note {
  color: rgba(255, 255, 255, 0.88);
}

.chapter-copy {
  margin-bottom: 0;
}

.chapter-note {
  font-size: 0.92rem;
}

.chapter-accent {
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  margin: 1rem 0 1rem;
}

.chapter-body {
  padding: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fffafb 100%);
}

.board-role-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.board-role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.board-role {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 0.65rem;
}

.board-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0;
}

/* Afiliate */
.membership-hero {
  background:
    radial-gradient(circle at top left, rgba(182, 91, 127, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(182, 91, 127, 0.08), transparent 32%),
    linear-gradient(180deg, #fff5f8 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.membership-hero .container {
  border: 1.5px solid var(--border-soft);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
  background:
    radial-gradient(circle at top right, rgba(191, 118, 153, 0.12), transparent 28%),
    linear-gradient(135deg, #fffefe 0%, #fff5fb 100%);
}

.membership-kicker,
.info-kicker {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 0.45rem;
}

.membership-title {
  color: var(--pink-dark);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.membership-lead {
  color: var(--text-light);
  max-width: 820px;
  font-size: 1.02rem;
  margin-bottom: 0;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.action-card,
.info-card,
.document-card,
.steps-card,
.benefit-card,
.preview-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
  border: 1.5px solid var(--border-soft);
  border-radius: 1.25rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.04);
}

.action-card {
  padding: 1.6rem;
  height: 100%;
}

.action-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 118, 153, 0.14);
  color: var(--pink-dark);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.action-title,
.info-title,
.preview-title {
  color: var(--pink-dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.action-text,
.info-card p,
.preview-card p,
.steps-card p,
.benefit-card p {
  color: var(--text-light);
}

.action-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.membership-note {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.steps-card,
.info-card,
.preview-card,
.benefit-card {
  padding: 1.6rem;
  height: 100%;
}

.steps-list,
.requirements-list,
.preview-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.steps-list li,
.requirements-list li,
.preview-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
  color: var(--text-light);
}

.steps-list li:last-child,
.requirements-list li:last-child,
.preview-list li:last-child {
  margin-bottom: 0;
}

.steps-list li::before,
.requirements-list li::before,
.preview-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--pink-dark);
  font-size: 0.95rem;
}

.document-grid,
.info-grid,
.benefits-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.document-card {
  padding: 1.4rem;
}

.document-card h4 {
  color: var(--pink-dark);
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(191, 118, 153, 0.12);
  color: var(--pink-dark);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.info-card h4,
.benefit-card h4,
.preview-card h4 {
  color: var(--pink-dark);
  font-size: 1.03rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.benefit-card {
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(191, 118, 153, 0.12), transparent 70%);
}

.small-muted {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* Congreso */
.congress-page {
  background:
    radial-gradient(circle at top left, rgba(255, 190, 214, 0.22), transparent 22%),
    linear-gradient(180deg, #fff8fb 0%, #ffffff 22%, #fff8fb 100%);
}

.congress-page .section-header {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 1.35rem;
}

.congress-hero {
  padding: 2.2rem 0 1rem;
}

.congress-hero-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--border-soft);
  border-radius: 1.75rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 245, 251, 0.92) 44%, rgba(255, 238, 245, 0.88) 100%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
}

.congress-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 82%, rgba(255, 105, 162, 0.16), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(255, 132, 119, 0.13), transparent 20%);
  pointer-events: none;
}

.congress-hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 3rem;
}

.congress-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(191, 118, 153, 0.12);
  color: var(--pink-dark);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.congress-title {
  color: var(--pink-dark);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.05;
  margin-bottom: 0.95rem;
  max-width: 12ch;
}

.congress-subtitle {
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  font-weight: 700;
  color: #f16b70;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.congress-lead {
  max-width: 60ch;
  color: var(--text-light);
  font-size: 1.03rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(191, 118, 153, 0.18);
  color: var(--text-light);
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.hero-meta-pill i {
  color: var(--pink-dark);
}

.congress-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.btn-congress-primary {
  background: linear-gradient(135deg, #c96f96 0%, #e15c8f 100%);
  color: #fff;
  border: none;
  padding: 0.9rem 1.25rem;
  border-radius: 0.95rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(201, 111, 150, 0.24);
}

.btn-congress-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-congress-outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--pink-dark);
  border: 1.5px solid rgba(191, 118, 153, 0.32);
  padding: 0.9rem 1.25rem;
  border-radius: 0.95rem;
  font-weight: 700;
}

.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--text-light);
  font-size: 0.96rem;
}

.hero-contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-contact-row i {
  color: var(--pink-dark);
}

.congress-section {
  padding: 1rem 0 0.6rem;
}

.congress-title-row {
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0.6rem;
}

.congress-title-text {
  min-width: 0;
}

.congress-title-image {
  display: flex;
  justify-content: center;
}

.congress-title-image img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.congress-title-image-desktop img {
  max-width: 370px;
}

.congress-title-image-mobile {
  display: none;
}

@media (max-width: 768px) {
  .congress-title-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
  }

  .congress-title-image-desktop {
    display: none;
  }

  .congress-title-image-mobile {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0 1rem;
  }

  .congress-title-image-mobile img {
    width: 100%;
    max-width: 320px;
  }

  .congress-title {
    max-width: none;
    margin-bottom: 0.4rem;
  }

  .congress-subtitle {
    margin-bottom: 0.35rem;
  }
}

.section-header {
  margin-bottom: 1.35rem;
}

.section-title {
  color: var(--pink-dark);
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.section-description {
  color: var(--text-light);
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.content-card,
.topic-card,
.quick-card,
.pricing-note-card,
.flyer-card,
.partner-placeholder {
  border: 1.5px solid var(--border-soft);
  border-radius: 1.3rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.04);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.quick-card {
  padding: 1.35rem;
  height: 100%;
}

.quick-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  color: var(--pink-dark);
  background: rgba(191, 118, 153, 0.12);
}

.quick-card h3 {
  font-size: 1.05rem;
  color: var(--pink-dark);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.quick-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.precongress-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: stretch;
}

.content-card {
  padding: 1.7rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.topic-card {
  padding: 1.1rem 1rem;
  min-height: 100%;
  background: linear-gradient(135deg, rgba(255, 109, 96, 0.1) 0%, rgba(255, 139, 108, 0.16) 100%);
  border-color: rgba(241, 107, 112, 0.25);
}

.topic-card h4 {
  margin: 0;
  font-size: 1.02rem;
  color: #2d2d2d;
  font-weight: 800;
  text-align: center;
}

.precongress-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-note-card {
  padding: 1.4rem;
  background: linear-gradient(160deg, #fff7fb 0%, rgba(255, 144, 111, 0.12) 100%);
}

.pricing-note-card h4,
.content-card h3 {
  color: var(--pink-dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.pricing-note-card p,
.content-card p,
.content-card li {
  color: var(--text-light);
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.pricing-table thead th,
.pricing-group-row th,
.pricing-group-row td {
  background: var(--pink-dark);
  color: #411e1e;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 800;
  border: none;
  padding: 1rem 1rem;
  text-align: center;
}

.pricing-table thead th:first-child,
.pricing-group-row th:first-child,
.pricing-table tbody tr td:first-child {
  border-radius: 1rem 0 0 1rem;
}

.pricing-table thead th:last-child,
.pricing-group-row td:last-child,
.pricing-table tbody tr td:last-child {
  border-radius: 0 1rem 1rem 0;
}

.pricing-table tbody td {
  background: #fff3f6;
  padding: 1rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(191, 118, 153, 0.12);
  border-bottom: 1px solid rgba(191, 118, 153, 0.12);
  color: #2f2f2f;
  font-weight: 600;
}

.pricing-table tbody td:first-child {
  text-align: left;
  font-weight: 800;
  color: #393939;
  /* acá */
  background: rgba(191, 118, 153, 0.12)
}

.pricing-group-row th,
.pricing-group-row td {
  border-radius: 0;
}

.pricing-group-row th {
  text-align: left;
}

.pricing-reserve {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.reserve-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(241, 107, 112, 0.1);
  color: var(--pink-dark);
  font-weight: 700;
}

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.flyer-card {
  padding: 0.9rem;
  height: 100%;
}

.flyer-card img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  object-position: top center;
  border-radius: 1rem;
  border: 1px solid rgba(191, 118, 153, 0.12);
  background: #fff;
}

.flyer-caption {
  padding: 0.95rem 0.35rem 0.2rem;
}

.flyer-caption h4 {
  color: var(--pink-dark);
  font-weight: 800;
  margin-bottom: 0.35rem;
  font-size: 1.03rem;
}

.flyer-caption p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.96rem;
}

.partners-card {
  padding: 1.7rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
  align-items: stretch;
}


.partner-placeholder {
  min-height: 150px;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--text-light);
  font-weight: 700;
  background: repeating-linear-gradient(135deg,
      #fff,
      #fff 12px,
      #fff7fb 12px,
      #fff7fb 24px);
}

.partner-placeholder img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-placeholder span {
  display: block;
  color: var(--pink-dark);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.footer-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  padding-bottom: 2.3rem;
}

.pricing-mobile {
  display: none;
}

.pricing-mobile-group {
  margin-top: 1.5rem;
}

.pricing-mobile-group > h3 {
  margin: 0 0 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #c4879f;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.pricing-mobile-card {
  background: #fff;
  border: 1.5px solid var(--border-soft);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
}

.pricing-mobile-card h4 {
  margin: 0;
  padding: 0.95rem 1rem;
  background: #fff1eb;
  color: #393939;
  font-size: 1rem;
  font-weight: 800;
}

.pricing-mobile-card h4 small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

.pricing-mobile-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-mobile-card li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-top: 1px solid rgba(191, 118, 153, 0.12);
}

.pricing-mobile-card li span {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 70%;
}

.pricing-mobile-card li strong {
  color: #232323;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.junta-pro-card {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.junta-pro-card:hover {
  transform: translateY(-4px);
}

.junta-pro-card:focus-visible {
  outline: 3px solid rgba(191, 118, 153, 0.35);
  outline-offset: 4px;
}

.junta-modal {
  border: 1.5px solid var(--border-soft);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.junta-modal-header {
  background: linear-gradient(135deg, #fff7fb 0%, #fff0f7 100%);
  border-bottom: 1px solid rgba(191, 118, 153, 0.15);
  padding: 1.2rem 1.25rem 1rem;
}

.junta-modal-title {
  margin: 0;
  color: var(--pink-dark);
  font-weight: 700;
}

.junta-modal-role {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 0.2rem;
  font-weight: 600;
}

.junta-modal-body {
  padding: 1.3rem 1.25rem 1.4rem;
}

.junta-modal-name {
  color: #2a2a2a;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.junta-modal-info {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .pricing-table-wrap {
    display: none;
  }

  .pricing-mobile {
    display: block;
    padding: 0 0.85rem;
  }

  .pricing-mobile-card {
    border-radius: 1.1rem;
  }
}

@media (max-width: 991px) {
  .congress-hero-content {
    padding: 2.6rem 1.4rem;
  }

  .precongress-layout,
  .flyer-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .flyer-card img {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 576px) {
  .congress-hero {
    padding-top: 1.2rem;
  }

  .congress-title {
    max-width: none;
  }

  .hero-meta,
  .congress-actions,
  .hero-contact-row,
  .pricing-reserve {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-meta-pill,
  .reserve-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .membership-hero .container {
    padding: 2.1rem 1.25rem;
  }

  .action-card,
  .steps-card,
  .info-card,
  .benefit-card,
  .preview-card,
  .document-card {
    padding: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .chapter-aside {
    padding: 1.6rem;
  }

  .chapter-title {
    font-size: 1.45rem;
  }
}

@media (max-width: 575.98px) {
  .filiales-hero {
    padding: 3.4rem 0 2.5rem;
  }

  .chapter-body {
    padding: 1rem;
  }

  .board-role-card {
    padding: 0.95rem;
  }
}

@media (max-width: 768px) {
  .pricing-table-wrap {
    overflow: visible;
  }

  .pricing-table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table {
    min-width: 0;
    border-spacing: 0;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table tbody tr {
    margin-bottom: 1rem;
    border: 1.5px solid var(--border-soft);
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  }

  .pricing-group-row {
    margin-top: 1.25rem;
  }

  .pricing-group-row th,
  .pricing-group-row td {
    background: var();
    color: #fff;
    text-align: center !important;
    border-radius: 0 !important;
    padding: 0.95rem 1rem;
  }

  .pricing-table tbody td {
    text-align: left;
    border: none;
    border-top: 1px solid rgba(191, 118, 153, 0.12);
    padding: 0.85rem 1rem;
    background: #fffafc;
  }

  .pricing-table tbody td:first-child {
    background: #fff1eb;
    border-radius: 0 !important;
  }
}

/* about */
.about-page {
  background:
    radial-gradient(circle at top left, rgba(182, 91, 127, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(182, 91, 127, 0.08), transparent 32%),
    linear-gradient(180deg, #fff5f8 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-hero--about .container {
  position: relative;
  overflow: hidden;
}

.page-hero--about .container::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 118, 153, 0.12), transparent 68%);
  pointer-events: none;
}

.about-band-soft {
  background: linear-gradient(180deg, #fffafd 0%, #fff5fb 100%);
}

.about-panel {
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(191, 118, 153, 0.08), transparent 26%);
  pointer-events: none;
}

.about-panel > * {
  position: relative;
  z-index: 1;
}

.about-section-head {
  margin-bottom: 1.6rem;
}

.about-title-left {
  text-align: left;
  margin-bottom: 0;
}

.about-copy p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-media-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
  border: 1.5px solid rgba(241, 185, 209, 0.85);
  border-radius: 1.35rem;
  padding: 1.35rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.about-logo-main {
  max-height: 320px;
  object-fit: contain;
}

.about-cover-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.about-tall-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

.about-feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
  border: 1.5px solid var(--border-soft);
  border-radius: 1.25rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.04);
  padding: 1.6rem;
  height: 100%;
}

.about-feature-card h3 {
  color: var(--pink-dark);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.about-feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.about-feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(191, 118, 153, 0.14);
  color: var(--pink-dark);
  font-size: 1.25rem;
}

.about-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1rem;
}

.about-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: rgba(191, 118, 153, 0.12);
  color: var(--pink-dark);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.about-note {
  color: var(--text-light);
}

.about-ally-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.about-ally-item,
.about-school-item,
.about-highlight-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff9fc 100%);
  border: 1.5px solid rgba(241, 185, 209, 0.75);
  border-radius: 1.1rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.035);
}

.about-ally-item {
  padding: 1rem 1rem 0.95rem;
}

.about-ally-item h4 {
  color: var(--pink-dark);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.about-ally-item p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.about-school-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.about-school-item {
  padding: 0.9rem 1rem;
  color: var(--text-light);
  font-weight: 600;
}

.about-logo-card {
  min-height: 300px;
}

.about-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.2rem;
  padding: 1.1rem 1.15rem;
}

.about-highlight-card i {
  color: var(--pink-dark);
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.2rem;
}

.about-highlight-card p {
  color: var(--text-light);
  font-style: italic;
}

.hero-soft{
  background: linear-gradient(180deg, #f7eef2 0%, #ffffff 100%);
  padding: 70px 0 60px;
  border-top: 1px solid #f1cfd8;
}

.hero-soft .hero-card{
  background: white;
  border-radius: 22px;
  border: 1px solid #f3d6df;
  padding: 40px 45px;
  max-width: 850px;
  box-shadow: 0 10px 30px rgba(180,120,140,.08);
}

/* ===== HERO MODERNO GENERAL ===== */
.hero-modern{
  padding:90px 0;
  background:linear-gradient(
      rgba(246,233,239,.65),
      rgba(246,233,239,.75)
    );
}

.hero-modern-content{
  max-width:720px;
}

.hero-modern-title{
  font-size:42px;
  font-weight:700;
  color:#b76e8a;
  margin:18px 0;
  line-height:1.2;
}

.hero-modern-text{
  font-size:18px;
  color:#555;
  margin-bottom:28px;
}

.pill-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#f3e3ea;
  color:#b76e8a;
  padding:8px 16px;
  border-radius:40px;
  font-weight:600;
  font-size:14px;
}

.btn-modern-primary{
  background:#b76e8a;
  color:#fff;
  padding:12px 26px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.hero-modern-card{
  max-width:780px;
  background:rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
  border-radius:20px;
  padding:40px 50px;
  border:1px solid #f1d6e0;
  box-shadow:0 10px 35px rgba(0,0,0,.05);
}

.btn-modern-primary:hover{
  background:#a35d78;
}

.background-fav{
  background:
    radial-gradient(circle at top left, rgba(182, 91, 127, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(182, 91, 127, 0.08), transparent 32%),
    linear-gradient(180deg, #fff5f8 0%, #ffffff 100%);
}

/* MOBILE */
@media(max-width:768px){
  .hero-modern{
    padding:70px 0;
  }

  .hero-modern-title{
    font-size:30px;
  }

  .hero-modern-text{
    font-size:16px;
  }
}

@media (max-width: 991.98px) {
  .about-title-left {
    text-align: center;
  }

  .about-section-head {
    text-align: center;
  }

  .hero-modern-card{
    padding:28px;
  }
}

@media (max-width: 576px) {
  .page-hero--about .container {
    padding: 2.3rem 1.35rem;
  }

  .about-media-card {
    padding: 1rem;
  }

  .about-logo-main {
    max-height: 250px;
  }

  .about-cover-image,
  .about-tall-image {
    max-height: 300px;
  }

  .about-feature-card,
  .about-ally-item,
  .about-school-item,
  .about-highlight-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
