/* =========================================================================
   Sagrada Família · Igualada — Hoja de estilos principal
   Diseño "Reverent Minimalism" cálido: terracota + crema + marrón.
   Tipografías: Cormorant Garamond (titulares) + Mulish (texto).
   Replica fielmente "Parròquia Sagrada Família.dc.html" (Claude Design).
   ========================================================================= */

/* ---------- 1. TOKENS --------------------------------------------------- */
:root {
	/* Color */
	--sf-bg:           #faf7f2; /* crema de fondo */
	--sf-surface:      #ffffff;
	--sf-ink:          #2b2622; /* texto principal */
	--sf-ink-prose:    #3a342e; /* cuerpo de artículo */
	--sf-muted:        #7a7068;
	--sf-muted-2:      #9a8f84;
	--sf-soft:         #5e554d;
	--sf-primary:      #b4542e; /* terracota */
	--sf-primary-dark: #9c4525; /* hover */
	--sf-dark:         #241712; /* secciones y pie oscuros */
	--sf-peach:        #d99a6c;
	--sf-peach-2:      #e0a36f;
	--sf-tint:         #f3e7dd; /* terracota muy claro (chips/iconos) */
	--sf-border:       #e9e2d8;
	--sf-border-2:     #e0d8cc;
	--sf-line-soft:    #efe9df;

	/* Tipografía */
	--sf-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sf-sans:  'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	/* Radios */
	--sf-r:      14px;
	--sf-r-lg:   18px;
	--sf-r-sm:   10px;
	--sf-r-pill: 999px;

	/* Medidas */
	--sf-maxw:        1200px;
	--sf-maxw-wide:   1280px;
	--sf-maxw-narrow: 740px;
	--sf-pad:  clamp(20px, 5vw, 48px);
	--sf-gutter: clamp(20px, 5vw, 40px);

	/* Sombra */
	--sf-shadow:     0 24px 60px -24px rgba(44, 29, 24, .5);
	--sf-shadow-sm:  0 10px 30px -18px rgba(44, 29, 24, .45);

	--sf-header-h: 74px;
}

/* ---------- 2. RESET / BASE -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--sf-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--sf-ink);
	background: var(--sf-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--sf-serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--sf-primary); }

img { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 1rem; }

::selection { background: var(--sf-primary); color: #fff; }

:focus-visible { outline: 2px solid var(--sf-primary); outline-offset: 2px; border-radius: 4px; }

button { font-family: inherit; }

@keyframes scfadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.sf-fade { animation: scfadeup .7s ease both; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Accesibilidad */
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 200;
	background: var(--sf-primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}

/* ---------- 3. LAYOUT --------------------------------------------------- */
.sf-container { max-width: var(--sf-maxw); margin: 0 auto; padding-left: var(--sf-pad); padding-right: var(--sf-pad); }
.sf-container--wide { max-width: var(--sf-maxw-wide); }
.sf-container--narrow { max-width: var(--sf-maxw-narrow); }

.sf-section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.sf-section--sm { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.sf-section--surface { background: var(--sf-surface); border-top: 1px solid var(--sf-border); border-bottom: 1px solid var(--sf-border); }
.sf-section--dark { background: var(--sf-dark); color: #fff; }

.sf-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--sf-primary);
	margin: 0;
}
.sf-kicker svg { display: block; }
.sf-section--dark .sf-kicker { color: var(--sf-peach); }

.sf-section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.sf-section-head h2 { font-size: clamp(30px, 4.5vw, 48px); margin-top: 12px; }

.sf-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sf-head-row h2 { font-size: clamp(26px, 4vw, 40px); }
.sf-seeall { font-size: 13.5px; font-weight: 700; color: var(--sf-primary); white-space: nowrap; }
.sf-seeall:hover { opacity: .8; }

/* ---------- 4. BOTONES -------------------------------------------------- */
.sf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.1;
	padding: 15px 30px; border-radius: var(--sf-r-pill); border: 1px solid transparent;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
	text-align: center;
}
.sf-btn--primary { background: var(--sf-primary); color: #fff; }
.sf-btn--primary:hover { background: var(--sf-primary-dark); color: #fff; }
.sf-btn--ghost { background: transparent; border-color: var(--sf-border-2); color: var(--sf-ink); }
.sf-btn--ghost:hover { background: var(--sf-surface); color: var(--sf-ink); }
.sf-btn--on-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.55); color: #fff; }
.sf-btn--on-dark:hover { background: rgba(255,255,255,.16); color: #fff; }
.sf-btn--block { width: 100%; }
.sf-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.sf-btn-row--center { justify-content: center; }

/* ---------- 5. CABECERA ------------------------------------------------- */
.sf-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250, 247, 242, .92); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--sf-border);
}
.sf-header__bar {
	height: var(--sf-header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.sf-brand { display: inline-flex; align-items: center; gap: 11px; }
.sf-brand__mark { flex: none; }
.sf-brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.sf-brand__name strong { font-family: var(--sf-serif); font-weight: 600; font-size: 23px; letter-spacing: .01em; white-space: nowrap; color: var(--sf-ink); }
.sf-brand__name small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sf-muted-2); font-weight: 700; }
.sf-brand .custom-logo { max-height: 48px; width: auto; }

