/* =========================================================================
   CeCinCba — capa visual propia sobre app.css (compartido con el template).
   Mobile-first. Tipografías: Montserrat (títulos), Lato (texto),
   Marcellus (wordmark).
   ========================================================================= */

:root {
  --cc-blue:      #2f5fd6;
  --cc-blue-700:  #2340a8;
  --cc-navy:      #1b2a6b;
  --cc-sky:       #3a8fdc;
  --cc-ink:       #1f2433;
  --cc-text:      #4b5163;
  --cc-muted:     #7b8194;
  --cc-line:      #e6e9f0;
  --cc-bg:        #f5f7fb;
  --cc-dark:      #232733;
  --cc-radius:    14px;
  --cc-shadow:    0 10px 30px rgba(27,42,107,0.10);
  --cc-shadow-lg: 0 24px 60px rgba(27,42,107,0.18);
  --cc-font:      'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cc-display:   'Montserrat', 'Lato', sans-serif;
  --cc-word:      'Marcellus', Georgia, serif;
  --cc-nav-h:     72px;
}

body.cc,
body.cc-sub {
  font-family: var(--cc-font);
  color: var(--cc-text);
  background: var(--cc-bg);
}
body.cc-lock { overflow: hidden; }

.cc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .cc-container { padding: 0 24px; } }

.cc-center { text-align: center; margin-top: 28px; }
.cc-empty { padding: 32px 8px; color: var(--cc-muted); text-align: center; width: 100%; }

