/* ==========================================================================
   Mente en Equilibrio — Hoja de estilos principal
   Paleta: verde oliva, verde pastel, rosa suave, beige, crema y blanco.
   ========================================================================== */

:root {
	--olive-950: #414b25;
	--olive-900: #4d582c;
	--olive-800: #5b6834;
	--olive-700: #67763c;
	--olive-600: #7b8b4b;
	--olive-500: #8fa05f;
	--olive-300: #c2cf9c;
	--sage: #dfe7cb;
	--sage-2: #eef2e1;
	--sage-3: #f5f7ec;

	--pink-600: #d98b92;
	--pink-500: #ef9aa0;
	--pink-400: #f3b3b8;
	--pink-300: #f6c6c9;
	--pink-100: #fbe7e6;
	--blush: #fdf1ef;

	--cream: #fffaf1;
	--cream-2: #fdf5e8;
	--cream-3: #f8efdf;
	--beige: #f0e4d1;

	--ink: #5b4a3f;
	--ink-strong: #46382f;
	--ink-soft: #7c6b5d;
	--ink-muted: #99897a;

	--line: #e9dcc7;
	--line-soft: #f0e7d8;
	--line-green: #dfe7cb;

	--shadow-sm: 0 10px 26px -18px rgba(79, 63, 46, .45);
	--shadow-md: 0 22px 50px -28px rgba(79, 63, 46, .5);
	--shadow-lg: 0 34px 80px -34px rgba(79, 63, 46, .55);

	--radius-sm: 14px;
	--radius: 24px;
	--radius-lg: 32px;

	--font-display: "Fraunces", "Georgia", "Times New Roman", serif;
	--font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	--header-h: 78px;
	--container: 1180px;
}

/* Compatibilidad con la sintaxis de Font Awesome 6 usada en el HTML
   (el paquete local es Font Awesome 5 Free). */
.fa-solid, .fa-regular, .fa-brands {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	line-height: 1;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.fa-solid { font-family: "Font Awesome 5 Free"; font-weight: 900; }
.fa-regular { font-family: "Font Awesome 5 Free"; font-weight: 400; }
.fa-brands { font-family: "Font Awesome 5 Brands"; font-weight: 400; }

/* --------------------------------------------------------------------------
   Reset y base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 22px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--ink);
	background-color: var(--cream);
	background-image:
		radial-gradient(rgba(199, 183, 155, .18) 0.7px, transparent 0.7px),
		radial-gradient(circle at 10% 0%, rgba(223, 231, 203, .5), transparent 45%),
		radial-gradient(circle at 92% 30%, rgba(251, 231, 230, .55), transparent 42%);
	background-size: 16px 16px, 100% 100%, 100% 100%;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
svg { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

strong { color: var(--ink-strong); font-weight: 700; }

::selection { background: var(--pink-300); color: var(--olive-950); }

:focus-visible {
	outline: 3px solid #9fb06a;
	outline-offset: 3px;
	border-radius: 6px;
}

[hidden] { display: none !important; }

.container {
	width: min(100% - 48px, var(--container));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 400;
	transform: translateY(-160%);
	background: var(--olive-800);
	color: #fffdf6;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   Componentes compartidos
   -------------------------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--olive-700);
}
.eyebrow-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pink-500);
	box-shadow: 0 0 0 4px rgba(243, 179, 184, .3);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	padding: 12px 24px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease,
		color .22s ease, border-color .22s ease;
}

.btn i { font-size: .9em; transition: transform .22s ease; }

.btn--primary {
	background: linear-gradient(135deg, var(--olive-600) 0%, var(--olive-800) 78%);
	color: #fffdf4;
	box-shadow: 0 12px 24px -12px rgba(77, 88, 44, .7), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 30px -14px rgba(77, 88, 44, .8);
}
.btn--primary:hover i { transform: translateX(3px); }
.btn--primary:active { transform: translateY(0); }

.btn--soft {
	background: #fffdf8;
	border-color: var(--line);
	color: var(--olive-800);
	box-shadow: var(--shadow-sm);
}
.btn--soft:hover {
	background: var(--sage-2);
	border-color: var(--olive-300);
	transform: translateY(-2px);
}

.btn--ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--ink-soft);
}
.btn--ghost:hover { background: #fffdf8; color: var(--olive-800); border-color: var(--olive-300); }

.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }

.icon-badge {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 20px;
	border: 1.5px solid transparent;
}
.ib-sage { background: var(--sage-2); color: var(--olive-700); border-color: var(--line-green); }
.ib-pink { background: var(--pink-100); color: var(--pink-600); border-color: #f5d2d0; }

.panel {
	position: relative;
	background: #fffdf8;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 3.2vw, 36px);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.panel-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}
.panel-title h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(23px, 2.4vw, 30px);
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--olive-900);
}

.check-list { display: grid; gap: 11px; }
.check-list li {
	position: relative;
	padding-left: 34px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--ink);
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--olive-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fffdf4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
	box-shadow: 0 3px 8px -3px rgba(77, 88, 44, .6);
}
.check-list--compact li { font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Header / navegación
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(255, 250, 241, .9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled {
	border-bottom-color: var(--line-soft);
	box-shadow: 0 12px 34px -24px rgba(79, 63, 46, .6);
	background: rgba(255, 250, 241, .96);
}

.nav-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	flex: 0 0 auto;
}
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: .95; }
.brand-text > span {
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.brand-text strong {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--olive-900);
	letter-spacing: -.015em;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
}
.primary-nav a {
	display: inline-block;
	padding: 9px 13px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	transition: background-color .22s ease, color .22s ease;
}
.primary-nav a:hover { background: var(--sage-2); color: var(--olive-900); }
.primary-nav a.is-active {
	background: var(--olive-700);
	color: #fffdf4;
	box-shadow: 0 6px 14px -8px rgba(77, 88, 44, .9);
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1.5px solid var(--line);
	border-radius: 14px;
	background: #fffdf8;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	transition: background-color .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: var(--sage-2); border-color: var(--olive-300); }
.nav-toggle span {
	display: block;
	width: 19px;
	height: 2px;
	border-radius: 2px;
	background: var(--olive-800);
	transition: transform .28s ease, opacity .2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	padding-block: clamp(26px, 3.6vw, 50px) clamp(38px, 5vw, 74px);
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	pointer-events: none;
	z-index: 0;
}
.hero-glow--one {
	width: 460px;
	height: 460px;
	top: -200px;
	right: -120px;
	background: radial-gradient(circle, rgba(223, 231, 203, .75), rgba(223, 231, 203, 0) 68%);
}
.hero-glow--two {
	width: 420px;
	height: 420px;
	bottom: -220px;
	left: -140px;
	background: radial-gradient(circle, rgba(251, 231, 230, .8), rgba(251, 231, 230, 0) 68%);
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: .92fr 1.16fr .92fr;
	align-items: center;
	gap: clamp(16px, 2.4vw, 32px);
}

.hero-copy { min-width: 0; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.hero-title { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.hero-title-top {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 48px);
	line-height: 1;
	color: var(--olive-700);
}
.heart-inline { width: clamp(20px, 2vw, 28px); height: auto; fill: var(--pink-400); transform: rotate(-6deg); }
.hero-title-main {
	display: flex;
	align-items: center;
	gap: clamp(6px, 1vw, 14px);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(46px, 6vw, 82px);
	line-height: .92;
	letter-spacing: -.025em;
	color: var(--olive-900);
}
.title-dash {
	flex: 0 1 auto;
	width: clamp(12px, 2.2vw, 38px);
	height: 4px;
	border-radius: 999px;
	background: var(--pink-400);
}

.hero-phrase {
	margin: 22px 0 24px;
	background: var(--cream-3);
	border: 1.5px solid #ecdec6;
	border-radius: 18px;
	padding: 16px 20px;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.hero-phrase strong { color: var(--olive-900); font-weight: 700; }

.hero-footnote {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 18px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ink-muted);
}
.hero-footnote i { color: var(--olive-600); margin-top: 3px; }

.hero-art {
	position: relative;
	display: flex;
	justify-content: center;
	padding-inline: 8px;
}
.hero-illustration {
	width: 100%;
	max-width: 470px;
	height: auto;
	filter: drop-shadow(0 30px 34px rgba(104, 90, 70, .1));
}

.art-tags {
	position: absolute;
	left: 0;
	bottom: 9%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	z-index: 3;
}
.art-tags li {
	background: #fffdf8;
	border: 1.5px solid var(--olive-600);
	border-radius: 8px;
	padding: 4px 16px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--olive-900);
	box-shadow: 0 7px 14px -8px rgba(79, 63, 46, .55);
	transform: rotate(var(--r, 0deg));
}

.hero-note {
	position: relative;
	background: #fffdf8;
	border: 1.5px solid #ecdfc9;
	border-radius: 26px;
	padding: 44px 26px 30px;
	box-shadow: var(--shadow-md);
	transform: rotate(-1.2deg);
}
.hero-note::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px dashed rgba(201, 211, 174, .8);
	border-radius: 20px;
	pointer-events: none;
}
.hero-note h2 {
	position: relative;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(21px, 2vw, 25px);
	line-height: 1.25;
	color: var(--olive-900);
	margin-bottom: 12px;
}
.hero-note p { position: relative; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

.pin {
	position: absolute;
	top: -20px;
	right: 30px;
	width: 46px;
	height: 46px;
	transform: rotate(10deg);
	filter: drop-shadow(0 6px 6px rgba(79, 63, 46, .18));
}
.note-heart {
	position: absolute;
	right: 22px;
	bottom: 16px;
	width: 24px;
	fill: var(--pink-300);
	transform: rotate(8deg);
}

/* --------------------------------------------------------------------------
   Accesos rápidos
   -------------------------------------------------------------------------- */

.quick { position: relative; z-index: 2; padding-bottom: 6px; }

.quick-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	background: #fffdf8;
	border: 1.5px solid var(--line);
	border-radius: 26px;
	padding: 10px;
	box-shadow: var(--shadow-sm);
}