.sf-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.sf-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.sf-nav__list a { font-size: 15.5px; font-weight: 600; color: var(--sf-ink); padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.sf-nav__list a:hover { color: var(--sf-primary); }
.sf-nav__list .current-menu-item > a,
.sf-nav__list .current_page_item > a,
.sf-nav__list .current-menu-parent > a,
.sf-nav__list .current-menu-ancestor > a { color: var(--sf-primary); border-bottom-color: var(--sf-primary); }
.sf-nav__list li { position: relative; }
.sf-nav__list .menu-item-has-children > a::after { content: '⌄'; font-size: 1em; margin-left: 5px; opacity: .55; position: relative; top: -2px; }

/* Submenú desplegable (escritorio) */
.sf-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: calc(100% + 8px); left: -10px; min-width: 230px;
	background: var(--sf-bg); border: 1px solid var(--sf-border); border-radius: 14px; box-shadow: var(--sf-shadow-sm);
	display: flex; flex-direction: column; gap: 2px;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60;
}
.sf-nav__list li:hover > .sub-menu,
.sf-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sf-nav__list .sub-menu a { font-size: 15px; font-weight: 600; padding: 9px 12px; border-bottom: 0; border-radius: 9px; white-space: normal; }
.sf-nav__list .sub-menu a:hover { background: var(--sf-surface); color: var(--sf-primary); }

/* Selector de idioma (Polylang) */
.sf-lang { display: flex; align-items: center; border: 1px solid var(--sf-border-2); border-radius: var(--sf-r-pill); overflow: hidden; }
.sf-lang ul { list-style: none; margin: 0; padding: 0; display: flex; }
.sf-lang a, .sf-lang > span { font-size: 12px; font-weight: 700; padding: 6px 11px; color: var(--sf-muted); text-transform: uppercase; line-height: 1; display: block; }
.sf-lang .current-lang > a, .sf-lang .current-lang { background: var(--sf-primary); color: #fff; }
.sf-lang a:hover { color: var(--sf-primary); }
.sf-lang .current-lang > a:hover { color: #fff; }

/* Toggle móvil */
.sf-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.sf-nav-toggle span { width: 24px; height: 2px; background: var(--sf-ink); border-radius: 2px; display: block; transition: transform .2s, opacity .2s; }
.sf-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sf-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sf-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
	.sf-nav-toggle { display: flex; }
	.sf-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--sf-bg); border-top: 1px solid var(--sf-border); border-bottom: 1px solid var(--sf-border);
		padding: 14px var(--sf-pad) 22px;
		max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
		transition: max-height .25s ease, opacity .2s ease;
	}
	.sf-nav.is-open { max-height: 90vh; opacity: 1; pointer-events: auto; overflow-y: auto; }
	.sf-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.sf-nav__list li { width: 100%; }
	.sf-nav__list a { display: block; width: 100%; font-size: 16px; padding: 14px 2px; border-bottom: 1px solid var(--sf-line-soft); }
	.sf-nav__list .current-menu-item > a,
	.sf-nav__list .current-menu-parent > a,
	.sf-nav__list .current-menu-ancestor > a { border-bottom-color: var(--sf-line-soft); }
	.sf-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0; background: transparent; min-width: 0; }
	.sf-nav__list .sub-menu a { display: block; font-size: 15px; padding: 12px 2px 12px 18px; color: var(--sf-muted); }
	.sf-nav__list .menu-item-has-children > a::after { display: none; }
	.sf-nav__list > li:last-child > a { border-bottom: 0; }
	.sf-lang { margin-top: 18px; align-self: flex-start; }
}

/* ---------- 6. HERO ----------------------------------------------------- */
/* Variante A · cubierta a sangre, centrado */
.sf-hero-cover {
	position: relative; min-height: clamp(440px, 72vh, 660px);
	display: flex; align-items: center; justify-content: center; text-align: center;
	padding: clamp(48px, 9vw, 96px) 24px; color: #fff;
	background: linear-gradient(rgba(36,23,18,.5), rgba(36,23,18,.72)), var(--sf-hero-img, none) center/cover no-repeat;
	background-color: var(--sf-dark);
}
.sf-hero-cover__inner { max-width: 760px; }
.sf-hero-cover .sf-kicker { color: rgba(255,255,255,.82); }
.sf-hero-cover h1 { font-size: clamp(38px, 7vw, 76px); line-height: 1.04; margin: 18px 0 0; color: #fff; }
.sf-hero-cover p { font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: rgba(255,255,255,.85); max-width: 540px; margin: 20px auto 0; }
.sf-hero-cover .sf-btn-row { margin-top: 34px; }

/* Variante B/C · partido (texto + imagen) */
.sf-hero-split {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(28px, 4vw, 56px); align-items: center;
	padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px);
}
.sf-hero-split__text h1 { font-size: clamp(40px, 6.5vw, 82px); line-height: 1.02; margin: 16px 0 0; letter-spacing: -.015em; }
.sf-hero-split__text p { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.65; color: var(--sf-soft); max-width: 460px; margin: 22px 0 0; }
.sf-hero-split__text .sf-btn-row { margin-top: 32px; }
.sf-hero-split__media { border-radius: var(--sf-r-lg); overflow: hidden; aspect-ratio: 4/5; min-height: 340px; box-shadow: var(--sf-shadow); background: var(--sf-tint); }
.sf-hero-split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 7. HORARIOS DE MISA ---------------------------------------- */
/* A · tarjetas */
.sf-masses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.sf-mass-card { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r); padding: 30px 28px; text-align: center; }
.sf-mass-card__day { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sf-muted-2); }
.sf-mass-card__time { font-family: var(--sf-serif); font-size: clamp(34px, 5vw, 46px); font-weight: 600; color: var(--sf-primary); margin: 10px 0 6px; line-height: 1; }
.sf-mass-card__note { font-size: 15.5px; color: var(--sf-muted); }
.sf-masses-foot { text-align: center; font-size: 13.5px; color: var(--sf-muted-2); margin-top: 22px; }

