/* -----------------------------------------------------------------------
   iAmor — main stylesheet
   Colors/fonts come from CSS variables injected by the Customizer
   (see functions.php > iamor_customizer_css). Defaults mirror the iAmor
   brand palette so the theme looks finished before anyone touches settings.
----------------------------------------------------------------------- */

:root {
	/* Paleta del Manual de Marca iAmor v1.0 (alineada a iamor.app) */
	--iamor-primary: #0F766E;
	--iamor-primary-dark: #115E59;
	--iamor-secondary: #14B8A6;
	--iamor-accent: #FF6B7A;
	--iamor-background: #F8FAFC;
	--iamor-surface: #FFFFFF;
	--iamor-text: #0F172A;
	--iamor-text-muted: #475569;
	--iamor-border: #E2E8F0;
	--iamor-dark: #0F172A;
	--iamor-dark-2: #172A45;
	--iamor-teal: #2E6459;
	--iamor-soft: #E7F4F1;
	--iamor-font-heading: 'Poppins', sans-serif;
	--iamor-font-body: 'Inter', sans-serif;
	--iamor-radius: 20px;
	--iamor-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
	--iamor-shadow-md: 0 12px 32px rgba(46, 100, 89, 0.14);
	--iamor-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
}

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

/* overflow-x: clip (no "hidden"/"auto") a propósito: hidden/auto en un
   ancestro rompe position:sticky del header (fuerza al navegador a tratar
   ese ancestro como su propio contenedor de scroll); clip recorta el
   desbordamiento horizontal sin crear ese contenedor. */
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }

body {
	margin: 0;
	font-family: var(--iamor-font-body);
	color: var(--iamor-text);
	background: var(--iamor-background);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--iamor-font-heading);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 0.6em;
	color: var(--iamor-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
a { color: var(--iamor-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Rounded, slightly zooming media everywhere content images appear. */
.elementor-widget-image img,
.iamor-single__thumb img {
	border-radius: calc(var(--iamor-radius) - 4px);
	transition: transform 0.5s ease;
}
.elementor-widget-image:hover img { transform: scale(1.03); }
.elementor-widget-image { overflow: hidden; border-radius: calc(var(--iamor-radius) - 4px); }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.iamor-skip-link {
	position: absolute; top: -100px; left: 0;
	background: var(--iamor-primary); color: #fff;
	padding: 12px 20px; z-index: 10000;
}
.iamor-skip-link:focus { top: 0; }

.iamor-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.iamor-container--narrow { max-width: 800px; }

/* ------------------------------ Buttons ------------------------------ */
.iamor-btn,
.elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--iamor-font-heading) !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	padding: 14px 30px !important;
	border-radius: var(--iamor-radius) !important;
	background: var(--iamor-primary) !important;
	color: #fff !important;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-shadow: var(--iamor-shadow-md);
}
.iamor-btn:hover,
.elementor-button:hover {
	background: var(--iamor-primary-dark) !important;
	color: #fff !important;
	transform: translateY(-2px);
}
.iamor-btn:active,
.elementor-button:active { transform: scale(0.97); }
.iamor-btn--sm { padding: 10px 20px !important; font-size: 14px !important; }
.iamor-btn--block { width: 100%; }
.iamor-btn-hero.elementor-button,
.iamor-btn-hero { background: #FFFFFF !important; color: var(--iamor-primary-dark) !important; }
.iamor-btn-hero.elementor-button:hover,
.iamor-btn-hero:hover { background: var(--iamor-secondary) !important; color: #fff !important; }

/* ------------------------------ Ambient background blobs (all pages) --- */
.iamor-bg-blob {
	position: fixed;
	z-index: -1;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.22;
	pointer-events: none;
	animation: iamor-drift 20s ease-in-out infinite alternate;
}
.iamor-bg-blob--a {
	width: 420px; height: 420px;
	top: -120px; left: -140px;
	background: radial-gradient(circle, var(--iamor-primary), transparent 70%);
}
.iamor-bg-blob--b {
	width: 360px; height: 360px;
	bottom: -140px; right: -120px;
	background: radial-gradient(circle, var(--iamor-secondary), transparent 70%);
	animation-delay: -8s;
}
@keyframes iamor-drift {
	0%   { transform: translate(0, 0) scale(1); }
	100% { transform: translate(26px, 22px) scale(1.1); }
}

/* ------------------------------ Scroll-reveal --------------------------- */
.iamor-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.iamor-reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------ Rounded "floating" section blocks ------- */
.iamor-soft-block.elementor-section {
	width: min(1180px, calc(100% - 48px));
	margin: 48px auto;
	border-radius: 40px;
	overflow: hidden;
}

/* ------------------------------ Header -------------------------------- */
.iamor-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.iamor-header.is-scrolled {
	border-color: var(--iamor-border);
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}
.iamor-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 24px;
	transition: padding 0.3s ease;
}
.iamor-header.is-scrolled .iamor-header__inner { padding: 10px 24px; }
.iamor-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.iamor-brand__text {
	font-family: var(--iamor-font-heading);
	font-weight: 800;
	font-size: 22px;
	color: var(--iamor-primary) !important;
	white-space: nowrap;
}
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 40px; width: auto; }

.iamor-header__actions { display: flex; align-items: center; gap: 12px; }

.iamor-icon-btn {
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1px solid var(--iamor-border);
	background: var(--iamor-surface);
	font-size: 18px;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.iamor-icon-btn:hover { transform: translateY(-2px); box-shadow: var(--iamor-shadow-sm); border-color: var(--iamor-primary); }

.iamor-menu-trigger {
	display: flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px 4px;
}
.iamor-menu-trigger__label {
	font-family: var(--iamor-font-heading);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--iamor-text);
}
.iamor-menu-trigger__icon { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.iamor-menu-trigger__icon span { height: 2px; background: var(--iamor-text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease; }
.iamor-menu-trigger__icon span:last-child { width: 60%; align-self: flex-end; }
.iamor-menu-trigger:hover .iamor-menu-trigger__icon span { width: 100%; }

.iamor-menu-trigger[aria-expanded="true"] .iamor-menu-trigger__icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
.iamor-menu-trigger[aria-expanded="true"] .iamor-menu-trigger__icon span:last-child { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 420px) {
	.iamor-menu-trigger__label { display: none; }
	.iamor-header__actions { gap: 8px; }
	.iamor-brand__text { font-size: 18px; }
}

/* ------------------------------ Right-side menu drawer ------------------ */
.iamor-menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1150;
	background: rgba(20, 8, 6, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
.iamor-menu-backdrop.is-open { opacity: 1; visibility: visible; }
.iamor-menu-backdrop[hidden] { display: block; }

.iamor-menu-overlay {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: min(420px, 88vw);
	z-index: 1200;
	background:
		radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.22), transparent 55%),
		radial-gradient(circle at 0% 100%, rgba(255, 107, 122, 0.14), transparent 50%),
		var(--iamor-dark);
	transform: translateX(100%);
	transition: transform 0.35s ease;
	overflow-y: auto;
	box-shadow: -20px 0 60px rgba(0,0,0,0.25);
}
.iamor-menu-overlay.is-open { transform: translateX(0); }
.iamor-menu-overlay[hidden] { display: block; }

.iamor-menu-overlay__inner {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 90px 36px 40px;
	position: relative;
}
.iamor-menu-overlay__logo {
	height: 96px;
	width: auto;
	align-self: center;
	margin-bottom: 24px;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}
.iamor-menu-overlay__logo--white {
	/* Es un logotipo horizontal (isotipo + texto) — se dimensiona por ancho,
	   no por alto, para que ocupe una porción notoria del panel sin
	   depender de adivinar la proporción exacta del archivo. */
	height: auto;
	width: min(320px, 82%);
	filter: none;
	opacity: 1;
}
.iamor-menu-close {
	position: absolute;
	top: 24px; right: 24px;
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.25);
	background: transparent;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}
.iamor-menu-close:hover { transform: rotate(90deg); background: rgba(255,255,255,0.1); }

.iamor-menu-overlay__list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex; flex-direction: column;
}
.iamor-menu-overlay__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	font-family: var(--iamor-font-body);
	font-weight: 600;
	font-size: 1.4rem;
	letter-spacing: 0;
	color: rgba(255,255,255,0.65);
	transition: color 0.25s ease, padding-left 0.25s ease, gap 0.25s ease;
}
.iamor-menu-overlay__list a::after {
	content: '→';
	font-size: 1.1rem;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.iamor-menu-overlay__list a:hover {
	color: #fff;
	padding-left: 6px;
}
.iamor-menu-overlay__list a:hover::after {
	opacity: 1;
	transform: translateX(0);
}

.iamor-menu-overlay__meta {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,0.12);
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 14px;
}
.iamor-menu-overlay__email { color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.iamor-menu-overlay__email:hover { color: #fff; }

.iamor-menu-overlay__meta .iamor-social {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 0;
}
.iamor-menu-overlay__meta .iamor-social a {
	width: 36px; height: 36px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.14);
	color: rgba(255,255,255,0.85);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.iamor-menu-overlay__meta .iamor-social a:hover {
	background: var(--iamor-secondary);
	border-color: var(--iamor-secondary);
	color: #fff;
	transform: translateY(-2px);
}

body.iamor-menu-is-open { overflow: hidden; }

/* ------------------------------ Split-screen hero (Elementor, Inicio) --- */
/* Built with Elementor's own section/column/widgets (see inc/demo-content.php
   iamor_demo_page_inicio) so it stays fully editable; these rules just paint
   the "split screen" look on top of Elementor's normal markup. */
.iamor-split-hero.elementor-section {
	min-height: 100vh;
	max-height: 100vh;
	padding: 0 !important;
}
/* vh units (not %) all the way down: percentage heights need a "definite"
   ancestor height, which min/max-height alone doesn't reliably give in
   every Elementor version — vh sidesteps that entirely. */
.iamor-split-hero.elementor-section > .elementor-container {
	display: flex;
	align-items: stretch;
	height: 100vh;
	max-height: 100vh;
}
.iamor-split-hero__text-col.elementor-column,
.iamor-split-hero__image-col.elementor-column {
	height: 100vh;
	max-height: 100vh;
}
/* Elementor's default stylesheet only ships width classes for "round"
   percentages (25/33/50/66/75...); 44/56 has no built-in rule, so the
   columns silently fall back to content-based flex sizing. Force it. */
.iamor-split-hero__text-col.elementor-column {
	flex: 0 0 44% !important;
	width: 44% !important;
	max-width: 44% !important;
}
.iamor-split-hero__image-col.elementor-column {
	flex: 0 0 56% !important;
	width: 56% !important;
	max-width: 56% !important;
}

.iamor-split-hero__text-col.elementor-column {
	background: linear-gradient(165deg, var(--iamor-dark), var(--iamor-dark-2));
	display: flex;
	align-items: center;
	overflow-y: auto;
}
.iamor-split-hero__text-col .elementor-widget-wrap {
	padding: 60px;
	max-width: 560px;
}
.iamor-split-hero h6.elementor-heading-title { margin-bottom: 20px !important; }
.iamor-split-hero h2.elementor-heading-title {
	font-size: clamp(2.4rem, 5.5vw, 4.2rem) !important;
	font-weight: 800 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	margin-bottom: 22px !important;
}
.iamor-split-hero .elementor-widget-text-editor { font-size: 17px; line-height: 1.6; max-width: 440px; margin-bottom: 10px; }

.iamor-split-hero__image-col.elementor-column {
	position: relative;
	overflow: hidden;
	padding: 0 !important;
}
.iamor-split-hero__image-col .elementor-widget-wrap,
.iamor-split-hero__image-col .elementor-widget-image,
.iamor-split-hero__image-col .elementor-widget-container,
.iamor-split-hero__image-col .elementor-image {
	height: 100% !important;
}
.iamor-split-hero__image-col img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	border-radius: 0;
}

@media (max-width: 900px) {
	.iamor-split-hero.elementor-section,
	.iamor-split-hero.elementor-section > .elementor-container { min-height: auto; height: auto; max-height: none; flex-direction: column; }
	.iamor-split-hero__text-col.elementor-column,
	.iamor-split-hero__image-col.elementor-column {
		height: auto; max-height: none;
		flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important;
	}
	.iamor-split-hero__text-col .elementor-widget-wrap { padding: 70px 24px 40px; max-width: none; }
	.iamor-split-hero__image-col.elementor-column { min-height: 46vh; }
}

/* ------------------------------ Home: un solo flujo, sin secciones ------- */
/* Antes cada bloque tenía su propio padding grande arriba/abajo (88px), lo
   que seguía leyéndose como "pantallas" apiladas aunque ya no hubiera rail
   ni 100vh. Bajó a un espaciado moderado — ni tan junto que se sienta
   apretado, ni tan grande que vuelva a leerse como secciones separadas. */
.iamor-screen { padding: 56px 0; position: relative; }
/* Contraste sutil de fondo — alterna con el fondo normal de la página para
   que se note que es "otra sección" sin volver a separarlas con aire o
   bordes duros. Solo en los bloques que no tienen ya su propio fondo
   (hero/cierre siguen con el suyo). */
#tips, #testimonios { background: var(--iamor-soft); }
/* z-index:1 explícito — el contenido de CUALQUIER sección debe quedar
   siempre encima de los blobs decorativos (z-index:0) que ahora pueden
   sangrar de una sección a la siguiente (ver "Blobs que entrelazan..."
   más abajo), sin tener que repetir esto sección por sección. */
.iamor-screen__inner { width: 100%; position: relative; z-index: 1; }

/* ------------------------------ Chat hero (Home) ------------------------ */
/* El chat interactivo en sí viene del shortcode [vargo_agent_chat] del
   plugin "Vargo Agent"; esto solo pinta el fondo decorativo detrás. Sin
   overflow:hidden a propósito — así el blob de abajo (::after) sangra hacia
   la sección siguiente en vez de quedar encerrado en esta, para que el
   scroll no se sienta como pantallas apiladas sino como un solo lienzo. */
/* Único bloque que sigue siendo "hero" de verdad — centrado vertical dentro
   de casi toda la altura de la ventana, a propósito distinto del resto del
   home (que ya no fuerza altura ni centrado, ver .iamor-screen más arriba). */
.iamor-home-hero {
	position: relative;
	min-height: 82vh;
	display: flex;
	align-items: center;
	padding: 44px 24px 20px !important;
}
.iamor-home-hero::before,
.iamor-home-hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.55;
	z-index: 0;
	pointer-events: none;
	animation: iamor-drift 16s ease-in-out infinite alternate;
}
.iamor-home-hero::before {
	width: 460px; height: 460px;
	top: -160px; left: -120px;
	background: radial-gradient(circle at 30% 30%, var(--iamor-secondary), var(--iamor-primary));
}
.iamor-home-hero::after {
	width: 380px; height: 380px;
	bottom: -140px; right: -100px;
	background: radial-gradient(circle at 60% 40%, var(--iamor-accent), var(--iamor-primary-dark));
	animation-delay: -6s;
}
.iamor-home-hero > * { position: relative; z-index: 1; }
@keyframes iamor-drift {
	0%   { transform: translate(0, 0) scale(1); }
	100% { transform: translate(30px, 25px) scale(1.08); }
}
@media (max-width: 600px) {
	.iamor-home-hero { padding: 32px 16px 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.iamor-home-hero::before,
	.iamor-home-hero::after { animation: none; }
}

/* ------------------------------ Blobs que entrelazan secciones ----------- */
/* Sin la barra numerada de antes, el scroll ya no es "una pantalla, luego
   otra" — estos blobs decorativos sangran del final de una sección hacia el
   inicio de la siguiente (bottom negativo, sin overflow:hidden en la
   sección) para que el límite entre ambas se sienta continuo, no cortado. */
#iamor-split-hero,
#tips,
#testimonios { position: relative; }
#iamor-split-hero::after,
#tips::after,
#testimonios::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -110px;
	width: 320px; height: 320px;
	transform: translateX(-50%);
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.2;
	z-index: 0;
	pointer-events: none;
}
#iamor-split-hero::after { background: radial-gradient(circle, var(--iamor-secondary), var(--iamor-primary)); }
#tips::after { background: radial-gradient(circle, var(--iamor-accent), var(--iamor-secondary)); }
#testimonios::after { background: radial-gradient(circle, var(--iamor-primary), var(--iamor-primary-dark)); opacity: 0.26; }
@media (max-width: 700px) {
	#iamor-split-hero::after, #tips::after, #testimonios::after { width: 220px; height: 220px; bottom: -70px; }
}