.quick-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding: 18px 8px;
	border-radius: 18px;
	text-align: center;
	transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.quick-item + .quick-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18%;
	bottom: 18%;
	border-left: 1px dashed #e8dcc9;
}
.quick-item:hover {
	background: var(--sage-3);
	transform: translateY(-4px);
	box-shadow: 0 14px 24px -20px rgba(79, 63, 46, .55);
}
.quick-item:hover .quick-icon { transform: rotate(-5deg) scale(1.06); }

.quick-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	font-size: 23px;
	color: var(--olive-800);
	transition: transform .25s ease;
	border: 1.5px solid transparent;
}
.qi-pink { background: var(--pink-100); color: var(--pink-600); border-color: #f6d6d3; }
.qi-sage { background: var(--sage-2); color: var(--olive-700); border-color: var(--line-green); }
.qi-blush { background: #fceceb; color: #cc8b8b; border-color: #f5d8d5; }
.qi-cream { background: var(--cream-2); color: #b08a58; border-color: #eddfc5; }

.quick-label { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink-strong); }

/* --------------------------------------------------------------------------
   Secciones y divisores
   -------------------------------------------------------------------------- */

.section { padding-block: clamp(40px, 5.2vw, 72px); }

.section-divider {
	width: min(100% - 20px, 1260px);
	margin: 0 auto;
	padding-inline: 10px;
}
.section-divider svg {
	width: 100%;
	height: 26px;
	display: block;
	filter: drop-shadow(0 3px 4px rgba(243, 164, 170, .25));
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 2vw, 22px);
	margin-bottom: clamp(22px, 3vw, 38px);
	text-align: center;
}
.section-head h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(29px, 3.5vw, 44px);
	line-height: 1.15;
	color: var(--olive-900);
	letter-spacing: -.01em;
}
.head-spark { width: 30px; flex: 0 0 auto; opacity: .9; }

/* --------------------------------------------------------------------------
   Objetivo / Importancia
   -------------------------------------------------------------------------- */

.split-cards {
	display: grid;
	grid-template-columns: 1.06fr .94fr;
	gap: 26px;
	align-items: stretch;
}

.panel--objetivo {
	display: grid;
	grid-template-columns: 1.16fr .84fr;
	gap: 10px;
	align-items: end;
}
.panel--objetivo .panel-copy { min-width: 0; }
.panel--objetivo p { font-size: 15.5px; line-height: 1.72; color: var(--ink-soft); }
.panel-art { align-self: end; }
.panel-art svg { width: 100%; max-width: 330px; margin-left: auto; }