/* B/C · lista sobre fondo oscuro */
.sf-masses-list { display: flex; flex-direction: column; }
.sf-masses-list__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.sf-masses-list__day { font-size: 16px; font-weight: 700; color: #fff; }
.sf-masses-list__note { font-size: 14px; color: rgba(255,255,255,.6); }
.sf-masses-list__time { font-family: var(--sf-serif); font-size: 30px; font-weight: 600; color: var(--sf-peach-2); white-space: nowrap; }
.sf-band-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 14.5px; font-weight: 700; color: var(--sf-peach-2); letter-spacing: .02em; transition: color .15s, gap .15s; }
.sf-band-link:hover { color: #fff; gap: 10px; }

/* ---------- 8. ACCESO RÁPIDO ------------------------------------------- */
.sf-qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sf-qa-card {
	display: flex; flex-direction: column;
	border: 1px solid var(--sf-border); border-radius: var(--sf-r); padding: 26px 24px; background: var(--sf-bg);
	transition: border-color .18s, transform .18s;
}
.sf-qa-card:hover { border-color: var(--sf-primary); transform: translateY(-3px); }
.sf-qa-card__icon {
	width: 42px; height: 42px; border-radius: 50%; background: var(--sf-tint);
	display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
	color: var(--sf-primary); font-family: var(--sf-serif); font-size: 22px; font-weight: 600;
}
.sf-qa-card__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--sf-ink); }
.sf-qa-card__desc { font-size: 15.5px; color: var(--sf-muted); line-height: 1.5; }

/* C · lista editorial numerada (estilo "mix" del diseño) */
.sf-qa-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--sf-border); }
.sf-qa-list__item { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding: clamp(20px, 3vw, 28px) 6px; border-top: 1px solid var(--sf-border); transition: background .15s; }
.sf-qa-list__item:hover { background: var(--sf-bg); }
.sf-qa-list__num { font-family: var(--sf-serif); font-size: 28px; font-weight: 600; color: #c9bba9; width: 38px; flex: none; }
.sf-qa-list__body { flex: 1; min-width: 0; }
.sf-qa-list__title { font-family: var(--sf-serif); font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.1; color: var(--sf-ink); }
.sf-qa-list__desc { font-size: 16px; color: #6b6259; margin-top: 5px; line-height: 1.5; }
.sf-qa-list__arrow { color: var(--sf-primary); font-size: 26px; flex: none; }

/* C · tarjetas con imagen (alternativa) */
.sf-qa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.sf-qa-imgcard { display: flex; flex-direction: column; border: 1px solid var(--sf-border); border-radius: var(--sf-r-lg); overflow: hidden; background: var(--sf-surface); transition: border-color .18s, transform .18s; }
.sf-qa-imgcard:hover { border-color: var(--sf-primary); transform: translateY(-3px); }
.sf-qa-imgcard__media { aspect-ratio: 16/10; overflow: hidden; background: var(--sf-tint); }
.sf-qa-imgcard__media img { width: 100%; height: 100%; object-fit: cover; }
.sf-qa-imgcard__body { padding: 26px; }
.sf-qa-imgcard__body h3 { font-size: 27px; margin-bottom: 8px; }
.sf-qa-imgcard__body p { font-size: 16px; color: var(--sf-muted); line-height: 1.55; margin: 0; }

/* ---------- 9. SAGRAMENTS (grid sobre oscuro) -------------------------- */
.sf-sac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-sac-item { padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; font-size: 16px; font-weight: 600; color: #fff; transition: background .15s; }
.sf-sac-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.sf-split-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(32px, 5vw, 64px); }
.sf-split-2 h2 { font-size: clamp(30px, 4.5vw, 52px); margin: 12px 0 22px; }

/* ---------- 10. NOTÍCIES + AGENDA (home) ------------------------------ */
.sf-home-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(36px, 5vw, 64px); }

.sf-news-list { display: flex; flex-direction: column; }
.sf-news-list__item { display: block; padding: 18px 0; border-top: 1px solid var(--sf-border); }
.sf-news-list__item:hover { opacity: .72; }
.sf-news-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 7px; }
.sf-news-cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--sf-primary); }
.sf-news-date { font-size: 12.5px; color: var(--sf-muted-2); }
.sf-news-list__title { font-family: var(--sf-serif); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--sf-ink); }