/* ---------- Botones ---------- */
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-family: var(--cc-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.cc-btn:focus-visible { outline: 3px solid rgba(58,143,220,0.45); outline-offset: 2px; }
.cc-btn-primary { background: var(--cc-blue-700); color: #fff; box-shadow: 0 8px 18px rgba(35,64,168,0.28); }
.cc-btn-primary:hover { background: var(--cc-navy); transform: translateY(-1px); }
.cc-btn-accent { background: var(--cc-sky); color: #fff; }
.cc-btn-accent:hover { background: #2b77c0; }
.cc-btn-outline { background: #fff; color: var(--cc-blue-700); border-color: var(--cc-blue-700); }
.cc-btn-outline:hover { background: var(--cc-blue-700); color: #fff; }
.cc-btn-block { width: 100%; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--cc-word);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.cc-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--cc-nav-h);
  background: var(--cc-blue-700);
  color: #fff;
  box-shadow: 0 2px 16px rgba(27,42,107,0.18);
  transition: background .25s ease, box-shadow .25s ease;
}
/* Home: flota transparente sobre el hero hasta que se scrollea. */
.cc-nav.is-overlay {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  box-shadow: none;
}
.cc-nav.is-overlay.is-solid {
  background: rgba(35,64,168,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 2px 16px rgba(27,42,107,0.25);
}
.cc-nav-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cc-brand { color: #fff; text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 0; }
.cc-brand .wordmark { font-size: 30px; }
.cc-brand img { height: 28px; width: auto; display: block; }
@media (min-width: 1024px) { .cc-brand img { height: 34px; } }

.cc-nav nav { margin-left: auto; display: none; }
.cc-menu { display: flex; gap: 4px; list-style: none; }
.cc-menu a {
  display: block;
  padding: 10px 14px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  position: relative;
  transition: color .15s ease, background .15s ease;
}
.cc-menu a:hover { color: #fff; background: rgba(255,255,255,0.10); }
.cc-menu a.active { color: #fff; }
.cc-menu a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.cc-unite {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--cc-blue-700);
  font-family: var(--cc-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cc-unite:hover { transform: translateY(-1px); box-shadow: 0 0 0 5px rgba(255,255,255,0.28); }

.cc-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.cc-toggle span { width: 20px; height: 2px; border-radius: 2px; background: #fff; }

@media (min-width: 1024px) {
  .cc-nav nav { display: block; }
  .cc-unite { display: inline-flex; }
  .cc-toggle { display: none; }
  .cc-nav-inner { padding: 0 24px; }
}

/* Drawer móvil */
.cc-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  z-index: 90;
  background: #fff;
  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(100%);
  /* visibility: sin esto la sombra asoma en el borde y los links cerrados
     siguen entrando en el orden de tabulación. */
  visibility: hidden;
  transition: transform .28s ease, visibility 0s linear .28s;
  box-shadow: var(--cc-shadow-lg);
}
.cc-drawer.open { transform: none; visibility: visible; transition: transform .28s ease; }
.cc-drawer-head { display: flex; align-items: center; justify-content: space-between; color: var(--cc-blue-700); padding-bottom: 8px; border-bottom: 1px solid var(--cc-line); }
.cc-drawer-head .wordmark { font-size: 26px; }
.cc-drawer-head img { height: 26px; width: auto; }
.cc-drawer-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--cc-bg); font-size: 16px; cursor: pointer; }
.cc-drawer ul { list-style: none; flex: 1; }
.cc-drawer ul a {
  display: block;
  padding: 14px 8px;
  color: var(--cc-ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--cc-line);
}
.cc-drawer ul a.active { color: var(--cc-blue); }
.cc-drawer-backdrop {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(15,20,40,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.cc-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* =========================================================================
   HERO
   ========================================================================= */
.cc-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  /* Degradé de base: se ve aunque todavía no haya foto cargada. */
  background: linear-gradient(160deg, #3b6fe3 0%, #2f5fd6 45%, #2340a8 100%);
}
.cc-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  /* La catedral está a la izquierda del centro: en vertical (móvil) que no se pierda. */
  background-position: 38% center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s ease, transform 6s ease;
}
.cc-hero-bg.is-loaded { opacity: 1; transform: none; }
/* Velo azul de marca sobre la foto, como en el sitio actual. */
.cc-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(35,64,168,0.50) 0%, rgba(47,95,214,0.48) 45%, rgba(35,64,168,0.78) 100%);
  pointer-events: none;
}
.cc-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: calc(var(--cc-nav-h) + 36px) 16px 48px;
  text-align: center;
}
/* En pantallas grandes el hero ocupa el alto completo, como portada. En
   móvil no: centrarlo en 100vh dejaba medio viewport de aire alrededor. */
@media (min-width: 768px) {
  .cc-hero { min-height: 100svh; }
  .cc-hero-inner { padding: calc(var(--cc-nav-h) + 40px) 24px 72px; }
}
.cc-hero-title {
  font-family: var(--cc-word);
  font-weight: 400;
  font-size: clamp(52px, 13vw, 96px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(15,25,70,0.35);
}
.cc-hero-title img {
  display: block;
  width: min(620px, 88vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(15,25,70,0.35));
}
.cc-hero-slogan {
  margin-top: 8px;
  font-family: var(--cc-display);
  font-weight: 500;
  font-size: clamp(16px, 3.6vw, 26px);
  color: rgba(255,255,255,0.92);
}
.cc-hero-text {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: clamp(14.5px, 2.2vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}
.cc-hero-text p + p { margin-top: 6px; }
/* Legibilidad sobre las zonas iluminadas de la foto. */
.cc-hero-text, .cc-hero-slogan { text-shadow: 0 1px 14px rgba(10,20,60,0.6); }
@media (max-width: 600px) {
  /* En móvil el párrafo largo empuja el buscador fuera de pantalla. */
  .cc-hero-text p + p { display: none; }
}

/* ---------- Buscador ---------- */
.cc-search { margin: 36px auto 0; max-width: 940px; text-align: left; }
.cc-search-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.cc-search-tabs button {
  position: relative;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--cc-ink);
  font-family: var(--cc-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.cc-search-tabs button:hover { transform: translateY(-1px); }
.cc-search-tabs button.active { background: var(--cc-blue-700); color: #fff; box-shadow: 0 8px 20px rgba(15,25,70,0.28); }
/* Piquito que apunta al buscador, como en el diseño actual. */
.cc-search-tabs button.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -9px;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: var(--cc-blue-700);
  border-bottom: 0;
}
.cc-search-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border-radius: var(--cc-radius);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.18), var(--cc-shadow-lg);
}
.cc-search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--cc-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cc-muted);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cc-search-field:focus-within { border-color: var(--cc-blue); box-shadow: 0 0 0 4px rgba(47,95,214,0.12); color: var(--cc-blue); }
.cc-search-field input,
.cc-search-field select {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px; /* 16px evita el zoom automático de iOS */
  color: var(--cc-ink);
}
.cc-search-field select { cursor: pointer; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%237b8194' d='M6 8 0 0h12z'/%3E%3C/svg%3E") right 2px center / 10px no-repeat; padding-right: 20px; }
.cc-search-field input::placeholder { color: #9aa0b1; }
.cc-search-cta { min-height: 56px; font-size: 16px; }
.cc-search .search-typeahead { color: var(--cc-ink); left: -2px; right: -2px; }
@media (min-width: 768px) {
  .cc-search-box { grid-template-columns: 1fr 210px 180px; padding: 18px; gap: 12px; }
}

/* Indicador para bajar */
.cc-hero-scroll {
  display: none;
  margin: 44px auto 0;
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 16px;
  position: relative;
}
.cc-hero-scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff;
  animation: cc-scroll 1.8s ease-in-out infinite;
}
@keyframes cc-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 768px) and (min-height: 760px) { .cc-hero-scroll { display: block; } }

/* =========================================================================
   SECCIONES
   ========================================================================= */
.cc-section { padding: 64px 0; }
.cc-section-alt { background: #fff; }
@media (min-width: 768px) { .cc-section { padding: 88px 0; } }

.cc-head { text-align: center; margin-bottom: 36px; }
.cc-head h2 {
  font-family: var(--cc-display);
  font-weight: 600;
  font-size: clamp(26px, 4.4vw, 36px);
  color: var(--cc-ink);
  letter-spacing: -0.01em;
}
.cc-head h2 strong { font-weight: 700; color: var(--cc-blue-700); }
.cc-head p { margin-top: 8px; color: var(--cc-muted); font-size: 15.5px; }
.cc-head-light h2, .cc-head-light p { color: #fff; }
.cc-head-light p { opacity: .85; }

[id] { scroll-margin-top: calc(var(--cc-nav-h) + 12px); }

/* ---------- Carrusel de propiedades ---------- */
.cc-carousel { position: relative; }
.cc-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  scrollbar-width: none;
}
.cc-carousel-track::-webkit-scrollbar { display: none; }
.cc-carousel-track > * { scroll-snap-align: start; }
@media (min-width: 640px)  { .cc-carousel-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (min-width: 960px)  { .cc-carousel-track { grid-auto-columns: calc((100% - 36px) / 3); } }
@media (min-width: 1180px) { .cc-carousel-track { grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; } }

.cc-carousel-nav {
  display: none;
  position: absolute;
  top: 38%;
  z-index: 3;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--cc-blue-700);
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--cc-shadow);
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
.cc-carousel-nav:hover { transform: scale(1.06); }
.cc-carousel-nav:disabled { opacity: 0; pointer-events: none; }
.cc-carousel-nav.prev { left: -18px; }
.cc-carousel-nav.next { right: -18px; }
@media (min-width: 960px) { .cc-carousel-nav { display: inline-flex; align-items: center; justify-content: center; } }

.cc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; min-height: 14px; }
.cc-dots button {
  width: 12px; height: 12px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid var(--cc-sky);
  background: transparent;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.cc-dots button.active { width: 28px; background: var(--cc-sky); }

/* ---------- Card de propiedad ---------- */
.cc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--cc-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(27,42,107,0.06);
  border: 1px solid var(--cc-line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cc-card:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-lg); }
.cc-card:focus-visible { outline: 3px solid rgba(58,143,220,0.5); outline-offset: 3px; }
.cc-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dfe6f5, #eef2fa);
  overflow: hidden;
}
.cc-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .5s ease; }
.cc-card:hover .cc-card-media img { transform: scale(1.05); }
.cc-card-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b8c3dc; }
.cc-card-noimg svg { width: 42px; height: 42px; }
.cc-card-media::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(0deg, rgba(10,16,40,0.72), transparent);
  z-index: 2;
}
.cc-tag {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--cc-display);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--cc-sky);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.cc-tag-tipo { left: 12px; }
.cc-tag-op { right: 12px; }
.cc-tag-op.is-venta { background: var(--cc-blue-700); }
.cc-tag-op.is-alquiler { background: #e2703a; }
.cc-tag-op.is-temp { background: #7c3aed; }
.cc-card-price {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 3;
  font-family: var(--cc-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.cc-card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.cc-card-body h3 {
  font-family: var(--cc-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cc-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.cc-card-loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--cc-muted); }
.cc-card-loc svg { color: var(--cc-sky); flex-shrink: 0; }
.cc-card-specs { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; font-size: 13.5px; color: var(--cc-text); }
.cc-card-specs li { display: inline-flex; align-items: center; gap: 6px; }
.cc-card-specs svg { color: var(--cc-blue); }
.cc-card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--cc-line);
  font-size: 13px;
  color: var(--cc-text);
  min-width: 0;
}
.cc-card-foot > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-avatar {
  position: relative;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cc-blue-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}
.cc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.cc-card-skel .cc-card-media { animation: none; }
.cc-card-skel .cc-card-body { gap: 12px; }

/* ---------- ¿Por qué elegirnos? ---------- */
.cc-why { padding: 24px 0 64px; }
.cc-why-band {
  background: linear-gradient(135deg, #2340a8, #2f5fd6);
  padding: 56px 0 120px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.cc-why-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .6;
}
.cc-why-band .cc-head { margin: 0; position: relative; }
.cc-why-card {
  position: relative;
  margin-top: -84px;
  display: grid;
  gap: 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--cc-shadow-lg);
  padding: 12px;
}
.cc-why-item { padding: 26px 20px; text-align: center; border-radius: 12px; transition: background .2s ease; }
.cc-why-item:hover { background: var(--cc-bg); }
.cc-why-icon { display: inline-flex; width: 76px; height: 76px; color: var(--cc-blue-700); margin-bottom: 14px; }
.cc-why-icon svg { width: 100%; height: 100%; }
.cc-why-item h3 { font-family: var(--cc-display); font-size: 18px; font-weight: 600; color: var(--cc-ink); margin-bottom: 10px; }
.cc-why-item p { font-size: 14.5px; line-height: 1.65; color: var(--cc-text); max-width: 360px; margin: 0 auto; }
@media (min-width: 768px) {
  .cc-why-band { margin: 0 24px; border-radius: 18px; max-width: 1240px; }
  .cc-why-band { margin-left: auto; margin-right: auto; width: calc(100% - 48px); }
  .cc-why-card { grid-template-columns: repeat(3, 1fr); padding: 20px; }
  .cc-why-item + .cc-why-item { border-left: 1px solid var(--cc-line); border-radius: 0; }
}

/* ---------- Lugares populares ---------- */
.cc-places { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .cc-places { gap: 16px; } }
@media (min-width: 900px) { .cc-places { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.cc-place {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  border-radius: var(--cc-radius);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  /* Placeholder hasta que se carguen las fotos: cada tarjeta con su tono. */
  background: linear-gradient(135deg, hsl(calc(215 + var(--i, 0) * 9) 62% 48%), hsl(calc(228 + var(--i, 0) * 9) 58% 32%));
  box-shadow: 0 4px 16px rgba(27,42,107,0.10);
  isolation: isolate;
}
.cc-place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.cc-place-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,16,40,0.55), rgba(10,16,40,0.18)); transition: background .3s ease; }
.cc-place-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; }
.cc-place-text strong { font-family: var(--cc-display); font-size: clamp(20px, 3vw, 24px); font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.cc-place-count { font-size: 15px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.35); min-height: 1.2em; }
.cc-place-go {
  position: absolute; left: 50%; bottom: 18px;
  transform: translate(-50%, 10px);
  opacity: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--cc-blue-700);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.cc-place:hover img { transform: scale(1.07); }