.panel--why {
	background: linear-gradient(158deg, #fdf3ec 0%, #fbe9e0 100%);
	border-color: #f2d9cc;
}
.panel--why .panel-title h2 { color: #8a5a48; }
.panel--why .check-list li::before { background-color: var(--olive-600); }
.panel-sparkles {
	position: absolute;
	right: 20px;
	bottom: 12px;
	width: 110px;
	opacity: .8;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Conoce más sobre la ansiedad
   -------------------------------------------------------------------------- */

.section--conoce { padding-top: clamp(26px, 3.4vw, 48px); }

.cards-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	align-items: stretch;
}

.info-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 20px 22px;
	background: #fffdf8;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.info-card--pink { background: #fdf0ef; border-color: #f3d5d1; }
.info-card--cream { background: #fdf7ea; border-color: #efdfc6; }
.info-card--blush { background: #fcefef; border-color: #f4d8d6; }

.info-icon {
	display: grid;
	place-items: center;
	align-self: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fffdf8;
	border: 1.5px solid rgba(125, 140, 78, .28);
	color: var(--olive-700);
	font-size: 23px;
	margin-bottom: 14px;
	box-shadow: 0 8px 16px -12px rgba(79, 63, 46, .6);
}
.info-card--pink .info-icon { color: var(--pink-600); border-color: #f0cbc7; }
.info-card--blush .info-icon { color: #c78686; border-color: #f0cfcd; }

.info-card h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(19px, 1.55vw, 22px);
	line-height: 1.2;
	text-align: center;
	color: var(--olive-900);
	margin-bottom: 12px;
}
.info-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

.dot-list { display: grid; gap: 6px; }
.dot-list li {
	position: relative;
	padding-left: 15px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-soft);
}
.dot-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--olive-500);
}
.info-card--consequences .dot-list li { font-size: 13.4px; }
.info-card--consequences .dot-list li::before { background: var(--pink-500); }

/* --------------------------------------------------------------------------
   Ansiedad en Medicina / autocuidado
   -------------------------------------------------------------------------- */

.medicine-card {
	display: grid;
	grid-template-columns: 1fr 1.06fr;
	background: #fffdf8;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.medicine-col { padding: clamp(24px, 3vw, 36px); }
.medicine-col--info { border-right: 1px dashed #e8dcc9; }
.medicine-col--tips { background: #f2f5e8; }

.medicine-col .panel-title { margin-bottom: 12px; }
.medicine-col .panel-title h2 { font-size: clamp(21px, 2.05vw, 27px); }
.medicine-col--info p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

.medicine-art { margin-top: 16px; }
.medicine-art svg { width: 100%; max-width: 360px; margin-inline: auto; }

.tips-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 9px;
	margin-top: 18px;
}
.tip-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 7px;
	background: #fffdf8;
	border: 1.5px solid var(--line-green);
	border-radius: 17px;
	padding: 13px 9px 12px;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tip-tile:hover {
	transform: translateY(-4px);
	border-color: var(--olive-300);
	box-shadow: 0 14px 22px -18px rgba(79, 63, 46, .6);
}
.tip-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sage-2);
	border: 1px solid var(--line-green);
	color: var(--olive-700);
	font-size: 16px;
}
.tip-tile:nth-child(even) .tip-icon { background: var(--pink-100); border-color: #f5d7d4; color: var(--pink-600); }
.tip-tile h3 {
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--olive-900);
}
.tip-tile p { font-size: 11.5px; line-height: 1.45; color: var(--ink-soft); }

/* Ansiedad en Medicina: tarjeta única con ilustración */

.medicine-card--solo { grid-template-columns: 1.02fr .98fr; }

.medicine-col--art {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 72% 16%, rgba(251, 231, 230, .85), transparent 48%),
		linear-gradient(150deg, #f3f6ea 0%, #fdf6e6 100%);
	border-left: 1px dashed #e8dcc9;
}
.medicine-col--art .medicine-art { width: 100%; margin: 0; }
.medicine-col--art .medicine-art svg { max-width: 390px; }

.medicine-points {
	display: grid;
	gap: 8px;
	margin-top: 18px;
}
.medicine-points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #f5f7ec;
	border: 1.5px solid var(--line-green);
	border-radius: 13px;
	padding: 9px 13px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--olive-900);
}
.medicine-points i { flex: 0 0 auto; margin-top: 2px; font-size: 14px; color: var(--olive-600); }

/* Autocuidado */

.section--autocuidado {
	background:
		radial-gradient(circle at 10% 6%, rgba(251, 231, 230, .55), transparent 38%),
		radial-gradient(circle at 92% 94%, rgba(223, 231, 203, .55), transparent 42%);
}

.section-lead {
	max-width: 68ch;
	margin: 14px auto 0;
	text-align: center;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--ink-soft);
}

.tips-grid--wide {
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	margin-top: 26px;
}
.tips-grid--wide .tip-tile {
	gap: 9px;
	padding: 20px 15px 18px;
	border-radius: 22px;
}
.tips-grid--wide .tip-icon { width: 48px; height: 48px; font-size: 19px; }
.tips-grid--wide .tip-tile h3 { font-size: 14.5px; }
.tips-grid--wide .tip-tile p { font-size: 12.5px; line-height: 1.55; }

/* Aviso del cuestionario */

.quiz-cta-copy > .quiz-disclaimer {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 58ch;
	margin-top: 9px;
	font-size: 12.5px;
	line-height: 1.55;
	color: #8a6a4c;
}
.quiz-cta-copy > .quiz-disclaimer i { margin-top: 3px; color: #b08a58; }

.quiz-sub--note {
	font-size: 12.5px;
	line-height: 1.5;
	color: #8a6a4c;
}

.quiz-about {
	margin-top: 10px;
	background: #f7f4e9;
	border: 1.5px solid var(--line-soft);
	border-radius: 14px;
	padding: 9px 13px;
}
.quiz-about summary {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	color: var(--olive-700);
	cursor: pointer;
	list-style: none;
}
.quiz-about summary::-webkit-details-marker { display: none; }
.quiz-about summary i { font-size: 12px; }
.quiz-about summary::after {
	content: "▾";
	margin-left: auto;
	font-size: 10px;
	color: var(--olive-600);
	transition: transform .2s ease;
}
.quiz-about[open] summary::after { transform: rotate(180deg); }
.quiz-about p { margin-top: 7px; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Buscar ayuda / recursos
   -------------------------------------------------------------------------- */

.help-grid {
	display: grid;
	grid-template-columns: 1.04fr .96fr;
	gap: 26px;
	align-items: stretch;
}

.panel--help p { font-size: 15px; color: var(--ink-soft); }
.help-art { margin-top: 14px; }
.help-art svg { width: 100%; max-width: 330px; margin-inline: auto; }

.panel--resources { background: #f5f7ec; border-color: var(--line-green); }
.resources-intro { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; }

.resource-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.resource-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	background: #fffdf8;
	border: 1.5px solid #e7dfcc;
	border-radius: 20px;
	padding: 17px 13px 15px;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.resource-card:hover {
	transform: translateY(-4px);
	border-color: var(--olive-300);
	box-shadow: 0 16px 26px -20px rgba(79, 63, 46, .55);
}
.resource-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--sage-2);
	border: 1px solid var(--line-green);
	color: var(--olive-700);
	font-size: 18px;
}
.resource-card h3 {
	font-family: var(--font-body);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--olive-900);
}
.resource-card p { font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.resource-card .btn { margin-top: auto; width: 100%; }

/* --------------------------------------------------------------------------
   CTA cuestionario
   -------------------------------------------------------------------------- */

.section--cuestionario { padding-bottom: clamp(46px, 5.5vw, 78px); }

.quiz-cta {
	position: relative;
	display: grid;
	grid-template-columns: 190px 1fr auto;
	align-items: center;
	gap: clamp(18px, 2.6vw, 30px);
	background:
		radial-gradient(circle at 88% 12%, rgba(251, 231, 230, .9), transparent 42%),
		linear-gradient(132deg, #fdf6e6 0%, #f3f6ea 58%, #fdf0ed 100%);
	border: 1.5px solid #e8dcc5;
	border-radius: 34px;
	padding: clamp(24px, 3vw, 38px);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}
.quiz-cta::before {
	content: "";
	position: absolute;
	right: -70px;
	top: -70px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	border: 1.5px dashed rgba(201, 211, 174, .9);
	pointer-events: none;
}
.quiz-cta-art { position: relative; z-index: 1; }
.quiz-cta-art svg { width: 100%; max-width: 190px; margin-inline: auto; }
.quiz-cta-copy { position: relative; z-index: 1; min-width: 0; }
.quiz-cta-copy h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.15;
	color: var(--olive-900);
	margin-bottom: 10px;
}
.quiz-cta-copy > p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 58ch; }