.sf-agenda { display: flex; flex-direction: column; gap: 12px; }
.sf-agenda__item { display: flex; gap: 18px; align-items: center; background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r); padding: 16px 18px; transition: border-color .15s; }
.sf-agenda__item:hover { border-color: var(--sf-peach); }
.sf-agenda__date { flex: none; width: 58px; text-align: center; border-right: 1px solid var(--sf-border); padding-right: 16px; }
.sf-agenda__d { font-family: var(--sf-serif); font-size: 30px; font-weight: 600; color: var(--sf-primary); line-height: 1; }
.sf-agenda__m { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--sf-muted-2); }
.sf-agenda__title { font-size: 16.5px; font-weight: 700; margin-bottom: 3px; color: var(--sf-ink); }
.sf-agenda__meta { font-size: 13.5px; color: var(--sf-muted); }
.sf-empty { color: var(--sf-muted-2); font-size: 15.5px; padding: 18px 0; border-top: 1px solid var(--sf-border); }

/* ---------- 11. TARJETAS (archivo / grids) ---------------------------- */
.sf-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.sf-card { display: flex; flex-direction: column; background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: 15px; overflow: hidden; transition: border-color .18s, transform .18s; }
.sf-card:hover { border-color: var(--sf-peach); transform: translateY(-3px); }
.sf-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--sf-tint); }
.sf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sf-card__media--ph { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #efe6da, #efe6da 11px, #e7dccd 11px, #e7dccd 22px); }
.sf-card__media--ph span { font-family: ui-monospace, monospace; font-size: 11px; color: #a99a86; letter-spacing: .05em; }
.sf-card__body { padding: 22px; }
.sf-card__title { font-family: var(--sf-serif); font-size: 23px; font-weight: 600; line-height: 1.22; margin: 9px 0; color: var(--sf-ink); }
.sf-card__excerpt { font-size: 15.5px; color: var(--sf-muted); line-height: 1.55; }

/* Filtros */
.sf-filters { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 26px; }
.sf-filter { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: var(--sf-r-pill); border: 1px solid var(--sf-border-2); background: var(--sf-surface); color: var(--sf-soft); transition: all .15s; }
.sf-filter:hover { border-color: var(--sf-primary); color: var(--sf-primary); }
.sf-filter.is-active { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; }
.sf-pagehero .sf-filter { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.sf-pagehero .sf-filter:hover, .sf-pagehero .sf-filter.is-active { background: #fff; border-color: #fff; color: var(--sf-primary); }

/* Paginación */
.sf-pagination, .sf-pager { display: flex; justify-content: center; gap: 7px; margin-top: 48px; flex-wrap: wrap; }
.sf-pagination .page-numbers, .sf-pager span, .sf-pager a {
	min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px;
	border-radius: var(--sf-r-sm); font-size: 15.5px; font-weight: 700;
	border: 1px solid var(--sf-border-2); background: var(--sf-surface); color: var(--sf-soft);
}
.sf-pagination .page-numbers.current, .sf-pager .is-active { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; }
.sf-pagination a.page-numbers:hover { border-color: var(--sf-primary); color: var(--sf-primary); }

/* ---------- 12. CABECERA DE PÁGINA / ARCHIVO -------------------------- */
.sf-pagehero {
	position: relative; border-bottom: 1px solid var(--sf-border); color: #fff;
	background: linear-gradient(rgba(36,23,18,.74), rgba(36,23,18,.82)), var(--sf-hero-img, none) top/cover no-repeat;
	background-color: var(--sf-dark);
}
.sf-pagehero--short { display: flex; align-items: center; }
.sf-pagehero__inner { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); width: 100%; }
.sf-pagehero--short .sf-pagehero__inner { padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(40px, 5vw, 60px); }
.sf-pagehero h1 { font-size: clamp(34px, 5.5vw, 62px); color: #fff; }
.sf-pagehero p { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.85); max-width: 560px; margin: 14px 0 0; line-height: 1.6; }

.sf-crumbs { font-size: 12.5px; color: var(--sf-muted-2); margin-bottom: 12px; }
.sf-crumbs a { color: inherit; }
.sf-crumbs a:hover { color: var(--sf-primary); }
.sf-crumbs .current { color: var(--sf-primary); font-weight: 600; }
.sf-pagehero .sf-crumbs { color: rgba(255,255,255,.72); }
.sf-pagehero .sf-crumbs .current { color: #fff; }
.sf-pagehero .sf-crumbs a:hover { color: #fff; }

/* ---------- 13. PROSA / CONTENIDO ------------------------------------- */
.sf-prose { font-size: clamp(17px, 2vw, 20px); line-height: 1.78; color: var(--sf-ink-prose); }
.sf-prose > *:first-child { margin-top: 0; }
.sf-prose p { margin: 0 0 22px; text-wrap: pretty; }
.sf-prose h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 40px 0 16px; color: var(--sf-ink); }
.sf-prose h3 { font-size: clamp(22px, 2.8vw, 28px); margin: 32px 0 12px; color: var(--sf-ink); }
.sf-prose a { color: var(--sf-primary); text-decoration: underline; text-underline-offset: 3px; }
.sf-prose ul, .sf-prose ol { margin: 0 0 22px; padding-left: 1.3em; }
.sf-prose li { margin-bottom: 8px; }
.sf-prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sf-primary); font-family: var(--sf-serif); font-size: 1.25em; font-style: italic; color: var(--sf-ink); }
.sf-prose img { border-radius: var(--sf-r); margin: 22px auto; display: block; }
.sf-prose figure { margin: 26px auto; text-align: center; }
.sf-prose figure img { margin: 0 auto; }
.sf-prose figcaption, .sf-prose .wp-caption-text { text-align: center; font-size: 14px; color: var(--sf-muted-2); margin-top: 8px; font-style: italic; }
.sf-prose .wp-caption { margin: 26px auto; max-width: 100%; }
.sf-prose img.alignleft, .sf-prose img.alignright, .sf-prose img.aligncenter { float: none; margin-left: auto; margin-right: auto; }
.sf-lead { font-family: var(--sf-serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.4; color: var(--sf-ink); margin: 0 0 28px; font-style: italic; }

/* ---------- 14. PÁGINA GENÉRICA (cuerpo + aside) ---------------------- */
.sf-page-layout { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.sf-page-layout--has-aside { grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr); }
@media (max-width: 880px) { .sf-page-layout--has-aside { grid-template-columns: 1fr; } }

.sf-aside-box { position: sticky; top: calc(var(--sf-header-h) + 28px); background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r-lg); padding: 28px; }
.sf-aside-box h3 { font-size: 24px; margin-bottom: 16px; }
.sf-info-list { display: flex; flex-direction: column; }
.sf-info-list__row { padding: 13px 0; border-top: 1px solid var(--sf-line-soft); }
.sf-info-list__row:first-child { border-top: 0; padding-top: 0; }
.sf-info-list__label { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--sf-muted-2); margin-bottom: 4px; }
.sf-info-list__value { font-size: 16px; font-weight: 600; color: var(--sf-ink); }
.sf-aside-box .sf-btn { margin-top: 20px; }

/* Bloque CTA (botón destacado opcional en páginas genéricas) */
.sf-cta-banner {
	background: var(--sf-dark); color: #fff; border-radius: var(--sf-r-lg);
	padding: clamp(28px, 5vw, 48px); margin-top: clamp(40px, 6vw, 64px);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.sf-cta-banner__text h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.sf-cta-banner__text p { color: rgba(255,255,255,.8); margin: 10px 0 0; max-width: 52ch; }
.sf-cta-banner .sf-kicker { color: var(--sf-peach); margin-bottom: 6px; }

/* ---------- 15. ARTÍCULO (single) ------------------------------------- */
.sf-article { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.sf-article h1 { font-size: clamp(34px, 5.5vw, 58px); line-height: 1.08; margin: 0 0 20px; }
.sf-article__meta { display: flex; align-items: center; gap: 13px; padding-bottom: 26px; border-bottom: 1px solid var(--sf-border); }
.sf-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sf-tint); display: flex; align-items: center; justify-content: center; color: var(--sf-primary); font-weight: 700; font-size: 16px; flex: none; }
.sf-article__author { font-size: 16px; font-weight: 700; color: var(--sf-ink); }
.sf-article__sub { font-size: 14px; color: var(--sf-muted-2); }
.sf-article__featured { aspect-ratio: 16/9; border-radius: var(--sf-r); margin: 30px 0; overflow: hidden; background: var(--sf-tint); }
.sf-article__featured img { width: 100%; height: 100%; object-fit: cover; }
.sf-tags { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--sf-border); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sf-tags__label { font-size: 14px; color: var(--sf-muted-2); font-weight: 700; }
.sf-tag { font-size: 12.5px; font-weight: 600; color: var(--sf-primary); background: var(--sf-tint); padding: 6px 13px; border-radius: var(--sf-r-pill); }
.sf-tag:hover { background: var(--sf-primary); color: #fff; }

/* ---------- 16. EVENTO (single) --------------------------------------- */
.sf-event-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 56px); align-items: start; }
.sf-event-layout--aside { grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr); }
@media (max-width: 880px) { .sf-event-layout--aside { grid-template-columns: 1fr; } }
.sf-event__title { font-size: clamp(34px, 5.5vw, 58px); line-height: 1.06; margin: 12px 0 24px; }
.sf-event__media { aspect-ratio: 16/9; border-radius: 15px; overflow: hidden; background: var(--sf-tint); margin-bottom: 30px; }
.sf-event__media img { width: 100%; height: 100%; object-fit: cover; }
.sf-event__body { font-size: clamp(16px, 1.9vw, 18px); line-height: 1.76; color: var(--sf-ink-prose); }
.sf-event-aside { position: sticky; top: calc(var(--sf-header-h) + 28px); }
.sf-event-when { background: var(--sf-dark); color: #fff; border-radius: var(--sf-r-lg); padding: 30px; text-align: center; margin-bottom: 16px; }
.sf-event-when__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sf-peach); font-weight: 700; }
.sf-event-when__day { font-family: var(--sf-serif); font-size: 62px; font-weight: 600; line-height: 1; margin: 10px 0 2px; }
.sf-event-when__month { font-size: 16px; font-weight: 600; color: var(--sf-peach-2); text-transform: uppercase; letter-spacing: .08em; }
.sf-event-when__time { font-size: 17px; margin-top: 14px; }
.sf-event-info { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r-lg); padding: 26px; }
.sf-event-info .sf-btn { margin-top: 18px; }