.cc-place:hover .cc-place-shade { background: linear-gradient(0deg, rgba(35,64,168,0.75), rgba(35,64,168,0.25)); }
.cc-place:hover .cc-place-go,
.cc-place:focus-visible .cc-place-go { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) and (min-width: 560px) { .cc-place-go { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 559px) {
  .cc-place { aspect-ratio: 4 / 5; }
  .cc-place-text strong { font-size: 17px; }
  .cc-place-count { font-size: 13px; }
}

/* ---------- Convenios ---------- */
.cc-convenios { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px)  { .cc-convenios { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 960px)  { .cc-convenios { grid-template-columns: repeat(5, 1fr); } }
.cc-convenio {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 112px; padding: 16px;
  background: #fff;
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  text-align: center; text-decoration: none; color: var(--cc-text);
  transition: transform .2s ease, box-shadow .2s ease;
}
a.cc-convenio:hover { transform: translateY(-3px); box-shadow: var(--cc-shadow); }
.cc-convenio img { max-height: 62px; max-width: 88%; object-fit: contain; transition: transform .2s ease; }
.cc-convenio:hover img { transform: scale(1.04); }
.cc-section-alt .cc-convenio { box-shadow: 0 2px 10px rgba(27,42,107,0.05); }
.cc-convenio-name { font-family: var(--cc-display); font-weight: 700; color: var(--cc-ink); }
.cc-convenio p { font-size: 13.5px; }
.cc-soon {
  grid-column: 1 / -1;
  padding: 32px 20px;
  text-align: center;
  border: 2px dashed #cfd6e6;
  border-radius: var(--cc-radius);
  color: var(--cc-muted);
}
.cc-soon strong { display: block; font-family: var(--cc-display); color: var(--cc-ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- Comisión directiva ---------- */
/* Mesa directiva (4) destacada arriba; el resto agrupado por cargo con cards
   más chicas. Así se entiende la jerarquía sin leer un listado de 19 nombres. */
.cc-team { display: grid; gap: 44px; }
.cc-team-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--cc-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cc-blue-700);
}
.cc-team-title::before,
.cc-team-title::after { content: ''; flex: 1; height: 1px; background: var(--cc-line); }

.cc-team-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}
@media (min-width: 640px) { .cc-team-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 190px)); gap: 18px; } }
.cc-team-group.is-featured .cc-team-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .cc-team-group.is-featured .cc-team-grid { grid-template-columns: repeat(4, minmax(0, 250px)); gap: 22px; }
}

