/**
 * web-mary-child — main.css
 *
 * Estilos principales del child theme.
 * Variables CSS centralizadas para fácil personalización.
 */

:root {
	/* Paleta cálida — definida por la doctora (marrones/rosados/durazno).
	   El acento (CTA) usa el fucsia del logo (#e8499a) como propuesta
	   provisoria hasta que la doctora confirme un color de botón. */
	--color-primary: #7B4F39;        /* marrón cálido — títulos/marca */
	--color-primary-dark: #5C3A2A;   /* marrón oscuro — headings */
	--color-primary-light: #A06B4F;
	--color-secondary: #E8AE6F;      /* ocre/dorado — acentos, menú */
	--color-secondary-dark: #D4954F;
	--color-accent: #E8499A;         /* fucsia del logo — CTA (provisorio) */
	--color-accent-dark: #C93882;

	--color-text: #4A3326;           /* marrón oscuro legible — body */
	--color-text-soft: #6B4F3D;
	--color-muted: #9B8579;
	--color-border: #F0DDD5;

	--color-bg: #FFF8F8;             /* fondo de pantalla */
	--color-bg-soft: #FFECE4;        /* durazno claro — boxes/secciones */
	--color-bg-tint: #FDE9F0;        /* rosado claro — secciones tint */
	--color-navbar: #FDD9E8;         /* navbar */

	/* Tipografía */
	--font-heading: 'Rufina', Georgia, 'Times New Roman', serif;     /* títulos */
	--font-body: 'Commissioner', system-ui, -apple-system, sans-serif; /* textos/menú */
	--font-button: 'Inter', system-ui, -apple-system, sans-serif;   /* botones */

	--fs-base: 1.125rem;       /* 18px */
	--fs-small: 0.9375rem;      /* 15px */
	--fs-h1: clamp(2rem, 4vw, 3.25rem);
	--fs-h2: clamp(1.625rem, 3vw, 2.25rem);
	--fs-h3: clamp(1.25rem, 2vw, 1.5rem);

	/* Espaciado */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;

	/* Otros */
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 16px rgba(44, 95, 136, 0.08);
	--shadow-lg: 0 12px 32px rgba(44, 95, 136, 0.12);
	--container: 1200px;
	--container-narrow: 880px;

	/* Alturas del header (para el padding del hero overlay) */
	--topbar-height: 36px;
	--header-height: 64px;
}

/* ===== Reset/normalize complementario ===== */
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	font-size: var(--fs-base);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-primary-dark);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin-top: 0; margin-bottom: 1em; }
a { color: var(--color-primary); transition: color .2s ease; }
a:hover { color: var(--color-accent); }

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

/* ===== Layout ===== */
.wm-container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--space-md);
}
.wm-container--narrow { max-width: var(--container-narrow); }

.wm-section {
	padding: var(--space-xl) 0;
}
.wm-section--tint { background: var(--color-bg-tint); }
.wm-section--soft { background: var(--color-bg-soft); }
.wm-section--dark {
	background: var(--color-primary-dark);
	color: white;
}
.wm-section--dark h1,
.wm-section--dark h2,
.wm-section--dark h3 { color: white; }

.wm-section-title {
	text-align: center;
	margin-bottom: var(--space-lg);
}
.wm-section-title h2 { margin-bottom: var(--space-xs); }
.wm-section-title p { color: var(--color-text-soft); }

/* ===== Topbar (fino) ===== */
.wm-topbar {
	background: var(--color-primary-dark);
	color: #fff;
	font-size: 0.8rem;
	height: var(--topbar-height);
	display: flex;
	align-items: center;
	z-index: 101;
}
.wm-topbar__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--space-lg);
	flex-wrap: wrap;
}
.wm-topbar__item {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
}
.wm-topbar a.wm-topbar__item:hover { color: #fff; }

/* ===== Header / Navegación (minimalista) ===== */
.wm-header {
	background: rgba(255, 248, 248, 0.85);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 100;
}
.wm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	height: var(--header-height);
}
.wm-logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--color-primary-dark);
}
.wm-logo__img { height: 38px; width: auto; }
.wm-logo__name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.1;
}
.wm-logo__tagline {
	display: block;
	font-size: 0.72rem;
	color: var(--color-muted);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.wm-nav {
	display: flex;
	align-items: center;
}
.wm-nav__list {
	display: flex;
	gap: var(--space-md);
	list-style: none;
	margin: 0;
	padding: 0;
}
.wm-nav__list a {
	color: var(--color-text);
	font-weight: 500;
	text-decoration: none;
	font-size: 0.9rem;
	padding: 0.4rem 0;
	position: relative;
}
.wm-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.wm-nav__list a:hover { color: var(--color-accent); }
.wm-nav__list a:hover::after,
.wm-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

/* Dropdown de submenús (Especialidades) */
.wm-nav__list .menu-item-has-children { position: relative; }
.wm-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	list-style: none;
	margin: 0;
	padding: 0.4rem 0;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 10;
}
.wm-nav__list .menu-item-has-children:hover > .sub-menu,
.wm-nav__list .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.wm-nav__list .sub-menu a {
	display: block;
	padding: 0.5rem 1.1rem;
	font-size: 0.9rem;
	color: var(--color-text);
	white-space: nowrap;
}
.wm-nav__list .sub-menu a::after { display: none; }
.wm-nav__list .sub-menu a:hover { color: var(--color-accent); background: var(--color-bg-soft); }

