/* ==========================================================================
   Normal Fátima – estilos
   Paleta tomada de la bandera mariana (azul y rosado) y del escudo.
   ========================================================================== */
:root {
	--blue: #1d4e9e;
	--blue-dark: #0f2d63;
	--blue-soft: #e9f0fb;
	--rose: #e0638f;
	--rose-soft: #fdeef4;
	--gold: #f0b429;
	--red: #c8242b;
	--green: #1f8a4c;
	--ink: #1c2433;
	--muted: #5b6577;
	--line: #e3e8f0;
	--bg: #ffffff;
	--tint: #f6f8fc;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(15, 45, 99, .10);
	--font-head: "Fraunces", Georgia, serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg);
	font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blue-dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.h3 { font-family: var(--font-head); font-size: 1.5rem; margin-top: 2rem; }
.h4 { font-family: var(--font-head); font-size: 1.15rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2.5rem); }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
.muted { color: var(--muted); }

/* ---- Botones ---- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .8rem 1.5rem; border-radius: 999px; font-weight: 800; font-size: .95rem;
	text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--rose); color: #fff; box-shadow: 0 8px 20px rgba(224, 99, 143, .35); }
.btn--accent:hover { background: #cf5180; color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--blue-dark); }
.btn--outline { color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--block { display: flex; width: 100%; }
.link-arrow { font-weight: 800; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: .3rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--rose); margin-bottom: .6rem; }
.eyebrow--light { color: #ffd2e1; }
.eyebrow a { color: inherit; text-decoration: none; }

/* ---- Barra superior ---- */
.topbar { background: var(--blue-dark); color: #dbe6fb; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar__lema { font-weight: 700; letter-spacing: .08em; }
.topbar__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.topbar a { color: #dbe6fb; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 640px) { .topbar__links { display: none; } .topbar__in { justify-content: center; } }

/* ---- Cabecera ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--blue-dark); }
.brand__logo { width: 58px; height: 58px; object-fit: contain; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt strong { font-family: var(--font-head); font-size: 1.1rem; }
.brand__txt span { font-size: .85rem; color: var(--muted); font-weight: 600; }

.nav .menu { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav .menu a {
	display: block; padding: .55rem 1rem; border-radius: 999px; text-decoration: none;
	color: var(--ink); font-weight: 700; font-size: .95rem; transition: background .2s, color .2s;
}
.nav .menu a:hover { background: var(--blue-soft); color: var(--blue); }
.nav .menu .current-menu-item > a,
.nav .menu .current_page_item > a { background: var(--blue); color: #fff; }
.nav .menu li:last-child > a { background: var(--rose); color: #fff; }
.nav .menu li:last-child > a:hover { background: #cf5180; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	content: ""; position: absolute; left: 12px; width: 22px; height: 2px; background: var(--blue-dark); transition: transform .25s, top .25s, opacity .2s;
}
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { left: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
	.nav-toggle { display: block; }
	.nav { position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 1rem 1.25rem 1.5rem; display: none; }
	.nav.is-open { display: block; }
	.nav .menu { flex-direction: column; }
	.nav .menu a { padding: .85rem 1rem; }
	.brand__txt span { display: none; }
}

/* ---- Hero ---- */
.hero { position: relative; color: #fff; background: var(--blue-dark) var(--hero) center/cover no-repeat; padding: clamp(4rem, 10vw, 8rem) 0 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 30, 70, .92) 0%, rgba(15, 45, 99, .72) 55%, rgba(15, 45, 99, .35) 100%); }
.hero__in { position: relative; max-width: 760px; margin-left: max(1.25rem, calc((100% - 1160px) / 2)); margin-right: 1.25rem; width: auto; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero__lead { font-size: 1.2rem; max-width: 600px; color: #e5edfb; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero__cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(3rem, 7vw, 5.5rem); transform: translateY(2.2rem); }
.hero-card {
	background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.4rem 1.5rem; text-decoration: none;
	box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .35rem; border-top: 4px solid var(--rose); transition: transform .2s;
}
.hero-card:nth-child(2) { border-top-color: var(--blue); }
.hero-card:nth-child(3) { border-top-color: var(--gold); }
.hero-card:hover { transform: translateY(-4px); color: var(--ink); }
.hero-card__k { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--rose); }
.hero-card:nth-child(2) .hero-card__k { color: var(--blue); }
.hero-card:nth-child(3) .hero-card__k { color: #b07d00; }
.hero-card strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--blue-dark); line-height: 1.3; }
.hero-card__more { margin-top: auto; padding-top: .4rem; font-weight: 800; color: var(--blue); font-size: .9rem; }
@media (max-width: 800px) { .hero__cards { grid-template-columns: 1fr; transform: translateY(1.5rem); } }

/* ---- Secciones ---- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.hero + .section { padding-top: clamp(6rem, 11vw, 8.5rem); }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.section__sub { color: var(--muted); font-size: 1.1rem; }
.empty { text-align: center; color: var(--muted); padding: 2rem; border: 2px dashed var(--line); border-radius: var(--radius); background: #fff; }

/* ---- Sobre nosotros ---- */
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__photos { position: relative; aspect-ratio: 1 / 1; }
.about__photos img { position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about__photos .p1 { inset: 0 18% 22% 0; width: 82%; height: 78%; }
.about__photos .p2 { inset: auto 0 0 28%; width: 72%; height: 56%; border: 6px solid #fff; }
.triada { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.triada li { background: var(--blue-soft); border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .2rem; }
.triada strong { font-family: var(--font-head); color: var(--blue); font-size: 1.1rem; }
.triada span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__photos { max-width: 520px; } .triada { grid-template-columns: 1fr; } }

/* ---- Misión / Visión ---- */
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv__card { padding: 2.2rem; border-radius: 20px; background: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.mv__card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--rose); }
.mv__card--v::before { background: var(--blue); }
.mv__tag { display: inline-block; background: var(--rose-soft); color: #b8326a; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.mv__card--v .mv__tag { background: var(--blue-soft); color: var(--blue); }
.mv__card p { font-size: 1.05rem; }
@media (max-width: 800px) { .mv__grid { grid-template-columns: 1fr; } }

/* ---- Valores ---- */
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.value { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rose); }
.value__n { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--rose); opacity: .85; line-height: 1; }
.value h3 { margin-top: .6rem; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values__grid { grid-template-columns: 1fr; } }

/* ---- Tarjetas / eventos ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(15, 45, 99, .07); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.badge-date { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 12px; padding: .3rem .7rem; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--rose); line-height: 1.1; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.badge-date b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--blue-dark); }
.badge-next { position: absolute; top: 12px; right: 12px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.2rem; margin-bottom: .3rem; }
.card__title a { color: var(--blue-dark); text-decoration: none; }
.card__title a:hover { color: var(--rose); }
.card__meta { font-size: .85rem; color: var(--rose); font-weight: 700; margin-bottom: .6rem; }
.card__text { color: var(--muted); font-size: .95rem; }
.card .link-arrow { margin-top: auto; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tabs__item { padding: .55rem 1.3rem; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 800; color: var(--muted); font-size: .92rem; }
.tabs__item:hover { border-color: var(--blue); color: var(--blue); }
.tabs__item.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination { margin-top: 2.5rem; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: .5rem 1rem; margin: 0 .15rem; border-radius: 10px; text-decoration: none; border: 1px solid var(--line); font-weight: 700; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---- Galería ---- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: .8rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: 12px; display: block; background: var(--blue-soft); }
.gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__grid--event { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
.gallery__grid--event .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
@media (max-width: 800px) {
	.gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.gallery__grid--event { grid-template-columns: repeat(2, 1fr); }
}

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 18, 40, .93); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; }
.lightbox__next { right: 1rem; top: 50%; }

/* ---- CTA ---- */
.cta { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; padding: 3rem 0; }
.cta__in { display: flex; align-items: center; gap: 2rem; justify-content: center; flex-wrap: wrap; text-align: left; }
.cta h2 { color: #fff; margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-style: italic; }
.cta p { margin: .2rem 0 0; color: #c9d9f5; }
.cta img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
@media (max-width: 700px) { .cta__in { text-align: center; justify-content: center; flex-direction: column; } }

/* ---- Páginas internas ---- */
.page-hero { background: linear-gradient(120deg, rgba(10, 30, 70, .95), rgba(29, 78, 158, .88)), url('../img/capilla-2.jpg') center/cover; color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero h1 { color: #fff; margin: 0 0 .3em; }
.page-hero p { color: #dbe6fb; font-size: 1.15rem; max-width: 640px; margin: 0; }

.prose { font-size: 1.1rem; }
.prose h2 { margin-top: 2rem; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.5rem 0; padding: 1.2rem 1.6rem; background: var(--rose-soft); border-left: 5px solid var(--rose); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--blue-dark); }
.prose .lead { font-size: 1.35rem; line-height: 1.6; color: var(--blue-dark); font-family: var(--font-head); }
.prose .note { background: var(--blue-soft); border-radius: var(--radius); padding: 1.2rem 1.5rem; }
.prose .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.prose .pair > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.prose .pair h3 { color: var(--blue); }
.prose .himno { white-space: pre-line; font-family: var(--font-head); background: var(--tint); border-radius: var(--radius); padding: 1.6rem 2rem; border-left: 5px solid var(--gold); }
.prose .symbol { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; margin: 2rem 0; }
.prose .symbol img { width: 100%; max-width: 220px; border-radius: 0; background: transparent; }
.prose .flag { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.prose .flag i { flex: 1; display: block; }
.prose .flag i:first-child { background: #2f6fd0; }
.prose .flag i:last-child { background: #f2a6c1; }
@media (max-width: 640px) { .prose .symbol { grid-template-columns: 1fr; } }

/* ---- Evento individual ---- */
.event { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.event__cover { margin: 0 0 1.5rem; }
.event__cover img { width: 100%; border-radius: var(--radius); }
.event__side { position: sticky; top: 110px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.event__side dl { margin: 0 0 1.2rem; }
.event__side dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--rose); margin-top: 1rem; }
.event__side dd { margin: 0; font-weight: 700; color: var(--blue-dark); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .event { grid-template-columns: 1fr; } .event__side { position: static; } }

/* ---- Pie ---- */
.site-footer { background: var(--blue-dark); color: #c9d6ee; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding: 4rem 0 2.5rem; }
.footer__logo { width: 84px; height: 84px; object-fit: contain; margin-bottom: 1rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer a { color: #c9d6ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer strong { color: #fff; }
.site-footer .muted { color: #9fb2d6; font-size: .92rem; }
.footer__menu, .footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__menu li, .footer__contact li { margin-bottom: .55rem; }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.footer__social a { border: 1px solid rgba(255, 255, 255, .3); padding: .3rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.footer__map iframe { width: 100%; height: 280px; border: 0; border-radius: var(--radius); margin-bottom: 2rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.2rem 0; font-size: .85rem; }
.footer__bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; } }

/* ---- Animaciones de entrada ---- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	* { transition-duration: .01ms !important; }
}

/* WordPress core */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ---- Contacto ---- */
.contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact__info { background: var(--blue-soft); border-radius: 20px; padding: 2rem; }
.contact__info ul { list-style: none; margin: 0; padding: 0; }
.contact__info li { margin-bottom: 1.1rem; font-weight: 700; color: var(--blue-dark); }
.contact__info li span { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); font-weight: 800; }
.contact__map { width: 100%; height: 220px; border: 0; border-radius: 12px; margin-top: 1rem; }
.note-admin { font-size: .85rem; background: #fff7e0; border-radius: 10px; padding: .7rem 1rem; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .3rem; color: var(--blue-dark); }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form select, .contact-form textarea {
	width: 100%; padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(29, 78, 158, .15); }
.contact-form .check label { font-weight: 400; font-size: .88rem; color: var(--muted); display: flex; gap: .6rem; align-items: flex-start; }
.contact-form .check input { margin-top: .3rem; accent-color: var(--blue); }
.contact-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 1rem 1.3rem; border-radius: 12px; margin-bottom: 1.5rem; }
.notice--ok { background: #e6f6ec; border-left: 5px solid var(--green); color: #14532d; }
.notice--err { background: #fdecec; border-left: 5px solid var(--red); color: #7f1d1d; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact-form .field-row { grid-template-columns: 1fr; } }

/* ---- Noticias ---- */
.badge-cat { background: var(--blue); }
.cards .card__meta time { color: inherit; }
.news-home .card__meta { color: var(--muted); font-weight: 600; }
.share { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share a { border: 2px solid var(--line); padding: .35rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .88rem; }
.share a:hover { border-color: var(--blue); }
.prose .event__cover { margin-bottom: 2rem; }

/* ---- Oferta académica ---- */
.admin-only { display: none; }
body.logged-in .admin-only { display: block; background: #fff7e0; border-left: 5px solid var(--gold); margin-bottom: 1.5rem; }
.prose .pair h3 { margin-bottom: .4rem; }

/* ---- Sesión / panel ---- */
.topbar__session { display: flex; gap: 1rem; margin-left: auto; font-weight: 700; }
.topbar__session a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .topbar__in { justify-content: space-between; } .topbar__lema { display: none; } .topbar__session { margin-left: 0; width: 100%; justify-content: center; } }
.login-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 2.2rem; max-width: 460px; margin: 0 auto; }
.login-box > img { margin: 0 auto 1rem; }
.login-box label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .3rem; color: var(--blue-dark); }
.login-box input[type=text], .login-box input[type=password] { width: 100%; padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 12px; font: inherit; }
.login-box input[type=text]:focus, .login-box input[type=password]:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(29, 78, 158, .15); }
.login-box .login-remember label { font-weight: 400; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.login-box .login-submit input { width: 100%; background: var(--rose); color: #fff; border: 0; border-radius: 999px; padding: .85rem; font: inherit; font-weight: 800; cursor: pointer; }
.login-box .login-submit input:hover { background: #cf5180; }
.login-box__help { text-align: center; margin: 1rem 0 0; font-size: .9rem; }
.panel-actions { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-bottom: 1rem; }
.panel-card .card__body { gap: .4rem; }
.panel-card .btn { align-self: flex-start; margin-top: .6rem; }
.panel-links { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .panel-actions { grid-template-columns: 1fr; } }
