/*
Theme Name:   ECC Divi Child
Theme URI:    https://test2.encuentroconcristo.cl
Description:  Tema hijo de Divi para Iglesia Encuentro con Cristo (diseño Opción C exacto, en caja). Colores, tipografía, botones, menú y accesibilidad de la marca.
Author:       Visibilidad IECC
Template:     Divi
Version:      1.7.1
Text Domain:  ecc-divi-child
*/

/* =========================================================
   1. Marca (cambia aquí y se actualiza todo el sitio)
   ========================================================= */
:root {
  --ecc-naranja: #E57200;      /* Pantone 152 C — primario */
  --ecc-naranja-texto: #9A4C00;/* naranja oscuro para textos pequeños (contraste AA) */
  --ecc-navy: #1D1F2A;         /* Pantone 532 C */
  --ecc-gris: #919D9D;         /* Pantone 443 C */
  --ecc-fondo: #F5F5F7;
  --ecc-borde: #E0E2E2;
  --ecc-texto-suave: #555A5A;
  --ecc-radio: 6px;
}

body, .et_pb_module, input, textarea, button {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
  font-weight: 500;
  color: var(--ecc-navy);
}
body { background: var(--ecc-fondo); }
#page-container, #main-content { background: var(--ecc-fondo); }

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif !important; color: inherit; padding-bottom: 0; }

/* Títulos editoriales grandes (añade la clase ecc-display a un título) */
.ecc-display, .ecc-display h1, .ecc-display h2 {
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: .9 !important;
}
.ecc-naranja { color: var(--ecc-naranja) !important; }
.ecc-eyebrow {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ecc-naranja-texto);
  margin-bottom: 12px;
}
.ecc-dark .ecc-eyebrow, .ecc-eyebrow.on-dark { color: var(--ecc-naranja); }

/* =========================================================
   2. Botones (módulo Botón de Divi + clase)
   ========================================================= */