.cc-person {
  background: #fff;
  border-radius: var(--cc-radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(27,42,107,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.cc-person:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-lg); }
.cc-person-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #e6ecf8, #d5deef);
  color: #b3c0da;
}
.cc-person-silhouette { position: absolute; left: 0; right: 0; bottom: 0; width: 72%; height: auto; margin: 0 auto; }
.cc-person-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.cc-person-info { padding: 12px 10px 14px; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cc-person-info h4 { font-family: var(--cc-display); font-size: 14px; font-weight: 600; color: var(--cc-ink); line-height: 1.3; }
.cc-person-info p { font-size: 12px; color: var(--cc-muted); letter-spacing: .02em; }
.cc-person-role {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(47,95,214,0.1);
  color: var(--cc-blue-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* Autoridades: card más grande y el cargo bien visible. */
.cc-person.is-featured .cc-person-photo { aspect-ratio: 4 / 5; }
.cc-person.is-featured .cc-person-info { padding: 16px 12px 18px; gap: 6px; }
.cc-person.is-featured h4 { font-size: 16px; }
.cc-person.is-featured .cc-person-role { background: var(--cc-blue-700); color: #fff; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.cc-footer { background: var(--cc-dark); color: rgba(255,255,255,0.78); }
.cc-footer-grid { display: grid; gap: 40px; padding: 64px 16px 48px; }
@media (min-width: 768px) { .cc-footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr; gap: 56px; padding: 72px 24px 56px; } }
.cc-footer-brand .wordmark { font-size: 34px; color: #fff; }
.cc-footer-brand img { width: 260px; max-width: 100%; height: auto; display: block; }
.cc-footer-brand small { display: block; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.6); }
/* Logo y frase forman un bloque: la frase va centrada respecto del logo. */
.cc-footer-id { display: inline-flex; flex-direction: column; align-items: center; text-align: center; width: 260px; max-width: 100%; }
.cc-footer-id p { margin: 16px 0 22px; line-height: 1.6; }
.cc-contact { list-style: none; display: grid; gap: 12px; }
.cc-contact li { display: flex; align-items: flex-start; gap: 10px; }
.cc-contact .ic { color: var(--cc-sky); margin-top: 2px; }
.cc-contact a { color: inherit; text-decoration: none; }
.cc-contact a:hover { color: #fff; }
.cc-footer h4 {
  font-family: var(--cc-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  padding-bottom: 12px;
  margin-bottom: 18px;
  position: relative;
}
.cc-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--cc-sky); }
.cc-footer-links { list-style: none; }
.cc-footer-links a {
  display: block;
  padding: 11px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color .15s ease, padding-left .15s ease;
}
.cc-footer-links a:hover { color: #fff; padding-left: 6px; }
.cc-unite-form { display: grid; gap: 12px; margin-top: 18px; }
.cc-unite-form input {
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font: inherit;
  font-size: 16px;
}
.cc-unite-form input::placeholder { color: rgba(255,255,255,0.55); }
.cc-unite-form input:focus { outline: 0; border-color: var(--cc-sky); background: rgba(255,255,255,0.1); }
.cc-unite-form .cc-btn { text-transform: uppercase; letter-spacing: .04em; }
.cc-unite-msg { font-size: 13px; min-height: 1.2em; }
.cc-unite-msg.is-error { color: #ff9b8a; }
.cc-unite-msg.is-ok { color: #8fd3a6; }
.cc-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; color: rgba(255,255,255,0.5); }
.cc-footer-bottom .cc-container { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }

/* =========================================================================
   POPUP "SUMATE"
   ========================================================================= */
.cc-popup {
  position: fixed;
  /* Abajo a la izquierda: a la derecha están WhatsApp e Instagram. */
  left: 16px; bottom: 16px; right: 82px;
  z-index: 70;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--cc-shadow-lg);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .25s ease, transform .25s ease;
}
.cc-popup.is-open { opacity: 1; transform: none; }
.cc-popup-close {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: rgba(20,24,40,0.75);
  color: #fff; font-size: 13px;
  cursor: pointer;
}
.cc-popup-body { display: grid; grid-template-columns: 120px 1fr; text-decoration: none; color: inherit; }
.cc-popup-img {
  min-height: 132px;
  background: linear-gradient(135deg, #3a8fdc, #2340a8) center / cover no-repeat;
}
.cc-popup-text { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 16px 18px; }
.cc-popup-text strong { font-family: var(--cc-display); font-size: 16px; font-weight: 700; color: var(--cc-blue-700); text-transform: uppercase; letter-spacing: .06em; }
.cc-popup-text span { font-size: 13.5px; color: var(--cc-text); line-height: 1.45; }
.cc-popup-text em { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--cc-sky); margin-top: auto; }
.cc-popup-body:hover em { text-decoration: underline; }

/* =========================================================================
   PÁGINAS INTERNAS (listado, mapa, ficha, socios)
   Heredan app.css; acá solo se alinean tipografía y colores con el home.
   ========================================================================= */
body.cc-sub .page-header {
  background: linear-gradient(135deg, #2340a8, #2f5fd6);
  color: #fff;
}
body.cc-sub .page-header h1 { font-family: var(--cc-display); color: #fff; }
body.cc-sub .page-header p { color: rgba(255,255,255,0.85); }
body.cc-sub h1, body.cc-sub h2, body.cc-sub h3 { font-family: var(--cc-display); }
/* El mapa ocupa el viewport: el navbar ya es sticky, no hace falta footer. */
body.cc-sub.app-fixed .cc-nav { position: relative; }
/* El sidebar de filtros del listado se pega debajo del navbar. */
body.cc-sub { --navbar-h: var(--cc-nav-h); }

/* Comisión en móvil: la mesa directiva queda en cards 2×2; el resto pasa a
   lista compacta. En grilla eran ~3.500px de scroll y columnas con huérfanas. */
@media (max-width: 639px) {
  .cc-team { gap: 32px; }
  .cc-team-group:not(.is-featured) .cc-team-grid { grid-template-columns: 1fr; gap: 8px; }
  .cc-person:not(.is-featured) {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
  }
  .cc-person:not(.is-featured):hover { transform: none; }
  .cc-person:not(.is-featured) .cc-person-photo {
    flex-shrink: 0;
    width: 56px;
    border-radius: 50%;
  }
  .cc-person:not(.is-featured) .cc-person-silhouette { width: 80%; }
  .cc-person:not(.is-featured) .cc-person-info {
    padding: 0;
    text-align: left;
    align-items: flex-start;
    gap: 2px;
  }
  .cc-person:not(.is-featured) h4 { font-size: 15px; }
}

/* =========================================================================
   MENÚ DESPLEGABLE "INSTITUCIÓN"
   ========================================================================= */
.cc-dd { position: relative; }
.cc-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 10px 10px 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,0.88);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: color .15s ease, background .15s ease;
}
.cc-dd-toggle:hover, .cc-dd.open .cc-dd-toggle { color: #fff; background: rgba(255,255,255,0.10); }
.cc-dd-toggle svg { transition: transform .2s ease; }
.cc-dd.open .cc-dd-toggle svg { transform: rotate(180deg); }
.cc-dd-toggle.active { color: #fff; }
.cc-dd-toggle.active::after {
  content: ''; position: absolute; left: 14px; right: 24px; bottom: 4px;
  height: 2px; border-radius: 2px; background: #fff;
}
.cc-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 230px;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--cc-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 5;
}
/* Puente invisible para que el hover no se corte entre el botón y el menú. */
.cc-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.cc-dd.open .cc-dd-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .18s ease, transform .18s ease;
}
@media (hover: hover) {
  .cc-dd:hover .cc-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s ease, transform .18s ease; }
  .cc-dd:hover .cc-dd-toggle svg { transform: rotate(180deg); }
}
.cc-menu .cc-dd-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--cc-ink);
  font-size: 14.5px;
  font-weight: 600;
}
.cc-menu .cc-dd-menu a:hover { background: var(--cc-bg); color: var(--cc-blue-700); }
.cc-menu .cc-dd-menu a.active { color: var(--cc-blue-700); background: rgba(47,95,214,0.08); }
.cc-menu .cc-dd-menu a.active::after { display: none; }

/* Drawer móvil: el grupo se muestra abierto, con los ítems indentados. */
.cc-drawer-list { list-style: none; flex: 1; overflow-y: auto; }
.cc-drawer-group { border-bottom: 1px solid var(--cc-line); padding: 12px 0 6px; }
.cc-drawer-label {
  display: block;
  padding: 0 8px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cc-muted);
}
.cc-drawer .cc-drawer-group ul { list-style: none; }
.cc-drawer .cc-drawer-group a { border-bottom: 0; padding: 10px 8px 10px 20px; font-weight: 600; }

