/* Estilo visual tipo portal escolar CEBA: Inter, navy, tarjetas blancas, botones sólidos.
   Contenido propio de I.E.P. Peruano Chino. */

.web-body,
.web-body button,
.web-body input,
.web-body select,
.web-body textarea {
    font-family: Inter, system-ui, sans-serif !important;
}

.web-body {
    background: #f4f7fb !important;
    color: #0f172a;
}

.web-body h1,
.web-body h2,
.web-body h3,
.web-body .web-section-title,
.web-body .pch-about-copy h2,
.web-body .pg-hero h1,
.web-body .pch-hero-pro h1 {
    font-family: Inter, system-ui, sans-serif !important;
    letter-spacing: -0.035em;
}

/* Barra superior */
.web-body .web-topbar {
    background: #07111f !important;
    padding: 7px 0 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}
.web-body .web-topbar-item { color: rgba(255,255,255,.82) !important; opacity: 1 !important; }
.web-body .web-topbar-wa { color: #4ade80 !important; font-weight: 700 !important; }
.web-body .web-topbar-acceso {
    background: #16a34a !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
}

/* Menú */
.web-body .web-header {
    background: #fff !important;
    border-bottom: 1px solid #e6edf5 !important;
    box-shadow: 0 1px 0 rgba(15,23,42,.04) !important;
}
.web-body .web-nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    background: transparent !important;
}
.web-body .web-nav-link:hover,
.web-body .web-nav-drop:hover > .web-nav-link,
.web-body .web-nav-link.active,
.web-body .web-nav-drop.active > .web-nav-link {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
}
.web-body .web-nav-panel {
    border-radius: 14px !important;
    border: 1px solid #e6edf5 !important;
    box-shadow: 0 18px 50px rgba(15,23,42,.12) !important;
}
.web-body .web-nav-panel a:hover { background: #eff6ff !important; color: #1d4ed8 !important; }

.web-body .btn-matricula-header,
.web-body .btn-hero-primary,
.web-body .btn-primary {
    background: #1d4ed8 !important;
    box-shadow: none !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}
.web-body .btn-matricula-header:hover,
.web-body .btn-hero-primary:hover,
.web-body .btn-primary:hover { background: #1e40af !important; }
.web-body .btn-hero-wa,
.web-body .btn-wa {
    background: #22c55e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}
.web-body .btn-header-aula,
.web-body .btn-secondary {
    border-radius: 999px !important;
    border: 1px solid #dbe3ee !important;
    background: #fff !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}
.web-body .btn-hero-ghost {
    border: 1px solid rgba(255,255,255,.35) !important;
    color: #fff !important;
    background: transparent !important;
    border-radius: 999px !important;
}

/* Hero */
.web-body .pch-hero-pro-shade {
    background:
        linear-gradient(105deg, rgba(7,17,31,.88) 0%, rgba(15,23,42,.55) 48%, rgba(7,17,31,.22) 100%) !important;
}
.web-body .pch-hero-pro h1 {
    font-weight: 800 !important;
    font-size: clamp(2.2rem, 4.6vw, 3.5rem) !important;
    line-height: 1.05 !important;
}
.web-body .pch-hero-pro h1 em { color: #60a5fa !important; font-style: normal; }
.web-body .pch-hero-eyebrow {
    background: rgba(255,255,255,.1) !important;
    border-color: rgba(255,255,255,.18) !important;
    letter-spacing: .04em !important;
}
.web-body .pch-stats-pro { margin-top: -28px; position: relative; z-index: 3; }
.web-body .pch-stats-inner {
    background: #fff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(15,23,42,.08) !important;
}
.web-body .pch-stat strong { color: #1d4ed8 !important; font-weight: 800 !important; }

.web-body .web-section-tag {
    display: inline-flex !important;
    background: #dbeafe !important;
    color: #1e40af !important;
    border-radius: 999px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    letter-spacing: .06em !important;
}
.web-body .web-section-title {
    font-weight: 800 !important;
    font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
    color: #0f172a !important;
}
.web-body .web-section-sub { color: #64748b !important; max-width: 640px; }

/* Tarjetas de niveles: foto arriba, texto abajo */
.web-body .pch-level-card {
    min-height: 0 !important;
    color: #0f172a !important;
    background: #fff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 28px rgba(15,23,42,.06) !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
}
.web-body .pch-level-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 40px rgba(15,23,42,.1) !important;
    border-color: #bfdbfe !important;
}
.web-body .pch-level-card-bg {
    position: relative !important;
    inset: auto !important;
    height: 190px !important;
    background-size: cover !important;
    background-position: center !important;
}
.web-body .pch-level-card-shade { display: none !important; }
.web-body .pch-level-card-body {
    position: relative !important;
    padding: 16px 16px 18px !important;
    background: #fff !important;
    color: #334155 !important;
}
.web-body .pch-level-card-body h3 {
    margin: 0 0 6px !important;
    color: #0f172a !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}
.web-body .pch-level-card-body p { color: #64748b !important; margin: 0 0 12px !important; font-size: .9rem !important; }
.web-body .pch-level-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.web-body .pch-level-meta span {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-radius: 999px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.web-body .pch-benefit,
.web-body .web-card,
.web-body .docs-card,
.web-body .adm-form-block,
.web-body .faq-item,
.web-body .pch-panel,
.web-body .pch-cal-card,
.web-body .pch-portal-card,
.web-body .pch-service-link,
.web-body .dir-card {
    border: 1px solid #e6edf5 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(15,23,42,.05) !important;
    background: #fff !important;
}
.web-body .pch-benefit-icon,
.web-body .docs-ico {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    border-radius: 12px !important;
}
.web-body .pch-portal-card { display: flex; }
.web-body .pch-gallery-item {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e6edf5 !important;
}
.web-body .pch-compare-table th,
.web-body .cost-table th,
.web-body .web-table th {
    background: #0f172a !important;
    color: #fff !important;
}

.web-body .pg-hero-overlay {
    background: linear-gradient(105deg, rgba(7,17,31,.9), rgba(15,23,42,.55)) !important;
}
.web-body .pg-hero h1 { font-weight: 800 !important; }
.web-body .adm-f input:focus,
.web-body .adm-f select:focus,
.web-body .adm-f textarea:focus {
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(29,78,216,.15) !important;
}

.web-body .ft,
.web-body footer.ft {
    background: #07111f !important;
    color: rgba(255,255,255,.82) !important;
}
.web-body .ft-top {
    background: linear-gradient(90deg, #0f172a, #1e3a8a) !important;
}
.web-body .ft a { color: rgba(255,255,255,.78); }
.web-body .ft a:hover { color: #93c5fd; }
.web-body .web-whatsapp-float {
    background: #22c55e !important;
    box-shadow: 0 10px 24px rgba(34,197,94,.35) !important;
}
.web-body .pch-dock-main { background: #1d4ed8 !important; }
.web-body .pch-dock-wa { background: #22c55e !important; }

/* Hero en dos columnas: texto | foto */
.ceba-split-hero {
    background: linear-gradient(180deg, #07111f 0%, #0f2744 100%);
    color: #fff;
    padding: 42px 0 48px;
}
.ceba-split-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
}
.ceba-split-copy h1 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
}
.ceba-split-copy h1 em { color: #93c5fd; font-style: normal; }
.ceba-eyebrow {
    background: rgba(255,255,255,.08) !important;
    color: #e2e8f0 !important;
    border-color: rgba(255,255,255,.14) !important;
}
.ceba-lead { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 520px; }
.ceba-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.ceba-facts li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 12px; font-size: .82rem; }
.ceba-facts strong { color: #93c5fd; font-weight: 700; }
.ceba-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ceba-split-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.web-body .btn-header-acceso {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0f172a;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: .84rem;
    cursor: pointer;
}
.web-body .web-acceso-panel a { display: flex; align-items: center; gap: 8px; }
.web-body .web-acceso-drop { position: relative; }
.web-body .btn-matricula-header {
    background: #dc2626 !important;
}
.web-body .btn-matricula-header:hover { background: #b91c1c !important; }

.web-body .web-header .web-container { max-width: 1280px; }
.web-body .web-header-inner {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    flex-wrap: nowrap;
}
.web-body .web-nav-desktop {
    flex: 1;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}
.web-body .web-nav-link {
    white-space: nowrap;
    padding: 8px 9px !important;
    font-size: 13.5px !important;
}
.web-body .web-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.web-body .web-brand-text small { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-body .web-nav-drop { position: relative; }
.web-body .web-nav-panel {
    display: none;
    top: 100% !important;
    left: 0;
    right: auto;
    margin-top: 0;
    padding-top: 8px;
    min-width: 220px;
    z-index: 400 !important;
}
.web-body .web-nav-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 12px;
}
.web-body .web-nav-drop:hover > .web-nav-panel,
.web-body .web-nav-drop.open > .web-nav-panel,
.web-body .web-nav-drop:focus-within > .web-nav-panel { display: block !important; }
.web-body .web-acceso-drop .web-nav-panel { left: auto; right: 0; }
.web-body .btn-aula-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1d4ed8;
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: .86rem;
    text-decoration: none;
    white-space: nowrap;
}
.web-body .btn-aula-header:hover { background: #1e40af; color: #fff !important; }
.web-body .btn-header-acceso { white-space: nowrap; }

@media (max-width: 1180px) {
    .web-body .web-nav-link { padding: 8px 6px !important; font-size: 13px !important; }
    .web-body .web-brand-text small { display: none; }
}
@media (max-width: 1100px) {
    .web-body .web-nav-desktop { display: none !important; }
    .web-body .web-acceso-drop,
    .web-body .btn-aula-header { display: none; }
}

/* Cabecera de páginas internas, sin repetir botones ni la misma foto */
.web-body .pg-hero {
    padding: 14px 0 16px !important;
    background: #fff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e6edf5;
}
.web-body .pg-hero-row {
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.4fr .7fr;
    gap: 16px;
    align-items: center;
}
.web-body .pg-hero h1 { margin: 4px 0 6px !important; font-size: clamp(1.6rem, 3vw, 2.1rem) !important; }
.web-body .pg-hero-card {
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.web-body .pg-hero-card strong { color: #0f172a; font-size: .92rem; }
.web-body .pg-hero-card span,
.web-body .pg-hero-card a { color: #64748b; font-size: .84rem; text-decoration: none; }
.nivel-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nivel-tabs a {
    text-decoration: none;
    color: #334155;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: .88rem;
}
.nivel-tabs a.is-on, .nivel-tabs a:hover { background: #0f172a; color: #fff; border-color: #0f172a; }
.nivel-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: center;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15,23,42,.06);
    margin-bottom: 18px;
}
.nivel-hero img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.nivel-hero > div { padding: 22px 22px 22px 4px; }
.nivel-hero h2 { margin: 8px 0 8px; font-size: 1.8rem; color: #0f172a; }
.nivel-hero p { color: #475569; line-height: 1.55; }
.nivel-hero ul { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nivel-hero li { background: #f8fafc; border-radius: 12px; padding: 10px 12px; color: #334155; font-size: .9rem; }
.nivel-hero li strong { display: block; color: #1d4ed8; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.web-body .web-section { padding: 32px 0 !important; }
.web-body .web-section-header,
.web-body .web-section-head { margin-bottom: 16px !important; }
@media (max-width: 800px) {
    .nivel-hero { grid-template-columns: 1fr; }
    .nivel-hero > div { padding: 16px; }
    .nivel-hero ul { grid-template-columns: 1fr; }
}

.web-body .web-card,
.web-body .pch-benefit,
.web-body .tram-card,
.web-body .docs-card,
.web-body .dir-card {
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(15,23,42,.05) !important;
}
.web-body .web-nav-panel {
    border-radius: 16px !important;
    padding: 8px !important;
}
.web-body .web-section-header,
.web-body .web-section-head { margin-bottom: 16px !important; }
@media (max-width: 800px) {
    .web-body .pg-hero-row { grid-template-columns: 1fr; }
}
.web-body .pg-hero-bg,
.web-body .pg-hero-overlay,
.web-body .pg-hero-actions { display: none !important; }
.web-body .pg-hero h1,
.web-body .pg-hero-sub,
.web-body .pg-hero-lema { color: #0f172a !important; }
.web-body .pg-hero-sub { color: #64748b !important; }
.web-body .pg-crumbs,
.web-body .pg-crumbs a { color: #64748b !important; }
.web-body .ft-top { display: none; }

@media (max-width: 900px) {
    .ceba-split-grid { grid-template-columns: 1fr; }
    .ceba-split-media img { height: 240px; }
}

.web-body .pch-matricula-cta { background: transparent !important; }
.web-body .pch-ribbon {
    background: #0f172a !important;
    color: #fff !important;
}

/* Colorido moderno — todas las páginas públicas */
.web-body {
    background:
        radial-gradient(900px 420px at -10% -10%, rgba(244, 114, 182, .18), transparent 55%),
        radial-gradient(800px 380px at 110% 0%, rgba(56, 189, 248, .22), transparent 50%),
        radial-gradient(700px 360px at 80% 100%, rgba(251, 191, 36, .16), transparent 45%),
        #f7f8ff !important;
}
.web-body .web-topbar {
    background: linear-gradient(90deg, #4f46e5, #0ea5e9 55%, #14b8a6) !important;
}
.web-body .web-header {
    background: rgba(255,255,255,.92) !important;
    border-bottom: 0 !important;
    box-shadow: 0 10px 30px rgba(79, 70, 229, .08) !important;
}
.web-body .web-nav-link:hover,
.web-body .web-nav-drop:hover > .web-nav-link,
.web-body .web-nav-link.active,
.web-body .web-nav-drop.active > .web-nav-link {
    color: #fff !important;
    background: linear-gradient(135deg, #6366f1, #0ea5e9) !important;
}
.web-body .btn-aula-header {
    background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
    box-shadow: 0 10px 24px rgba(124, 58, 237, .28);
}
.web-body .btn-hero-primary,
.web-body .btn-primary,
.web-body .mp-tab.active {
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    border: none !important;
    color: #fff !important;
}
.web-body .btn-hero-wa {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
}
.ceba-split-hero {
    background: linear-gradient(120deg, #312e81 0%, #1d4ed8 46%, #0891b2 100%) !important;
}
.ceba-split-copy h1 em { color: #fde68a !important; }
.ceba-eyebrow { background: rgba(255,255,255,.16) !important; }
.web-body .pg-hero {
    background: linear-gradient(90deg, #eef2ff, #fdf2f8 50%, #ecfeff) !important;
    border-bottom: 0 !important;
}
.web-body .pg-hero h1 { color: #1e1b4b !important; }
.web-body .pg-hero-card {
    background: #fff !important;
    border: 0 !important;
    border-left: 4px solid #f59e0b !important;
    box-shadow: 0 12px 28px rgba(79, 70, 229, .08);
}
.web-body .web-section-tag {
    background: linear-gradient(135deg, #fde68a, #fdba74) !important;
    color: #7c2d12 !important;
}
.web-body .pch-benefit:nth-child(3n+1) { border-top: 4px solid #6366f1 !important; }
.web-body .pch-benefit:nth-child(3n+2) { border-top: 4px solid #06b6d4 !important; }
.web-body .pch-benefit:nth-child(3n+3) { border-top: 4px solid #f43f5e !important; }
.web-body .pch-benefit-icon {
    background: linear-gradient(135deg, #818cf8, #22d3ee) !important;
    color: #fff !important;
}
.web-body .pch-level-card { border: 0 !important; box-shadow: 0 16px 36px rgba(15,23,42,.1) !important; }
.web-body .tram-card,
.web-body .web-card,
.web-body .docs-card,
.web-body .dir-card,
.web-body .faq-item,
.web-body .adm-form-block,
.web-body .pch-panel {
    border: 0 !important;
    box-shadow: 0 14px 34px rgba(79, 70, 229, .08) !important;
}
.web-body .tram-card:nth-child(4n+1) { border-top: 4px solid #6366f1 !important; }
.web-body .tram-card:nth-child(4n+2) { border-top: 4px solid #14b8a6 !important; }
.web-body .tram-card:nth-child(4n+3) { border-top: 4px solid #f59e0b !important; }
.web-body .tram-card:nth-child(4n+4) { border-top: 4px solid #f43f5e !important; }
.nivel-tabs a.is-on, .nivel-tabs a:hover {
    background: linear-gradient(135deg, #6366f1, #0ea5e9) !important;
    border-color: transparent !important;
}
.nivel-hero { border: 0 !important; box-shadow: 0 18px 40px rgba(79, 70, 229, .1) !important; }
.web-body .pch-matricula-cta {
    background: transparent !important;
    padding: 8px 0 28px !important;
}
.web-body .pch-matricula-cta::before { display: none !important; }
.web-body .pch-matricula-inner {
    background: linear-gradient(110deg, #4f46e5, #0ea5e9 55%, #14b8a6) !important;
    border-radius: 22px !important;
    padding: 28px 32px !important;
    box-shadow: 0 18px 40px rgba(79, 70, 229, .18);
}
.web-body .ft-top { display: none !important; }
.web-body footer.ft,
.web-body .ft {
    background: #1e1b4b !important;
    margin-top: 0 !important;
}
.web-body .ft-main { padding: 36px 0 18px !important; }
.web-body .ft-grid {
    display: grid !important;
    grid-template-columns: 1.3fr .7fr .8fr 1.1fr !important;
    gap: 28px 24px !important;
    align-items: start;
}
.web-body .ft-col h4 { color: #fde68a !important; }
.web-body .ft-logo img { background: #fff !important; border-radius: 12px !important; }
.web-body .ft-desc { max-width: 280px; }
.web-body .ft-portals { margin-top: 16px; }
.web-body .ft-mini { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.web-body .ft-mini a { color: #c4b5fd !important; font-weight: 700; font-size: .86rem; }
.web-body .ft-bottom { border-top: 1px solid rgba(255,255,255,.1) !important; background: transparent !important; }
.web-body .ft a { overflow-wrap: normal; }
.web-body .web-whatsapp-float {
    background: linear-gradient(135deg, #22c55e, #14b8a6) !important;
}

/* Responsive — todas las páginas públicas */
html, .web-body { overflow-x: hidden; }
.web-body img, .web-body video, .web-body iframe, .web-body svg { max-width: 100%; }
.web-body .web-container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); box-sizing: border-box; }
.web-body p, .web-body h1, .web-body h2, .web-body h3, .web-body li, .web-body a, .web-body td, .web-body th {
    overflow-wrap: anywhere;
}
.contact-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.web-body .pch-steps-grid { grid-template-columns: repeat(4, 1fr) !important; }
.web-body .web-table-wrap,
.web-body .cost-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: 18px; }
.web-body .web-table,
.web-body .cost-table { min-width: 560px; }
.web-body input, .web-body select, .web-body textarea { max-width: 100%; font-size: 16px; }

@media (max-width: 1100px) {
    .web-body .web-nav-toggle { display: flex !important; }
    .web-body .web-brand-text strong { font-size: .92rem; }
    .web-body .ft-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 900px) {
    .web-body .ceba-split-grid,
    .web-body .pg-hero-row,
    .web-body .nivel-hero,
    .web-body .pch-split-grid,
    .web-body .pch-faq-grid,
    .web-body .web-contact-grid,
    .web-body .pg-form-layout,
    .web-body .adm-easy-grid,
    .web-body .mod-grid,
    .web-body .pch-about-grid { grid-template-columns: 1fr !important; }
    .web-body .pch-levels-grid,
    .web-body .pch-benefits-grid,
    .web-body .pch-steps-grid,
    .web-body .pch-services-grid,
    .web-body .tram-grid,
    .web-body .tram-grid-tipos,
    .web-body .docs-grid,
    .web-body .web-cards-3,
    .web-body .web-cards-4,
    .web-body .dir-grid,
    .web-body .web-news-grid,
    .web-body .pch-values-grid,
    .web-body .web-steps { grid-template-columns: 1fr 1fr !important; }
    .web-body .ceba-split-media img { height: 220px !important; }
    .web-body .nivel-hero img { min-height: 200px; height: 220px; }
    .web-body .nivel-hero > div { padding: 16px !important; }
    .web-body .pch-matricula-inner { flex-direction: column !important; align-items: stretch !important; }
    .web-body .pch-matricula-actions { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
    .web-body .pch-matricula-actions .btn { flex: 1 1 140px; justify-content: center; }
    .web-body .web-whatsapp-float { bottom: 84px !important; right: 12px !important; }
    .web-body .pch-dock {
        display: flex !important;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .web-body { padding-bottom: 76px; }
    .web-body .ft { margin-bottom: 0; }
}

@media (max-width: 640px) {
    .web-body .web-topbar { font-size: 11.5px !important; }
    .web-body .web-topbar-hide-xs,
    .web-body .web-topbar-hide-sm { display: none !important; }
    .web-body .web-brand-text small { display: none !important; }
    .web-body .web-header-inner { min-height: 64px; gap: 8px; }
    .web-body .pg-hero { padding: 12px 0 !important; }
    .web-body .pg-hero h1 { font-size: 1.45rem !important; }
    .web-body .web-section { padding: 28px 0 !important; }
    .web-body .web-section-title { font-size: 1.45rem !important; }
    .web-body .pch-levels-grid,
    .web-body .pch-benefits-grid,
    .web-body .pch-steps-grid,
    .web-body .pch-services-grid,
    .web-body .tram-grid,
    .web-body .tram-grid-tipos,
    .web-body .docs-grid,
    .web-body .web-cards-3,
    .web-body .web-cards-4,
    .web-body .dir-grid,
    .web-body .web-news-grid,
    .web-body .pch-values-grid,
    .web-body .web-steps,
    .web-body .pch-gallery-grid,
    .web-body .ft-grid,
    .web-body .adm-fields,
    .web-body .web-form-row,
    .web-body .cal-item,
    .contact-shortcuts { grid-template-columns: 1fr !important; }
    .web-body .nivel-hero ul { grid-template-columns: 1fr !important; }
    .web-body .ceba-actions,
    .web-body .ceba-actions .btn,
    .web-body .pch-faq .btn { width: 100%; justify-content: center; }
    .web-body .ceba-split-copy h1 { font-size: 1.85rem !important; }
    .web-body .mp-tabs { display: grid; grid-template-columns: 1fr; }
    .web-body .mp-tab { min-width: 0; width: 100%; }
    .web-body .web-map iframe { height: 220px !important; }
    .web-body .web-nav-mobile { width: min(100vw, 360px); height: 100dvh; padding-bottom: env(safe-area-inset-bottom); }
    .web-body .ft-bottom-inner,
    .web-body .ft-cta { flex-direction: column !important; align-items: flex-start !important; }
    .web-body .ft-bottom-links { flex-wrap: wrap; justify-content: flex-start; }
    .web-body .pch-gallery-item:first-child { grid-column: auto; min-height: 180px; }
    .web-body .web-timeline-item { grid-template-columns: 64px 1fr !important; }
}

/* Elegancia */
.web-body h1, .web-body h2, .web-body h3, .web-body .web-nav-link, .web-body .ft a {
    overflow-wrap: normal !important;
    word-break: normal !important;
}
.web-body .web-header {
    position: sticky !important;
    top: 0;
    z-index: 300 !important;
    backdrop-filter: blur(16px);
}
.web-body .btn {
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}
.web-body .web-card,
.web-body .docs-card,
.web-body .dir-card,
.web-body .faq-item,
.web-body .tram-card,
.web-body .pch-benefit,
.web-body .adm-form-block,
.web-body .web-form,
.web-body .nivel-hero,
.web-body .web-map {
    background: #fff;
    border-radius: 18px !important;
}
.web-body .web-map { overflow: hidden; margin-top: 18px; }
.web-body .web-map iframe { display: block; width: 100%; border: 0; min-height: 260px; }
.web-body .web-content-prose { line-height: 1.7; }
.web-body .web-content-prose p { margin: 0 0 12px; color: #334155; }
.web-body .faq-item { padding: 4px 8px; }
.web-body .faq-item summary { cursor: pointer; font-weight: 700; padding: 12px 8px; }
.web-body .ft-logo strong { letter-spacing: -0.02em; }
.web-body .ft-col a { display: inline-block; padding: 3px 0; }
.web-body .ft-contact li { align-items: flex-start; }
@media (hover: hover) {
    .web-body .web-card:hover,
    .web-body .docs-card:hover,
    .web-body .tram-card:hover,
    .web-body .pch-level-card:hover,
    .web-body .dir-card:hover {
        transform: translateY(-3px);
    }
}
@media (max-width: 760px) {
    .web-body .pch-levels-grid,
    .web-body .pch-benefits-grid,
    .web-body .pch-steps-grid,
    .web-body .docs-grid,
    .web-body .web-cards-3,
    .web-body .tram-grid,
    .web-body .tram-grid-tipos,
    .web-body .dir-grid,
    .web-body .web-news-grid,
    .web-body .pch-values-grid,
    .web-body .web-steps { grid-template-columns: 1fr !important; }
    .web-body .pg-hero-card {
        border-left: 0 !important;
        border-top: 4px solid #f59e0b !important;
    }
    .web-body .pch-matricula-inner { padding: 20px 16px !important; }
    .web-body .pch-matricula-actions,
    .web-body .pch-matricula-actions .btn,
    .web-body .ceba-actions .btn { width: 100% !important; }
    .web-body .web-section-title,
    .web-body .web-section-sub { text-align: left; }
    .web-body .ft-main { padding: 28px 0 12px !important; }
    .web-body .btn-lg { width: 100%; }
}