.quiz-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 10px;
}
.quiz-badges li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(255, 253, 248, .85);
	border: 1.5px solid var(--line-green);
	border-radius: 999px;
	padding: 5px 13px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--olive-800);
}
.quiz-badges i { font-size: 11px; color: var(--olive-600); }

.quiz-privacy { font-size: 12.5px; color: var(--ink-muted); }
.quiz-admin-link {
	display: inline-block;
	margin-top: 10px;
	background: none;
	border: 0;
	padding: 0;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--olive-700);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 3px;
}
.quiz-admin-link:hover { color: var(--olive-900); }

.quiz-cta-action {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-left: 6px;
}
.quiz-cta-hint { font-size: 11.5px; text-align: center; color: var(--ink-muted); max-width: 190px; }

/* --------------------------------------------------------------------------
   Agenda tu cita
   -------------------------------------------------------------------------- */

.section--cita {
	position: relative;
	background:
		radial-gradient(circle at 10% 8%, rgba(223, 231, 203, .5), transparent 34%),
		radial-gradient(circle at 92% 92%, rgba(251, 231, 230, .55), transparent 34%);
}

.cita-grid {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: clamp(18px, 2.6vw, 30px);
	align-items: start;
}

.cita-info { display: grid; gap: 14px; }

.cita-art { display: flex; justify-content: center; padding: 4px 0 2px; }
.cita-art svg { width: 100%; max-width: 210px; height: auto; }

.cita-info-card {
	background: #fffdf8;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
	box-shadow: var(--shadow-sm);
}
.cita-info-card--soft {
	background: linear-gradient(160deg, #f7f9ef 0%, #eef2e1 100%);
	border-color: var(--line-green);
}
.cita-info-card h3 {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
	color: var(--olive-900);
	margin-bottom: 10px;
}
.cita-info-card h3 i { font-size: 16px; color: var(--olive-600); }
.cita-info-card p { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }

.cita-steps { display: grid; gap: 11px; margin-top: 4px; }
.cita-steps li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--ink-soft);
}
.cita-steps li span {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--pink-100);
	border: 1px solid #f3cfcc;
	color: var(--pink-600);
	font-size: 11.5px;
	font-weight: 800;
}

.cita-contact-mini {
	display: grid;
	gap: 7px;
	background: #fffdf8;
	border: 1.5px dashed var(--line);
	border-radius: 18px;
	padding: 15px 18px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--ink-soft);
}
.cita-contact-mini p { display: flex; align-items: flex-start; gap: 8px; }
.cita-contact-mini i { width: 15px; margin-top: 3px; color: var(--olive-600); text-align: center; }
.cita-contact-mini a { color: var(--olive-800); font-weight: 700; text-decoration: none; word-break: break-word; }
.cita-contact-mini a:hover { text-decoration: underline; }

.cita-form-card {
	background:
		radial-gradient(circle at 96% 4%, rgba(246, 198, 201, .25), transparent 28%),
		linear-gradient(155deg, #fffdf8 0%, #fbf8ee 100%);
	border: 1.5px solid #e8dcc5;
	border-radius: 32px;
	padding: clamp(22px, 3vw, 36px);
	box-shadow: var(--shadow-md);
}

.appointment-form-head { margin-bottom: 18px; }
.appointment-form-head h3 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(23px, 2.4vw, 30px);
	color: var(--olive-900);
}
.appointment-form-head p { margin-top: 4px; font-size: 12.5px; color: var(--ink-muted); }
.appointment-form-head .req, .field .req { color: var(--pink-600); font-weight: 800; }

.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; margin-top: 14px; }
.field label, .field legend { font-size: 12.5px; font-weight: 800; color: var(--olive-800); }
.field legend { padding: 0; }

.field input, .field select, .field textarea {
	width: 100%;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: #fffdf8;
	padding: 11px 13px;
	font-size: 14px;
	color: var(--ink);
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #b4a696; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--olive-500);
	background: #fffefb;
	box-shadow: 0 0 0 3px rgba(143, 160, 95, .16);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237c6b5d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.modality-options { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 7px; }
.modality-opt {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 15px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fffdf8;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink-soft);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.modality-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.modality-opt i { color: var(--olive-600); }
.modality-opt:has(input:checked) { background: var(--sage-2); border-color: var(--olive-300); color: var(--olive-900); }
.modality-opt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(143, 160, 95, .2); }

.consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-top: 16px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--ink-soft);
	cursor: pointer;
}
.consent input { flex: 0 0 auto; margin-top: 2px; width: 16px; height: 16px; accent-color: var(--olive-700); }

.appointment-error {
	margin-top: 12px;
	background: #fbe7e6;
	border: 1.5px solid #f3cfcc;
	border-radius: 12px;
	padding: 10px 13px;
	font-size: 12.5px;
	font-weight: 600;
	color: #a95057;
}

.appointment-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 18px;
}
.appointment-note {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	max-width: 34ch;
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--ink-muted);
}
.appointment-note i { margin-top: 2px; color: #b08a58; }

.appointment-done { text-align: center; padding: 10px 2px 2px; }
.appointment-done-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--sage-2);
	border: 1.5px solid var(--line-green);
	color: var(--olive-700);
	font-size: 25px;
}
.appointment-done h3 {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 28px;
	font-weight: 600;
	color: var(--olive-900);
	margin-bottom: 7px;
}
.appointment-done > p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 48ch;
	margin-inline: auto;
}
.appointment-summary {
	display: grid;
	gap: 6px;
	margin: 16px 0;
	padding: 14px 16px;
	background: #fffdf8;
	border: 1.5px dashed var(--line-green);
	border-radius: 16px;
	text-align: left;
	font-size: 12.5px;
}
.appointment-summary div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #eee3d2;
}
.appointment-summary div:last-child { padding-bottom: 0; border-bottom: 0; }
.appointment-summary dt { color: var(--ink-muted); font-weight: 600; }
.appointment-summary dd { margin: 0; color: var(--olive-900); font-weight: 700; text-align: right; }
.appointment-done > p.appointment-done-note {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	margin-bottom: 14px;
	font-size: 11.5px;
	color: var(--ink-muted);
}
.appointment-done-note i { margin-top: 2px; color: var(--olive-600); }
.appointment-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: #eef2e1;
	border-top: 1.5px solid #dde6c7;
	padding-block: 42px 24px;
	margin-top: 10px;
}
.footer-top {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.brand--footer .brand-text strong { font-size: 23px; }
.footer-sep {
	width: 1px;
	height: 54px;
	background: #cfdbb2;
}
.footer-tagline { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.socials { display: flex; gap: 8px; margin-left: auto; }
.socials a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fffdf8;
	border: 1.5px solid #dfe5cd;
	color: var(--olive-700);
	font-size: 15px;
	transition: background-color .22s ease, color .22s ease, transform .22s ease;
}
.socials a:hover { background: var(--olive-700); color: #fffdf4; transform: translateY(-2px); }

.footer-nav {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px dashed #d3ddb9;
}
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink-soft);
	transition: color .2s ease;
}
.footer-nav a:hover { color: var(--olive-900); }