/* =========================================================================
   DIÁLOGO "UNITE"
   ========================================================================= */
.cc-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow: visible;
}
.cc-dialog::backdrop { background: rgba(15,20,45,0.55); backdrop-filter: blur(3px); }
.cc-dialog[open] { animation: cc-pop .22s ease; }
@keyframes cc-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.cc-dialog-card {
  position: relative;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--cc-shadow-lg);
  padding: 28px 20px 22px;
}
@media (min-width: 560px) { .cc-dialog-card { padding: 34px 32px 26px; } }
.cc-dialog-close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: var(--cc-bg);
  color: var(--cc-ink);
  font-size: 15px;
  cursor: pointer;
}
.cc-dialog-close:hover { background: var(--cc-line); }
.cc-dialog-head { margin-bottom: 20px; padding-right: 36px; }
.cc-dialog-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cc-sky);
}
.cc-dialog-head h2 { font-family: var(--cc-display); font-size: 24px; color: var(--cc-ink); margin: 4px 0 6px; }
.cc-dialog-head p { font-size: 14.5px; color: var(--cc-text); line-height: 1.5; }

.cc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0; }
.cc-field label { font-size: 13.5px; font-weight: 700; color: var(--cc-ink); }
.cc-field label small { font-weight: 400; color: var(--cc-muted); }
.cc-field input {
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--cc-line);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  color: var(--cc-ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cc-field input:focus { outline: 0; border-color: var(--cc-blue); box-shadow: 0 0 0 4px rgba(47,95,214,0.12); }
.cc-field input[aria-invalid="true"] { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,0.12); }
.cc-field-row { display: flex; flex-direction: column; }
@media (min-width: 560px) {
  .cc-field-row { flex-direction: row; gap: 14px; }
  .cc-field-sm { flex: 0 0 150px; }
}
.cc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cc-form-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecec;
  color: #a12f2f;
  font-size: 14px;
}
.cc-form-error a { color: inherit; font-weight: 700; }
.cc-form-note { margin-top: 12px; font-size: 12.5px; color: var(--cc-muted); text-align: center; }
.cc-dialog-done { text-align: center; padding: 18px 0 8px; }
.cc-dialog-done h2 { font-family: var(--cc-display); font-size: 24px; color: var(--cc-ink); margin: 14px 0 8px; }
.cc-dialog-done p { color: var(--cc-text); margin: 0 auto 22px; max-width: 380px; line-height: 1.55; }
.cc-done-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(33,160,90,0.12); color: #1f9a55;
  font-size: 30px; font-weight: 700;
}