.wm-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

/* El CTA del panel sólo se muestra dentro del menú móvil */
.wm-nav__cta { display: none; }

/* Hamburguesa (sólo móvil) */
.wm-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 9px;
	border-radius: var(--radius-sm);
}
.wm-nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--color-primary-dark);
	border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease;
}
.wm-nav-toggle__bar + .wm-nav-toggle__bar { margin-top: 5px; }
.wm-nav-toggle[aria-expanded="true"] .wm-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wm-nav-toggle[aria-expanded="true"] .wm-nav-toggle__bar:nth-child(2) { opacity: 0; }
.wm-nav-toggle[aria-expanded="true"] .wm-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Modo overlay (home): header transparente sobre el video ===== */
body.wm-nav-overlay .wm-topbar,
body.wm-nav-overlay .wm-header {
	position: fixed;
	left: 0;
	right: 0;
	transition: background .3s ease, transform .3s ease, top .3s ease, border-color .3s ease;
}
body.wm-nav-overlay .wm-topbar {
	top: 0;
	background: transparent;
}
body.wm-nav-overlay .wm-header {
	top: var(--topbar-height);
	background: transparent;
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
/* Texto claro mientras flota sobre el video */
body.wm-nav-overlay .wm-logo,
body.wm-nav-overlay .wm-logo__name,
body.wm-nav-overlay .wm-nav__list a { color: #fff; }
body.wm-nav-overlay .wm-logo__tagline { color: rgba(255, 255, 255, 0.8); }
body.wm-nav-overlay .wm-nav-toggle__bar { background: #fff; }

/* Al hacer scroll: topbar sube, header se vuelve sólido y sube a top:0 */
body.wm-nav-overlay.wm-scrolled .wm-topbar { transform: translateY(-100%); }
body.wm-nav-overlay.wm-scrolled .wm-header {
	top: 0;
	background: rgba(255, 248, 248, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-sm);
}
body.wm-nav-overlay.wm-scrolled .wm-logo,
body.wm-nav-overlay.wm-scrolled .wm-logo__name { color: var(--color-primary-dark); }
body.wm-nav-overlay.wm-scrolled .wm-nav__list a { color: var(--color-text); }
body.wm-nav-overlay.wm-scrolled .wm-logo__tagline { color: var(--color-muted); }
body.wm-nav-overlay.wm-scrolled .wm-nav-toggle__bar { background: var(--color-primary-dark); }

/* ===== Hero ===== */
.wm-hero {
	position: relative;
	padding: var(--space-2xl) 0;
	overflow: hidden;
	background: linear-gradient(135deg, #FFF8F8 0%, #FFECE4 50%, #FDD9E8 100%);
}
.wm-hero__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: var(--space-xl);
	align-items: center;
}

/* Hero de video a pantalla completa (home) */
.wm-hero--video {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	color: #fff;
	background: var(--color-primary-dark);
	isolation: isolate;
	padding-block:
		calc(var(--topbar-height) + var(--header-height) + var(--space-lg))
		var(--space-xl);
}
.wm-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	background: url("../images/dra-uribe-hero.webp") center 25% / cover no-repeat;
}
.wm-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 1;
	pointer-events: none;
}
.wm-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(90deg,
			rgba(92, 58, 42, 0.78) 0%,
			rgba(92, 58, 42, 0.55) 45%,
			rgba(92, 58, 42, 0.28) 80%,
			rgba(92, 58, 42, 0.18) 100%),
		linear-gradient(180deg,
			rgba(40, 24, 16, 0.30) 0%,
			transparent 28%,
			transparent 72%,
			rgba(40, 24, 16, 0.38) 100%);
}
@media (prefers-reduced-motion: reduce) {
	.wm-hero__video { display: none; }
}
.wm-hero--video .wm-hero__content { max-width: 640px; }
.wm-hero--video .wm-hero__title,
.wm-hero--video .wm-hero__title-accent { color: #fff; }
.wm-hero--video .wm-hero__subtitle { color: rgba(255, 255, 255, 0.9); }
.wm-hero--video .wm-hero__horarios {
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: rgba(255, 255, 255, 0.92);
	border-left-color: var(--color-secondary);
}
.wm-hero--video .wm-hero__horarios strong { color: #fff; }
.wm-hero--video .wm-badge {
	background: rgba(255, 255, 255, 0.92);
}

.wm-hero__title {
	font-size: var(--fs-h1);
	margin-bottom: var(--space-sm);
}
.wm-hero__title-accent { color: var(--color-primary); }
.wm-hero__subtitle {
	font-size: 1.2rem;
	color: var(--color-text-soft);
	margin-bottom: var(--space-md);
}
.wm-hero__badges {
	display: flex;
	gap: var(--space-sm);
	flex-wrap: wrap;
	margin-bottom: var(--space-md);
}
.wm-badge {
	background: white;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-primary);
	box-shadow: var(--shadow-sm);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.wm-hero__actions {
	display: flex;
	gap: var(--space-md);
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: var(--space-md);
}
.wm-hero__link {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
.wm-hero__link:hover { color: var(--color-secondary); }
.wm-hero__horarios {
	margin-top: var(--space-md);
	padding: var(--space-sm) var(--space-md);
	background: white;
	border-left: 4px solid var(--color-secondary);
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
	color: var(--color-text-soft);
	display: inline-block;
}
.wm-hero__horarios strong { color: var(--color-primary-dark); }

/* ===== Cards ===== */
.wm-grid {
	display: grid;
	gap: var(--space-md);
}
.wm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wm-grid--4 { grid-template-columns: repeat(4, 1fr); }
.wm-grid--2 { grid-template-columns: repeat(2, 1fr); }

.wm-card {
	background: white;
	border-radius: var(--radius-md);
	padding: var(--space-md);
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
	border: 1px solid var(--color-border);
}
.wm-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.wm-card__icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background: var(--color-bg-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: var(--space-sm);
}
.wm-card__icon--wide { width: auto; padding: 0 0.75rem; }
.wm-card__logo { max-height: 40px; width: auto; object-fit: contain; }
.wm-card__title {
	font-size: 1.15rem;
	margin-bottom: var(--space-xs);
}
.wm-card__text {
	color: var(--color-text-soft);
	font-size: 0.95rem;
	margin-bottom: 0;
}

/* ===== Especialidades ===== */
.wm-especialidad {
	padding: var(--space-md);
	background: white;
	border-radius: var(--radius-md);
	border-top: 4px solid var(--color-secondary);
	box-shadow: var(--shadow-sm);
}

/* ===== OSDE badge ===== */
.wm-osde-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	background: white;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
}
.wm-osde-badge img {
	height: 36px;
	width: auto;
}
.wm-osde-badge span {
	font-weight: 600;
	color: var(--color-primary-dark);
}

/* ===== Horarios ===== */
.wm-horarios {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wm-horarios li {
	display: flex;
	justify-content: space-between;
	gap: var(--space-md);
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--color-border);
}
.wm-horarios li:last-child { border-bottom: none; }
.wm-horarios__dia {
	font-weight: 600;
	color: var(--color-primary-dark);
}
.wm-horarios__hora { color: var(--color-text-soft); }

/* ===== Direccion / Mapa ===== */
.wm-direccion {
	font-style: normal;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--color-text);
}
.wm-mapa {
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 16 / 9;
}
.wm-mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Timeline (formación) ===== */
.wm-timeline {
	position: relative;
	padding-left: 2rem;
	list-style: none;
	margin: 0;
}
.wm-timeline::before {
	content: '';
	position: absolute;
	left: 0.5rem;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--color-secondary);
}
.wm-timeline li {
	position: relative;
	margin-bottom: var(--space-md);
}
.wm-timeline li::before {
	content: '';
	position: absolute;
	left: -1.6rem;
	top: 0.4rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--color-accent);
	border: 3px solid white;
	box-shadow: 0 0 0 2px var(--color-secondary);
}
.wm-timeline__titulo {
	font-weight: 700;
	color: var(--color-primary-dark);
	font-size: 1.05rem;
}
.wm-timeline__institucion {
	color: var(--color-text-soft);
	font-size: 0.95rem;
}