/* #empezar ya tiene su propio fondo sólido (degradado, ver front-page.php)
   — un blob QUE SANGRE HACIA DENTRO desde la sección anterior quedaría
   tapado por ese fondo. En vez de eso, este blob nace en #empezar pero
   apunta hacia ARRIBA (top negativo), asomándose en el remate de
   #planes-cta — la sección anterior sigue pintando su propio contenido
   encima (z-index:1 en .iamor-screen__inner) porque ninguna de las dos
   secciones crea un contexto de apilamiento propio (position:relative sin
   z-index), así que compiten en el mismo nivel y gana el z-index más alto. */
#empezar { position: relative; overflow: visible; }
#empezar::before {
	content: '';
	position: absolute;
	left: 50%;
	top: -110px;
	width: 320px; height: 320px;
	transform: translateX(-50%);
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.24;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(circle, var(--iamor-primary), var(--iamor-dark-2));
}
@media (max-width: 700px) {
	#empezar::before { width: 220px; height: 220px; top: -70px; }
}

/* ------------------------------ Tips rápidos (Home) ---------------------- */
/* Fila horizontal con scroll-snap — se siente más viva que una grilla
   estática, y cabe más contenido corto sin pesar la página con imágenes. */
.iamor-tips {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	/* Sin esto, la regla CSS de overflow acopla los dos ejes: al dejar
	   overflow-y en su valor inicial ("visible") mientras overflow-x es
	   "auto", el navegador fuerza igual el eje Y a "auto" — aparecía un
	   scrollbar vertical fantasma cada vez que el hover (translateY) o la
	   sombra de una tarjeta necesitaban un pixel extra de espacio. */
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	padding: 12px 4px 20px;
	margin: 0 -4px;
	-webkit-overflow-scrolling: touch;
}
.iamor-tips::-webkit-scrollbar { height: 6px; }
.iamor-tips::-webkit-scrollbar-thumb { background: var(--iamor-border); border-radius: 999px; }
.iamor-tip-card {
	scroll-snap-align: start;
	flex: 0 0 260px;
	background: var(--iamor-surface);
	border-radius: calc(var(--iamor-radius) + 4px);
	padding: 24px 22px;
	box-shadow: var(--iamor-shadow-sm);
	border-top: 3px solid var(--iamor-primary);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.iamor-tip-card:hover { transform: translateY(-6px); box-shadow: var(--iamor-shadow-md); }
.iamor-tip-card:nth-child(2) { border-top-color: var(--iamor-secondary); }
.iamor-tip-card:nth-child(3) { border-top-color: var(--iamor-accent); }
.iamor-tip-card:nth-child(4) { border-top-color: var(--iamor-primary-dark); }
.iamor-tip-card:nth-child(5) { border-top-color: var(--iamor-secondary); }
.iamor-tip-card:nth-child(6) { border-top-color: var(--iamor-accent); }
.iamor-tip-card__num {
	font-family: var(--iamor-font-heading); font-weight: 800; font-size: 12px;
	letter-spacing: 0.06em; color: var(--iamor-text-muted); margin: 0 0 10px;
}
.iamor-tip-card h3 { font-family: var(--iamor-font-heading); font-weight: 700; font-size: 16px; margin: 0 0 8px; line-height: 1.35; }
.iamor-tip-card p { color: var(--iamor-text-muted); font-size: 14px; margin: 0; line-height: 1.5; }
@media (max-width: 600px) { .iamor-tip-card { flex: 0 0 240px; } }

/* ------------------------------ Hero (Elementor section) -------------- */
.iamor-hero .elementor-heading-title { color: #fff; }
.iamor-hero .elementor-widget-text-editor { color: rgba(255,255,255,0.92); font-size: 18px; }

/* ------------------------------ Cards / icon-box ----------------------- */
.elementor-widget-icon-box {
	background: var(--iamor-surface);
	border-radius: calc(var(--iamor-radius) + 6px);
	padding: 36px 26px;
	box-shadow: var(--iamor-shadow-sm);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
}
.elementor-widget-icon-box:hover {
	transform: translateY(-8px) rotate(-1deg);
	box-shadow: var(--iamor-shadow-md);
	border-radius: calc(var(--iamor-radius) + 18px) calc(var(--iamor-radius) + 6px);
}
.elementor-col-25:nth-child(even) .elementor-widget-icon-box:hover,
.elementor-col-33:nth-child(even) .elementor-widget-icon-box:hover { transform: translateY(-8px) rotate(1deg); }
.elementor-icon-box-icon .elementor-icon {
	background: linear-gradient(135deg, var(--iamor-primary), var(--iamor-secondary));
	color: #fff !important;
	width: 60px; height: 60px;
	border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px;
	margin-bottom: 6px;
	transition: border-radius 0.4s ease, transform 0.4s ease;
}
.elementor-widget-icon-box:hover .elementor-icon-box-icon .elementor-icon {
	border-radius: 50%;
	transform: rotate(8deg);
}
.elementor-icon-box-title,
.elementor-icon-box-title a { font-family: var(--iamor-font-heading); font-weight: 700 !important; color: var(--iamor-text) !important; }
.elementor-icon-box-description { color: var(--iamor-text-muted) !important; }

/* ------------------------------ Testimonials --------------------------- */
.elementor-widget-testimonial .elementor-testimonial-wrapper {
	background: var(--iamor-surface);
	border-radius: calc(var(--iamor-radius) + 6px);
	padding: 32px;
	box-shadow: var(--iamor-shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.elementor-widget-testimonial .elementor-testimonial-wrapper:hover { transform: translateY(-6px); box-shadow: var(--iamor-shadow-md); }
.elementor-testimonial-content { font-size: 18px !important; font-style: italic; color: var(--iamor-text) !important; }
.elementor-testimonial-name { font-family: var(--iamor-font-heading); font-weight: 700 !important; color: var(--iamor-text) !important; }
.elementor-testimonial-job { color: var(--iamor-text-muted) !important; }
.elementor-testimonial-image img { border-radius: 50%; }

/* ------------------------------ Accordion (FAQ) ------------------------ */
.elementor-accordion-item {
	border: 1px solid var(--iamor-border) !important;
	border-radius: 16px !important;
	margin-bottom: 12px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.elementor-accordion-item:hover { box-shadow: var(--iamor-shadow-sm); border-color: var(--iamor-secondary) !important; }
.elementor-tab-title,
.elementor-tab-title a {
	font-family: var(--iamor-font-heading);
	font-weight: 600 !important;
	color: var(--iamor-text) !important;
	padding: 18px 22px !important;
}
.elementor-tab-content { color: var(--iamor-text-muted) !important; padding: 0 22px 20px !important; }
.elementor-accordion-icon,
.elementor-accordion-icon i,
.elementor-accordion-icon svg { color: var(--iamor-primary) !important; fill: var(--iamor-primary) !important; }

/* ------------------------------ Icon list ------------------------------ */
.elementor-icon-list-item .elementor-icon-list-icon,
.elementor-icon-list-item .elementor-icon-list-icon i,
.elementor-icon-list-item .elementor-icon-list-icon svg {
	color: var(--iamor-primary) !important;
	fill: var(--iamor-primary) !important;
	margin-right: 10px;
}
.elementor-icon-list-text { color: var(--iamor-text) !important; }

/* ------------------------------ Eyebrow label --------------------------- */
.iamor-eyebrow, h6.elementor-heading-title {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--iamor-primary);
}
.iamor-hero h6.elementor-heading-title { color: rgba(255,255,255,0.85) !important; }

/* ------------------------------ Blog ----------------------------------- */
.iamor-blog__header { text-align: center; max-width: 700px; margin: 60px auto 20px; }
.iamor-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 40px 0 60px;
}
@media (max-width: 900px) { .iamor-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .iamor-blog__grid { grid-template-columns: 1fr; } }

.iamor-post-card {
	background: var(--iamor-surface);
	border-radius: var(--iamor-radius);
	overflow: hidden;
	box-shadow: var(--iamor-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}
.iamor-post-card:hover { transform: translateY(-6px); box-shadow: var(--iamor-shadow-md); }
.iamor-post-card__thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.iamor-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.iamor-post-card__badge {
	position: absolute; top: 14px; left: 14px;
	background: var(--iamor-primary); color: #fff;
	font-size: 12px; font-weight: 600;
	padding: 5px 12px; border-radius: 100px;
}
.iamor-post-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.iamor-post-card__meta { font-size: 13px; color: var(--iamor-text-muted); display: flex; gap: 8px; margin-bottom: 10px; }
.iamor-post-card__title { font-size: 19px; margin-bottom: 10px; }
.iamor-post-card__title a { color: var(--iamor-text); }
.iamor-post-card__excerpt { color: var(--iamor-text-muted); flex: 1; }
.iamor-post-card__link { font-weight: 600; margin-top: auto; }

.iamor-single__header { text-align: center; padding: 70px 0 20px; }
.iamor-single__meta { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; text-align: left; }
.iamor-single__meta img { border-radius: 50%; }
.iamor-single__thumb { margin: 30px auto; border-radius: var(--iamor-radius); overflow: hidden; }
.iamor-single__content { font-size: 17px; padding-bottom: 40px; }
.iamor-single__content p { margin-bottom: 1.3em; }
.iamor-tags a { display: inline-block; background: var(--iamor-background); border: 1px solid var(--iamor-border); padding: 5px 14px; border-radius: 100px; font-size: 13px; margin: 4px 6px 4px 0; }

.iamor-comments { max-width: 800px; margin: 0 auto; padding-bottom: 60px; }
.iamor-comment-list { list-style: none; padding: 0; }

/* ------------------------------ Generic page --------------------------- */
.iamor-page__header { padding: 70px 0 10px; text-align: center; }
.iamor-page__content { padding-bottom: 40px; }

.iamor-404__inner { text-align: center; padding: 120px 0; }
.iamor-404 .iamor-eyebrow { display: block; font-size: 60px !important; }

/* ------------------------------ Contact form ---------------------------- */
.iamor-contact-form-wrap { background: var(--iamor-surface); border-radius: var(--iamor-radius); padding: 32px; box-shadow: var(--iamor-shadow-sm); }
.iamor-form-row { margin-bottom: 18px; }
.iamor-form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.iamor-form-row input,
.iamor-form-row textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--iamor-border);
	border-radius: 12px;
	font-family: var(--iamor-font-body);
	font-size: 15px;
	background: var(--iamor-background);
}
.iamor-form-row input:focus,
.iamor-form-row textarea:focus {
	outline: none;
	border-color: var(--iamor-primary);
}
.iamor-form-honeypot { position: absolute; left: -9999px; }
.iamor-form-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.iamor-form-notice--success { background: #ECFDF5; color: #065F46; }
.iamor-form-notice--error { background: #FFF1F2; color: #9F1239; }

/* ------------------------------ Footer ---------------------------------- */
.iamor-footer { background: var(--iamor-dark); color: rgba(255,255,255,0.85); margin-top: 60px; }
.iamor-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 60px 24px 40px;
}
@media (max-width: 780px) { .iamor-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .iamor-footer__grid { grid-template-columns: 1fr; } }
.iamor-footer h4, .iamor-widget-title { color: #fff; font-size: 16px; margin-bottom: 16px; }
.iamor-footer a { color: rgba(255,255,255,0.75); }
.iamor-footer a:hover { color: #fff; }
.iamor-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.iamor-footer__contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.iamor-social { display: flex; gap: 10px; margin-top: 18px; }
.iamor-social a {
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.14);
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.85);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.iamor-social a:hover {
	background: var(--iamor-secondary);
	border-color: var(--iamor-secondary);
	color: #fff;
	transform: translateY(-2px);
}
.iamor-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; font-size: 13px; }
.iamor-footer__bottom p { margin: 0; }

/* ------------------------------ Shared typing indicator ----------------- */
.iamor-chat-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.iamor-chat-typing span {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--iamor-text-muted);
	animation: iamor-typing 1s infinite ease-in-out;
}
.iamor-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.iamor-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

/* ------------------------------------------------------------------------
   Home / Nosotros / Bases / Planes — plantillas de código (ya no Elementor)
   Reutiliza a propósito las clases "leaf" ya afinadas de las secciones viejas
   (.elementor-widget-icon-box, .elementor-widget-testimonial,
   .elementor-accordion-item, .iamor-eyebrow, .iamor-btn) para no duplicar esa
   parte del look&feel — el andamiaje de layout (grids, splits, franjas) sí es
   nuevo porque ya no se puede depender del CSS base de Elementor
   (elementor-container/-column) en páginas que no cargan ese plugin.
------------------------------------------------------------------------- */


/* Sección normal (Nosotros/Bases/Planes) — sin snap de viewport, solo ritmo vertical */
.iamor-page-section { padding: 88px 0; }
.iamor-page-section--tight { padding: 56px 0; }
.iamor-page-section--soft { background: var(--iamor-soft); border-radius: 40px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Hero de página interna (Nosotros/Bases/Planes) */
.iamor-page-hero { padding: 130px 0 60px; text-align: center; }
.iamor-page-hero h1 {
	font-family: var(--iamor-font-heading);
	font-size: clamp(2.1rem, 4.2vw, 3.2rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 14px 0 18px;
}
.iamor-page-hero p { font-size: 18px; color: var(--iamor-text-muted); max-width: 640px; margin: 0 auto; }

/* Grids responsivas para filas de cards (icon-box, testimonios, planes) */
.iamor-grid-2, .iamor-grid-3, .iamor-grid-4 { display: grid; gap: 26px; }
.iamor-grid-2 { grid-template-columns: repeat(2, 1fr); }
.iamor-grid-3 { grid-template-columns: repeat(3, 1fr); }
.iamor-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .iamor-grid-3, .iamor-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .iamor-grid-2, .iamor-grid-3, .iamor-grid-4 { grid-template-columns: 1fr; } }

/* Layout partido en 2 (texto + imagen, o texto + texto) — hero split, misión/visión, etc. */
.iamor-split { display: flex; align-items: center; gap: 56px; }
.iamor-split--reverse { flex-direction: row-reverse; }
.iamor-split__col { flex: 1 1 0; min-width: 0; }
.iamor-split__col img { width: 100%; border-radius: calc(var(--iamor-radius) + 10px); box-shadow: var(--iamor-shadow-md); }
@media (max-width: 860px) { .iamor-split { flex-direction: column; gap: 32px; } }

/* Franja oscura de portada (hero, home) */
.iamor-dark-band {
	background: linear-gradient(165deg, var(--iamor-dark), var(--iamor-dark-2));
	color: #fff;
	border-radius: calc(var(--iamor-radius) + 10px);
	padding: 56px;
}
.iamor-dark-band .iamor-eyebrow { color: rgba(255,255,255,0.85); }
.iamor-dark-band h1, .iamor-dark-band h2 { color: #fff; }
.iamor-dark-band p { color: rgba(255,255,255,0.85); }
@media (max-width: 620px) { .iamor-dark-band { padding: 36px 24px; } }

/* Franja final de CTA con degradado de marca (cierre de sección/página) */
.iamor-cta-band {
	background: linear-gradient(135deg, var(--iamor-primary-dark), var(--iamor-primary));
	color: #fff;
	border-radius: calc(var(--iamor-radius) + 10px);
	padding: 64px 40px;
	text-align: center;
}
.iamor-cta-band h2 { color: #fff; margin: 0 0 14px; font-family: var(--iamor-font-heading); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.iamor-cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 26px; font-size: 17px; }
.iamor-cta-band .iamor-btn { background: #fff !important; color: var(--iamor-primary-dark) !important; }
.iamor-cta-band .iamor-btn:hover { background: var(--iamor-background) !important; }
.iamor-cta-band .iamor-btn--ghost {
	background: transparent !important;
	border: 1px solid rgba(255,255,255,0.5);
	color: #fff !important;
	box-shadow: none;
}
.iamor-cta-band .iamor-btn--ghost:hover { background: rgba(255,255,255,0.12) !important; }

/* Variante "fantasma" del botón — para usar directo sobre cualquier fondo
   oscuro/degradado sin depender de .iamor-cta-band (ej. el cierre del home). */
.iamor-btn--ghost {
	background: transparent !important;
	border: 1px solid rgba(255,255,255,0.5);
	color: #fff !important;
	box-shadow: none !important;
}
.iamor-btn--ghost:hover { background: rgba(255,255,255,0.12) !important; color: #fff !important; transform: translateY(-2px); }

/* Pilar numerado (Bases) — mismo estilo de card que icon-box, con número en vez de ícono */
.iamor-pillar-number {
	width: 52px; height: 52px;
	border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
	background: linear-gradient(135deg, var(--iamor-primary), var(--iamor-secondary));
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--iamor-font-heading);
	font-weight: 800;
	font-size: 17px;
	margin-bottom: 14px;
}

/* Espacio real entre value-cards en Elementor: en la columna EXTERIOR
   (padding, nunca margin — con margin, 3 columnas al 33% se desbordarían),
   el card con fondo vive en una inner-section anidada dentro. */
.iamor-value-card-gap { padding: 0 10px; }
@media (max-width: 980px) { .iamor-value-card-gap { padding: 0 10px 24px; } }

/* Card simple para valores/beneficios (sin depender de widgets de Elementor) */
.iamor-value-card {
	background: var(--iamor-surface);
	border-radius: calc(var(--iamor-radius) + 6px);
	padding: 36px 26px;
	box-shadow: var(--iamor-shadow-sm);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.iamor-value-card:hover { transform: translateY(-8px); box-shadow: var(--iamor-shadow-md); }
.iamor-value-card h3, .iamor-value-card h4 { font-family: var(--iamor-font-heading); font-weight: 700; margin: 0 0 8px; }
.iamor-value-card p { color: var(--iamor-text-muted); margin: 0; }

/* Testimonio simple (mismo tratamiento visual que .elementor-widget-testimonial) */
.iamor-testimonial {
	background: var(--iamor-surface);
	border-radius: calc(var(--iamor-radius) + 6px);
	padding: 32px;
	box-shadow: var(--iamor-shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.iamor-testimonial:hover { transform: translateY(-6px); box-shadow: var(--iamor-shadow-md); }
.iamor-testimonial p.iamor-testimonial__quote { font-size: 18px; font-style: italic; color: var(--iamor-text); margin: 0 0 16px; }
.iamor-testimonial__name { font-family: var(--iamor-font-heading); font-weight: 700; color: var(--iamor-text); }
.iamor-testimonial__role { color: var(--iamor-text-muted); font-size: 14px; }

/* Acordeón simple (FAQ) — mismo tratamiento visual que .elementor-accordion-item, sin JS de Elementor */
.iamor-accordion-item {
	border: 1px solid var(--iamor-border);
	border-radius: 16px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.iamor-accordion-item:hover { box-shadow: var(--iamor-shadow-sm); border-color: var(--iamor-secondary); }
.iamor-accordion-item__q {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	width: 100%; text-align: left; background: none; border: none; cursor: pointer;
	font-family: var(--iamor-font-heading); font-weight: 600; color: var(--iamor-text);
	padding: 18px 22px; font-size: 15.5px;
}
.iamor-accordion-item__q::after { content: '+'; font-size: 20px; color: var(--iamor-primary); transition: transform 0.25s ease; flex-shrink: 0; }
.iamor-accordion-item.is-open .iamor-accordion-item__q::after { transform: rotate(45deg); }
.iamor-accordion-item__a {
	color: var(--iamor-text-muted);
	padding: 0 22px 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}
.iamor-accordion-item.is-open .iamor-accordion-item__a { padding: 0 22px 20px; max-height: 400px; }

@keyframes iamor-typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