/* =========================================================================
   ACCESOS FLOTANTES (home): WhatsApp e Instagram, mismo estilo
   ========================================================================= */
.cc-fabs {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.cc-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cc-fab:hover { transform: translateY(-2px) scale(1.03); }
.cc-fab-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 10px 24px rgba(214,36,159,0.35);
}
.cc-fab-ig:hover { box-shadow: 0 14px 30px rgba(214,36,159,0.45); }
.cc-fab-ig:focus-visible { outline: 3px solid rgba(214,36,159,0.45); outline-offset: 3px; }
.cc-fab-wa {
  background: linear-gradient(135deg, #2fe06f 0%, #25d366 45%, #128c7e 100%);
  box-shadow: 0 10px 24px rgba(18,140,126,0.35);
}
.cc-fab-wa:hover { box-shadow: 0 14px 30px rgba(18,140,126,0.45); }
.cc-fab-wa:focus-visible { outline: 3px solid rgba(37,211,102,0.5); outline-offset: 3px; }
/* En celular, solo los íconos: el texto taparía contenido. */
@media (max-width: 639px) {
  .cc-fab { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .cc-fab-label { display: none; }
}

/* =========================================================================
   SOCIOS
   ========================================================================= */
/* Sin link: que no parezca clickeable. */
.inmo-card.is-static { cursor: default; }
.inmo-card.is-static:hover { transform: none; box-shadow: var(--shadow-xs); }

/* =========================================================================
   PÁGINAS INSTITUCIONALES
   ========================================================================= */
.cc-page-hero {
  position: relative;
  padding: 44px 0 48px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(35,64,168,0.86), rgba(47,95,214,0.80)),
    url("../images/hero.jpg") 38% 60% / cover no-repeat,
    linear-gradient(135deg, #2340a8, #2f5fd6);
}
@media (min-width: 768px) { .cc-page-hero { padding: 64px 0 68px; } }
.cc-page-hero h1 { font-family: var(--cc-display); font-size: clamp(30px, 5vw, 44px); color: #fff; }
.cc-page-hero p { margin-top: 8px; font-size: 16px; color: rgba(255,255,255,0.88); max-width: 640px; }
.cc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,0.75); }
.cc-crumbs a { color: #fff; text-decoration: none; }
.cc-crumbs a:hover { text-decoration: underline; }

.cc-narrow { max-width: 820px; }
.cc-kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-sky); margin-bottom: 10px; }
.cc-lead { font-size: 17px; line-height: 1.75; color: var(--cc-text); }