/* ===== Chips / Tags ===== */
.wm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.wm-chip {
	padding: 0.4rem 0.9rem;
	background: var(--color-bg-tint);
	color: var(--color-primary-dark);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
}

/* ===== Footer ===== */
.wm-footer {
	background: var(--color-primary-dark);
	color: #C4D4E2;
	padding: var(--space-xl) 0 var(--space-md);
	margin-top: var(--space-xl);
}
.wm-footer h4 {
	color: white;
	font-size: 1.1rem;
	margin-bottom: var(--space-sm);
}
.wm-footer a {
	color: #C4D4E2;
	text-decoration: none;
	transition: color .2s ease;
}
.wm-footer a:hover { color: white; }
.wm-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-lg);
	margin-bottom: var(--space-lg);
}
.wm-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: var(--space-md);
	text-align: center;
	font-size: 0.85rem;
	color: #8FA0B0;
}
.wm-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wm-footer__list li { margin-bottom: 0.5rem; }

/* ===== Formularios ===== */
.wm-form input[type="text"],
.wm-form input[type="email"],
.wm-form input[type="tel"],
.wm-form select,
.wm-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 1rem;
	background: white;
	transition: border-color .2s ease;
}
.wm-form input:focus,
.wm-form select:focus,
.wm-form textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(44, 95, 136, 0.15);
}
.wm-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 500;
	color: var(--color-text);
}
.wm-form__field { margin-bottom: var(--space-sm); }

