/* =====================================================================
   Podosalut · Tema — actualización 2026 sobre Elementor
   Identidad: #43474A (logo) · #EAE7E4 (líneas) · Montserrat (titulares) · Inter (texto)
   Colores y tipografías base viven en el kit global de Elementor; aquí solo
   los ajustes que el kit no cubre.
   ===================================================================== */
/* Montserrat (tipografía corporativa), alojada en local: sin llamadas a Google (RGPD) */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("fonts/montserrat-latin-var.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ps-brand: #43474A;
	--ps-brand-d: #2E3133;
	--ps-text: #5F6366;
	--ps-muted: #8C9093;
	--ps-bg: #F5F4F2;
	--ps-line: #EAE7E4;
	--ps-r: 22px;
	--ps-r-l: 32px;
	--ps-shadow: 0 24px 60px -28px rgba(46, 49, 51, .35);
	--ps-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 780' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='white' stroke-opacity='.2' stroke-width='1.2'%3E%3Cpath d='M-40 430C380 640 900 720 1500 610'/%3E%3Cpath d='M1180-20C1080 220 1030 520 1050 820'/%3E%3C/g%3E%3C/svg%3E");
	--ps-lines-warm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23E1DDD9' stroke-width='1.3'%3E%3Cpath d='M-40 120C420 380 980 420 1500 300'/%3E%3Cpath d='M1240-20C1160 180 1120 420 1150 640'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Tipografía: contraste fino/negrita del logotipo ---------- */
.ps-light .elementor-heading-title { font-weight: 300 !important; }
.ps-light .elementor-heading-title b,
.ps-light .elementor-heading-title strong { font-weight: 700; }
.ps-kicker .elementor-heading-title {
	font-family: "Montserrat", sans-serif !important; font-size: .78rem !important; font-weight: 600 !important;
	letter-spacing: .18em !important; text-transform: uppercase !important; color: var(--ps-muted) !important;
}
.ps-band .ps-kicker .elementor-heading-title, .ps-portada .ps-kicker .elementor-heading-title { color: rgba(255,255,255,.75) !important; }

/* ---------- Botones ---------- */
.ps-tema .elementor-button { font-family: "Montserrat", sans-serif; font-weight: 600; letter-spacing: 0; transition: background-color .2s, color .2s, border-color .2s; }
.ps-btn-ghost .elementor-button { background: transparent !important; border: 1.5px solid rgba(255,255,255,.6) !important; color: #fff !important; }
.ps-btn-ghost .elementor-button:hover { background: rgba(255,255,255,.12) !important; }

/* ---------- Cabecera fija ---------- */
.ps-tema .elementor-location-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .2s; }
.ps-tema.admin-bar .elementor-location-header { top: 32px; }
.ps-tema .elementor-location-header.is-scrolled { box-shadow: 0 1px 0 var(--ps-line), 0 10px 30px -22px rgba(0,0,0,.3); }

/* ---------- Hero de Inicio ---------- */
.ps-portada { border-radius: 0 0 var(--ps-r-l) var(--ps-r-l); overflow: hidden; }
.ps-portada::after { content: ""; position: absolute; inset: 0; background: var(--ps-lines) center / 100% 100% no-repeat; pointer-events: none; z-index: 1; }
.ps-portada > .e-con-inner, .ps-portada > .e-con { position: relative; z-index: 2; }
.ps-portada .elementor-heading-title { text-wrap: balance; }

/* ---------- Panel de 3 ventajas ---------- */
.ps-feats > .e-con-inner > .e-con, .ps-feats > .e-con { border-radius: var(--ps-r-l) !important; box-shadow: var(--ps-shadow) !important; }
.ps-feats .elementor-icon { background-color: var(--ps-brand) !important; color: #fff !important; fill: #fff !important; }
.ps-feats .elementor-icon svg { fill: #fff !important; }
.ps-feats .elementor-icon-box-title { font-family: "Montserrat", sans-serif; }

/* ---------- Franjas de foto ---------- */
.ps-band { border-radius: var(--ps-r-l); overflow: hidden; margin-left: 28px !important; margin-right: 28px !important; width: auto !important; max-width: calc(100% - 56px); }
.ps-band::after { content: ""; position: absolute; inset: 0; background: var(--ps-lines) center / 100% 100% no-repeat; pointer-events: none; z-index: 1; }
.ps-band > .e-con-inner, .ps-band > .e-con { position: relative; z-index: 2; }

/* ---------- Cabeceras de página interior ---------- */
.ps-pagehero { border-radius: 0 0 var(--ps-r-l) var(--ps-r-l); overflow: hidden; }
.ps-pagehero::after { content: ""; position: absolute; inset: 0; background: var(--ps-lines) center / 100% 100% no-repeat; pointer-events: none; z-index: 1; }
.ps-pagehero > .e-con-inner, .ps-pagehero > .e-con { position: relative; z-index: 2; }

/* ---------- Tarjetas de contacto (icon-box) ---------- */
.ps-cards-ib .elementor-widget-icon-box { background: #fff; border: 1px solid var(--ps-line); border-radius: var(--ps-r); padding: 22px; transition: border-color .2s; }
.ps-cards-ib .elementor-widget-icon-box:hover { border-color: #d9d5d1; }
.ps-cards-ib .elementor-icon { background-color: var(--ps-brand) !important; color: #fff !important; fill: #fff !important; }
.ps-cards-ib .elementor-icon svg { fill: #fff !important; }

/* ---------- Formularios ---------- */
.ps-tema .elementor-field-group .elementor-field:not(.elementor-select-wrapper),
.ps-tema .elementor-field-group select { background: var(--ps-bg) !important; border: 1.5px solid var(--ps-line) !important; border-radius: 12px !important; color: var(--ps-brand) !important; transition: border-color .2s, background-color .2s; }
.ps-tema .elementor-field-group .elementor-field:focus { border-color: var(--ps-brand) !important; background: #fff !important; outline: none; }

/* ---------- Pie ---------- */
.ps-tema .elementor-location-footer { position: relative; background: var(--ps-bg); }
.ps-tema .elementor-location-footer::before { content: ""; position: absolute; inset: 0; background: var(--ps-lines-warm) center / 100% 100% no-repeat; pointer-events: none; }
.ps-tema .elementor-location-footer > * { position: relative; }
.ps-tema .elementor-location-footer .elementor-widget-form { background: #fff; border-radius: var(--ps-r); padding: 22px; box-shadow: 0 18px 40px -30px rgba(0,0,0,.3); }
.ps-tema .elementor-location-footer .elementor-icon-list-item a { transition: color .2s; }

/* ---------- Páginas sin Elementor (legales, accesibilidad) ---------- */
.ps-tema:not(.elementor-page) .site-main { max-width: 860px; margin: 0 auto; padding: 70px 24px 90px; color: var(--ps-text); line-height: 1.75; }
.ps-tema:not(.elementor-page) .site-main .page-header .entry-title { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--ps-brand); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.015em; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--ps-line); }
.ps-tema:not(.elementor-page) .site-main h2, .ps-tema:not(.elementor-page) .site-main h3 { font-family: "Montserrat", sans-serif; color: var(--ps-brand); margin: 1.8em 0 .6em; }
.ps-tema:not(.elementor-page) .site-main a { color: var(--ps-brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Fundido suave (único efecto) ---------- */
.ps-fade.is-pending { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.ps-fade.is-pending.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ps-fade.is-pending { opacity: 1; transform: none; transition: none; } }

/* ---------- Barra de acciones en móvil ---------- */
.ps-mbar { display: none; }
@media (max-width: 767px) {
	.ps-band { margin-left: 12px !important; margin-right: 12px !important; max-width: calc(100% - 24px); border-radius: 24px; }
	.ps-portada, .ps-pagehero { border-radius: 0 0 26px 26px; }
	.ps-mbar {
		display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 999;
		background: rgba(46,49,51,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; padding: 7px;
	}
	html body .ps-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; font-family: "Montserrat", sans-serif; font-size: .8rem; font-weight: 600; padding: 8px 4px; border-radius: 14px; text-decoration: none; }
	html body .ps-mbar a.is-wa svg { color: #25D366; }
	html body .ps-mbar a.is-main { background: #fff; color: var(--ps-brand); flex-direction: row; font-size: .9rem; }
	body.ps-tema { padding-bottom: 76px; }
	body.ps-tema .tuacte-whatsapp { display: none !important; } /* la barra de acciones ya incluye WhatsApp */
	body.ps-tema .tuacte-cookie-preferences-link { display: none !important; } /* en móvil: «Configurar cookies» en el pie */
	body.ps-tema .tuacte-cookie-banner { bottom: 86px; }
}

/* Evita desplazamiento horizontal en móvil (collage absoluto, reCAPTCHA). clip no rompe la cabecera fija */
html:has(body.ps-tema), html body.ps-tema { overflow-x: clip; }
.ps-spec { overflow-x: clip; }

/* Contacto: iconos en círculo del gris corporativo */
.ps-cards-ib .elementor-icon { width: 54px; height: 54px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; font-size: 22px !important; }
.ps-cards-ib .elementor-icon svg { width: 22px; height: 22px; }
.ps-cards-ib .elementor-icon-box-title { font-family: "Montserrat", sans-serif; font-weight: 600 !important; }

/* Páginas legales: jerarquía correcta (h2 menor que el título) */
.ps-tema:not(.elementor-page) .site-main h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); text-transform: none; letter-spacing: 0; }
.ps-tema:not(.elementor-page) .site-main h3 { font-size: 1.15rem; }

/* Franjas: capa oscura uniforme para que el texto blanco se lea sobre cualquier foto */
.ps-band::before { content: ""; position: absolute; inset: 0; background: rgba(46,49,51,.62) !important; opacity: 1 !important; z-index: 1; }

/* Formularios: casilla de privacidad y texto informativo RGPD */
.ps-tema .elementor-field-type-acceptance label { font-size: .85rem; color: var(--ps-text); }
.ps-tema .elementor-field-type-acceptance a, .ps-rgpd a { color: var(--ps-brand); text-decoration: underline; text-underline-offset: 2px; }
.ps-tema .elementor-field-type-acceptance input[type="checkbox"] { accent-color: var(--ps-brand); width: 16px; height: 16px; }
.ps-rgpd { font-size: .72rem; line-height: 1.5; color: var(--ps-muted); margin: 2px 0 0; }
.ps-tema .elementor-message { font-size: .9rem; border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
.ps-tema .elementor-message.elementor-message-success { background: #EEF3EE; color: #2F5D3A; }
.ps-tema .elementor-message.elementor-message-danger { background: #F8ECEA; color: #8A2E21; }

/* Distintivo de reseñas de Google */
.ps-reviews { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 10px 16px; border-radius: 999px; font-family: "Montserrat", sans-serif; font-size: .85rem; line-height: 1.2; text-decoration: none !important; transition: background-color .2s, border-color .2s; }
.ps-reviews__stars { display: inline-flex; gap: 2px; }
.ps-reviews__stars svg { width: 15px; height: 15px; fill: #F2B01E; }
.ps-reviews__score { font-weight: 700; font-size: .95rem; }
.ps-reviews__txt { font-weight: 500; }
.ps-reviews__cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ps-reviews--light { background: #fff; border: 1px solid var(--ps-line); color: var(--ps-brand) !important; }
.ps-reviews--light:hover { border-color: #d9d5d1; background: var(--ps-bg); }
.ps-reviews--dark { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff !important; backdrop-filter: blur(6px); }
.ps-reviews--dark:hover { background: rgba(255,255,255,.2); }
@media (max-width: 767px) { .ps-reviews { font-size: .8rem; padding: 10px 14px; border-radius: 16px; } .ps-reviews__cta { width: 100%; } }


/* WhatsApp flotante (Tuacte Site Kit) personalizado con la identidad de Podosalut:
   píldora gris corporativo + icono en círculo verde + «Escríbenos». Sin movimiento. */
html body.ps-tema .tuacte-whatsapp {
	width: auto; height: auto; gap: 10px; padding: 6px 18px 6px 6px;
	background: var(--ps-brand); color: #fff; border-radius: 999px;
	box-shadow: 0 14px 34px -14px rgba(46,49,51,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
	font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .9rem; line-height: 1; letter-spacing: 0;
	transition: background-color .2s, box-shadow .2s; transform: none;
}
html body.ps-tema .tuacte-whatsapp::after { content: "Escríbenos"; white-space: nowrap; }
html body.ps-tema .tuacte-whatsapp:hover, html body.ps-tema .tuacte-whatsapp:focus-visible { background: var(--ps-brand-d); color: #fff; transform: none; box-shadow: 0 16px 36px -14px rgba(46,49,51,.65); }
html body.ps-tema .tuacte-whatsapp:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }
html body.ps-tema .tuacte-whatsapp__icon { width: 40px; height: 40px; border-radius: 50%; background: #25D366; display: grid; place-items: center; flex: none; }
html body.ps-tema .tuacte-whatsapp__icon svg { width: 24px; height: 24px; fill: #fff; }
html body.ps-tema .tuacte-whatsapp--bottom-right { right: 24px; bottom: 24px; }

/* ---------- Banner de cookies (Tuacte Site Kit) con la identidad de Podosalut ---------- */
html body.ps-tema .tuacte-cookie-banner { border: 1px solid var(--ps-line); border-radius: var(--ps-r); box-shadow: 0 24px 60px -24px rgba(46,49,51,.45); padding: 20px 22px; gap: 16px 24px; font-family: Inter, sans-serif; color: var(--ps-text); }
html body.ps-tema .tuacte-cookie-banner p { font-size: .88rem; line-height: 1.55; margin: 0; color: var(--ps-text); }
html body.ps-tema .tuacte-cookie-banner p + p { margin-top: 6px; }
html body.ps-tema .tuacte-cookie-banner__policy-link, html body.ps-tema .tuacte-cookie-modal a { color: var(--ps-brand) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body.ps-tema .tuacte-cookie-banner .button, html body.ps-tema .tuacte-cookie-modal .button {
	font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .86rem; line-height: 1; padding: 12px 18px; min-height: 0; height: auto;
	border-radius: 999px; border: 1.5px solid var(--ps-brand); background: transparent; color: var(--ps-brand); box-shadow: none; cursor: pointer; transition: background-color .2s, color .2s;
}
html body.ps-tema .tuacte-cookie-banner .button:hover, html body.ps-tema .tuacte-cookie-modal .button:hover { background: var(--ps-bg); color: var(--ps-brand); }
html body.ps-tema .tuacte-cookie-banner .button-primary, html body.ps-tema .tuacte-cookie-modal .button-primary { background: var(--ps-brand); color: #fff; }
html body.ps-tema .tuacte-cookie-banner .button-primary:hover, html body.ps-tema .tuacte-cookie-modal .button-primary:hover { background: var(--ps-brand-d); border-color: var(--ps-brand-d); color: #fff; }
html body.ps-tema .tuacte-cookie-banner .button:focus-visible, html body.ps-tema .tuacte-cookie-modal .button:focus-visible { outline: 2px solid var(--ps-brand); outline-offset: 3px; }
html body.ps-tema .tuacte-cookie-modal__dialog { border-radius: var(--ps-r); padding: 28px; font-family: Inter, sans-serif; color: var(--ps-text); }
html body.ps-tema .tuacte-cookie-modal__dialog h2 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--ps-brand); margin: 0 0 10px; }
html body.ps-tema .tuacte-cookie-modal__category { border-color: var(--ps-line); border-radius: 14px; }
html body.ps-tema .tuacte-cookie-modal__category-head { font-family: "Montserrat", sans-serif; font-weight: 600; color: var(--ps-brand); }
html body.ps-tema .tuacte-cookie-switch__input:checked + .tuacte-cookie-switch__track { background: var(--ps-brand); }
html body.ps-tema .tuacte-cookie-preferences-link { background: #fff !important; color: var(--ps-brand) !important; border: 1px solid var(--ps-line) !important; box-shadow: 0 10px 24px -14px rgba(46,49,51,.5) !important; }
html body.ps-tema .tuacte-cookie-blocked-embed { display: grid; place-items: center; min-height: 320px; height: 100%; padding: 24px; text-align: center; background: var(--ps-bg); border-radius: var(--ps-r); color: var(--ps-text); font-size: .9rem; }
/* El botón de WhatsApp no se solapa con el banner mientras está abierto */
body.ps-tema:has(.tuacte-cookie-banner:not([hidden])) .tuacte-whatsapp { display: none !important; }
@media (max-width: 767px) {
	html body.ps-tema .tuacte-cookie-banner { left: 10px; right: 10px; padding: 16px; }
	html body.ps-tema .tuacte-cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
	html body.ps-tema .tuacte-cookie-banner__actions .button-primary { grid-column: 1 / -1; order: -1; }
	html body.ps-tema .tuacte-cookie-banner .button { justify-content: center; text-align: center; }
}

/* Margen inferior para que el botón flotante de WhatsApp no tape los iconos sociales del pie */
@media (min-width: 768px) { .ps-tema .elementor-location-footer { padding-bottom: 84px; } }

/* Crédito «Diseño web Tuacte» con logo animado (mismo efecto que Cine Jayan).
   El PNG tiene las letras en blanco (pie oscuro de Jayan): aquí se oscurecen al gris corporativo. */
.jt-credito { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .85rem; color: var(--ps-muted); }
.jt-credito a { display: inline-flex; line-height: 0; }
.jt-tuacte { --w: 92px; position: relative; display: inline-block; width: var(--w); height: calc(var(--w) * 86 / 300); flex: none; vertical-align: middle; }
.jt-tuacte img { position: absolute !important; top: 0; left: 0; display: block !important; width: var(--w) !important; max-width: none !important; height: auto !important; border-radius: 0 !important; }
.jt-tuacte__boca { z-index: 2; clip-path: inset(0 69% 0 0); transform-origin: 15% 95%; }
.jt-tuacte__letras { position: absolute; z-index: 1; top: 0; bottom: 0; left: calc(var(--w) * .19); right: 0; overflow: hidden; }
.jt-tuacte__letras img { left: calc(var(--w) * -.19) !important; clip-path: inset(0 0 0 33%); filter: brightness(0) invert(27%); }
.jt-tuacte--listo .jt-tuacte__boca { transform: scale(0); opacity: 0; }
.jt-tuacte--listo .jt-tuacte__letras img { transform: translateX(calc(var(--w) * -.64)); opacity: 0; }
.jt-tuacte--listo.is-on .jt-tuacte__boca { animation: jt-tu-boca .55s cubic-bezier(.34,1.56,.64,1) forwards; }
.jt-tuacte--listo.is-on .jt-tuacte__letras img { animation: jt-tu-letras .9s cubic-bezier(.22,1,.36,1) .45s forwards; }
@keyframes jt-tu-boca { 0% { transform: scale(0) rotate(-8deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes jt-tu-letras { 0% { transform: translateX(calc(var(--w) * -.64)); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .jt-tuacte--listo .jt-tuacte__boca, .jt-tuacte--listo .jt-tuacte__letras img { transform: none; opacity: 1; animation: none !important; } }

/* Cabecera: menú (5 elementos), contactos, botón y selector de idioma en una sola línea en escritorio. */
@media (min-width: 1025px) {
	html body .elementor-location-header .elementor-nav-menu--main ul.elementor-nav-menu { flex-wrap: nowrap; }
	html body .elementor-location-header .elementor-nav-menu--main .elementor-item,
	html body .elementor-location-header .elementor-icon-box-title,
	html body .elementor-location-header .elementor-icon-box-description,
	html body .elementor-location-header .elementor-button-text { white-space: nowrap; }
	html body .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > .elementor-item { margin-left: 10px; margin-right: 10px; font-size: 15px; }
	html body .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li:first-child > .elementor-item { margin-left: 0; }
	html body .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li:last-child > .elementor-item { margin-right: 0; }
	/* WhatsApp solo con el icono (el número está en la barra móvil, Contacto y el pie). */
	html body .elementor-location-header .elementor-widget-icon-box:has(a[href*="wa.me"]) .elementor-icon-box-content { display: none; }
}
@media (min-width: 1025px) and (max-width: 1239px) {
	/* Portátiles pequeños: teléfono también solo con el icono. */
	html body .elementor-location-header .elementor-widget-icon-box .elementor-icon-box-content { display: none; }
}

/* Selector de idioma (ES | EN) en la cabecera. */
html body .ps-lang { display: inline-flex; gap: 2px; align-items: center; font-family: var(--ps-head, Montserrat, sans-serif); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
html body .ps-lang a { color: #43474A; text-decoration: none; padding: 6px 7px; border-radius: 999px; line-height: 1; }
html body .ps-lang a:hover { background: #EAE7E4; }
html body .ps-lang a.is-current { background: #43474A; color: #fff; }
html body .elementor-location-header .ps-lang-w { width: auto; flex: 0 0 auto; margin-left: 4px; }
@media (max-width: 1024px) {
	/* Móvil/tableta: selector a la izquierda del icono de menú, en la misma línea. */
	html body .elementor-location-header .e-con:has(> .ps-lang-w) { flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-end !important; gap: 6px !important; }
	html body .elementor-location-header .ps-lang-w { order: -1; margin-left: 0; margin-right: 6px; flex: 0 0 auto !important; width: max-content !important; max-width: none !important; }
	html body .elementor-location-header .e-con:has(> .ps-lang-w) > .elementor-widget-nav-menu { width: auto !important; flex: 0 0 auto !important; --container-widget-width: auto; }
}

/* Iconos: solo los 8 que usa la web, en SVG (antes se cargaban 3 juegos completos de Skyboot, ~375 KB). */
.mdi.mdi-foot-print::before, i.mdi-foot-print::before,
.mdi.mdi-calendar-month::before, i.mdi-calendar-month::before,
.mdi.mdi-stethoscope::before, i.mdi-stethoscope::before,
i.icon-call-out::before,
i.icon-envelope::before,
i.icon-phone::before,
i.icon-clock::before,
i.icon-location-pin::before,
i.icon_loading::before {
	content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em;
	background-color: currentColor; -webkit-mask: var(--ps-ico) center / contain no-repeat; mask: var(--ps-ico) center / contain no-repeat;
}
.mdi, i[class^="icon-"], i[class*=" icon-"], i.icon_loading { font-style: normal; line-height: 1; display: inline-block; }
.mdi.mdi-foot-print::before, i.mdi-foot-print::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix%281 0 0 -1 0 448%29' d='M341 405Q354 405 365.0 398.0Q376 391 381.0 379.0Q386 367 383.5 354.5Q381 342 371.5 332.5Q362 323 349.5 320.5Q337 318 325.0 323.0Q313 328 306.0 339.0Q299 350 299 363Q299 380 311.5 392.5Q324 405 341 405ZM257 384Q270 384 279.5 374.5Q289 365 289.0 352.0Q289 339 279.5 329.5Q270 320 257.0 320.0Q244 320 234.5 329.5Q225 339 225.0 352.0Q225 365 234.5 374.5Q244 384 257 384ZM194 352Q203 352 209.0 346.0Q215 340 215.0 331.0Q215 322 209.0 315.5Q203 309 194.0 309.0Q185 309 179.0 315.5Q173 322 173.0 331.0Q173 340 179.0 346.0Q185 352 194 352ZM150 320Q159 320 165.5 314.0Q172 308 172.0 299.0Q172 290 165.5 283.5Q159 277 150.0 277.0Q141 277 135.0 283.5Q129 290 129.0 299.0Q129 308 135.0 314.0Q141 320 150 320ZM310 192Q334 192 349.5 209.5Q365 227 363 251Q360 272 344.0 285.5Q328 299 307 299H254Q211 299 176.5 272.5Q142 246 131 205Q126 189 133 175Q147 145 146.5 112.5Q146 80 133 52Q124 33 134 15Q148 -6 170.5 -15.5Q193 -25 217 -19Q235 -15 249.0 -3.5Q263 8 270.0 25.0Q277 42 275.0 60.0Q273 78 263.0 93.5Q253 109 254 128Q253 144 259 160Q272 192 310 192Z'/%3E%3C/svg%3E"); }
.mdi.mdi-calendar-month::before, i.mdi-calendar-month::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix%281 0 0 -1 0 448%29' d='M192 235V192H149V235ZM277 235V192H235V235ZM363 235V192H320V235ZM405 384Q423 384 435.5 371.5Q448 359 448 341V43Q448 25 435.5 12.5Q423 0 405 0H107Q89 0 76.5 12.5Q64 25 64 43V341Q64 359 76.5 371.5Q89 384 107 384H128V427H171V384H341V427H384V384ZM405 43V277H107V43ZM192 149V107H149V149ZM277 149V107H235V149ZM363 149V107H320V149Z'/%3E%3C/svg%3E"); }
.mdi.mdi-stethoscope::before, i.mdi-stethoscope::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix%281 0 0 -1 0 448%29' d='M405 277Q414 277 420.5 271.0Q427 265 427.0 256.0Q427 247 420.5 241.0Q414 235 405.0 235.0Q396 235 390.0 241.0Q384 247 384.0 256.0Q384 265 390.0 271.0Q396 277 405 277ZM43 405V213Q43 166 74.0 130.0Q105 94 152 87Q162 39 200.0 9.0Q238 -21 288 -21Q326 -21 357.5 -2.5Q389 16 408.0 48.0Q427 80 427 117V196Q446 203 457.5 219.5Q469 236 469 256Q469 283 450.5 301.5Q432 320 405.5 320.0Q379 320 360.0 301.5Q341 283 341 256Q341 236 353.0 219.5Q365 203 384 196V119Q384 79 356.0 51.0Q328 23 288 23Q256 23 231.0 41.0Q206 59 197 87Q241 97 270.0 132.5Q299 168 299 213V405H213V341H256V213Q256 178 231.0 153.0Q206 128 170.5 128.0Q135 128 110.0 153.0Q85 178 85 213V341H128V405Z'/%3E%3C/svg%3E"); }
i.icon-call-out::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1053'%3E%3Cpath transform='matrix%281 0 0 -1 0 981%29' d='M1001 188Q997 192 976.0 206.0Q955 220 927.0 238.5Q899 257 871.0 275.5Q843 294 821.0 308.5Q799 323 793 326Q789 329 783.5 331.0Q778 333 772.5 334.0Q767 335 761 335Q757 335 754.0 334.5Q751 334 747.5 333.5Q744 333 740.0 332.0Q736 331 732.5 330.0Q729 329 725.5 327.5Q722 326 718.0 324.5Q714 323 711 321Q692 311 620 270Q559 313 468 404Q378 494 335 555Q376 628 386 646Q412 696 391 729Q380 746 320.5 836.0Q261 926 253 937Q236 961 201 961Q192 961 183.5 959.0Q175 957 166.5 953.5Q158 950 150 945Q145 941 133.5 932.0Q122 923 96.5 901.5Q71 880 51.0 859.5Q31 839 15.0 814.5Q-1 790 0 772Q1 730 15.0 683.5Q29 637 53.0 591.0Q77 545 106.5 500.0Q136 455 173.0 410.0Q210 365 244.0 327.5Q278 290 316 252Q375 193 434.0 142.5Q493 92 562.5 43.5Q632 -5 703.5 -34.0Q775 -63 838 -65H839Q856 -65 880.0 -49.0Q904 -33 924.5 -12.5Q945 8 966.5 32.5Q988 57 997.0 69.0Q1006 81 1009 85Q1040 129 1018 169Q1011 181 1001 188ZM957 123Q927 81 890.0 43.5Q853 6 836 -1Q746 4 623.5 80.5Q501 157 361.5 297.0Q222 437 145.0 559.5Q68 682 64 771Q70 788 107.5 825.0Q145 862 187 892Q189 894 191.0 895.0Q193 896 195.5 896.5Q198 897 201 897Q202 897 203 896Q263 810 335 697Q335 689 329 676Q327 673 324.0 667.0Q321 661 316.5 653.0Q312 645 306.0 635.0Q300 625 293.5 613.0Q287 601 279 587L259 552L282 519Q329 452 423 358Q517 264 583 218L616 194L652 214Q681 231 706.0 245.5Q731 260 741 264Q752 271 761 271H762Q843 220 962 138Q963 131 957 123ZM685 578 960 851 959 696Q959 686 966.0 679.0Q973 672 982 672H999Q1003 672 1007.5 673.5Q1012 675 1015.5 678.0Q1019 681 1020.5 685.0Q1022 689 1023 693V924Q1023 924 1022.5 924.5Q1022 925 1022 925L1024 937Q1024 947 1018 953Q1015 956 1010.5 958.0Q1006 960 1002 960L990 959Q989 959 989 959L760 960Q757 960 754.5 959.5Q752 959 749.5 957.5Q747 956 745.0 954.5Q743 953 741.5 951.0Q740 949 738.5 946.5Q737 944 736.5 941.5Q736 939 736 936V920Q737 909 745.0 902.5Q753 896 763 896H914L640 623Q630 614 630.0 600.5Q630 587 639.5 577.5Q649 568 662.5 568.0Q676 568 685 578Z'/%3E%3C/svg%3E"); }
i.icon-envelope::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1053'%3E%3Cpath transform='matrix%281 0 0 -1 0 981%29' d='M1024 728Q1025 731 1025.0 734.0Q1025 737 1024.0 740.0Q1023 743 1022 746Q1010 800 945 800H113Q83 800 55.5 789.0Q28 778 14 759Q11 756 9 754Q-1 743 2 728Q1 726 1.0 724.0Q1 722 1 720V208Q1 168 37.0 132.0Q73 96 113 96H945Q982 96 1003.5 130.0Q1025 164 1025 208V720Q1025 721 1025.0 722.5Q1025 724 1025.0 725.5Q1025 727 1024 728ZM113 736H945L513 391L82 735Q90 736 113 736ZM945 160H113Q104 160 92.5 168.0Q81 176 73.0 187.5Q65 199 65 208V666L492 325Q501 317 513 317Q525 318 534 325L961 666V208Q961 207 961 204Q961 160 945 160Z'/%3E%3C/svg%3E"); }
i.icon-phone::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
i.icon-clock::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1053'%3E%3Cpath transform='matrix%281 0 0 -1 0 981%29' d='M769.0 891.5Q651 960 512.0 960.0Q373 960 255.0 891.5Q137 823 68.5 705.0Q0 587 0.0 448.0Q0 309 68.5 191.0Q137 73 255.0 4.5Q373 -64 512.0 -64.0Q651 -64 769.0 4.5Q887 73 955.5 191.0Q1024 309 1024.0 448.0Q1024 587 955.5 705.0Q887 823 769.0 891.5ZM512 -1Q439 -1 370.5 21.5Q302 44 247.0 86.0Q192 128 150.5 183.0Q109 238 86.5 306.5Q64 375 64 448Q64 539 99.5 622.0Q135 705 195.0 765.0Q255 825 338.0 860.5Q421 896 512.0 896.0Q603 896 686.0 860.5Q769 825 829.0 765.0Q889 705 924.5 622.0Q960 539 960.0 448.0Q960 357 924.5 274.0Q889 191 829.0 130.5Q769 70 686.0 34.5Q603 -1 512 -1ZM544 461V768Q544 781 534.5 790.5Q525 800 512.0 800.0Q499 800 489.5 790.5Q480 781 480 768V448Q480 434 490 425Q490 425 490.5 424.0Q491 423 491 423L650 265Q659 255 672.5 255.0Q686 255 695.0 264.5Q704 274 704.0 287.5Q704 301 695 310Z'/%3E%3C/svg%3E"); }
i.icon-location-pin::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1053'%3E%3Cpath transform='matrix%281 0 0 -1 0 981%29' d='M516 960Q438 960 366.5 928.5Q295 897 243.0 844.5Q191 792 159.5 720.0Q128 648 128 570Q128 526 140.0 478.0Q152 430 168.0 389.0Q184 348 214.0 298.0Q244 248 267.5 213.5Q291 179 331.0 129.5Q371 80 393.0 54.0Q415 28 455 -18Q467 -32 473 -38Q475 -41 480.0 -45.5Q485 -50 498.0 -57.0Q511 -64 523 -64H526Q554 -64 576 -38Q896 330 896 570Q896 737 794 847Q688 960 516 960ZM528 5Q527 3 524 1Q522 3 520 5L503 24Q465 68 444.0 92.5Q423 117 385.0 164.0Q347 211 325.0 243.5Q303 276 274.0 322.5Q245 369 229.5 406.5Q214 444 203.0 487.5Q192 531 192 570Q192 657 236.0 732.5Q280 808 354.5 852.0Q429 896 516 896Q595 896 657.0 868.5Q719 841 756.5 794.0Q794 747 813.0 690.0Q832 633 832 570Q832 354 528 5ZM513 767Q482 767 452.5 757.0Q423 747 399.5 729.5Q376 712 358.0 688.0Q340 664 330.5 635.0Q321 606 321 575Q321 495 377.5 439.0Q434 383 513.5 383.0Q593 383 649.0 439.0Q705 495 705 575Q705 614 690.0 649.5Q675 685 649.0 710.5Q623 736 587.5 751.5Q552 767 513 767ZM513 447Q460 447 422.0 485.0Q384 523 384.0 576.0Q384 629 421.5 666.5Q459 704 512.0 704.0Q565 704 602.5 666.5Q640 629 640 576Q640 510 587 471Q554 447 513 447Z'/%3E%3C/svg%3E"); }
/* WhatsApp de Contacto (antes cargaba un juego de iconos de marcas de 486 KB). */
i.icon_loading::before { --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix%281 0 0 -1 0 480%29' d='M 432.32,114.88A2.91,2.91 1260 1 1 438.14,114.88A2.91,2.91 1260 1 1 432.32,114.88zM 368.03,48.54A5.79,5.79 1260 1 1 379.62,48.54A5.79,5.79 1260 1 1 368.03,48.54zM 281.38,14.4A8.7,8.7 1260 1 1 298.78,14.4A8.7,8.7 1260 1 1 281.38,14.4zM 188.1,18.98A11.58,11.58 1260 1 1 211.26,18.98A11.58,11.58 1260 1 1 188.1,18.98zM 105.34,61.44A14.5,14.5 1260 1 1 134.34,61.44A14.5,14.5 1260 1 1 105.34,61.44zM 48.03,133.63A17.41,17.41 1260 1 1 82.85,133.63A17.41,17.41 1260 1 1 48.03,133.63zM 26.53,222.27A20.29,20.29 1260 1 1 67.1,222.27A20.29,20.29 1260 1 1 26.53,222.27zM 44.22,310.34A23.2,23.2 1260 1 1 90.62,310.34A23.2,23.2 1260 1 1 44.22,310.34zM 97.31,381.34A26.11,26.11 1260 1 1 149.54,381.34A26.11,26.11 1260 1 1 97.31,381.34zM 175.26,422.02A28.99,28.99 1260 1 1 233.25,422.02A28.99,28.99 1260 1 1 175.26,422.02zM 262.82,424.54A31.9,31.9 1260 1 1 326.62,424.54A31.9,31.9 1260 1 1 262.82,424.54zM 342.98,388.48A34.78,34.78 1260 1 1 412.54,388.48A34.78,34.78 1260 1 1 342.98,388.48zM 399.94,320.74A37.7,37.7 1260 1 1 475.33,320.74A37.7,37.7 1260 1 1 399.94,320.74zM 422.59,232.99A40.61,40.61 1260 1 1 503.81,232.99A40.61,40.61 1260 1 1 422.59,232.99z'/%3E%3C/svg%3E"); }
i.icomoon_brands-whatsapp1::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; background-color: #25d366; -webkit-mask: var(--ps-ico) center / contain no-repeat; mask: var(--ps-ico) center / contain no-repeat; --ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath transform='matrix%281 0 0 -1 0 960%29' d='M747 346Q737 351 702.5 367.5Q668 384 660 388Q651 391 644.0 391.0Q637 391 631 381Q625 372 610.5 355.0Q596 338 591 332Q585 325 578.5 324.5Q572 324 563 328Q553 333 525.0 346.0Q497 359 460 392Q432 417 413.5 443.5Q395 470 390 480Q384 490 387.0 496.0Q390 502 395 506Q400 511 405.0 517.0Q410 523 414 529Q419 534 421.5 539.0Q424 544 427 550Q430 557 429.0 562.0Q428 567 426 572Q424 577 409.5 612.5Q395 648 387 666Q379 685 371.5 686.5Q364 688 358 688Q353 689 346.5 689.0Q340 689 334 689Q327 689 317.5 685.5Q308 682 300 673Q291 664 273.0 639.0Q255 614 255 568Q255 521 278.5 482.0Q302 443 307 437Q309 433 326 411Q342 388 370.5 358.0Q399 328 438 297Q477 266 525 245Q548 236 565.5 229.5Q583 223 597 218Q620 211 640.5 211.0Q661 211 678 213Q696 216 726.0 233.5Q756 251 764 274Q772 297 773.0 314.0Q774 331 771 335Q769 339 763.0 342.0Q757 345 747 350ZM515 32H514Q457 32 402.0 47.0Q347 62 298 91L283 100L123 58L166 214L156 230Q124 280 107.5 337.5Q91 395 91 454Q91 541 124 618Q158 695 215.5 752.5Q273 810 350 843Q427 876 515 876Q558 876 598 868Q639 860 677.0 844.0Q715 828 750 805Q785 782 815 752Q845 722 868 688Q891 653 906.5 615.0Q922 577 931 537Q939 496 939 454Q939 367 905 290Q872 213 814.5 155.5Q757 98 680 65Q602 32 515 32ZM876 813Q839 848 797 876Q755 903 709.0 921.5Q663 940 614 950Q565 960 514 960Q409 960 316 920Q223 880 154.0 811.0Q85 742 44 650Q4 558 4 453Q4 385 21.5 321.0Q39 257 72 199L0 -64L270 6Q326 -24 388.0 -39.5Q450 -55 514 -55Q620 -55 712 -15Q805 25 874.5 93.5Q944 162 984 255Q1024 347 1024 452Q1024 503 1014 552Q1004 601 985.5 646.5Q967 692 939 734Q911 775 875 811Z'/%3E%3C/svg%3E"); }
i.icomoon_brands { font-style: normal; line-height: 1; display: inline-block; }

/* Portada, bloques Cirugía / Tecnología / Diagnóstico en una columna: mismo borde izquierdo, grupo centrado. */
@media (max-width: 767px) {
	.ps-feats .e-grid { grid-template-columns: minmax(0, max-content) !important; justify-content: center; justify-items: start; }
}

/* Portada: la foto pequeña superpuesta (pies sobre hojas) sobresalía 29 px por la derecha en móvil. */
@media (max-width: 767px) {
	.elementor-element-1cd636c6 { right: 12px !important; left: auto !important; }
}

/* Cabecera escritorio: el logo no se encoge al hacer sitio al selector de idioma. */
@media (min-width: 1025px) {
	.elementor-location-header .elementor-widget-image { flex-shrink: 0 !important; }
	.elementor-location-header .elementor-widget-image img { width: 177px !important; max-width: none !important; }
}

/* Contacto en móvil: Llámanos y WhatsApp arriba; Clínica, Email y Horario a todo el ancho (el email no cabía). */
@media (max-width: 767px) {
	.ps-cards-ib > :nth-child(3) { order: 1; }
	.ps-cards-ib > :nth-child(4) { order: 2; }
	.ps-cards-ib > :nth-child(1) { order: 3; grid-column: 1 / -1; }
	.ps-cards-ib > :nth-child(2) { order: 4; grid-column: 1 / -1; }
	.ps-cards-ib > :nth-child(5) { order: 5; grid-column: 1 / -1; }
	.ps-cards-ib > :nth-child(6) { order: 6; grid-column: 1 / -1; }
}

/* Cabecera de fichas, blog y página local en móvil: el texto quedaba pegado al borde inferior. */
@media (max-width: 767px) {
	.ps-hero .ps-hero__in { padding-bottom: 40px; }
}

/* Iconos SVG dentro de los círculos de Elementor: sin hueco de línea de texto debajo (el círculo salía 48×52). */
.elementor-icon > i.icons, .elementor-icon > i.mdi, .elementor-icon > i.icon_loading, .elementor-icon > i.icomoon_brands { display: block; }
.elementor-icon > i.icons::before, .elementor-icon > i.mdi::before, .elementor-icon > i.icon_loading::before, .elementor-icon > i.icomoon_brands::before { display: block; vertical-align: 0; }

/* Bloque «Quién te atiende» (shortcode [podosalut_equipo]) en La clínica / About us. */
.ps-equipo { padding: 30px 24px 90px; }
.ps-equipo__in { max-width: 1080px; margin: 0 auto; display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.ps-equipo__media { flex: 0 0 auto; margin: 0 auto; }
.ps-equipo__ring { display: block; width: 280px; height: 280px; padding: 12px; box-sizing: border-box; border-radius: 50%; background: #EAE7E4; }
.ps-equipo__foto { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 38%; border-radius: 50% !important; display: block; }
.ps-equipo__body { flex: 1 1 440px; min-width: 0; }
html body .ps-equipo__kicker { font-family: "Montserrat", sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ps-muted); margin: 0 0 8px; }
html body .ps-equipo__name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; color: var(--ps-brand); margin: 0 0 6px; }
html body .ps-equipo__role { font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 1rem; color: var(--ps-text); margin: 0 0 18px; }
html body .ps-equipo__text { color: var(--ps-text); line-height: 1.75; margin: 0 0 24px; max-width: 580px; }
.ps-equipo__chips { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ps-equipo__chips li { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .82rem; color: var(--ps-brand); padding: 9px 15px; border-radius: 12px; background: #EAE7E4; border: 1px solid #DDD8D3; }
@media (max-width: 767px) {
	.ps-equipo { padding: 10px 18px 70px; }
	.ps-equipo__in { gap: 30px; text-align: center; }
	.ps-equipo__ring { width: 220px; height: 220px; padding: 10px; }
	.ps-equipo__chips { justify-content: center; }
	html body .ps-equipo__text { margin-left: auto; margin-right: auto; }
}

/* ---------- Cabecera compacta al hacer scroll (clase is-compact, ver tema.js). Solo escritorio: en móvil ya es baja. ---------- */
@media (min-width: 1025px) {
	.elementor-location-header .elementor-element-58f4a493 > .e-con-inner,
	.elementor-location-header .elementor-element-1f9e8a0,
	.elementor-location-header .elementor-nav-menu--main .elementor-item,
	.elementor-location-header .elementor-widget-icon-box .elementor-icon,
	.elementor-location-header .elementor-widget-button .elementor-button,
	.elementor-location-header .ps-lang a { transition: padding .3s ease, font-size .3s ease, box-shadow .2s; }
	.elementor-location-header.is-compact .elementor-element-58f4a493 > .e-con-inner { padding-top: 6px; padding-bottom: 6px; }
	.elementor-location-header.is-compact .elementor-element-1f9e8a0 { padding-top: 4px; padding-bottom: 4px; }
	html body .elementor-location-header.is-compact .elementor-element.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item { padding-top: 16px; padding-bottom: 16px; }
	html body .elementor-location-header.is-compact .elementor-element.elementor-widget-icon-box .elementor-icon-box-icon .elementor-icon { padding: 7px; font-size: 24px; }
	html body .elementor-location-header.is-compact .elementor-element.elementor-widget-button .elementor-widget-container .elementor-button { padding-top: 9px; padding-bottom: 9px; }
	html body .elementor-location-header.is-compact .ps-lang a { padding-top: 5px; padding-bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) {
	.elementor-location-header * { transition: none !important; }
}
@media (max-width: 767px) {
	/* Tres idiomas (ES · VA · EN): selector más estrecho para que quepa junto al logo y el menú. */
	html body .elementor-location-header .ps-lang { font-size: 12px; padding: 2px; }
	html body .elementor-location-header .ps-lang a { padding: 6px 6px; }
}

/* ---------- Logo de la cabecera en SVG: dedos que se mueven (saludo al cargar y al pasar el ratón) ---------- */
.elementor-location-header .ps-logo-svg { display: block; width: 60%; height: auto; overflow: visible; }
.elementor-location-header .ps-logo-svg path { fill: #43474A; }
@media (min-width: 1025px) { .elementor-location-header .ps-logo-svg { width: 177px; max-width: none; } }
.ps-logo-svg .toe { transform-box: fill-box; transform-origin: center; }
/* El logo tiene el eje Y invertido: translateY positivo sube el dedo. */
.ps-logo-svg.is-hello .toe,
a:hover > .ps-logo-svg .toe,
a:focus-visible > .ps-logo-svg .toe { animation: ps-dedos .5s ease-in-out both; }
.ps-logo-svg .t1 { animation-delay: .06s !important; }
.ps-logo-svg .t2 { animation-delay: .12s !important; }
.ps-logo-svg .t3 { animation-delay: .18s !important; }
.ps-logo-svg .t4 { animation-delay: .24s !important; }
@keyframes ps-dedos { 0%, 100% { transform: none; } 35% { transform: translateY(5px) rotate(-8deg); } 70% { transform: translateY(-1px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .ps-logo-svg .toe { animation: none !important; } }
/* Mismo tamaño que tenía el PNG: el enlace medía 240 px (o menos si no cabe) y el logo, el 60 % en móvil/tableta. */
.elementor-location-header .elementor-widget-image a:has(> .ps-logo-svg) { display: inline-block; width: 240px; max-width: 100%; vertical-align: middle; }

/* ---------- Barra de acciones en móvil: más compacta y se oculta al bajar (clase is-hidden, ver tema.js) ---------- */
@media (max-width: 767px) {
	html body .ps-mbar { left: 12px; right: 12px; bottom: 8px; padding: 5px; gap: 5px; border-radius: 18px; transition: transform .35s cubic-bezier(.2,.7,.3,1), opacity .3s ease; will-change: transform; }
	html body .ps-mbar a { padding: 5px 4px; gap: 1px; font-size: .72rem; border-radius: 13px; }
	html body .ps-mbar a.is-main { font-size: .82rem; }
	html body .ps-mbar svg { width: 18px; height: 18px; }
	html body .ps-mbar.is-hidden { transform: translateY(calc(100% + 16px)); opacity: 0; pointer-events: none; }
	html body .ps-mbar:focus-within { transform: none; opacity: 1; pointer-events: auto; }
	body.ps-tema { padding-bottom: 64px; }
	body.ps-tema .tuacte-cookie-banner { bottom: 70px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { html body .ps-mbar { transition: none; } }

/* Tableta: el botón del menú (☰) al extremo derecho de la cabecera, después de teléfono, WhatsApp y «Pide cita». */
@media (max-width: 1024px) {
	html body .elementor-location-header .e-con:has(> .ps-lang-w) > .elementor-widget-nav-menu { order: 10; }
}
/* Contacto en tableta: la quinta tarjeta (Horario) a todo el ancho, para que no quede sola a media fila. */
@media (min-width: 768px) and (max-width: 1024px) {
	.ps-cards-ib > :nth-child(5):last-child { grid-column: 1 / -1; }
}

/* Pie en móvil: el logo con ancho en % dentro de una columna flexible se salía de su caja y pisaba el texto
   (en móviles grandes o en horizontal). Ancho fijo razonable y columna sin envolver. */
@media (max-width: 767px) {
	html body .elementor-location-footer .elementor-element-1226623 img { width: 220px !important; max-width: 70%; height: auto; }
	html body .elementor-location-footer .e-con:has(> .elementor-element-1226623) { flex-wrap: nowrap !important; }
	html body .elementor-location-footer .e-con:has(> .elementor-element-1226623) > .elementor-element { flex-shrink: 0; }
}

/* Pie: cada servicio de la lista lleva su propio icono (los de las tarjetas) en lugar del pie repetido. ES · EN · VA. */
.elementor-location-footer .elementor-icon-list-item a[href*="/cirugia-ortopedica/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/orthopaedic-foot-surgery/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/cirurgia-ortopedica/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/cirugia-ortopedica.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/infiltraciones/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/injection-therapy/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/infiltracions/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/infiltraciones.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/pie-diabetico/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/diabetic-foot-care/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/peu-diabetic/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/pie-diabetico.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/radiologia/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/x-ray/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/radiologia-del-peu/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/radiologia.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/exploracion-biomecanica/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/biomechanical-assessment/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/exploracio-biomecanica/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/exploracion-biomecanica.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/ecografia-diagnostica/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/diagnostic-ultrasound/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/ecografia-del-peu/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/ecografia-diagnostica.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/podologia-pediatrica/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/childrens-podiatry/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/podologia-infantil/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/podologia-pediatrica.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/podologia-deportiva/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/sports-podiatry/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/podologia-esportiva/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/podologia-deportiva.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/ortopedia-del-pie/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/custom-orthotics/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/ortopedia-del-peu/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/ortopedia-del-pie.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/podologia-general/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/general-podiatry/"] i.mdi-foot-print::before,
.elementor-location-footer .elementor-icon-list-item a[href*="/quiropodia/"] i.mdi-foot-print::before { --ps-ico: url("/wp-content/plugins/podosalut-servicios/assets/iconos/podologia-general.svg"); }
.elementor-location-footer .elementor-icon-list-item a[href*="/servicios/"] i.mdi-foot-print::before { width: 1.15em; height: 1.15em; }

/* Icono de accesibilidad (tarjeta «Accesibilidad y pago» de Contacto). Clase propia: icons icon-ps-accesible. */
i.icon-ps-accesible::before {
	content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em;
	background-color: currentColor; -webkit-mask: var(--ps-ico) center / contain no-repeat; mask: var(--ps-ico) center / contain no-repeat;
	--ps-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='4' r='1'/%3E%3Cpath d='m18 19 1-7-6 1'/%3E%3Cpath d='m5 8 3-3 5.5 3-2.36 3.5'/%3E%3Cpath d='M4.24 14.5a5 5 0 0 0 6.88 6'/%3E%3Cpath d='M13.76 17.5a5 5 0 0 0-6.88-6'/%3E%3C/svg%3E");
}
/* Contacto en escritorio: seis tarjetas en dos filas de tres (antes cinco en una fila). */
@media (min-width: 1025px) {
	html body .ps-cards-ib:has(> :nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* Pie, columna «Información»: línea corta que separa los textos legales (desde «Aviso legal») de las páginas. */
html body .elementor-location-footer .elementor-icon-list-item:has(> a[href*="/aviso-legal/"]) { position: relative; margin-top: 10px; padding-top: 14px; }
html body .elementor-location-footer .elementor-icon-list-item:has(> a[href*="/aviso-legal/"])::before {
	content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 1px; background: currentColor; opacity: .3;
}

/* ---------- Color de acento: petróleo apagado (regla 60/30/10: marfil / gris / acento) ----------
   Solo en las palabras destacadas de los titulares y en las marcas de la lista de servicios.
   --ps-acc-ink (texto sobre marfil, contraste ≥ 4,5:1) · --ps-acc-light (texto sobre foto o fondo oscuro). */
:root { --ps-acc: #8FB1B1; --ps-acc-ink: #3F6E70; --ps-acc-light: #A9CDCD; }
html body .elementor-heading-title b, html body .elementor-heading-title strong { color: var(--ps-acc-ink); }
html body :is(.ps-portada, .ps-band, .ps-pagehero) .elementor-heading-title b,
html body :is(.ps-portada, .ps-band, .ps-pagehero) .elementor-heading-title strong { color: var(--ps-acc-light); }
html body .ps-chips a::before {
	background: var(--ps-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2343474A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* Acento en el resto de páginas (fichas, blog, artículos, página local, 404), con el mismo papel que en la portada. */
html body .ps-content ul li::before {
	background: var(--ps-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2343474A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
html body .elementor-widget-heading h6.elementor-heading-title, html body .ps-kicker, html body .ps-equipo__kicker { color: var(--ps-acc-ink) !important; }
html body .ps-content ol li::before, html body .ps-content summary::after { color: var(--ps-acc-ink); }
html body .ps-card__meta { color: var(--ps-acc-ink); }
html body .ps-404__num span { color: var(--ps-acc-ink); }

/* La clínica: collage en cuadrícula 2 × 2 (4 fotos cuadradas) con el círculo «20+» en el centro, en todos los tamaños. */
html body .elementor-element-4b562ef4 { position: relative; }
html body .elementor-element-605b9573 { width: 100% !important; --width: 100%; }
html body .elementor-element-605b9573 > .e-con-inner { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
html body .elementor-element-6dd594bf { display: contents !important; }
html body .elementor-element-605b9573 .elementor-widget-image { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
html body .elementor-element-605b9573 .elementor-widget-image img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px !important; display: block; }
html body .elementor-element-2102c9ed { top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translate(-50%, -50%); margin: 0 !important; }
@media (max-width: 767px) {
	html body .elementor-element-605b9573 > .e-con-inner { gap: 10px !important; }
	html body .elementor-element-605b9573 .elementor-widget-image img { border-radius: 18px !important; }
}

/* Encuadre de las fotos reales en la cabecera de las fichas (la cabecera es muy panorámica). */
html body .ps-hero__bg[src*="podologia-pediatrica-consulta"] { object-position: 50% 0%; }
@media (max-width: 767px) { html body .ps-hero__bg[src*="podologia-pediatrica-consulta"] { object-position: 22% 0%; } }

/* La clínica: la cabecera lleva la foto del interior con el cartel de servicios; oscurecido uniforme para que el texto se lea. */
html body .elementor-element-24b4db37::before { background: rgba(46, 49, 51, .68) !important; opacity: 1 !important; }

/* Contacto: cabecera con el cartel de la clínica (mismo oscurecido que La clínica) y foto de la fachada sobre el mapa. */
html body .elementor-element-75fa31::before { background: rgba(46, 49, 51, .68) !important; opacity: 1 !important; }
html body .elementor-element-75fa31 { background-position: 50% 10% !important; }
html body .ps-fachada { width: 100%; margin-bottom: 28px; }
html body .ps-fachada img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 45%; border-radius: 30px; box-shadow: 0 -3px 60px rgba(0, 0, 0, .1); }
@media (max-width: 767px) { html body .ps-fachada { margin-bottom: 18px; } html body .ps-fachada img { aspect-ratio: 4 / 3; border-radius: 18px; } }