.cc-inst-intro { display: grid; gap: 32px; align-items: center; }
.cc-inst-intro h2, .cc-inst-split h2 {
  font-family: var(--cc-display); font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; color: var(--cc-ink); margin-bottom: 16px;
}
.cc-inst-facts { list-style: none; display: grid; gap: 12px; }
.cc-inst-facts li {
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border-left: 4px solid var(--cc-blue);
  box-shadow: 0 4px 16px rgba(27,42,107,0.07);
}
.cc-inst-facts strong { display: block; font-family: var(--cc-display); font-size: 20px; color: var(--cc-blue-700); }
.cc-inst-facts span { font-size: 14px; color: var(--cc-text); }
@media (min-width: 900px) { .cc-inst-intro { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.cc-mvv { display: grid; gap: 16px; }
.cc-mvv-pair { display: grid; gap: 16px; }
@media (min-width: 860px) { .cc-mvv-pair { grid-template-columns: repeat(2, 1fr); gap: 20px; } .cc-mvv { gap: 20px; } }

/* Valores: bloque propio, cada valor con título y explicación. */
.cc-values {
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2340a8, #2f5fd6);
  color: #fff;
}
.cc-values-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cc-values-head .cc-mvv-icon { margin: 0; width: 40px; height: 40px; color: #fff; }
.cc-values-head h3 { font-family: var(--cc-display); font-size: 22px; color: #fff; }
.cc-values-list { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px)  { .cc-values-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-values-list { grid-template-columns: repeat(5, 1fr); } .cc-values { padding: 32px; } }
.cc-values-list li {
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
}
.cc-values-list strong { display: block; font-family: var(--cc-display); font-size: 15.5px; line-height: 1.3; margin-bottom: 8px; }
.cc-values-list p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.86); }
.cc-mvv-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--cc-bg);
  border: 1px solid var(--cc-line);
}
.cc-mvv-icon { display: inline-flex; width: 48px; height: 48px; color: var(--cc-blue-700); margin-bottom: 14px; }
.cc-mvv-icon svg { width: 100%; height: 100%; }
.cc-mvv-card h3 { font-family: var(--cc-display); font-size: 20px; color: var(--cc-ink); margin-bottom: 10px; }
.cc-mvv-card p { font-size: 15px; line-height: 1.65; }

.cc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--cc-line);
  font-size: 14px;
  font-weight: 700;
  color: var(--cc-blue-700);
}
.cc-chips-strong { margin-top: 18px; }
.cc-chips-strong li { background: var(--cc-blue-700); border-color: var(--cc-blue-700); color: #fff; }

.cc-inst-split { display: grid; gap: 28px; align-items: center; }
.cc-inst-split p { font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.cc-inst-logo {
  margin: 0;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--cc-shadow);
  display: flex; align-items: center; justify-content: center;
}
.cc-inst-logo img { width: 100%; max-width: 340px; height: auto; }
@media (min-width: 900px) { .cc-inst-split { grid-template-columns: 1.5fr 1fr; gap: 56px; } }

.cc-features { display: grid; gap: 16px; }
@media (min-width: 860px) { .cc-features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cc-feature {
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--cc-line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cc-feature:hover { transform: translateY(-3px); box-shadow: var(--cc-shadow); }
.cc-feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(47,95,214,0.1); color: var(--cc-blue-700);
  margin-bottom: 16px;
}
.cc-feature-icon svg { width: 30px; height: 30px; }
.cc-feature h3 { font-family: var(--cc-display); font-size: 18px; color: var(--cc-ink); margin-bottom: 10px; }
.cc-feature p { font-size: 14.5px; line-height: 1.7; }

.cc-cierre {
  padding: 64px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #2340a8, #2f5fd6);
}
.cc-cierre .cc-container { max-width: 820px; }
.cc-cierre-text { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.88); }
.cc-cierre-invite { margin: 18px 0 26px; font-family: var(--cc-display); font-size: clamp(19px, 2.6vw, 23px); font-weight: 600; line-height: 1.45; color: #fff; }
.cc-btn-white { background: #fff; color: var(--cc-blue-700); }
.cc-btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(10,20,60,0.25); }

.cc-contact-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cc-contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cc-contact-cards { grid-template-columns: repeat(4, 1fr); } }
.cc-contact-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cc-line);
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.cc-contact-card span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-muted); }
.cc-contact-card a, .cc-contact-card strong { font-size: 15.5px; font-weight: 700; color: var(--cc-blue-700); text-decoration: none; overflow-wrap: anywhere; }
.cc-contact-card a:hover { text-decoration: underline; }