/* ===== Avisos / disclaimer ===== */
.wm-aviso {
	background: #FFF8E6;
	border-left: 4px solid #F5B62F;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	color: #7A5800;
}

/* ===== Botones base ===== */
.wm-btn {
	display: inline-block;
	padding: 0.875rem 1.75rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	text-decoration: none;
	transition: all .2s ease;
	border: 2px solid transparent;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 1rem;
}
.wm-btn--primary {
	background: var(--color-primary);
	color: white;
}
.wm-btn--primary:hover {
	background: var(--color-primary-dark);
	color: white;
}
.wm-btn--secondary {
	background: white;
	color: var(--color-primary);
	border-color: var(--color-primary);
}
.wm-btn--secondary:hover {
	background: var(--color-primary);
	color: white;
}

/* ===== Helpers ===== */
.wm-text-center { text-align: center; }
.wm-mt-lg { margin-top: var(--space-lg) !important; }
.wm-mb-lg { margin-bottom: var(--space-lg) !important; }
.wm-mt-xl { margin-top: var(--space-xl) !important; }

/* Skip a contenido (accesibilidad) */
.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	background: var(--color-primary-dark);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	z-index: 9999;
}

/* ===== Especialidades: cards enlazadas ===== */
.wm-card--link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform .2s ease, box-shadow .2s ease;
}
.wm-card--link:hover,
.wm-card--link:focus-visible {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	color: inherit;
}
.wm-card__more {
	margin-top: auto;
	padding-top: var(--space-sm);
	font-weight: 600;
	color: var(--color-accent);
}

/* ===== Breadcrumb ===== */
.wm-breadcrumb {
	font-size: 0.9rem;
	color: var(--color-muted);
	margin-bottom: var(--space-sm);
}
.wm-breadcrumb a { color: var(--color-primary); text-decoration: none; }
.wm-breadcrumb a:hover { text-decoration: underline; }

/* ===== Listas de contenido ===== */
.wm-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wm-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.65rem;
	line-height: 1.6;
}
.wm-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-secondary);
}
.wm-muted { color: var(--color-muted); font-size: 0.95rem; }

/* ===== FAQ (acordeón nativo) ===== */
.wm-faq { margin-top: var(--space-md); }
.wm-faq details {
	background: white;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 0 var(--space-md);
	margin-bottom: var(--space-sm);
}
.wm-faq summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--color-primary-dark);
	padding: var(--space-sm) 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-sm);
}
.wm-faq summary::-webkit-details-marker { display: none; }
.wm-faq summary::after {
	content: "+";
	font-size: 1.5rem;
	color: var(--color-accent);
	line-height: 1;
	transition: transform .2s ease;
}
.wm-faq details[open] summary::after { transform: rotate(45deg); }
.wm-faq details > p {
	margin: 0;
	padding-bottom: var(--space-md);
	color: var(--color-text-soft);
}

/* ===== Enlaces legales del footer ===== */
.wm-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	justify-content: center;
	margin-bottom: var(--space-sm);
}
.wm-footer__legal a {
	color: inherit;
	text-decoration: none;
	opacity: 0.85;
	font-size: 0.85rem;
}
.wm-footer__legal a:hover { opacity: 1; text-decoration: underline; }