/* ---------- 17. CONTACTO ---------------------------------------------- */
.sf-contact-intro { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.sf-contact-intro p { font-family: var(--sf-serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; color: var(--sf-ink); margin: 0; }
.sf-contact-intro p + p { margin-top: 14px; }
.sf-contact-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(36px, 5vw, 56px); align-items: start; }
.sf-contact-cards { display: flex; flex-direction: column; gap: 14px; }
.sf-contact-card { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: 15px; padding: 24px; }
.sf-contact-card__label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--sf-primary); margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.sf-contact-card__value { font-size: 16px; line-height: 1.6; color: var(--sf-ink); white-space: pre-line; font-weight: 500; }
.sf-contact-card__value a { color: var(--sf-ink); }
.sf-contact-card__value a:hover { color: var(--sf-primary); }
.sf-map { width: 100%; height: 240px; border: 1px solid var(--sf-border); border-radius: 15px; display: block; overflow: hidden; }
.sf-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-map-link { font-size: 14px; font-weight: 700; color: var(--sf-primary); }

.sf-form-card { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r-lg); padding: clamp(26px, 4vw, 40px); }
.sf-form-card h2 { font-size: 28px; margin-bottom: 22px; }
.sf-form { display: flex; flex-direction: column; gap: 16px; }
.sf-field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 700; color: var(--sf-soft); }
.sf-field input, .sf-field textarea {
	font-family: inherit; font-size: 16px; padding: 13px 15px; border: 1px solid var(--sf-border-2); border-radius: var(--sf-r-sm);
	background: var(--sf-bg); color: var(--sf-ink); width: 100%;
}
.sf-field input:focus, .sf-field textarea:focus { border-color: var(--sf-primary); outline: none; }
.sf-field textarea { resize: vertical; min-height: 120px; }
.sf-form-note { font-size: 13px; color: var(--sf-muted-2); }
.sf-alert { padding: 14px 16px; border-radius: var(--sf-r-sm); font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.sf-alert--ok { background: #e8f3e8; color: #2f6d35; }
.sf-alert--err { background: #f7e6e0; color: var(--sf-primary-dark); }

/* ---------- 17b. FORMLAYER (integración con el diseño) ---------------- */
.formlayer-form-wrapper { font-family: var(--sf-sans); color: var(--sf-ink); }
.formlayer-field-wrap { margin-bottom: 16px; }
.formlayer-label, .formlayer-sub-label { font-size: 14px; font-weight: 700; color: var(--sf-soft); margin-bottom: 7px; display: block; }
.formlayer-form .formlayer-input {
	font-family: inherit; font-size: 16px; padding: 13px 15px; width: 100%;
	border: 1px solid var(--sf-border-2); border-radius: var(--sf-r-sm);
	background: var(--sf-bg); color: var(--sf-ink); transition: border-color .15s;
}
.formlayer-form .formlayer-input:focus { border-color: var(--sf-primary); outline: none; box-shadow: none; }
.formlayer-form textarea.formlayer-input { resize: vertical; min-height: 120px; }
.formlayer-name-fields-wrap { display: flex; gap: 14px; flex-wrap: wrap; }
.formlayer-name-fields-wrap .formlayer-sub-field { flex: 1; min-width: 150px; }
.formlayer-gdpr-wrap { font-size: 13px; color: var(--sf-muted-2); margin: 6px 0 14px; }
.formlayer-gdpr-label { display: flex; gap: 8px; align-items: flex-start; }
.formlayer-submit-wrap { margin-top: 6px; }
.formlayer-form .formlayer-submit-btn {
	font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.1; cursor: pointer;
	padding: 15px 32px; border: 0; border-radius: var(--sf-r-pill);
	background: var(--sf-primary); color: #fff; transition: background .15s, transform .15s;
}
.formlayer-form .formlayer-submit-btn:hover { background: var(--sf-primary-dark); }
.formlayer-form-status { border-radius: var(--sf-r-sm); font-size: 15px; }

/* ---------- 17c. CONTACT FORM 7 (integración con el diseño) ----------- */
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label { display: block; font-size: 14px; font-weight: 700; color: var(--sf-soft); line-height: 1.5; }
.wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.wpcf7-form .wpcf7-form-control {
	font-family: inherit; font-size: 16px; padding: 13px 15px; width: 100%;
	border: 1px solid var(--sf-border-2); border-radius: var(--sf-r-sm);
	background: var(--sf-bg); color: var(--sf-ink); transition: border-color .15s;
}
.wpcf7-form .wpcf7-form-control:focus { border-color: var(--sf-primary); outline: none; box-shadow: none; }
.wpcf7-form textarea.wpcf7-form-control { resize: vertical; min-height: 130px; }
.wpcf7-form .wpcf7-acceptance { margin-top: 2px; }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 400; color: var(--sf-soft); cursor: pointer; }
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--sf-primary); flex: none; }
.wpcf7-form .wpcf7-acceptance a { color: var(--sf-primary); text-decoration: underline; text-underline-offset: 2px; }
.wpcf7-form .wpcf7-submit {
	font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.1; cursor: pointer;
	padding: 15px 32px; border: 0; border-radius: var(--sf-r-pill);
	background: var(--sf-primary); color: #fff; transition: background .15s, opacity .15s; margin-top: 4px;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--sf-primary-dark); }
.wpcf7-form .wpcf7-submit:disabled { opacity: .45; cursor: not-allowed; }
.wpcf7-form .wpcf7-spinner { margin: 0 0 0 10px; }
.wpcf7-not-valid-tip { color: var(--sf-primary-dark); font-size: 13px; font-weight: 600; margin-top: 5px; }
.wpcf7-form .wpcf7-response-output { margin: 16px 0 0; border-radius: var(--sf-r-sm); border-width: 1px; padding: 12px 16px; font-size: 14.5px; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.unaccepted .wpcf7-response-output, .wpcf7-form.spam .wpcf7-response-output { border-color: #e0b4a4; background: #f7e6e0; color: var(--sf-primary-dark); }
.wpcf7-form.sent .wpcf7-response-output { border-color: #b5d8b5; background: #e8f3e8; color: #2f6d35; }

/* ---------- 18. PIE ---------------------------------------------------- */
.sf-footer { background: var(--sf-dark); color: rgba(255,255,255,.78); }
.sf-footer__map { padding-top: clamp(40px, 6vw, 64px); }
.sf-footer__map a { display: block; border-radius: 16px; overflow: hidden; }
.sf-footer__map img { width: 100%; height: 200px; object-fit: cover; border: 0; border-radius: 16px; display: block; filter: saturate(.9) brightness(.97); transition: filter .2s; }
.sf-footer__map a:hover img { filter: saturate(1) brightness(1); }
.sf-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(32px, 4vw, 56px); padding-top: clamp(40px, 6vw, 64px); padding-bottom: 36px; }
.sf-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sf-footer__brand strong { font-family: var(--sf-serif); font-weight: 600; font-size: 22px; color: #fff; }
.sf-footer p { font-size: 15.5px; line-height: 1.65; max-width: 280px; margin: 0; }
.sf-footer h4 { font-family: var(--sf-sans); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sf-peach); margin-bottom: 16px; }
.sf-footer__col-list { display: flex; flex-direction: column; gap: 9px; }
.sf-footer__col-list a { font-size: 15.5px; color: rgba(255,255,255,.78); }
.sf-footer__col-list a:hover { color: #fff; }
.sf-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sf-footer__menu a { font-size: 15.5px; color: rgba(255,255,255,.78); }
.sf-footer__menu a:hover { color: #fff; }
.sf-footer__contact { font-size: 15.5px; line-height: 1.9; white-space: pre-line; }
.sf-footer__contact a { color: rgba(255,255,255,.78); }
.sf-footer__contact a:hover { color: #fff; }
.sf-footer__social { display: flex; gap: 10px; margin-top: 16px; }
.sf-footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); }
.sf-footer__social a:hover { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; }
.sf-footer__times { display: flex; flex-direction: column; gap: 8px; }
.sf-footer__times div { font-size: 15.5px; }
.sf-footer__times strong { color: #fff; font-weight: 600; }
.sf-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.sf-footer__bottom .sf-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding-top: 20px; padding-bottom: 20px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.sf-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sf-footer__legal a { font-size: 12.5px; color: rgba(255,255,255,.6); }
.sf-footer__legal a:hover { color: #fff; }

/* ---------- 18b. HORARIOS (página) — tarjetas apiladas tipo fila ------- */
.sf-sched { display: flex; flex-direction: column; gap: 16px; max-width: 980px; margin: 0 auto; }
.sf-sched-card {
	background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r-lg);
	padding: clamp(22px, 3vw, 32px);
	display: grid; grid-template-columns: 230px 1fr; gap: clamp(18px, 3vw, 44px); align-items: start;
	transition: border-color .18s;
}
.sf-sched-card:hover { border-color: var(--sf-peach); }
.sf-sched-card__head { display: flex; align-items: center; gap: 12px; color: var(--sf-primary); }
.sf-sched-card__head h3 { font-size: clamp(22px, 2.6vw, 27px); color: var(--sf-ink); margin: 0; }
.sf-sched-card__rows { display: flex; flex-direction: column; }
.sf-sched-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--sf-line-soft); }
.sf-sched-card__row:first-child { border-top: 0; padding-top: 0; }
.sf-sched-card__row:last-child { padding-bottom: 0; }
.sf-sched-card__label { font-size: 16px; color: var(--sf-ink); font-weight: 600; }
.sf-sched-card__note { font-size: 13.5px; color: var(--sf-muted-2); margin-top: 2px; }
.sf-sched-time { font-family: var(--sf-serif); font-size: 24px; font-weight: 600; color: var(--sf-primary); white-space: nowrap; }
@media (max-width: 700px) {
	.sf-sched-card { grid-template-columns: 1fr; gap: 10px; }
	.sf-sched-card__head { padding-bottom: 6px; border-bottom: 1px solid var(--sf-line-soft); }
}

/* Prosa a 2 columnas (otras celebraciones de Horaris) */
.sf-prose--cols { columns: 2; column-gap: 56px; }
.sf-prose--cols > :first-child { margin-top: 0; }
.sf-prose--cols h2 { break-after: avoid; margin: 24px 0 8px; font-size: clamp(20px, 2.4vw, 26px); }
.sf-prose--cols p { break-inside: avoid; font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) { .sf-prose--cols { columns: 1; } }

/* Sacramentos (cuadrícula con imagen + botón) */
.sf-sacraments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.sf-sacrament { display: flex; flex-direction: column; background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r-lg); overflow: hidden; }
.sf-sacrament__media { aspect-ratio: 16/10; background: var(--sf-tint); overflow: hidden; }
.sf-sacrament__media img { width: 100%; height: 100%; object-fit: cover; }
.sf-sacrament__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.sf-sacrament__body h3 { font-size: 25px; margin-bottom: 8px; }
.sf-sacrament__body p { font-size: 15.5px; color: var(--sf-muted); line-height: 1.55; margin: 0 0 18px; flex: 1; }

/* ---------- 18c. BUSCADOR --------------------------------------------- */
.sf-search { display: flex; gap: 10px; }
.sf-search input[type="search"] {
	flex: 1; font-family: inherit; font-size: 16px; padding: 13px 15px;
	border: 1px solid var(--sf-border-2); border-radius: var(--sf-r-sm); background: var(--sf-surface); color: var(--sf-ink);
}
.sf-search input[type="search"]:focus { border-color: var(--sf-primary); outline: none; }

/* ---------- 18d. ACORDEÓN (sacramentos) ------------------------------- */
.sf-accordion { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.sf-accordion__item { background: var(--sf-surface); border: 1px solid var(--sf-border); border-radius: var(--sf-r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.sf-accordion__item[open] { border-color: var(--sf-primary); box-shadow: var(--sf-shadow-sm); }
.sf-accordion summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
	padding: 22px clamp(20px, 3vw, 30px);
	font-family: var(--sf-serif); font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--sf-ink);
	transition: color .15s;
}
.sf-accordion summary::-webkit-details-marker { display: none; }
.sf-accordion summary:hover { color: var(--sf-primary); }
.sf-accordion__num { font-family: var(--sf-serif); font-size: 22px; font-weight: 600; color: #c9bba9; width: 30px; flex: none; }
.sf-accordion__item[open] .sf-accordion__num { color: var(--sf-primary); }
.sf-accordion__plus { margin-left: auto; flex: none; width: 28px; height: 28px; position: relative; }
.sf-accordion__plus::before, .sf-accordion__plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; background: var(--sf-primary); transform: translate(-50%, -50%); transition: transform .25s; border-radius: 2px; }
.sf-accordion__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.sf-accordion__item[open] .sf-accordion__plus::after { transform: translate(-50%, -50%) rotate(0); }
.sf-accordion__body { padding: 0 clamp(20px, 3vw, 30px) 26px; }
.sf-accordion__body > :first-child { margin-top: 0; }
.sf-accordion__body { font-size: 16.5px; line-height: 1.7; color: var(--sf-ink-prose); }
.sf-accordion__body h3, .sf-accordion__body h4 { font-family: var(--sf-serif); font-size: 19px; margin: 20px 0 8px; color: var(--sf-ink); }
.sf-accordion__body a { color: var(--sf-primary); text-decoration: underline; text-underline-offset: 2px; }
@keyframes sfaccord { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sf-accordion__item[open] .sf-accordion__body { animation: sfaccord .28s ease both; }

/* ---------- 19. UTILIDADES -------------------------------------------- */
.sf-stack-sm > * + * { margin-top: 12px; }
.sf-mt-0 { margin-top: 0; }
.sf-center { text-align: center; }
.sf-hidden { display: none !important; }
@media (max-width: 880px) { .sf-hide-mobile { display: none !important; } }
@media (min-width: 881px) { .sf-hide-desktop { display: none !important; } }