/* Balances y memorias */
.cc-doc-list { display: grid; gap: 12px; }
.cc-doc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cc-line);
}
.cc-doc-year {
  grid-row: span 2;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 12px;
  background: rgba(47,95,214,0.1); color: var(--cc-blue-700);
  font-family: var(--cc-display); font-weight: 700; font-size: 17px;
}
.cc-doc-title strong { display: block; font-family: var(--cc-display); color: var(--cc-ink); }
.cc-doc-title span { font-size: 13.5px; color: var(--cc-muted); }
.cc-doc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-doc-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  border: 1.5px solid var(--cc-blue-700);
  color: var(--cc-blue-700); font-weight: 700; font-size: 14px; text-decoration: none;
}
.cc-doc-link:hover { background: var(--cc-blue-700); color: #fff; }
@media (min-width: 640px) {
  .cc-doc-row { grid-template-columns: auto 1fr auto; }
  .cc-doc-year { grid-row: auto; }
}
/* En el home el botón de Instagram flota sobre el final de la página: que no
   tape la última línea del footer. */
body.cc .cc-footer-bottom { padding-bottom: 144px; }

/* Aviso "Sumate" en celular: más compacto, al lado de los accesos flotantes. */
@media (max-width: 639px) {
  .cc-popup-body { grid-template-columns: 76px 1fr; }
  .cc-popup-img { min-height: 0; }
  .cc-popup-text { padding: 12px 12px 12px 14px; gap: 4px; }
  .cc-popup-text strong { font-size: 13.5px; letter-spacing: .04em; }
  .cc-popup-text span { font-size: 12.5px; }
  .cc-popup-close { width: 28px; height: 28px; top: 6px; left: 6px; font-size: 12px; }
}

/* =========================================================================
   CONVENIOS: logo clickeable + diálogo
   ========================================================================= */
button.cc-convenio {
  position: relative;
  width: 100%;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
}
button.cc-convenio:hover,
button.cc-convenio:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(47,95,214,0.35);
  box-shadow: var(--cc-shadow);
}
button.cc-convenio:focus-visible { outline: 3px solid rgba(58,143,220,0.45); outline-offset: 2px; }
/* "Ver beneficio" asoma desde abajo al pasar el mouse. */
.cc-convenio-more {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 6px 0;
  background: var(--cc-blue-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  transform: translateY(100%);
  transition: transform .2s ease;
}
button.cc-convenio:hover .cc-convenio-more,
button.cc-convenio:focus-visible .cc-convenio-more { transform: none; }
/* En pantallas táctiles no hay hover: una pista fija y discreta. */
@media (hover: none) {
  .cc-convenio-more { transform: none; background: transparent; color: var(--cc-blue); position: static; padding: 0; font-size: 11.5px; }
}

.cc-conv-dialog { width: min(520px, calc(100vw - 24px)); }
.cc-conv-dialog .cc-dialog-card { text-align: center; }
.cc-conv-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin: 4px 0 18px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--cc-line);
}
.cc-conv-logo img { max-width: 260px; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.cc-conv-logo strong { font-family: var(--cc-display); font-size: 22px; color: var(--cc-ink); }
.cc-conv-demo {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #8a5a00;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cc-conv-dialog .cc-dialog-kicker { display: block; }
.cc-conv-dialog h2 { font-family: var(--cc-display); font-size: 22px; line-height: 1.3; color: var(--cc-ink); margin: 6px 0 10px; }
.cc-conv-desc { font-size: 15px; line-height: 1.65; color: var(--cc-text); margin: 0 auto 22px; max-width: 420px; }
.cc-conv-ctas { display: grid; gap: 10px; }
.cc-conv-ctas .cc-btn { width: 100%; }
.cc-btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 18px rgba(18,140,126,0.25); }
.cc-btn-wa:hover { background: #1ebe5a; transform: translateY(-1px); }

/* Membresías: FIRA arriba; "Formamos parte de" con CILA y CAME debajo. */
.cc-memb { flex-direction: column; gap: 0; padding: 28px 24px; }
.cc-memb .cc-memb-main { width: 100%; max-width: 320px; height: auto; }
.cc-memb-caption {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin: 22px 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cc-muted);
}
.cc-memb-caption::before, .cc-memb-caption::after { content: ''; flex: 1; height: 1px; background: var(--cc-line); }
.cc-memb-row { display: flex; align-items: center; justify-content: center; gap: 32px; }
.cc-memb .cc-memb-sub { height: 84px; width: auto; max-width: 46%; object-fit: contain; }

/* Directivos en la lista móvil: el círculo de 56px muestra la cara, no el
   medio cuerpo (las fotos son 4:5 con la cara al 38% del alto). */
@media (max-width: 639px) {
  .cc-person:not(.is-featured) .cc-person-photo img { transform: scale(1.75); transform-origin: 50% 34%; }
}
/* Tarjetas cuadradas (vocales y revisores): las fotos son 4:5; el recorte
   centrado dejaba la cabeza pegada al borde superior. */
.cc-person:not(.is-featured) .cc-person-photo img { object-position: 50% 28%; }