.footer-legal {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 22px;
	background: rgba(255, 253, 248, .72);
	border: 1.5px solid #e0e6ce;
	border-radius: 18px;
	padding: 14px 18px;
}
.footer-legal i { color: var(--olive-600); margin-top: 4px; }
.footer-legal p { font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.footer-legal strong { color: var(--ink-strong); }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
	font-size: 12.5px;
	color: #93a07a;
}

/* --------------------------------------------------------------------------
   Modales
   -------------------------------------------------------------------------- */

.modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 18px;
}
.modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(56, 46, 37, .55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: fadeIn .25s ease;
}
.modal-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 720px;
	max-height: min(90vh, 920px);
	overflow: auto;
	background: var(--cream);
	border: 1.5px solid #e8dcc5;
	border-radius: 28px;
	padding: clamp(22px, 3.4vw, 40px);
	box-shadow: 0 34px 90px -24px rgba(48, 38, 28, .6);
	animation: modalIn .35s cubic-bezier(.22, .75, .3, 1);
	overscroll-behavior: contain;
}
.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fffdf8;
	border: 1.5px solid var(--line);
	color: var(--ink-soft);
	font-size: 15px;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--pink-100); color: var(--pink-600); transform: rotate(90deg); }

.eyebrow--modal { margin-bottom: 6px; }

/* Cuestionario */

.quiz-dialog { max-width: 700px; }
.quiz-head h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(25px, 2.6vw, 32px);
	line-height: 1.15;
	color: var(--olive-900);
}
.quiz-sub { font-size: 13.5px; color: var(--ink-muted); margin-top: 4px; }

.quiz-progress { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; }
.quiz-progress-track {
	flex: 1;
	height: 9px;
	background: #eee5d4;
	border-radius: 999px;
	overflow: hidden;
}
.quiz-progress-fill {
	display: block;
	width: 10%;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--olive-500), var(--olive-700));
	transition: width .35s cubic-bezier(.22, .75, .3, 1);
}
.quiz-progress-label { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); white-space: nowrap; }

.quiz-step { padding-top: 8px; }
.quiz-step fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz-question {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(20px, 2.1vw, 25px);
	line-height: 1.35;
	color: var(--olive-950);
	margin-bottom: 4px;
}
.quiz-hint { font-size: 13px; color: var(--ink-muted); margin-bottom: 16px; }

.quiz-options { display: grid; gap: 8px; }
.quiz-options--single, .quiz-options--multi { grid-template-columns: repeat(2, 1fr); }
.quiz-options--scale { grid-template-columns: repeat(5, 1fr); }

.opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	background: #fffdf8;
	border: 1.5px solid #e6dac5;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ink);
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.opt:hover { border-color: var(--olive-300); background: #fbfdf5; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt:focus-within { outline: 2.5px solid #9fb06a; outline-offset: 2px; }
.opt-mark {
	flex: 0 0 auto;
	position: relative;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid #cbbca6;
	background: #fff;
	transition: background-color .18s ease, border-color .18s ease;
}
.quiz-options--multi .opt-mark { border-radius: 6px; }
.opt-mark::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 6.5' fill='none' stroke='%23fffdf4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
	opacity: 0;
	transition: opacity .15s ease;
}
.opt.is-checked {
	background: var(--sage-2);
	border-color: var(--olive-500);
	color: var(--olive-950);
	box-shadow: inset 0 0 0 1px rgba(125, 140, 78, .14);
}
.opt.is-checked .opt-mark { background: var(--olive-600); border-color: var(--olive-600); }
.opt.is-checked .opt-mark::after { opacity: 1; }

.quiz-options--scale .opt {
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 12px 6px;
	text-align: center;
	font-size: 12.5px;
	font-weight: 600;
}
.quiz-options--scale .opt-mark { order: -1; }

.quiz-error {
	margin-top: 14px;
	background: #fdecea;
	border: 1px solid #f3c7c4;
	border-radius: 12px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #a45252;
}

.quiz-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px dashed #e6dac5;
}
.quiz-actions #quiz-next, .quiz-actions #quiz-submit { margin-left: auto; }

.quiz-done { text-align: center; padding: 14px 4px 6px; }
.quiz-done-icon {
	display: inline-grid;
	place-items: center;
	width: 70px;
	height: 70px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--sage-2);
	border: 1.5px solid var(--line-green);
	color: var(--olive-700);
	font-size: 28px;
}
.quiz-done h3 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(25px, 2.6vw, 31px);
	color: var(--olive-900);
	margin-bottom: 8px;
}
.quiz-done p { font-size: 14.5px; color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.quiz-done-note {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	font-size: 12.5px;
	color: var(--ink-muted);
}
.quiz-done-note i { color: var(--olive-600); }
.quiz-done-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

/* Recursos */

.resource-dialog { max-width: 640px; }
.resource-detail-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--sage-2);
	border: 1.5px solid var(--line-green);
	color: var(--olive-700);
	font-size: 24px;
	margin-bottom: 14px;
}
.resource-detail h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.2;
	color: var(--olive-900);
	margin-bottom: 10px;
}
.resource-detail > p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 14px; }
.resource-detail h3 {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--olive-700);
	margin-bottom: 8px;
}
.resource-detail ul { display: grid; gap: 8px; margin-bottom: 18px; }
.resource-detail ul li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink);
}
.resource-detail ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--olive-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fffdf4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.resource-note {
	display: flex;
	gap: 10px;
	background: #fdf4e3;
	border: 1.5px solid #eedfc5;
	border-radius: 14px;
	padding: 12px 14px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	margin-bottom: 18px;
}
.resource-note i { color: #b08a58; margin-top: 3px; }
.resource-link { display: inline-flex; }

/* Respuestas guardadas */

.responses-dialog { max-width: 760px; }
.responses-head h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(25px, 2.6vw, 31px);
	line-height: 1.15;
	color: var(--olive-900);
}
.responses-head p { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); margin-top: 6px; }
.responses-head code {
	background: #efe8d9;
	border-radius: 5px;
	padding: 1px 5px;
	font-size: 12px;
}

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 22px; }
.stat-tile {
	background: #fffdf8;
	border: 1.5px solid var(--line);
	border-radius: 16px;
	padding: 13px 14px;
	text-align: center;
}
.stat-tile strong {
	display: block;
	font-family: var(--font-display);
	font-size: 28px;
	line-height: 1.1;
	color: var(--olive-800);
}
.stat-tile span { font-size: 11.5px; font-weight: 600; color: var(--ink-muted); }

