/* ==========================================================================
   MC Glass · Dr. Martín Cuesta
   Diseño «glass» minimalista: fondo luminoso con orbes de color del logo,
   superficies de cristal esmerilado y tipografía del sistema (SF Pro en Apple).
   ========================================================================== */

:root {
	--navy: #1f4560;
	--navy-2: #2a4c65;
	--navy-3: #163347;
	--ink: #14212b;
	--text: #2b3a46;
	--muted: #5f6f7b;
	--blue: #6f9bbd;
	--sage: #96b1a4;
	--green: #4e8a6e;
	--sand: #c9a87c;
	--bg: #f2f5f7;
	--line: rgba(31, 69, 96, 0.1);

	--glass-bg: rgba(255, 255, 255, 0.56);
	--glass-bg-strong: rgba(255, 255, 255, 0.78);
	--glass-border: rgba(255, 255, 255, 0.85);
	--glass-shadow: 0 1px 1px rgba(20, 33, 43, 0.03), 0 10px 40px -12px rgba(31, 69, 96, 0.18);
	--glass-blur: blur(22px) saturate(170%);

	--grad: linear-gradient(120deg, #1f4560 0%, #3d7090 45%, #4e8a6e 100%);
	--radius: 28px;
	--radius-sm: 18px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------------ base */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid rgba(78, 138, 110, .55); outline-offset: 3px; border-radius: 10px; }

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 880px; }
.wrap--read { max-width: 800px; }

/* --------------------------------------------------------- fondo ambiente */