.et_pb_button.ecc-btn, .ecc-btn .et_pb_button, .ecc-form .et_pb_contact_submit {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  border-radius: var(--ecc-radio) !important;
  padding: 14px 24px !important;
  border-width: 2px !important;
  line-height: 1.2 !important;
  transition: background .2s, color .2s, border-color .2s !important;
}
.et_pb_button.ecc-btn:after, .ecc-form .et_pb_contact_submit:after { display: none !important; }
.et_pb_button.ecc-btn:hover { padding: 14px 24px !important; }
.ecc-btn--primario { background: var(--ecc-naranja) !important; border-color: var(--ecc-naranja) !important; color: var(--ecc-navy) !important; }
.ecc-btn--primario:hover { background: #FF8A1A !important; border-color: #FF8A1A !important; }
.ecc-btn--oscuro { background: var(--ecc-navy) !important; border-color: var(--ecc-navy) !important; color: #fff !important; }
.ecc-btn--oscuro:hover { background: #33364A !important; border-color: #33364A !important; }
.ecc-btn--borde-claro { background: transparent !important; border-color: #fff !important; color: #fff !important; }
.ecc-btn--borde-claro:hover { background: #fff !important; color: var(--ecc-navy) !important; }
.ecc-btn--borde { background: transparent !important; border-color: var(--ecc-navy) !important; color: var(--ecc-navy) !important; }
.ecc-btn--borde:hover { background: var(--ecc-navy) !important; color: #fff !important; }
.ecc-botones { display: flex !important; flex-wrap: wrap; gap: 12px; align-content: flex-start; }
.ecc-botones > *:not(.et_pb_button_module_wrapper) { flex: 0 0 100%; }
.ecc-botones .et_pb_button_module_wrapper { margin: 0 !important; }

/* =========================================================
   3. Caja de margen (diseño "boxed", no ancho completo)
   ========================================================= */
html, body { background: #DCDFE0 !important; }
#page-container {
  max-width: 1320px;
  margin: 24px auto !important;
  padding-top: 0 !important;
  background: var(--ecc-fondo);
  border-radius: 0;
  overflow: clip;
  box-shadow: 0 30px 80px rgba(29, 31, 42, .12);
}
#et-main-area, #main-content { background: transparent !important; }
#main-content .container:before { display: none; }
/* Ocultar el encabezado y pie propios de Divi: los reemplaza el de Opción C */
#top-header, #main-header, #main-footer, .et_slide_in_menu_container { display: none !important; }
body.et_fixed_nav #page-container, body.et_fixed_nav.et_secondary_nav_enabled #page-container { padding-top: 0 !important; }
@media (max-width: 860px) {
  #page-container { margin: 0 !important; border-radius: 0; box-shadow: none; }
}

/* =========================================================
   4. Bloques de Opción C dentro de Divi (módulos de Código)
      Cada sección del inicio es un módulo "Código" de Divi.
      Aquí se quitan los márgenes que Divi agrega por defecto.
   ========================================================= */
.ecc-c-seccion.et_pb_section, .ecc-c-seccion .et_pb_row { padding: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
.ecc-c-seccion .et_pb_column { margin: 0 !important; width: 100% !important; }
.ecc-c-seccion .et_pb_module { margin: 0 !important; }
.ecc-c-seccion.et_pb_section { background: transparent; z-index: auto; }
.ecc-c-seccion .et_pb_row, .ecc-c-seccion .et_pb_column, .ecc-c-seccion .et_pb_code, .ecc-c-seccion .et_pb_code_inner { overflow: visible !important; z-index: auto; position: static; }

.ecc-c { font-family: Montserrat, sans-serif; font-weight: 500; color: #1D1F2A; line-height: normal; font-size: 16px; }
.ecc-c *, .ecc-c *:before, .ecc-c *:after { box-sizing: border-box; }
.ecc-c a { color: #1D1F2A; text-decoration: none; }
.ecc-c h1, .ecc-c h2, .ecc-c h3, .ecc-c h4 { padding: 0; color: inherit; font-family: Montserrat, sans-serif !important; line-height: 1.15; }
.ecc-c p { padding: 0; }
.ecc-c ul, .ecc-c ol { padding: 0 !important; margin: 0; list-style: none !important; line-height: inherit; }
.ecc-c li { margin: 0; }
.ecc-c img { max-width: 100%; }
.ecc-c .wrap, .ecc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.ecc-c .d { font-family: Montserrat, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: .9 !important; }
.ecc-c .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.ecc-c .ul:hover { text-decoration: underline; }
.ecc-c .card { transition: transform .25s, box-shadow .25s; }
.ecc-c .card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(29, 31, 42, .10); }
.ecc-c .btn { display: inline-block; font-weight: 700; border-radius: 6px; transition: background .2s, color .2s, opacity .2s; }
.ecc-c .btn:hover { opacity: .88; }
@media (max-width: 860px) { .ecc-c .wrap, .ecc-wrap { padding: 0 20px; } }

/* Animaciones sutiles (de "Opción C animada") */
@keyframes ecc-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ecc-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes ecc-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ecc-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,114,0,.7); } 70% { box-shadow: 0 0 0 9px rgba(229,114,0,0); } 100% { box-shadow: 0 0 0 0 rgba(229,114,0,0); } }
@keyframes ecc-tight { from { letter-spacing: .04em; opacity: .15; } to { letter-spacing: -0.045em; opacity: 1; } }
@keyframes ecc-shade { to { box-shadow: 0 8px 30px rgba(29,31,42,.10); } }
.ecc-c .a-zoom { animation: ecc-zoom 1.8s cubic-bezier(.2,.7,.2,1) both; }
.ecc-c .a-up { animation: ecc-up .8s cubic-bezier(.2,.7,.2,1) both; }
.ecc-c .d1 { animation-delay: .1s; } .ecc-c .d2 { animation-delay: .25s; } .ecc-c .d3 { animation-delay: .4s; } .ecc-c .d4 { animation-delay: .55s; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E57200; margin-right: 6px; animation: ecc-pulse 2s infinite; }
@supports (animation-timeline: view()) {
  .ecc-c .rv { animation: ecc-up linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .ecc-c .rv-tight { animation: ecc-tight linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  #ecc-header { animation: ecc-shade linear both; animation-timeline: scroll(); animation-range: 0 160px; }
}

/* =========================================================
   5. Encabezado y menú (igual a Opción C)
   ========================================================= */
.ecc-topbar { background: #1D1F2A; color: #F5F5F7; font-size: 13px; font-family: Montserrat, sans-serif; font-weight: 500; }
.ecc-topbar .ecc-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.ecc-topbar a { color: #F5F5F7; text-decoration: none; }
.ecc-topbar a:hover { text-decoration: underline; }
.ecc-topbar .ecc-topbar-links { display: flex; gap: 18px; align-items: center; }
.ecc-topbar .ecc-envivo-link { color: #E57200; font-weight: 700; }
#ecc-header { background: #FFFFFF; position: sticky; top: 0; z-index: 9990; border-bottom: 1px solid #E0E2E2; font-family: Montserrat, sans-serif; }
.admin-bar #ecc-header { top: 32px; }
#ecc-header nav.ecc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
#ecc-header .ecc-logo img { height: 40px; width: auto; display: block; }
.ecc-navlinks { display: flex; gap: 2px; align-items: center; margin: 0; padding: 0; list-style: none; }
.ecc-navlinks > li { margin: 0; padding: 0; list-style: none; }
.ecc-navbtn { font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 700; color: #1D1F2A; background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 0 11px; height: 68px; cursor: pointer; display: flex; align-items: center; gap: 5px; }
.ecc-navbtn[aria-expanded="true"] { border-bottom-color: #E57200; }
.ecc-navbtn svg { transition: transform .2s; }
.ecc-navbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ecc-navlink { font-size: 14px; font-weight: 700; padding: 0 11px; line-height: 68px; color: #1D1F2A; text-decoration: none; display: block; }
.ecc-navlink:hover { text-decoration: underline; color: #1D1F2A; }
.ecc-cta { background: #E57200; color: #1D1F2A !important; font-weight: 700; font-size: 14px; padding: 13px 18px; border-radius: 6px; flex-shrink: 0; text-decoration: none; }
.ecc-cta:hover { background: #FF8A1A; }
.ecc-panel { position: absolute; left: 0; right: 0; top: 69px; background: #FFFFFF; border-top: 1px solid #E0E2E2; box-shadow: 0 30px 60px rgba(29,31,42,.14); animation: ecc-drop .22s ease-out both; }
.ecc-panel[hidden] { display: none; }
.ecc-panel .ecc-wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 36px; padding-bottom: 44px; }
.ecc-panel-intro { flex: 0 1 280px; min-width: 220px; }
.ecc-panel-intro .ecc-panel-titulo { font-size: 40px; color: #E57200; font-weight: 900; text-transform: uppercase; letter-spacing: -0.045em; line-height: .9; }
.ecc-panel-intro p { font-size: 15px; line-height: 1.55; color: #555A5A; margin: 12px 0 0; padding: 0; }
.ecc-panel-grupos { flex: 1 1 600px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.ecc-grupo { display: flex; flex-direction: column; gap: 2px; }
.ecc-grupo-titulo { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #555A5A; padding-bottom: 10px; border-bottom: 2px solid #1D1F2A; margin-bottom: 8px; }
.ecc-grupo a { padding: 7px 0; display: flex; flex-direction: column; color: #1D1F2A; text-decoration: none; }
.ecc-grupo a:hover .ecc-l { text-decoration: underline; }
.ecc-grupo .ecc-l { font-size: 16px; font-weight: 700; }
.ecc-grupo .ecc-s { font-size: 13px; color: #555A5A; margin-top: 2px; }
.ecc-burger { display: none; background: transparent; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.ecc-burger span { display: block; height: 2px; background: #1D1F2A; margin: 5px 0; border-radius: 2px; }
.ecc-movil { display: none; }
@media (max-width: 860px) {
  .ecc-navlinks, #ecc-header .ecc-cta { display: none !important; }
  .ecc-burger { display: block; }
  .ecc-movil:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 69px; background: #fff; max-height: calc(100vh - 69px); overflow: auto; box-shadow: 0 30px 60px rgba(29,31,42,.14); padding: 8px 20px 28px; }
  .ecc-movil details { border-bottom: 1px solid #E0E2E2; }
  .ecc-movil summary, .ecc-movil > a { display: block; padding: 16px 0; font-size: 18px; font-weight: 700; color: #1D1F2A; text-decoration: none; cursor: pointer; list-style: none; border-bottom: 1px solid #E0E2E2; }
  .ecc-movil details summary { border-bottom: 0; }
  .ecc-movil summary::-webkit-details-marker { display: none; }
  .ecc-movil summary:after { content: "+"; float: right; color: #E57200; }
  .ecc-movil details[open] summary:after { content: "–"; }
  .ecc-movil .ecc-grupo { margin-bottom: 16px; }
  .ecc-movil .ecc-cta { display: block !important; text-align: center; margin-top: 20px; }
  .admin-bar #ecc-header { top: 0; }
}

/* =========================================================
   6. Pie de página (igual a Opción C)
   ========================================================= */
#ecc-footer { background: #1D1F2A; color: #BCC3C3; padding: 56px 0 28px; font-size: 14px; font-family: Montserrat, sans-serif; font-weight: 500; }
#ecc-footer a { color: #BCC3C3; text-decoration: none; }
#ecc-footer a:hover { text-decoration: underline; }
#ecc-footer .ecc-footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
#ecc-footer .ecc-footer-marca { flex: 1 1 260px; }
#ecc-footer .ecc-footer-marca img { height: 44px; width: auto; display: block; }
#ecc-footer .ecc-footer-marca p { margin: 14px 0 0; line-height: 1.6; max-width: 280px; padding: 0; }
#ecc-footer nav { display: flex; flex-direction: column; gap: 9px; min-width: 150px; }
#ecc-footer .ecc-footer-titulo { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #E57200; }
#ecc-footer .ecc-footer-legal { margin-top: 44px; padding-top: 18px; border-top: 1px solid #33364A; font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* =========================================================
   7. Páginas interiores (mismo lenguaje visual)
   ========================================================= */
.ecc-c .pg-hero { position: relative; min-height: 380px; background: #1D1F2A; color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.ecc-c .pg-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ecc-c .pg-hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,31,42,.9) 0%, rgba(29,31,42,.6) 55%, rgba(29,31,42,.3) 100%); }
.ecc-c .pg-hero .wrap { position: relative; width: 100%; padding-top: 80px; padding-bottom: 64px; }
.ecc-c .pg-hero h1 { font-size: clamp(48px, 7vw, 96px); margin: 0; }
.ecc-c .pg-hero p { font-size: 19px; line-height: 1.5; margin: 18px 0 0; max-width: 620px; color: #E0E2E2; }
.ecc-c .pg-nav { background: #fff; border-bottom: 1px solid #E0E2E2; }
.ecc-c .pg-nav .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 16px; padding-bottom: 16px; }
.ecc-c .pg-nav a { font-size: 14px; font-weight: 700; }
.ecc-c .pg-nav a:hover { color: #9A4C00; }
.ecc-c .blk { padding: 88px 0 0; scroll-margin-top: 90px; }
.ecc-c-seccion:last-child .blk { padding-bottom: 104px; }
.ecc-c .blk h2.d { font-size: clamp(40px, 5.5vw, 68px); margin: 12px 0 28px; }
.ecc-c .kk { color: #9A4C00; }
.ecc-c .lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; font-weight: 700; max-width: 820px; margin: 0 0 28px; }
.ecc-c .txt { font-size: 16px; line-height: 1.7; color: #3A3D47; max-width: 820px; }
.ecc-c .txt p { margin: 0 0 16px; }
.ecc-c .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.ecc-c .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.ecc-c .tile { background: #fff; border: 1px solid #E0E2E2; border-radius: 14px; padding: 24px; }
.ecc-c .tile h3 { font-size: 18px; font-weight: 700; margin: 0; }
.ecc-c .tile .tag { font-size: 13px; font-weight: 700; color: #9A4C00; margin-top: 2px; }
.ecc-c .tile p { font-size: 14px; line-height: 1.55; color: #555A5A; margin: 8px 0 0; }
.ecc-c .tile .num { font-size: 22px; font-weight: 900; color: #E57200; }
.ecc-c .panel { background: #fff; border-radius: 18px; padding: 40px 36px; }
.ecc-c .panel-dark { background: #1D1F2A; color: #fff; border-radius: 22px; padding: 48px 44px; }
.ecc-c .panel-dark p, .ecc-c .panel-dark li { color: #BCC3C3; }
.ecc-c .panel-naranja { background: #E57200; border-radius: 18px; padding: 40px 36px; }
.ecc-c .lista li { border-top: 1px solid #E0E2E2; padding: 14px 0; font-size: 16px; line-height: 1.5; display: flex; gap: 14px; }
.ecc-c .lista li b { color: #E57200; min-width: 28px; }
.ecc-c .datos { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 16px; }
.ecc-c .datos dt { font-weight: 700; color: #555A5A; }
.ecc-c .datos dd { margin: 0; font-weight: 700; }
.ecc-c .botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ecc-c .b-nar { background: #E57200; color: #1D1F2A; padding: 15px 24px; font-size: 15px; }
.ecc-c .b-osc { background: #1D1F2A; color: #fff !important; padding: 15px 24px; font-size: 15px; }
.ecc-c .b-borde { border: 2px solid #1D1F2A; padding: 13px 22px; font-size: 15px; }
.ecc-c .b-borde-claro { border: 2px solid #fff; color: #fff !important; padding: 13px 22px; font-size: 15px; }
.ecc-c .credo { font-size: 16px; line-height: 1.7; font-style: italic; border-left: 4px solid #E57200; padding: 4px 0 4px 22px; max-width: 820px; color: #3A3D47; }
.ecc-c .area { background: #fff; border: 1px solid #E0E2E2; border-radius: 14px; padding: 24px; }
.ecc-c .area h3 { font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #1D1F2A; }
.ecc-c .area li { font-size: 14px; padding: 5px 0; color: #3A3D47; }
.ecc-c .area li:before { content: ""; display: inline-block; width: 6px; height: 6px; background: #E57200; margin-right: 10px; vertical-align: middle; }

/* =========================================================
   8. Accesibilidad y movimiento reducido
   ========================================================= */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .et_pb_button:focus-visible { outline: 3px solid #E57200 !important; outline-offset: 3px; }
.ecc-skip { position: absolute; left: -9999px; }
.ecc-skip:focus { left: 16px; top: 12px; z-index: 100000; background: #fff; padding: 10px 14px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .ecc-c .card:hover { transform: none; }
}

/* "BIENVENIDO" ocupa todo el ancho de la caja sin salirse */
.ecc-c .rv-tight { font-size: clamp(40px, calc((min(100vw, 1320px) - 64px) / 6.6), 172px) !important; white-space: nowrap; }

/* =========================================================
   9. DISEÑO CON MÓDULOS NATIVOS DE DIVI (v1.4)
      Secciones con clase "cs", filas "cr", columnas "cc",
      Texto "ct", Imagen "ci", Botón "cb", Código "ccode".
      El diseño vive aquí; el contenido se edita en Divi.
   ========================================================= */
/* --- Reinicio de los márgenes de Divi --- */
.et_pb_section.cs { padding: 0 !important; background-color: transparent; position: relative; }
.cs :where(.et_pb_row.cr) { width: 100% !important; max-width: 1200px !important; margin: 0 auto !important; padding: 0 32px !important; box-sizing: border-box; display: block; }
.cs :where(.et_pb_row.cr.full) { max-width: none !important; padding: 0 !important; }
.cs .et_pb_row.cr:after { display: none; }
.cs :where(.et_pb_column.cc) { float: none !important; width: auto !important; margin: 0 !important; }
.cs :where(.et_pb_module) { margin: 0 !important; }
.cs .et_pb_text { font-family: Montserrat, sans-serif; font-weight: 500; color: #1D1F2A; line-height: 1.5; font-size: 16px; }
.cs :where(.et_pb_text) :where(p) { padding: 0; margin: 0; }
.cs :where(.et_pb_text) :where(h1, h2, h3) { padding: 0; margin: 0; color: inherit; line-height: 1.15; }
.cs .et_pb_text h1, .cs .et_pb_text h2, .cs .et_pb_text h3 { font-family: Montserrat, sans-serif !important; }
.cs .et_pb_text a { color: inherit; text-decoration: none; }
.cs .et_pb_text a:hover { text-decoration: underline; }
.cs .et_pb_text ul, .cs .et_pb_text ol { padding: 0 !important; margin: 0; list-style: none !important; line-height: inherit; }
.cs .et_pb_image .et_pb_image_wrap { display: block; width: 100%; height: 100%; }
.cs .et_pb_image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs .et_pb_image { text-align: left; }

/* --- Tipografía reutilizable dentro de los módulos de Texto --- */
.cs .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #9A4C00; }
.cs .k-nar { color: #E57200; } .cs .k-gris { color: #555A5A; } .cs .k-claro { color: #919D9D; }
.cs .d { font-weight: 900 !important; text-transform: uppercase; letter-spacing: -0.045em; line-height: .9 !important; }
.cs .nar { color: #E57200; } .cs .blanco { color: #fff; }
.cs .mt-s { margin-top: 10px !important; } .cs .mt-m { margin-top: 24px !important; } .cs .mt-l { margin-top: 40px !important; }

/* --- Botones (módulo Botón con clase cb) --- */
.cs .et_pb_button_module_wrapper { margin: 0 !important; display: inline-block; }
.cs .et_pb_button.cb { font-family: Montserrat, sans-serif !important; font-weight: 700 !important; font-size: 15px !important; line-height: 1.2 !important; letter-spacing: 0 !important; border-radius: 6px !important; border: 2px solid transparent !important; padding: 13px 22px !important; display: inline-block; transition: opacity .2s, background .2s, color .2s !important; }
.cs .et_pb_button.cb:after, .cs .et_pb_button.cb:before { display: none !important; }
.cs .et_pb_button.cb:hover { padding: 13px 22px !important; opacity: .88; }
.cs .et_pb_button.cb--nar { background: #E57200 !important; border-color: #E57200 !important; color: #1D1F2A !important; }
.cs .et_pb_button.cb--osc { background: #1D1F2A !important; border-color: #1D1F2A !important; color: #fff !important; }
.cs .et_pb_button.cb--blanco { background: #fff !important; border-color: #fff !important; color: #1D1F2A !important; }
.cs .et_pb_button.cb--borde { background: transparent !important; border-color: #1D1F2A !important; color: #1D1F2A !important; }
.cs .et_pb_button.cb--borde-claro { background: transparent !important; border-color: #fff !important; color: #fff !important; }
.cs .cb.grande { font-size: 16px !important; padding: 15px 26px !important; }
.cs .cb.chico { font-size: 14px !important; padding: 10px 16px !important; }
.cs .et_pb_button.cb--vivo:before { content: "" !important; display: inline-block !important; position: static !important; width: 8px; height: 8px; border-radius: 50%; background: #E57200; margin-right: 8px; vertical-align: middle; animation: ecc-pulse 2s infinite; opacity: 1 !important; }
.cs .btns { display: flex !important; flex-wrap: wrap; gap: 12px; align-items: center; }

/* --- 1. Portada --- */
.cs.cs-hero { background: #1D1F2A !important; color: #fff; overflow: hidden; padding: 104px 0 136px !important; }
.cs-hero .cr.r-bg { position: absolute !important; inset: 0; max-width: none !important; padding: 0 !important; z-index: 0; }
.cs-hero .r-bg .cc, .cs-hero .r-bg .et_pb_image, .cs-hero .r-bg .et_pb_image_wrap { height: 100%; width: 100%; }
.cs-hero .r-bg img { filter: grayscale(1) contrast(1.1); opacity: .16; object-position: center 45%; animation: ecc-zoom 1.8s cubic-bezier(.2,.7,.2,1) both; }
.cs-hero .r-bg:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,31,42,.35) 0%, rgba(29,31,42,0) 40%, rgba(29,31,42,.55) 100%); pointer-events: none; }
.cs-hero .cr:not(.r-bg) { position: relative; z-index: 1; }
.cs-hero .et_pb_text { color: #fff; }
.cs-hero .k { color: #E57200; margin-bottom: 18px !important; }
.cs-hero h1 { font-size: clamp(42px, 6vw, 88px) !important; }
.cs-hero .lead { font-size: 20px; line-height: 1.5; margin-top: 24px !important; max-width: 560px; color: #BCC3C3; }
.cs-hero .et_pb_row.r-datos { margin-top: 48px !important; }
.cs-hero .r-datos.cr { display: grid !important; grid-template-columns: 1fr 1fr 1.2fr; gap: 24px; padding-top: 28px !important; }
.cs-hero .r-datos:before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; border-top: 1px solid rgba(255,255,255,.14); }
.cs-hero .r-datos .k { color: #919D9D; margin: 0 !important; }
.cs-hero .dato { font-size: 22px; font-weight: 900; margin-top: 6px !important; }

/* --- 2. Tarjeta En vivo --- */
.cs.cs-live { z-index: 2; margin-top: -64px; }
.cs-live .cr { max-width: 884px !important; }
.cs-live .r-live.cr { display: flex !important; flex-wrap: wrap; gap: 22px; align-items: center; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(29,31,42,.14); padding: 18px !important; max-width: 820px !important; }
.cs-live .c-thumb { flex: 0 0 170px; height: 110px; border-radius: 10px; overflow: hidden; }
.cs-live .c-thumb .et_pb_image, .cs-live .c-thumb .et_pb_image_wrap { height: 110px; }
.cs-live .c-live-txt { flex: 1 1 260px; min-width: 0; }
.cs-live h2 { font-size: 22px; font-weight: 900; }
.cs-live h2:before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E57200; margin-right: 8px; vertical-align: middle; animation: ecc-pulse 2s infinite; }
.cs-live p { font-size: 15px; color: #555A5A; margin: 4px 0 12px !important; }
.cs-live .cb { font-size: 14px !important; padding: 12px 18px !important; }

/* --- 3. Bienvenido --- */
.cs.cs-bien { padding-top: 104px !important; overflow: hidden; }
.cs-bien .r-intro.cr { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
.cs-bien .intro { flex: 1 1 520px; max-width: 660px; }
.cs-bien .intro p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; font-weight: 700; text-transform: uppercase; }
.cs-bien .link a, .cs .link a { font-weight: 700; font-size: 15px; }
.cs-bien h2.gigante { font-size: clamp(40px, calc((min(100vw, 1320px) - 64px) / 6.6), 172px) !important; color: #E57200; text-align: center; white-space: nowrap; margin-top: 32px !important; position: relative; z-index: 2; }
.cs-bien .r-foto .et_pb_image, .cs-bien .r-foto .et_pb_image_wrap { height: 440px; }
.cs-bien .r-foto img { object-position: center 40%; }
.cs-bien .et_pb_row.r-foto { margin-top: -0.3em !important; }

/* --- 4. Participar --- */
.cs.cs-part { padding-top: 104px !important; }
.cs .r-head.cr { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px !important; }
.cs .r-head h2 { font-size: clamp(44px, 6vw, 76px); margin-top: 12px !important; }
.cs .grid-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.cs .tarjeta { background: #fff; border: 1px solid #E0E2E2; border-radius: 14px; transition: transform .25s, box-shadow .25s; }
.cs .tarjeta:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(29,31,42,.10); }
.cs .tarjeta a { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 24px; text-decoration: none !important; height: 100%; box-sizing: border-box; }
.cs .tarjeta img { grid-row: 1 / 4; width: 44px; height: 44px; padding: 11px; box-sizing: border-box; border-radius: 10px; background: #FFF3E6; }
.cs .tarjeta strong { font-size: 18px; font-weight: 700; display: block; }
.cs .tarjeta em { font-style: normal; font-size: 13px; font-weight: 700; color: #9A4C00; display: block; margin-top: 2px; }
.cs .tarjeta span { font-size: 14px; line-height: 1.5; color: #555A5A; display: block; margin-top: 6px; }

/* --- 5. Actividades + Dar --- */
.cs.cs-act { padding-top: 104px !important; }
.cs-act .r-act.cr { display: flex !important; flex-wrap: wrap; gap: 20px; }
.cs-act .c-panel { flex: 1.2 1 480px; min-width: 0; background: #fff; border-radius: 18px; padding: 40px 36px !important; box-sizing: border-box; }
.cs-act .c-panel h2 { font-size: 48px; margin: 10px 0 24px !important; }
.cs-act .c-panel .link { margin-top: 18px !important; }
.cs .c-foto-card { flex: 1 1 360px; min-width: 0; position: relative; border-radius: 18px; overflow: hidden; min-height: 440px; color: #fff; display: flex !important; flex-direction: column; justify-content: flex-end; padding: 36px !important; box-sizing: border-box; }
.cs .c-foto-card .ci { position: absolute !important; inset: 0; z-index: 0; }
.cs .c-foto-card .ci img { object-position: center 25%; }
.cs .c-foto-card:before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(29,31,42,.1) 0%, rgba(29,31,42,.92) 72%); }
.cs .c-foto-card > .et_pb_module:not(.ci), .cs .c-foto-card > .et_pb_button_module_wrapper { position: relative; z-index: 2; }
.cs .c-foto-card .et_pb_text { color: #fff; }
.cs .c-foto-card .k { color: #E57200; }
.cs .c-foto-card h2 { font-size: 48px; margin: 10px 0 12px !important; }
.cs .c-foto-card p { font-size: 16px; line-height: 1.55; color: #E0E2E2; margin-bottom: 20px !important; }

/* --- 6. Primera visita --- */
.cs.cs-visita { padding-top: 104px !important; }
.cs-visita .r-visita.cr { display: flex !important; flex-wrap: wrap; gap: 48px; align-items: center; }
.cs-visita .c-img { flex: 1 1 340px; min-width: 0; position: relative; }
.cs-visita .c-img .et_pb_image_wrap { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; }
.cs-visita .c-img:after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 84px; height: 84px; background: #E57200; }
.cs-visita .c-txt { flex: 1.3 1 460px; min-width: 0; }
.cs-visita h2 { font-size: clamp(60px, 8.5vw, 116px); color: #E57200; margin: 14px 0 32px !important; }
.cs .pasos ol { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 26px; }
.cs .pasos li b { display: block; font-size: 22px; font-weight: 900; color: #E57200; }
.cs .pasos li strong { display: block; font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1.25; margin-top: 6px; }
.cs .pasos li span { display: block; font-size: 14px; line-height: 1.5; color: #555A5A; margin-top: 6px; }
.cs-visita .c-txt .et_pb_button_module_wrapper { margin: 32px 12px 0 0 !important; }

/* --- 7. Recursos --- */
.cs.cs-rec { padding-top: 120px !important; }
.cs-rec .r-dark.cr { display: flex !important; flex-wrap: wrap; background: #1D1F2A; color: #fff; border-radius: 22px; overflow: hidden; padding: 0 !important; max-width: 1136px !important; }
.cs-rec .c-img { flex: 1 1 380px; min-width: 0; position: relative; min-height: 320px; }
.cs-rec .c-img .et_pb_image { position: absolute !important; inset: 0; }
.cs-rec .c-img .et_pb_image a { display: block; height: 100%; }
.cs-rec .c-img img { object-position: center 30%; }
.cs-rec .c-img:after { content: ""; position: absolute; left: 24px; bottom: 24px; width: 64px; height: 64px; border-radius: 50%; background: #E57200 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231D1F2A'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/22px no-repeat; pointer-events: none; }
.cs-rec .c-txt { flex: 1 1 420px; min-width: 0; padding: 48px 44px !important; box-sizing: border-box; align-self: center; }
.cs-rec .c-txt .et_pb_button_module_wrapper { margin: 22px 10px 0 0 !important; }
.cs-rec .et_pb_text { color: #fff; }
.cs-rec .k { color: #E57200; }
.cs-rec h2 { font-size: clamp(40px, 5vw, 64px); margin: 14px 0 !important; }
.cs-rec p { font-size: 16px; line-height: 1.55; color: #BCC3C3; }


/* --- 8. Contacto --- */
.cs.cs-cont { margin-top: 120px; }
.cs-cont .r-cont.cr { display: flex !important; flex-wrap: wrap; }
.cs-cont .c-img { flex: 1 1 440px; min-width: 0; min-height: 520px; position: relative; }
.cs-cont .c-img .et_pb_image { position: absolute !important; inset: 0; }
.cs-cont .c-img img { object-position: center 30%; }
.cs-cont .c-form { flex: 1 1 440px; min-width: 0; background: #E57200; padding: 56px 52px !important; box-sizing: border-box; display: flex !important; flex-direction: column; gap: 16px; }
.cs-cont h2 { font-size: 60px; }
.cs-cont p { font-size: 16px; line-height: 1.5; }
.cs-cont .et_pb_button_module_wrapper { align-self: flex-start; }
.cs-cont .pie { font-size: 14px; font-weight: 700; line-height: 1.7; }
.cs .ecc-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; position: relative; }
.cs .ecc-form .fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.cs .ecc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; font-family: Montserrat, sans-serif; color: #1D1F2A; }
.cs .ecc-form input, .cs .ecc-form textarea { font-family: Montserrat, sans-serif; font-size: 15px; border: 0; border-radius: 6px; padding: 13px 14px; background: #fff; width: 100%; color: #1D1F2A; box-sizing: border-box; }
.cs .ecc-form button { font-family: Montserrat, sans-serif; background: #fff; color: #1D1F2A; font-weight: 700; font-size: 15px; border: 0; border-radius: 6px; padding: 15px; cursor: pointer; min-height: 48px; }

/* --- Páginas interiores --- */
.cs.cs-pghero { background: #1D1F2A !important; color: #fff; overflow: hidden; min-height: 380px; display: flex !important; flex-direction: column; justify-content: flex-end; padding: 80px 0 64px !important; }
.cs-pghero .cr.r-bg { position: absolute !important; inset: 0; max-width: none !important; padding: 0 !important; z-index: 0; }
.cs-pghero .r-bg .cc, .cs-pghero .r-bg .et_pb_image, .cs-pghero .r-bg .et_pb_image_wrap { height: 100%; width: 100%; }
.cs-pghero .r-bg img { animation: ecc-zoom 1.8s cubic-bezier(.2,.7,.2,1) both; }
.cs-pghero .r-bg:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,31,42,.9) 0%, rgba(29,31,42,.6) 55%, rgba(29,31,42,.3) 100%); }
.cs-pghero .cr:not(.r-bg) { position: relative; z-index: 1; width: 100% !important; }
.cs-pghero .et_pb_text { color: #fff; }
.cs-pghero .k { color: #E57200; margin-bottom: 16px !important; }
.cs-pghero h1 { font-size: clamp(48px, 7vw, 96px); }
.cs-pghero p:not(.k) { font-size: 19px; line-height: 1.5; margin-top: 18px !important; max-width: 620px; color: #E0E2E2; }
.cs.cs-pgnav { background: #fff !important; border-bottom: 1px solid #E0E2E2; }
.cs-pgnav p { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 16px 0 !important; }
.cs-pgnav a { font-size: 14px; font-weight: 700; }
.cs.cs-blk { padding-top: 88px !important; scroll-margin-top: 90px; }
.et_pb_section.cs-blk:last-child, .et_pb_section.cs-blk.ultimo { padding-bottom: 104px !important; }
.cs-blk .cr + .cr { margin-top: 24px !important; }
.cs-blk h2 { font-size: clamp(40px, 5.5vw, 68px); margin: 12px 0 28px !important; }
.cs-blk h3.k { color: #555A5A; margin: 16px 0 0 !important; }
.cs .lead p, .cs p.lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; font-weight: 700; max-width: 820px; }
.cs .txt { max-width: 820px; }
.cs .txt p { font-size: 16px; line-height: 1.7; color: #3A3D47; margin-bottom: 16px !important; }
.cs .tile { background: #fff; border: 1px solid #E0E2E2; border-radius: 14px; padding: 24px !important; }
.cs .tile h3 { font-size: 18px; font-weight: 700; }
.cs .tile .tag { font-size: 13px; font-weight: 700; color: #9A4C00; margin-top: 2px !important; }
.cs .tile p:not(.tag) { font-size: 14px; line-height: 1.55; color: #555A5A; margin-top: 8px !important; }
.cs .grid-2 { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.cs .area h3 { font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; margin: 6px 0 12px !important; padding-bottom: 10px !important; border-bottom: 2px solid #1D1F2A; }
.cs .area li { font-size: 14px; padding: 5px 0; color: #3A3D47; }
.cs .area li:before { content: ""; display: inline-block; width: 6px; height: 6px; background: #E57200; margin-right: 10px; vertical-align: middle; }
.cs .lista li { border-top: 1px solid #E0E2E2; padding: 14px 0; font-size: 16px; line-height: 1.5; display: flex; gap: 14px; }
.cs .lista li b { color: #E57200; min-width: 28px; }
.cs .credo p { font-size: 16px; line-height: 1.7; font-style: italic; border-left: 4px solid #E57200; padding: 4px 0 4px 22px; max-width: 820px; color: #3A3D47; }
.cs .r-2.cr { display: flex !important; flex-wrap: wrap; gap: 20px; }
.cs .r-2 > .cc { flex: 1 1 340px; min-width: 0; }
.cs .r-2 > .cc.ancho { flex: 1.35 1 480px; }
.cs .panel { background: #fff; border-radius: 18px; padding: 40px 36px !important; }
.cs .panel-osc { background: #1D1F2A; border-radius: 22px; padding: 44px 40px !important; }
.cs .panel-osc .et_pb_text { color: #fff; } .cs .panel-osc .k { color: #E57200; } .cs .panel-osc p { color: #BCC3C3; }
.cs .panel-nar { background: #E57200; border-radius: 18px; padding: 40px 36px !important; }
.cs .panel-nar .k { color: #1D1F2A; }
.cs .panel h2, .cs .panel-osc h2, .cs .panel-nar h2 { font-size: 44px; margin: 10px 0 20px !important; }
.cs .panel .btns, .cs .panel-osc .btns, .cs .panel-nar .btns { margin-top: 24px !important; }
.cs .datos dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 16px; }
.cs .datos dt { font-weight: 700; color: #555A5A; } .cs .datos dd { margin: 0; font-weight: 700; }
.cs .marco { border-radius: 18px; overflow: hidden; border: 1px solid #E0E2E2; }
.cs .video { border-radius: 18px; overflow: hidden; max-width: 900px; aspect-ratio: 16 / 9; background: #1D1F2A; }
.cs .video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) {
  .cs :where(.et_pb_row.cr) { padding: 0 20px !important; }
  .cs-hero .r-datos.cr { grid-template-columns: 1fr; }
  .cs-hero .r-datos:before { left: 20px; right: 20px; }
  .cs-act .c-panel, .cs .panel, .cs .panel-nar { padding: 32px 22px !important; }
  .cs-cont .c-form { padding: 40px 22px !important; }
  .cs-rec .c-txt { padding: 36px 24px !important; }
}
.cs .btns-col .et_pb_button_module_wrapper { margin: 24px 12px 0 0 !important; }
.cs .tarjeta, .cs .tile { height: 100%; box-sizing: border-box; }
.cs-cont.cs-cont-pg { margin-top: 88px; }
.cs-hero p.lead { font-weight: 500 !important; font-size: 20px !important; max-width: 560px; }

.cs .ccode a { color: #1D1F2A; text-decoration: none; }
.cs .ccode a:hover div div:first-child { text-decoration: underline; }
.cs-cont h2 + p { margin-top: 16px !important; }
.cs-visita h2 { color: #E57200 !important; }

/* Títulos principales: solo la primera letra en mayúscula (se respeta lo escrito) */
.cs .d, .ecc-c .d, .ecc-panel-intro .ecc-panel-titulo { text-transform: none !important; letter-spacing: -0.035em; line-height: .95 !important; }
/* Frase de bienvenida del inicio: texto normal (sin mayúsculas forzadas, peso regular) */
.cs-bien .intro p { text-transform: none !important; font-weight: 500 !important; font-size: 16px !important; line-height: 1.6 !important; }

/* =========================================================
   10. PÁGINA MEGAPIXEL (Niños y niñas) — /participar/megapixel/
   ========================================================= */
.cs-mp-hero.cs-hero { padding: 72px 0 80px !important; }
.cs-mp-hero .r-txt.cr { display: grid !important; grid-template-columns: 1fr 340px; gap: 24px; align-items: center; }
.cs-mp-hero .c-pix { position: relative; justify-self: center; }
.cs-mp-hero .c-pix .ci { width: 300px; }
.cs-mp-hero .c-pix .ci img { object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); animation: ecc-flota 4s ease-in-out infinite; }
.cs-mp-hero .c-pix .burbuja { position: absolute !important; left: -200px; top: 20px; z-index: 2; }
.cs-mp-hero h1 { font-size: clamp(52px, 8vw, 112px) !important; }
.cs-mp-hero .lead { margin-top: 16px !important; max-width: 640px !important; }
.cs-mp-hero .r-datos.cr { margin-top: 36px !important; padding-top: 22px !important; }
@keyframes ecc-flota { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.cs .burbuja { background: #fff; color: #1D1F2A; font-weight: 700; font-size: 15px; line-height: 1.35; border-radius: 18px; padding: 14px 18px !important; box-shadow: 0 12px 30px rgba(29,31,42,.12); max-width: 240px; position: relative; }
.cs .burbuja:after { content: ""; position: absolute; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); right: -6px; top: 30px; }
.cs .burbuja .nar { color: #E57200; }
.cs .burbuja p { margin: 0; }
.cs-mp .cs-blk, .cs.cs-mp { padding-top: 72px !important; }
.cs .mision { font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1.12; max-width: 980px; margin-top: 10px !important; }
.cs .mision .nar { color: #E57200; }
.cs .mision + p { font-size: 16px; line-height: 1.7; color: #3A3D47; max-width: 820px; margin-top: 16px !important; }
.cs .r-naranjo.cr { display: flex !important; flex-wrap: wrap; gap: 48px; align-items: center; }
.cs .r-naranjo .c-venn { flex: 1 1 380px; max-width: 480px; }
.cs .r-naranjo .c-venn img { object-fit: contain; height: auto; }
.cs .r-naranjo .c-t { flex: 1.2 1 420px; min-width: 0; }
.cs .r-naranjo h2 { font-size: clamp(40px, 5.5vw, 68px); margin: 8px 0 20px !important; }
.cs .r-naranjo .lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; font-weight: 700; }
.cs .r-naranjo .lead + p { font-size: 16px; line-height: 1.7; color: #3A3D47; margin-top: 12px !important; }
.cs .leyenda { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 20px !important; }
.cs .leyenda .tile { padding: 18px 20px !important; }
.cs .leyenda h3 { font-size: 16px !important; }
.cs .leyenda h3:before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; background: var(--c, #E57200); }
.cs .leyenda .t-am { --c: #F6C343; } .cs .leyenda .t-ro { --c: #D9412B; } .cs .leyenda .t-na { --c: #E57200; }
.cs .tile .n { font-size: 22px; font-weight: 900; color: #E57200; }
.cs .valores .tile h3 { font-size: 17px; line-height: 1.3; margin-top: 10px !important; }
.cs .r-grupos-head.cr { display: flex !important; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px !important; }
.cs .r-grupos-head h2 { font-size: clamp(40px, 5.5vw, 68px); margin-top: 8px !important; }
.cs .r-grupos-head .c-guia { display: flex !important; align-items: flex-end; gap: 10px; flex-direction: row-reverse; }
.cs .r-grupos-head .c-guia .ci { width: 110px; flex: 0 0 110px; }
.cs .r-grupos-head .c-guia .ci img { object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0,0,0,.18)); }
.cs .r-grupos-head .burbuja { margin-bottom: 56px !important; }
.cs .grupos { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.cs .grupo { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #E0E2E2; }
.cs .grupo .cab { padding: 24px 24px 18px; color: #fff; position: relative; background: #1D1F2A; }
.cs .grupo.g2 .cab { background: #E57200; color: #1D1F2A; } .cs .grupo.g3 .cab { background: #33364A; }
.cs .grupo .cab:after { content: ""; position: absolute; right: 22px; top: 22px; width: 38px; height: 24px; background:
  linear-gradient(currentColor 0 0) 0 0/10px 10px no-repeat, linear-gradient(currentColor 0 0) 14px 0/10px 10px no-repeat, linear-gradient(currentColor 0 0) 28px 0/10px 10px no-repeat,
  linear-gradient(currentColor 0 0) 0 14px/10px 10px no-repeat, linear-gradient(currentColor 0 0) 28px 14px/10px 10px no-repeat; opacity: .45; }
.cs .grupo .edad { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cs .grupo .cab h3 { font-size: 40px !important; font-weight: 900; letter-spacing: -.035em; line-height: 1 !important; margin-top: 8px !important; }
.cs .grupo .cuerpo { padding: 20px 24px 24px; }
.cs .grupo .cuerpo > p { font-size: 15px; line-height: 1.65; color: #3A3D47; margin-bottom: 12px !important; }
.cs .grupo .cuerpo .k { color: #555A5A; border-top: 2px solid #1D1F2A; padding-top: 14px !important; display: block; }
.cs .grupo ol { counter-reset: v; margin-top: 10px !important; }
.cs .grupo li { counter-increment: v; font-size: 15px; font-weight: 700; padding: 8px 0 8px 34px; position: relative; border-bottom: 1px solid #E0E2E2; }
.cs .grupo li:before { content: counter(v); position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #FFF3E6; color: #9A4C00; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.cs .grupo .ref { font-size: 12px; color: #555A5A; margin-top: 8px !important; }
.cs-mp-visita .c-txt { position: relative; }
.cs-mp-visita .c-txt .pix-pasos { position: absolute !important; right: 0; top: -130px; width: 110px; }
.cs-mp-visita .c-txt .pix-pasos img { object-fit: contain; }
.cs-mp-visita h2 { font-size: clamp(48px, 7vw, 96px) !important; margin: 8px 0 24px !important; }
.cs .r-conoce.cr { display: flex !important; flex-wrap: wrap; align-items: center; gap: 28px; background: linear-gradient(135deg, #FFF3E6, #FFE0BF); border-radius: 22px; padding: 32px 40px !important; max-width: 1136px !important; }
.cs .r-conoce .c-img { flex: 0 0 220px; }
.cs .r-conoce .c-img img { object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); }
.cs .r-conoce .c-t { flex: 1 1 380px; }
.cs .r-conoce h2 { font-size: clamp(36px, 4.5vw, 56px); margin: 8px 0 12px !important; }
.cs .r-conoce p:not(.k) { font-size: 16px; line-height: 1.65; color: #3A3D47; max-width: 620px; }
.cs .r-conoce .c-poses { flex: 1 1 100%; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 24px !important; border-top: 1px solid rgba(154,76,0,.2); }
.cs .r-conoce .pose { text-align: center; }
.cs .r-conoce .pose img { width: 100%; max-width: 150px; height: 150px; object-fit: contain; margin: 0 auto; transition: transform .25s; display: block; }
.cs .r-conoce .pose:hover img { transform: translateY(-6px) rotate(-3deg); }
.cs .r-conoce .pose p { font-weight: 900; font-size: 16px; margin-top: 8px !important; color: #9A4C00; }
.cs.cs-mp-servir { margin-top: 72px; }
.cs-mp-servir .r-servir.cr { display: flex !important; flex-wrap: wrap; }
.cs-mp-servir .c-img { flex: 1 1 440px; min-height: 460px; position: relative; }
.cs-mp-servir .c-img .et_pb_image { position: absolute !important; inset: 0; }
.cs-mp-servir .c-img img { object-position: center 30%; }
.cs-mp-servir .c-t { flex: 1 1 440px; background: #E57200; padding: 44px !important; box-sizing: border-box; }
.cs-mp-servir .k { color: #1D1F2A; }
.cs-mp-servir h2 { font-size: 56px; margin-top: 8px !important; }
.cs-mp-servir ul { margin-top: 14px !important; }
.cs-mp-servir li { font-size: 16px; font-weight: 700; padding: 10px 0; border-top: 1px solid rgba(29,31,42,.2); }
.cs-mp-servir li span { display: block; font-weight: 500; font-size: 14px; margin-top: 4px; }
.cs-mp-servir .nota { font-size: 14px; line-height: 1.55; margin-top: 14px !important; }
.cs-mp-servir .et_pb_button_module_wrapper { margin-top: 24px !important; }
@media (max-width: 860px) {
  .cs-mp-hero .r-txt.cr { grid-template-columns: 1fr; }
  .cs-mp-hero .c-pix .ci { width: 200px; }
  .cs-mp-hero .c-pix .burbuja { left: auto; right: -10px; top: -10px; max-width: 180px; font-size: 13px; }
  .cs .r-grupos-head.cr { flex-wrap: wrap; }
  .cs-mp-visita .c-txt .pix-pasos { display: none; }
  .cs .r-conoce.cr { padding: 28px 22px !important; }
  .cs .r-conoce .c-poses { grid-template-columns: repeat(2, 1fr); }
  .cs-mp-servir .c-t { padding: 36px 22px !important; }
}
@media (prefers-reduced-motion: reduce) { .cs-mp-hero .c-pix .ci img { animation: none; } }
.cs .leyenda-col { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cs .leyenda-col > .et_pb_text:first-child { grid-column: 1 / -1; margin-bottom: 6px !important; }
.cs .leyenda-col .tile { padding: 18px 20px !important; }
.cs .leyenda-col .tile h3 { font-size: 16px !important; }
.cs .leyenda-col .tile h3:before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -2px; background: var(--c, #E57200); }
.cs .leyenda-col .tile p { font-size: 14px; color: #555A5A; margin-top: 6px !important; }
@media (max-width: 860px) { .cs .leyenda-col { grid-template-columns: 1fr; } }
.cs .valores { grid-template-columns: repeat(5, 1fr) !important; }
.cs .valores .tile p.n { color: #E57200 !important; font-size: 22px !important; font-weight: 900; margin: 0 !important; }
.cs .t-am { --c: #F6C343; } .cs .t-ro { --c: #D9412B; } .cs .t-na { --c: #E57200; }
.cs .r-grupos-head > .cc:first-child { flex: 1 1 auto; min-width: 0; }
.cs .r-grupos-head > .c-guia { flex: 0 0 auto; }
.cs .r-grupos-head h2 { font-size: clamp(40px, 5vw, 64px) !important; }
@media (max-width: 1100px) { .cs .valores { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; } }

/* =========================================================
   11. RITMO VERTICAL EQUILIBRADO (todo el sitio, v1.6)
       Misma separación entre secciones y textos más juntos.
       Cambia --ecc-sec para ajustar todas las separaciones.
   ========================================================= */
:root { --ecc-sec: 72px; --ecc-tit: 20px; }
/* Inicio */
.cs.cs-hero { padding: 80px 0 112px !important; }
.cs-hero .k { margin-bottom: 12px !important; }
.cs-hero p.lead { margin-top: 16px !important; }
.cs-hero .et_pb_row.r-datos { margin-top: 36px !important; padding-top: 22px !important; }
.cs.cs-bien, .cs.cs-part, .cs.cs-act, .cs.cs-visita, .cs.cs-rec { padding-top: var(--ecc-sec) !important; }
.cs-bien h2.gigante { margin-top: 20px !important; }
.cs .r-head.cr { margin-bottom: 24px !important; }
.cs .r-head h2 { margin-top: 8px !important; }
.cs-act .c-panel h2 { margin: 8px 0 18px !important; }
.cs-act .c-panel { padding: 36px 32px !important; }
.cs .c-foto-card { padding: 32px !important; }
.cs .c-foto-card h2 { margin: 8px 0 10px !important; }
.cs-visita .r-visita.cr { gap: 40px; }
.cs-visita h2 { margin: 8px 0 24px !important; }
.cs-visita .c-txt .et_pb_button_module_wrapper { margin-top: 24px !important; }
.cs-rec h2 { margin: 10px 0 !important; }
.cs-rec .c-txt { padding: 40px !important; }
.cs.cs-cont { margin-top: var(--ecc-sec); }
.cs-cont .c-form { padding: 44px !important; gap: 14px; }
/* Páginas interiores */
.cs.cs-pghero { min-height: 340px; padding: 64px 0 56px !important; }
.cs-pghero .k { margin-bottom: 12px !important; }
.cs-pghero p:not(.k) { margin-top: 14px !important; }
.cs.cs-blk { padding-top: var(--ecc-sec) !important; }
.et_pb_section.cs-blk:last-child, .et_pb_section.cs-blk.ultimo { padding-bottom: 80px !important; }
.cs-blk h2 { margin: 8px 0 var(--ecc-tit) !important; }
.cs-blk .cr + .cr { margin-top: 16px !important; }
.cs-blk h3.k { margin: 12px 0 0 !important; }
.cs .txt p { margin-bottom: 12px !important; }
.cs .tile { padding: 22px !important; }
.cs .panel, .cs .panel-nar { padding: 36px 32px !important; }
.cs .panel-osc { padding: 40px 36px !important; }
.cs .panel h2, .cs .panel-osc h2, .cs .panel-nar h2 { margin: 8px 0 16px !important; }
.cs-cont.cs-cont-pg { margin-top: var(--ecc-sec); }
/* Pie */
#ecc-footer { padding: 48px 0 24px; }
#ecc-footer .ecc-footer-legal { margin-top: 36px; }
@media (max-width: 860px) {
  :root { --ecc-sec: 56px; }
  .cs.cs-hero { padding: 56px 0 104px !important; }
  .cs.cs-pghero { min-height: 300px; padding: 48px 0 44px !important; }
  .cs-cont .c-form, .cs-rec .c-txt { padding: 36px 22px !important; }
}

/* =========================================================
   12. PARTICIPAR: foto por área  ·  PÁGINA JÓVENES (v1.7)
   ========================================================= */
.cs .r-area.cr { display: flex !important; gap: 40px; align-items: flex-start; }
.cs .r-area .c-main { flex: 1 1 auto; min-width: 0; }
.cs .r-area .c-main .et_pb_button_module_wrapper { margin: 20px 12px 0 0 !important; }
.cs .r-area .c-main .txt p:last-child { margin-bottom: 0 !important; }
.cs .r-area .c-foto { flex: 0 0 320px; }
.cs .r-area .c-foto .et_pb_image_wrap { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; }
.cs .r-area .c-foto img { object-fit: cover; }
/* Jóvenes */
.cs-jov-hero .r-bg img { object-position: center 40%; }
.cs-jov-hero h1 { font-size: clamp(52px, 8vw, 112px) !important; }
.cs .grupo-j a { display: block; border-radius: 18px; padding: 32px 32px 28px; text-decoration: none !important; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cs .grupo-j a:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(29,31,42,.16); text-decoration: none !important; }
.cs .grupo-j.g-link a { background: #E57200; color: #1D1F2A; }
.cs .grupo-j.g-sigma a { background: #1D1F2A; color: #fff; }
.cs .grupo-j .edad { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cs .grupo-j h3 { font-size: clamp(48px, 6vw, 80px) !important; font-weight: 900; letter-spacing: -.035em; line-height: 1 !important; margin: 10px 0 8px !important; }
.cs .grupo-j p:not(.edad) { font-size: 16px; font-weight: 700; }
.cs .grupo-j span { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 15px; border-bottom: 2px solid currentColor; }
.cs .r-jov .c-img .et_pb_image_wrap { aspect-ratio: 1 / 1 !important; border-radius: 18px; overflow: hidden; }
.cs .r-jov .c-img:after { display: none; }
.cs .r-jov h2 { font-size: clamp(56px, 8vw, 104px) !important; margin: 8px 0 16px !important; }
.cs .r-jov .lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; font-weight: 700; }
.cs .r-jov .lead + p { font-size: 16px; line-height: 1.7; color: #3A3D47; margin-top: 12px !important; }
.cs .r-jov .datos { margin-top: 20px !important; border-top: 1px solid #E0E2E2; padding-top: 16px !important; }
.cs .r-jov.invertido.cr { flex-direction: row-reverse; }
.cs .galeria { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cs .galeria .et_pb_image_wrap { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.cs .galeria img { transition: transform .4s; }
.cs .galeria .et_pb_image:hover img { transform: scale(1.04); }
.cs-jov-sumate .nota { font-size: 14px !important; margin-top: 12px !important; }
.cs-jov-sumate .c-t p:not(.k):not(.nota) { font-size: 16px; line-height: 1.6; margin-top: 12px !important; }
.cs-jov-sumate .et_pb_button_module_wrapper { margin: 24px 12px 0 0 !important; display: inline-block; }
.cs-jov-sumate .cb--borde { border-color: #1D1F2A !important; }
@media (max-width: 860px) {
  .cs .r-area.cr { flex-direction: column; gap: 20px; }
  .cs .r-area .c-foto { flex: 0 0 auto; width: 100%; max-width: 420px; }
  .cs .r-jov.invertido.cr { flex-direction: column; }
  .cs .galeria { grid-template-columns: 1fr 1fr; }
}
/* Tarjetas "Elige tu grupo" (el módulo de Texto es la tarjeta) */
.cs .et_pb_text.grupo-j { border-radius: 18px; padding: 32px 32px 28px !important; transition: transform .25s, box-shadow .25s; }
.cs .et_pb_text.grupo-j:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(29,31,42,.16); }
.cs .et_pb_text.grupo-j.g-link { background: #E57200; color: #1D1F2A; }
.cs .et_pb_text.grupo-j.g-sigma { background: #1D1F2A; color: #fff; }
.cs .grupo-j p.ver { margin-top: 18px !important; }
.cs .grupo-j p.ver a { font-weight: 700; font-size: 15px; border-bottom: 2px solid currentColor; text-decoration: none !important; }
/* Fotos de Jóvenes en blanco y negro (unifica los tonos) */
.cs-jov .r-jov.invertido img, .cs .galeria img, .cs-jov-sumate img, .cs-jov-hero .r-bg img { filter: grayscale(1) contrast(1.05); }
.cs-jov-hero .r-bg img { opacity: .16; }