.resp-empty {
	text-align: center;
	background: #fffdf8;
	border: 1.5px dashed var(--line);
	border-radius: 18px;
	padding: 28px 20px;
	color: var(--ink-soft);
	font-size: 14px;
}
.resp-empty i { display: block; font-size: 24px; color: var(--olive-500); margin-bottom: 8px; }

.resp-list { display: grid; gap: 10px; margin-bottom: 20px; }
.resp-item {
	background: #fffdf8;
	border: 1.5px solid var(--line-soft);
	border-radius: 14px;
	padding: 11px 14px;
}
.resp-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.resp-item-head span { font-size: 12px; font-weight: 700; color: var(--olive-700); }
.resp-item-head strong { font-size: 11.5px; font-weight: 700; color: var(--ink-muted); }
.resp-item p { font-size: 13px; line-height: 1.45; color: var(--ink); margin-top: 2px; }
.resp-bar { height: 6px; margin-top: 7px; background: #efe8d9; border-radius: 999px; overflow: hidden; }
.resp-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--pink-400), var(--olive-500)); }

.responses-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.responses-actions .danger {
	color: #a45252;
	border-color: #eccac7;
	background: #fdf3f1;
}
.responses-actions .danger:hover { background: #fbe7e4; border-color: #e4b3ae; }

/* --------------------------------------------------------------------------
   Acceso y panel administrativo
   -------------------------------------------------------------------------- */

.btn.danger { color: #a45252; border-color: #eccac7; background: #fdf3f1; }
.btn.danger:hover { background: #fbe7e4; border-color: #e4b3ae; color: #8f4444; }

.section--admin { padding-top: clamp(30px, 4vw, 54px); }

.admin-band {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
	background:
		radial-gradient(circle at 8% 12%, rgba(223, 231, 203, .75), transparent 42%),
		radial-gradient(circle at 92% 88%, rgba(251, 231, 230, .7), transparent 44%),
		linear-gradient(140deg, #f5f7ec 0%, #fdf6e6 100%);
	border: 1.5px solid #e3e7d3;
	border-radius: 30px;
	padding: clamp(22px, 3vw, 36px);
	box-shadow: var(--shadow-md);
}
.admin-band-copy { display: flex; align-items: flex-start; gap: 16px; }
.admin-band-copy h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.15;
	color: var(--olive-900);
	margin: 4px 0 8px;
}
.admin-band-copy p:last-child { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

.admin-login {
	display: grid;
	gap: 8px;
	background: #fffdf8;
	border: 1.5px solid var(--line);
	border-radius: 22px;
	padding: 18px;
	box-shadow: var(--shadow-sm);
}
.admin-login label { font-size: 12.5px; font-weight: 700; color: var(--olive-800); }
.admin-input-row { display: flex; gap: 8px; }
.admin-input {
	flex: 1 1 auto;
	min-width: 0;
	background: #fff;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 11px 16px;
	font-size: 14px;
	color: var(--ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.admin-input::placeholder { color: var(--ink-muted); }
.admin-input:focus {
	outline: none;
	border-color: var(--olive-500);
	box-shadow: 0 0 0 3px rgba(143, 160, 95, .22);
}
.admin-input-row .btn { flex: 0 0 auto; padding-inline: 18px; }

.admin-msg {
	background: #fdecea;
	border: 1px solid #f3c7c4;
	border-radius: 12px;
	padding: 8px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: #a45252;
}
.admin-hint { display: flex; align-items: flex-start; gap: 6px; font-size: 11.5px; line-height: 1.5; color: var(--ink-muted); }
.admin-hint i { margin-top: 2px; color: var(--olive-600); }

.admin-session {
	display: grid;
	justify-items: center;
	gap: 9px;
	background: #f3f7e9;
	border: 1.5px solid var(--line-green);
	border-radius: 22px;
	padding: 18px;
	text-align: center;
}
.admin-session p { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--olive-800); }
.admin-session p i { color: var(--olive-600); }
.admin-session .btn { width: 100%; }

/* Panel modal */

.admin-dialog { max-width: 980px; }

.admin-head h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(25px, 2.6vw, 32px);
	line-height: 1.15;
	color: var(--olive-900);
}
.admin-head > p { font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin-top: 5px; }

.admin-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 18px 0;
	padding-bottom: 14px;
	border-bottom: 1px dashed #e6dac5;
}
.admin-tabs { display: inline-flex; gap: 4px; background: #f1ecdf; border-radius: 999px; padding: 4px; }
.admin-tab {
	border: 0;
	background: transparent;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink-soft);
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.admin-tab:hover { color: var(--olive-900); }
.admin-tab.is-active { background: #fffdf8; color: var(--olive-900); box-shadow: var(--shadow-sm); }
.admin-tools { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-tools .btn { white-space: nowrap; }

.admin-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.admin-kpi {
	background: linear-gradient(150deg, #fffdf8 0%, #f5f7ec 100%);
	border: 1.5px solid var(--line-green);
	border-radius: 16px;
	padding: 14px;
	text-align: center;
}
.admin-kpi strong {
	display: block;
	font-family: var(--font-display);
	font-size: 27px;
	line-height: 1.1;
	color: var(--olive-800);
}
.admin-kpi span { font-size: 11.5px; font-weight: 600; line-height: 1.35; color: var(--ink-muted); }

.admin-read-note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	background: #f7f4e9;
	border: 1.5px solid var(--line-soft);
	border-radius: 14px;
	padding: 10px 14px;
	margin-bottom: 22px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--ink-soft);
}
.admin-read-note i { margin-top: 3px; color: var(--olive-600); }

.admin-results-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 12px;
}
.admin-results-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--olive-900); }
.admin-results-head p { font-size: 12px; color: var(--ink-muted); }

.admin-q-list { display: grid; gap: 12px; }
.admin-q { background: #fffdf8; border: 1.5px solid var(--line-soft); border-radius: 18px; padding: 15px 16px; }
.admin-q-head { display: flex; align-items: flex-start; gap: 12px; }
.admin-q-num {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--sage-2);
	border: 1px solid var(--line-green);
	color: var(--olive-700);
	font-size: 12px;
	font-weight: 800;
}
.admin-q-head h3 { font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--olive-950); }
.admin-q-head p { font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }

.admin-bars { display: grid; gap: 7px; margin-top: 12px; }
.admin-bar-row { display: grid; gap: 4px; }
.admin-bar-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-soft); }
.admin-bar-head strong { font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }
.admin-bar { height: 7px; background: #efe8d9; border-radius: 999px; overflow: hidden; }
.admin-bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--pink-400), var(--olive-500));
	transition: width .4s ease;
}