.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(1200px 700px at 50% -10%, #ffffff 0%, rgba(255,255,255,0) 70%), var(--bg); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; animation: drift 26s var(--ease) infinite alternate; }
.orb--navy { width: 520px; height: 520px; background: #9fbad0; top: -140px; left: -120px; }
.orb--sage { width: 560px; height: 560px; background: #bcd5c8; top: 20vh; right: -180px; animation-delay: -6s; }
.orb--blue { width: 420px; height: 420px; background: #c6dbeb; bottom: -120px; left: 18vw; animation-delay: -12s; }
.orb--sand { width: 300px; height: 300px; background: #ecdcc4; top: 55vh; left: -80px; opacity: .45; animation-delay: -18s; }
@keyframes drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(40px, 30px, 0) scale(1.08); }
	100% { transform: translate3d(-30px, 50px, 0) scale(.96); }
}

/* --------------------------------------------------------------- cristal */

.glass {
	background: var(--glass-bg);
	-webkit-backdrop-filter: var(--glass-blur);
	backdrop-filter: var(--glass-blur);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, .9);
	border-radius: var(--radius);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.glass { background: rgba(255, 255, 255, .92); }
}
.glass--paper { background: var(--glass-bg-strong); }
.glass--feature { background: rgba(255, 255, 255, .74); position: relative; }
.glass--feature::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
	background: linear-gradient(140deg, rgba(111,155,189,.9), rgba(150,177,164,.4) 40%, rgba(201,168,124,.7));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}
.glass--deep {
	background: linear-gradient(135deg, rgba(22, 51, 71, .94), rgba(31, 69, 96, .9) 50%, rgba(46, 104, 92, .9));
	border-color: rgba(255, 255, 255, .14);
	color: rgba(255, 255, 255, .86);
	box-shadow: 0 30px 80px -30px rgba(22, 51, 71, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.glass--deep h2, .glass--deep h3, .glass--deep strong { color: #fff; }

/* ------------------------------------------------------------- utilidades */

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	color: var(--green); margin-bottom: 18px;
}
.eyebrow--light { color: #bfe0cf; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(78,138,110,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(78,138,110,.45); } 70% { box-shadow: 0 0 0 10px rgba(78,138,110,0); } 100% { box-shadow: 0 0 0 0 rgba(78,138,110,0); } }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	font-size: 13px; font-weight: 550; color: var(--navy);
	background: rgba(255,255,255,.7); border: 1px solid rgba(31,69,96,.1);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }

.mc-ico { flex: none; }

.icon-bubble {
	--tint: var(--navy);
	display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
	color: var(--tint);
	background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
	border: 1px solid rgba(255,255,255,.9);
	box-shadow: 0 8px 24px -10px rgba(31,69,96,.35), inset 0 -6px 14px -8px color-mix(in srgb, var(--tint) 35%, transparent);
}
.icon-bubble--solid { background: var(--grad); color: #fff; border-color: transparent; }
.icon-bubble--sm { width: 40px; height: 40px; border-radius: 13px; }
.icon-bubble--lg { width: 76px; height: 76px; border-radius: 24px; }

.tint-navy { --tint: var(--navy); }
.tint-blue { --tint: #4f7fa3; }
.tint-green { --tint: var(--green); }
.tint-sand { --tint: #a8814f; }
.tint-sage { --tint: #5f8f7a; }
[class*="tint-"] .icon-bubble { --tint: inherit; color: var(--tint); }

/* ---------------------------------------------------------------- botones */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
	font: 600 15px/1.2 var(--font); letter-spacing: -0.005em; cursor: pointer;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(31,69,96,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 40px -12px rgba(31,69,96,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--glass { background: rgba(255,255,255,.6); color: var(--navy); border-color: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px -10px rgba(31,69,96,.3); }
.btn--glass:hover { background: rgba(255,255,255,.9); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--green); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.btn--ghost-light:hover { color: #fff; background: rgba(255,255,255,.14); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* --------------------------------------------------------------- cabecera */

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 12px 16px 0; }
/* Con la barra de administración de WordPress (solo la ve quien ha iniciado sesión). */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.nav {
	max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 10px 0 18px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	border-radius: 22px; transition: background .3s, box-shadow .3s;
}
.is-scrolled .nav { background: rgba(255,255,255,.74); box-shadow: 0 12px 40px -18px rgba(31,69,96,.35), inset 0 1px 0 #fff; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand__mark { width: auto; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--navy); }
.brand__sub { font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--green); margin-top: 3px; }
.nav__links { display: flex; gap: 4px; list-style: none; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { background: rgba(255,255,255,.75); color: var(--navy); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 14px; border: 0; background: rgba(255,255,255,.7); color: var(--navy); cursor: pointer; place-items: center; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(31,69,96,.07); }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; letter-spacing: .06em; color: var(--muted); }
.lang-switch a.is-current { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(31,69,96,.15); }

.mobile-menu { max-width: 1200px; margin: 10px auto 0; padding: 18px; border-radius: 24px; }
.mobile-menu ul { list-style: none; margin-bottom: 14px; }
.mobile-menu li a { display: block; padding: 14px 8px; font-size: 20px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .lang-switch { margin-top: 14px; }

@media (max-width: 1040px) {
	.nav__links { display: none; }
	.nav__toggle { display: inline-grid; }
	.nav__actions > .lang-switch { display: none; }
}
@media (max-width: 480px) {
	.nav__actions > .btn { display: none; }
	.brand__name { font-size: 15px; }
}

/* ------------------------------------------------------------------ héroe */

.hero { padding: 150px 0 60px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(46px, 7.4vw, 96px); font-weight: 680; letter-spacing: -0.05em; line-height: .98; margin-bottom: 26px; }
.hero__text { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 560px; margin-bottom: 34px; line-height: 1.55; }
.hero__visual { position: relative; padding: 0 10px 10px; }
.portrait { padding: 10px; border-radius: 40px; transform: rotate(1.2deg); }
.portrait img { border-radius: 32px; aspect-ratio: 5 / 6; object-fit: cover; object-position: top; width: 100%; background: #e8ecef; }
.float-chip {
	position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px;
	font-size: 13.5px; font-weight: 600; color: var(--navy); max-width: 270px; line-height: 1.3;
	background: rgba(255,255,255,.72); animation: float 7s ease-in-out infinite;
}
.float-chip .mc-ico { color: var(--green); }
.float-chip--1 { left: -34px; top: 16%; }
.float-chip--2 { right: -18px; top: 52%; animation-delay: -2.4s; }
.float-chip--3 { left: 2%; bottom: 0; animation-delay: -4.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Foto recortada: el doctor «sale» de un panel de cristal. */
.figure { position: relative; aspect-ratio: 900 / 1080; max-width: 540px; margin: 0 auto; }
.figure__stage {
	position: absolute; left: 0; right: 0; bottom: 0; top: 24%; overflow: hidden; border-radius: 44px;
	background: linear-gradient(165deg, rgba(214,229,240,.85), rgba(204,224,213,.7) 55%, rgba(240,228,210,.65));
	box-shadow: 0 40px 80px -40px rgba(31,69,96,.45), inset 0 1px 0 rgba(255,255,255,.95);
}
.figure__ring {
	position: absolute; width: 78%; aspect-ratio: 1; left: 11%; top: -18%; border-radius: 50%;
	background: conic-gradient(from 200deg, rgba(111,155,189,.55), rgba(150,177,164,.55), rgba(201,168,124,.45), rgba(111,155,189,.55));
	filter: blur(22px); opacity: 1; animation: spin 24s linear infinite;
}
.figure__glow { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(31,69,96,.10), transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
.figure__img {
	position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
	/* Esquinas inferiores redondeadas como el panel; por arriba la figura sobresale. */
	clip-path: inset(-20% 0 0 0 round 0 0 44px 44px);
	filter: drop-shadow(0 24px 40px rgba(31,69,96,.22));
}
.hero__visual .float-chip--1 { top: 36%; left: -56px; }
.hero__visual .float-chip--2 { top: 62%; right: -26px; }
.hero__visual .float-chip--3 { bottom: 5%; left: -20px; }
@media (max-width: 960px) {
	.hero__visual .float-chip--1 { left: -6px; }
	.hero__visual .float-chip--2 { right: -6px; }
	.hero__visual .float-chip--3 { left: 6px; }
}

@media (max-width: 960px) {
	.hero { padding-top: 120px; }
	.hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.hero__visual { max-width: 460px; margin: 0 auto; }
	.float-chip--1 { left: -6px; }
	.float-chip--2 { right: -6px; }
}

/* -------------------------------------------------------- franja confianza */

.trust { padding: 20px 0 10px; }
.trust__label { text-align: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-size: 17px; font-weight: 600; color: var(--navy); opacity: .45; white-space: nowrap; letter-spacing: -0.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- secciones */

.section { padding: 90px 0; }
.section--tight { padding: 36px 0; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row > div { max-width: 700px; }
.section__title { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.04em; line-height: 1.04; }
.section__text { font-size: 19px; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ bento */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento__item {
	grid-column: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
	padding: 32px; min-height: 290px; color: var(--text);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
}
.bento__item--0, .bento__item--1 { grid-column: span 3; min-height: 320px; }
.bento__item::after {
	content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -160px; border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%);
	transition: transform .7s var(--ease); pointer-events: none;
}
.bento__item:hover { transform: translateY(-6px); color: var(--text); background: rgba(255,255,255,.72); box-shadow: 0 30px 60px -30px rgba(31,69,96,.45), inset 0 1px 0 #fff; }
.bento__item:hover::after { transform: scale(1.25) translate(-20px, -20px); }
.bento__item h3 { font-size: 25px; letter-spacing: -0.03em; margin: 14px 0 4px; }
.bento__item p { color: var(--muted); font-size: 16px; margin: 0; max-width: 460px; }
.bento__item .more { margin-top: auto; padding-top: 18px; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: var(--tint); }
.bento__item--1 { background: linear-gradient(140deg, rgba(31,69,96,.92), rgba(42,76,101,.88) 55%, rgba(78,138,110,.85)); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }
.bento__item--1:hover { background: linear-gradient(140deg, rgba(31,69,96,.96), rgba(42,76,101,.92) 55%, rgba(78,138,110,.9)); color: rgba(255,255,255,.85); }
.bento__item--1 h3 { color: #fff; }
.bento__item--1 p { color: rgba(255,255,255,.75); }
.bento__item--1 .more { color: #bfe0cf; }
.bento__item--1 .icon-bubble { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; box-shadow: none; }
.bento__item--1::after { background: radial-gradient(circle, rgba(150,177,164,.45), transparent 70%); }

@media (max-width: 960px) {
	.bento { grid-template-columns: repeat(2, 1fr); }
	.bento__item, .bento__item--0, .bento__item--1 { grid-column: span 1; min-height: 0; }
	.bento__item--1 { grid-column: span 2; }
}
@media (max-width: 620px) {
	.bento { grid-template-columns: 1fr; }
	.bento__item--1 { grid-column: span 1; }
}

/* ------------------------------------------------------------------ cifras */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 36px 20px; }
.stat { text-align: center; padding: 6px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num, .stat__plus { font-size: clamp(38px, 4.4vw, 58px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 10px auto 0; font-size: 14px; color: var(--muted); max-width: 210px; line-height: 1.4; }
@media (max-width: 820px) {
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.stat:nth-child(3) { border-left: 0; }
}

/* -------------------------------------------------------------- modalidades */

.modes { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.mode { padding: 36px; display: flex; flex-direction: column; gap: 4px; }
.mode__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.mode__head h3 { font-size: 28px; letter-spacing: -0.03em; margin: 0; }
.mode > p { color: var(--muted); }
.mode__place { font-weight: 600; color: var(--navy) !important; margin-bottom: 6px; }
.mode .btn { margin-top: auto; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 20px; }
.prices > div { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.75); border: 1px solid rgba(31,69,96,.08); }
.prices span { display: block; font-size: 13px; color: var(--muted); }
.prices strong { font-size: 32px; letter-spacing: -0.04em; color: var(--ink); }
.checks { list-style: none; display: grid; gap: 10px; margin: 6px 0 26px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.checks .mc-ico { color: var(--green); margin-top: 2px; }
.checks--loose { gap: 14px; margin-bottom: 0; }
.checks--grid { grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 0; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; margin-top: 20px; border-radius: 20px; font-size: 15px; color: var(--text); }
.note .mc-ico { color: var(--green); margin-top: 2px; }
.note strong { color: var(--ink); }
@media (max-width: 860px) {
	.modes { grid-template-columns: 1fr; }
	.checks--grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ pasos */

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.step { position: relative; padding: 28px 26px 24px; overflow: hidden; }
.step__n { position: absolute; right: 18px; top: 2px; font-size: 92px; font-weight: 800; letter-spacing: -0.06em; color: rgba(31,69,96,.06); line-height: 1; }
.step h3 { font-size: 19px; margin: 18px 0 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- sobre mí */

.about-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; padding: 20px 48px 20px 20px; align-items: center; }
.about-teaser__img img { border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; }
.about-teaser__copy { padding: 24px 0; }
.about-teaser__copy > p { color: var(--muted); font-size: 17.5px; }
@media (max-width: 860px) {
	.about-teaser { grid-template-columns: 1fr; padding: 16px 16px 28px; gap: 8px; }
	.about-teaser__img img { aspect-ratio: 4 / 3; }
	.about-teaser__copy { padding: 16px 10px 0; }
}

/* -------------------------------------------------------------------- blog */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; padding: 10px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(31,69,96,.45); }
.post-card__media { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #dfe9f1, #e4efe9 60%, #f1e8db); }
.post-card__ph img { width: 54px; height: auto; opacity: .55; }
.post-card__body { padding: 18px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card__title { font-size: 21px; letter-spacing: -0.025em; line-height: 1.22; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--navy); }
.post-card__excerpt { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 28px auto 0; padding: 6px 8px 6px 18px; border-radius: 999px; color: var(--muted); }
.search input { flex: 1; border: 0; background: transparent; font: 16px var(--font); color: var(--ink); padding: 10px 4px; outline: none; }
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.filter a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--text); background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); }
.filter a.is-current, .filter a:hover { background: var(--navy); color: #fff; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.6); font-weight: 600; }
.pager .page-numbers.current { background: var(--navy); color: #fff; }
.pager .prev .mc-ico { transform: rotate(180deg); }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* --------------------------------------------------------------------- faq */

.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 22px; padding: 0; overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(31,69,96,.07); color: var(--navy); transition: transform .4s var(--ease), background .3s; flex: none; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq__item p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* --------------------------------------------------------------- banda cta */

.cta-band { position: relative; overflow: hidden; text-align: center; padding: 80px 32px; border-radius: 40px; }
.cta-band__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 260px at 15% 0%, rgba(150,177,164,.45), transparent 70%), radial-gradient(500px 300px at 90% 110%, rgba(111,155,189,.45), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band__title { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.04em; max-width: 760px; margin: 0 auto 14px; }
.cta-band__text { font-size: 19px; color: rgba(255,255,255,.75); margin-bottom: 32px; }

/* ------------------------------------------------------------------- pie */

.site-footer { padding: 40px 0 28px; }
.footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 44px; }
.footer__brand img { width: 230px; margin-bottom: 16px; }
.footer__brand p { font-size: 15px; color: var(--muted); max-width: 340px; }
.footer__tagline { font-size: 11px !important; letter-spacing: .3em; text-transform: uppercase; color: var(--navy) !important; }
.footer h2 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--text); }
.footer li a:hover { color: var(--navy); }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__credit { flex-basis: 100%; }
.footer__credit a { color: var(--navy); font-weight: 600; }
@media (max-width: 900px) { .footer { grid-template-columns: 1fr 1fr; padding: 32px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ cabeceras de página */

.page-hero { padding: 150px 0 30px; }
.page-hero--compact { padding-bottom: 6px; }
.page-hero__center { text-align: center; }
.page-hero__title { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.05em; line-height: 1; margin-bottom: 18px; }
.page-hero--compact .page-hero__title { font-size: clamp(34px, 4.6vw, 54px); }
.page-hero__text { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto; }
.big-404 { font-size: clamp(110px, 20vw, 220px); font-weight: 800; letter-spacing: -0.07em; line-height: .9; margin: 0 0 10px; }

/* Sobre mí */
.about-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-hero .page-hero__text { margin: 0 0 28px; }
.about-hero__role { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.about-hero__img .portrait { transform: rotate(-1.2deg); }
.now { padding: 22px 26px; border-radius: 22px; }
.now__title { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.now ul { list-style: none; display: grid; gap: 8px; }
.now li { padding-left: 18px; position: relative; font-size: 15.5px; }
.now li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero__img { max-width: 440px; margin: 0 auto; order: -1; } }

.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.cv-block { padding: 32px; }
.cv-block__title { display: flex; align-items: center; gap: 14px; font-size: 24px; letter-spacing: -0.03em; margin-bottom: 22px; }
.cv-block > p { color: var(--muted); }
.timeline { list-style: none; position: relative; display: grid; gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1.5px; background: linear-gradient(var(--blue), var(--sage)); opacity: .5; }
.timeline li { position: relative; padding-left: 32px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--sage); box-shadow: 0 0 0 4px rgba(150,177,164,.18); }
.timeline h3 { font-size: 17px; margin-bottom: 4px; letter-spacing: -0.01em; }
.timeline p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .cv-grid { grid-template-columns: 1fr; } }

/* Especialidades */
.anchor-nav { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px; margin-top: 32px; border-radius: 999px; }
.anchor-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--text); }
.anchor-nav a:hover { background: #fff; color: var(--navy); }
@media (max-width: 700px) { .anchor-nav { border-radius: 24px; } }
.area-list { display: grid; gap: 20px; }
.area { display: grid; grid-template-columns: 170px 1fr; gap: 32px; padding: 40px; scroll-margin-top: 110px; position: relative; overflow: hidden; }
.area::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tint) 20%, transparent), transparent 70%); pointer-events: none; }
.area__head { display: flex; flex-direction: column; gap: 18px; }
.area__n { font-size: 64px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--tint) 45%, transparent); }
.area__body h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.area__lead { font-size: 19px; color: var(--muted); margin-bottom: 22px; max-width: 760px; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; padding: 28px; gap: 10px; } .area__head { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Pedir cita */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice__item { display: flex; align-items: center; gap: 18px; padding: 24px 26px; color: var(--text); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.choice__item:hover { transform: translateY(-4px); color: var(--text); box-shadow: 0 24px 50px -28px rgba(31,69,96,.5); }
.choice__text { display: flex; flex-direction: column; flex: 1; }
.choice__text strong { font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.choice__text span { font-size: 15px; color: var(--muted); }
.choice__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; color: var(--navy); white-space: nowrap; }
@media (max-width: 820px) { .choice { grid-template-columns: 1fr; } .choice__item { flex-wrap: wrap; } .choice__cta { width: 100%; padding-left: 74px; } }

.booking-grid { display: grid; grid-template-columns: 1fr 330px; gap: 20px; align-items: start; scroll-margin-top: 100px; }
#videoconsulta { scroll-margin-top: 90px; }
.booking-card { padding: 34px; background: rgba(255,255,255,.72); min-width: 0; }
.booking-card__head { margin-bottom: 22px; }
.booking-card__head h2 { font-size: 30px; letter-spacing: -0.035em; margin-bottom: 6px; }
.booking-card__head p { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); margin: 0; }
.booking-aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.tips { padding: 26px; }
.tips h3 { font-size: 18px; margin-bottom: 16px; }
.tips .checks { margin: 0; }
.tips--warn p { display: flex; gap: 10px; margin: 0; font-size: 14.5px; }
.tips--warn .mc-ico { color: #b4573f; margin-top: 2px; }
@media (max-width: 980px) { .booking-grid { grid-template-columns: 1fr; } .booking-aside { position: static; } }
@media (max-width: 560px) { .booking-card { padding: 20px 14px; border-radius: 22px; } }

/* -------------------------------------------------------------- artículo */

.article__head { padding-top: 150px; text-align: center; }
.article__meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.article__title { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.045em; line-height: 1.04; }
.article__excerpt { font-size: 21px; color: var(--muted); max-width: 680px; margin: 0 auto 26px; }
.byline { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.65); font-size: 14.5px; margin-bottom: 34px; }
.byline img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.article__cover { margin: 0 auto 28px; max-width: 1100px; }
.article__cover img { border-radius: 32px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; box-shadow: var(--glass-shadow); }

.prose { padding: 56px 64px; font-size: 18.5px; line-height: 1.78; color: #26343f; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 30px; letter-spacing: -0.03em; margin: 1.8em 0 .55em; }
.prose h3 { font-size: 22px; letter-spacing: -0.02em; margin: 1.5em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }
.prose a { text-decoration: underline; text-decoration-color: rgba(78,138,110,.45); text-underline-offset: 3px; }
.prose img, .prose figure img { border-radius: 20px; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--sage); font-size: 21px; color: var(--ink); }
.prose .lead, .prose > p.lead { font-size: 22px; line-height: 1.6; color: var(--ink); font-weight: 450; letter-spacing: -0.01em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose .wp-block-button__link { background: var(--grad); border-radius: 999px; padding: 12px 22px; color: #fff; text-decoration: none; font-size: 16px; font-weight: 600; }

/* Estilos de bloque del blog */
.prose .is-style-mc-keypoints,
.prose .is-style-mc-alert,
.prose .is-style-mc-glass,
.prose .mc-references { border-radius: 22px; padding: 26px 30px; margin: 2em 0; }
.prose .is-style-mc-keypoints { background: linear-gradient(135deg, rgba(150,177,164,.22), rgba(111,155,189,.14)); border: 1px solid rgba(78,138,110,.2); }
.prose .is-style-mc-keypoints h3 { margin-top: 0; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.prose .is-style-mc-keypoints ul { margin-bottom: 0; }
.prose .is-style-mc-alert { background: rgba(201,168,124,.16); border: 1px solid rgba(201,168,124,.4); }
.prose .is-style-mc-alert h3 { margin-top: 0; color: #8a6536; }
.prose .is-style-mc-alert > *:last-child, .prose .is-style-mc-keypoints > *:last-child { margin-bottom: 0; }
.prose .is-style-mc-glass { background: rgba(255,255,255,.7); border: 1px solid #fff; box-shadow: var(--glass-shadow); }
.prose .mc-references { background: rgba(31,69,96,.04); font-size: 14.5px; line-height: 1.6; }
.prose .mc-references h3 { margin-top: 0; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.prose .mc-references ol { margin: 0; }
.prose .is-style-mc-big { border: 0; padding: 0; text-align: center; font-size: 28px; line-height: 1.35; letter-spacing: -0.02em; font-weight: 550; }
.prose .disclaimer { margin: 2.4em 0 0; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.author { display: flex; gap: 18px; align-items: center; padding: 22px 26px; margin-top: 20px; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author p { margin: 0; font-size: 15px; color: var(--muted); }
.author__name { font-weight: 650; color: var(--ink) !important; font-size: 17px !important; margin-bottom: 2px !important; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 32px; margin-top: 20px; flex-wrap: wrap; }
.post-cta p { margin: 0; color: rgba(255,255,255,.75); }
.post-cta__title { font-size: 22px; font-weight: 650; color: #fff !important; letter-spacing: -0.02em; }

@media (max-width: 700px) {
	.prose { padding: 30px 22px; font-size: 17.5px; border-radius: 22px; }
	.prose .is-style-mc-keypoints, .prose .is-style-mc-alert, .prose .mc-references { padding: 20px; }
	.article__head { padding-top: 120px; }
}

/* -------------------------------------------- formulario DMO Booking */

.booking-card .dmo-booking,
.booking-card .dmo-shell { background: transparent; box-shadow: none; }

/* ------------------------------------------------------------ animaciones */

.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
/* Lo que se ve al cargar no espera al JavaScript: entra con una animación CSS. */
.js .hero .reveal,
.js .page-hero .reveal,
.js .article__head .reveal { opacity: 1; transform: none; filter: none; transition: none; animation: rise .9s var(--ease) both; }
.js .hero .reveal:nth-child(2), .js .page-hero .reveal:nth-child(2), .js .article__head .reveal:nth-child(2) { animation-delay: .08s; }
.js .hero .reveal:nth-child(3), .js .page-hero .reveal:nth-child(3), .js .article__head .reveal:nth-child(3) { animation-delay: .16s; }
.js .hero .reveal:nth-child(n+4), .js .page-hero .reveal:nth-child(n+4), .js .article__head .reveal:nth-child(n+4) { animation-delay: .24s; }
.js .hero__visual.reveal { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
	.js .reveal, .js .hero .reveal, .js .page-hero .reveal, .js .article__head .reveal { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
	.orb, .marquee__track, .float-chip, .dot, .figure__ring { animation: none; }
}