.admin-list-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: #f5f7ec;
	border: 1.5px solid var(--line-green);
	border-radius: 14px;
	padding: 10px 14px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--ink-soft);
	margin-bottom: 14px;
}
.admin-list-note i { margin-top: 3px; color: var(--olive-600); }

.admin-resp-list { display: grid; gap: 9px; }
.admin-resp { background: #fffdf8; border: 1.5px solid var(--line-soft); border-radius: 15px; overflow: hidden; }
.admin-resp summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	padding: 12px 15px;
	cursor: pointer;
	list-style: none;
	transition: background-color .2s ease;
}
.admin-resp summary::-webkit-details-marker { display: none; }
.admin-resp summary:hover { background: #fbf8f0; }
.admin-resp-title { font-size: 13px; font-weight: 700; color: var(--olive-900); }
.admin-resp-meta { font-size: 11.5px; color: var(--ink-muted); }
.admin-resp-toggle {
	margin-left: auto;
	font-size: 11px;
	font-weight: 700;
	color: var(--olive-600);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 3px;
}
.admin-resp[open] .admin-resp-toggle { color: var(--pink-600); }
.admin-resp[open] .admin-resp-toggle::after { content: " ▲"; font-size: 9px; }
.admin-resp:not([open]) .admin-resp-toggle::after { content: " ▼"; font-size: 9px; }

.admin-resp-answers {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 12px 15px 14px;
	border-top: 1px dashed #eee3d2;
}
.admin-resp-row { display: grid; gap: 1px; }
.admin-resp-row dt { font-size: 11.5px; font-weight: 700; color: var(--olive-700); }
.admin-resp-row dd { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.admin-resp-row dd em { color: var(--ink-muted); }

/* Citas en el panel administrativo */

.admin-tab-badge {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	margin-left: 5px;
	border-radius: 999px;
	background: var(--pink-500);
	color: #fffdf8;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	vertical-align: 1px;
}

.admin-citas-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}
.admin-citas-tools { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-muted);
}
.admin-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7fae5a;
	box-shadow: 0 0 0 4px rgba(127, 174, 90, .16);
	animation: livePulse 2s ease-in-out infinite;
}

.admin-cita-list { display: grid; gap: 12px; }

.admin-cita {
	background: #fffdf8;
	border: 1.5px solid var(--line-soft);
	border-radius: 18px;
	padding: 16px;
}
.admin-cita-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.admin-cita-head h3 {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--olive-950);
}
.admin-cita-head p { margin-top: 2px; font-size: 11.5px; color: var(--ink-muted); }

.cita-status {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	border: 1.5px solid transparent;
	border-radius: 999px;
	padding: 4px 11px;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	white-space: nowrap;
}
.cita-status--pendiente { background: #fdf3d8; border-color: #f0dfb2; color: #96752a; }
.cita-status--confirmada { background: var(--sage-2); border-color: var(--line-green); color: var(--olive-800); }
.cita-status--atendida { background: #e8f0f7; border-color: #cfe0ee; color: #4d7391; }
.cita-status--cancelada { background: #fbe7e6; border-color: #f3cfcc; color: #a95057; }

.admin-cita-data {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 16px;
	margin: 13px 0;
}
.admin-cita-data div { min-width: 0; }
.admin-cita-data dt {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-muted);
}
.admin-cita-data dd {
	margin: 1px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--ink);
	word-break: break-word;
}
.admin-cita-data dd a { color: var(--olive-700); font-weight: 700; text-decoration: none; }
.admin-cita-data dd a:hover { text-decoration: underline; }
.admin-cita-data dd em { color: var(--ink-muted); }

.admin-cita-msg {
	background: #f7f4e9;
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	padding: 10px 12px;
	margin-bottom: 12px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--ink-soft);
	word-break: break-word;
}
.admin-cita-msg strong { color: var(--olive-800); }

.admin-cita-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-cita-actions .btn { padding: 7px 11px; font-size: 11.5px; }
.admin-cita-actions .btn:disabled { opacity: .45; cursor: default; }

@keyframes livePulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(127, 174, 90, .16); }
	50% { box-shadow: 0 0 0 7px rgba(127, 174, 90, .04); }
}

/* Toast */

.toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 300;
	background: var(--olive-900);
	color: #fffdf4;
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 16px 40px -16px rgba(48, 38, 28, .8);
	animation: toastIn .3s ease;
}

/* --------------------------------------------------------------------------
   Animaciones
   -------------------------------------------------------------------------- */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
	from { opacity: 0; transform: translateY(18px) scale(.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastIn {
	from { opacity: 0; transform: translate(-50%, 10px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

/* La animación de entrada se ejecuta con la Web Animations API (mente.js)
   para no interferir con las transiciones de hover de las tarjetas. */
.reveal { opacity: 0; }
.reveal.is-visible { opacity: 1; }

@media print {
	.reveal { opacity: 1 !important; }
	.site-header, .toast, .modal { display: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
	.hero-title-main { font-size: clamp(44px, 5.6vw, 68px); }
	.hero-title-top { font-size: clamp(26px, 3vw, 40px); }
	.hero-note { padding: 40px 20px 26px; }
	.hero-note h2 { font-size: 21px; }
	.primary-nav a { padding: 9px 10px; font-size: 13.5px; }
	.tips-grid { grid-template-columns: repeat(3, 1fr); }
	.tips-grid--wide { grid-template-columns: repeat(3, 1fr); }
	.medicine-card { grid-template-columns: 1fr 1.1fr; }
	.admin-band { gap: 22px; }
}

@media (max-width: 980px) {
	:root { --header-h: 70px; }

	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		background: var(--cream);
		border-bottom: 1.5px solid var(--line);
		border-radius: 0 0 22px 22px;
		box-shadow: 0 26px 40px -30px rgba(79, 63, 46, .7);
		padding: 12px 22px 20px;
		max-height: calc(100vh - var(--header-h));
		overflow: auto;
	}
	.site-header.nav-open .primary-nav { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
	.primary-nav a { display: block; padding: 11px 16px; font-size: 15px; border-radius: 12px; }
	.primary-nav a.is-active { background: var(--sage-2); color: var(--olive-900); box-shadow: none; }

	.hero-grid { grid-template-columns: 1fr 1fr; }
	.hero-copy { grid-column: 1 / -1; max-width: 620px; }
	.hero-title-main { font-size: clamp(52px, 8.4vw, 78px); }
	.hero-title-top { font-size: clamp(30px, 4.6vw, 46px); }
	.hero-art { order: 2; }
	.hero-note { order: 3; }

	.split-cards, .help-grid { grid-template-columns: 1fr; }
	.cita-grid { grid-template-columns: 1fr; }
	.cita-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cita-art, .cita-contact-mini { grid-column: 1 / -1; }
	.medicine-card { grid-template-columns: 1fr; }
	.medicine-col--info { border-right: 0; border-bottom: 1px dashed #e8dcc9; }
	.medicine-col--art { border-left: 0; border-top: 1px dashed #e8dcc9; padding-top: 20px; }
	.medicine-art svg { max-width: 330px; }
	.medicine-col--art .medicine-art svg { max-width: 360px; }
	.tips-grid { grid-template-columns: repeat(5, 1fr); }
	.tips-grid--wide { grid-template-columns: repeat(3, 1fr); }

	.admin-band { grid-template-columns: 1fr; }
	.admin-session { grid-column: auto; }

	.cards-4 { grid-template-columns: repeat(2, 1fr); }

	.quiz-cta { grid-template-columns: 160px 1fr; }
	.quiz-cta-action { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; gap: 14px; padding-top: 6px; }
	.quiz-cta-hint { text-align: right; max-width: 220px; }

	.footer-sep { display: none; }
	.footer-tagline { order: 3; flex-basis: 100%; }
	.socials { margin-left: 0; }
}

@media (max-width: 900px) {
	.quick-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0;
	}
	.quick-item {
		background: #fffdf8;
		border: 1.5px solid var(--line);
		box-shadow: var(--shadow-sm);
	}
	.quick-item + .quick-item::before { display: none; }
	.quick-item:hover { box-shadow: var(--shadow-md); }
}

@media (max-width: 720px) {
	.container { width: min(100% - 34px, var(--container)); }

	.hero { padding-top: 18px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-title-main { font-size: clamp(48px, 13vw, 72px); }
	.hero-title-top { font-size: clamp(28px, 8vw, 40px); }
	.hero-art { order: 2; max-width: 460px; margin-inline: auto; width: 100%; }
	.hero-note { order: 3; transform: none; margin-top: 6px; }
	.hero-note::after { display: none; }
	.art-tags { bottom: 6%; }

	.section { padding-block: 38px; }
	.section-divider svg { height: 20px; }
	.section-head { gap: 10px; }
	.head-spark { width: 22px; }

	.cita-info { grid-template-columns: 1fr; }
	.field-grid { grid-template-columns: 1fr; }
	.appointment-actions .btn { width: 100%; }
	.appointment-actions .appointment-note { max-width: none; }
	.admin-citas-toolbar { flex-direction: column; align-items: stretch; }
	.admin-citas-tools .btn { flex: 1 1 auto; }
	.admin-cita-data { grid-template-columns: 1fr; }

	.panel { padding: 22px 20px; border-radius: 26px; }
	.panel--objetivo { grid-template-columns: 1fr; }
	.panel--objetivo .panel-art { display: block; max-width: 270px; margin: 8px auto 0; }
	.panel--why { padding-bottom: 30px; }
	.panel-sparkles { width: 80px; opacity: .6; }

	.cards-4 { grid-template-columns: 1fr; }
	.info-card { padding: 22px 20px; }
	.info-card--consequences .dot-list li { font-size: 14px; }

	.medicine-col { padding: 22px 20px; }
	.tips-grid { grid-template-columns: repeat(2, 1fr); }
	.tips-grid--wide { grid-template-columns: repeat(2, 1fr); }
	/* La quinta estrategia queda sola: se centra para no dejar un hueco. */
	.tips-grid .tip-tile:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		width: min(100%, 260px);
		justify-self: center;
	}
	.tip-tile h3 { font-size: 13px; }
	.tip-tile p { font-size: 12px; }
	.tips-grid--wide .tip-tile h3 { font-size: 14px; }
	.tips-grid--wide .tip-tile p { font-size: 12.5px; }

	.admin-band { padding: 22px 18px; border-radius: 24px; }
	.admin-band-copy { flex-direction: column; gap: 12px; }
	.admin-toolbar { flex-direction: column; align-items: stretch; }
	.admin-tabs { justify-content: center; }
	.admin-tools { justify-content: stretch; }
	.admin-tools .btn { flex: 1 1 auto; }
	.admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
	.admin-results-head { flex-direction: column; gap: 2px; }
	.admin-q { padding: 13px 13px; }
	.admin-resp-toggle { margin-left: 0; flex-basis: 100%; }

	.resource-cards { grid-template-columns: 1fr; }
	.resource-card { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; padding: 14px; gap: 10px 12px; }
	.resource-icon { width: 42px; height: 42px; font-size: 16px; }
	.resource-card h3 { flex: 1 1 60%; font-size: 14px; }
	.resource-card p { flex-basis: 100%; }
	.resource-card .btn { width: auto; margin-top: 2px; }

	.quiz-cta { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 26px; }
	.quiz-cta-art { display: none; }
	.quiz-cta-copy h2 { font-size: 27px; }
	.quiz-cta-action { flex-direction: column; align-items: stretch; }
	.quiz-cta-action .btn { width: 100%; }
	.quiz-cta-hint { text-align: center; max-width: none; }

	.footer-top { gap: 16px; }
	.socials { margin-left: 0; }
	.footer-nav ul { gap: 6px 16px; }
	.footer-bottom { flex-direction: column; gap: 4px; }
	.footer-legal { padding: 12px 14px; }

	.quiz-options--single, .quiz-options--multi { grid-template-columns: 1fr; }
	.quiz-options--scale { grid-template-columns: repeat(2, 1fr); }
	/* La quinta opción de las escalas queda sola: se centra. */
	.quiz-options--scale .opt:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		width: min(100%, 240px);
		justify-self: center;
	}
	.quiz-actions { flex-wrap: wrap; }
	.quiz-actions .btn { flex: 1 1 auto; }
	.quiz-actions #quiz-next, .quiz-actions #quiz-submit { flex: 1 1 100%; }
	.stat-grid { grid-template-columns: 1fr; }
	.modal-dialog { border-radius: 22px; padding: 22px 18px; }
}

@media (max-width: 520px) {
	.quick-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { width: 100%; }
	.hero-title-main { font-size: clamp(42px, 13vw, 60px); }
	.hero-title-top { font-size: clamp(25px, 8vw, 34px); }
	.hero-phrase { font-size: 15.5px; padding: 14px 16px; }
	.art-tags li { font-size: 12px; padding: 3px 12px; }
	.hero-note h2 { font-size: 20px; }
	.quiz-badges li { font-size: 11.5px; }
	.quiz-cta-copy h2 { font-size: 24px; }
	.responses-actions .btn { flex: 1 1 100%; }

	.admin-input-row { flex-direction: column; }
	.admin-input-row .btn { width: 100%; }
	.admin-cita-head { flex-direction: column; }
	.admin-cita-actions .btn { flex: 1 1 auto; }
	.admin-kpi-grid { grid-template-columns: 1fr; }
	.admin-kpi { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
	.admin-kpi strong { font-size: 24px; }
	.admin-tools .btn { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   Accesibilidad: movimiento reducido y modo alto contraste
   -------------------------------------------------------------------------- */

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

@media (prefers-contrast: more) {
	:root { --ink: #3d2f26; --ink-soft: #55453a; --line: #bbab92; }
	.btn--primary { background: #4d582c; }
}
