/* =========================================================================
   Siente Natura · Estilo — aspecto global basado en el nuevo pie de página
   Solo cambia colores, tipografías, bordes y sombras. No cambia textos
   (ni mayúsculas/minúsculas) ni fotos.
   ========================================================================= */

body.sn-estilo {
	/* Paleta del pie */
	--sn-verde: #1D3A2C;
	--sn-verde-osc: #16301F;
	--sn-verde-med: #33533F;
	--sn-hoja: #6FAE7C;
	--sn-salvia: #A9BBA9;
	--sn-crema: #E9EFE6;
	--sn-fondo: #F6F7F2;
	--sn-amarillo: #F2C94C;
	--sn-texto: #2E3B32;
	--sn-texto-suave: #5B665D;
	--sn-linea: #D9DED3;
	--sn-blanco: #FFFFFF;
	--sn-titulos: "Fraunces", Georgia, "Times New Roman", serif;
	--sn-cuerpo: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--sn-radio: 18px;
	--sn-sombra: 0 1px 2px rgba(29, 58, 44, .06), 0 8px 24px rgba(29, 58, 44, .08);

	/* Colores y tipografías globales de Elementor (Kit) */
	--e-global-color-primary: #1D3A2C !important;
	--e-global-color-secondary: #A9BBA9 !important;
	--e-global-color-text: #2E3B32 !important;
	--e-global-color-accent: #E9EFE6 !important;
	--e-global-color-70f50ef: #E9EFE6 !important;
	--e-global-typography-primary-font-family: "Fraunces" !important;
	--e-global-typography-secondary-font-family: "Fraunces" !important;
	--e-global-typography-text-font-family: "Nunito Sans" !important;
	--e-global-typography-accent-font-family: "Nunito Sans" !important;

	background-color: var(--sn-fondo) !important;
	color: var(--sn-texto);
	font-family: var(--sn-cuerpo) !important;
	-webkit-font-smoothing: antialiased;
}

body.sn-estilo ::selection { background: var(--sn-amarillo); color: var(--sn-verde); }

/* ---------- Tipografía ---------- */

body.sn-estilo h1, body.sn-estilo h2, body.sn-estilo h3,
body.sn-estilo h4, body.sn-estilo h5, body.sn-estilo h6,
body.sn-estilo .elementor-heading-title,
body.sn-estilo .e-heading-base,
body.sn-estilo .elementor-image-box-title,
body.sn-estilo .elementor-cta__title,
body.sn-estilo .elementor-icon-box-title {
	font-family: var(--sn-titulos) !important;
	font-weight: 600 !important;
	letter-spacing: .005em !important;
	line-height: 1.15 !important;
	text-wrap: balance;
}

body.sn-estilo h1, body.sn-estilo h2, body.sn-estilo h3,
body.sn-estilo h4, body.sn-estilo h5, body.sn-estilo h6,
body.sn-estilo .e-heading-base,
body.sn-estilo .elementor-heading-title {
	color: var(--sn-verde) !important;
}

body.sn-estilo p,
body.sn-estilo li,
body.sn-estilo blockquote,
body.sn-estilo .elementor-widget-text-editor,
body.sn-estilo .e-paragraph-base,
body.sn-estilo .elementor-image-box-description,
body.sn-estilo .elementor-cta__description,
body.sn-estilo .elementor-icon-box-description,
body.sn-estilo input, body.sn-estilo textarea, body.sn-estilo select, body.sn-estilo label {
	font-family: var(--sn-cuerpo) !important;
}

body.sn-estilo .elementor-widget-text-editor,
body.sn-estilo .e-paragraph-base {
	color: var(--sn-texto) !important;
	font-size: 17px;
	line-height: 1.65 !important;
}
body.sn-estilo .elementor-widget-text-editor strong,
body.sn-estilo .elementor-widget-text-editor b { color: var(--sn-verde); font-weight: 700; }

/* Enlaces dentro de los textos */
body.sn-estilo .elementor-widget-text-editor a,
body.sn-estilo .e-paragraph-base a {
	color: var(--sn-verde) !important;
	text-decoration: underline;
	text-decoration-color: var(--sn-amarillo);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
body.sn-estilo .elementor-widget-text-editor a:hover,
body.sn-estilo .e-paragraph-base a:hover { text-decoration-color: var(--sn-verde); }

/* Foco visible y accesible en toda la web */
body.sn-estilo a:focus-visible,
body.sn-estilo button:focus-visible,
body.sn-estilo .elementor-button:focus-visible,
body.sn-estilo input:focus-visible,
body.sn-estilo textarea:focus-visible {
	outline: 3px solid var(--sn-amarillo) !important;
	outline-offset: 2px;
}

/* Cita */
body.sn-estilo .elementor-blockquote,
body.sn-estilo blockquote {
	border-left: 4px solid var(--sn-amarillo) !important;
	background: var(--sn-crema);
	border-radius: 0 var(--sn-radio) var(--sn-radio) 0;
	padding: 22px 26px !important;
}
body.sn-estilo .elementor-blockquote__content,
body.sn-estilo blockquote p {
	font-family: var(--sn-titulos) !important;
	font-style: italic;
	color: var(--sn-verde) !important;
	line-height: 1.45 !important;
}
body.sn-estilo .elementor-blockquote__author { color: var(--sn-texto-suave) !important; font-family: var(--sn-cuerpo) !important; }

/* ---------- Botones (forma de píldora, como el del pie) ---------- */

body.sn-estilo .elementor-button,
body.sn-estilo .e-button-base,
body.sn-estilo .elementor-cta__button,
body.sn-estilo button[type="submit"],
body.sn-estilo input[type="submit"] {
	background-color: var(--sn-verde) !important;
	color: var(--sn-blanco) !important;
	fill: var(--sn-blanco) !important;
	border: 2px solid var(--sn-verde) !important;
	border-radius: 999px !important;
	font-family: var(--sn-cuerpo) !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	padding: 12px 24px !important;
	box-shadow: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
body.sn-estilo .elementor-button:hover,
body.sn-estilo .e-button-base:hover,
body.sn-estilo .elementor-cta__button:hover,
body.sn-estilo button[type="submit"]:hover,
body.sn-estilo input[type="submit"]:hover {
	background-color: var(--sn-amarillo) !important;
	border-color: var(--sn-amarillo) !important;
	color: var(--sn-verde) !important;
	fill: var(--sn-verde) !important;
	transform: translateY(-1px);
}
body.sn-estilo .elementor-button .elementor-button-text { color: inherit !important; }

/* ---------- Fotos ---------- */

body.sn-estilo .elementor-widget-image img,
body.sn-estilo img.e-image-base,
body.sn-estilo .e-image-base img {
	border-radius: var(--sn-radio) !important;
}

/* ---------- Tarjetas: cajas de imagen con foto ---------- */

body.sn-estilo .elementor-widget-image-box:has(.elementor-image-box-img) > .elementor-widget-container,
body.sn-estilo .elementor-widget-image-box:has(.elementor-image-box-img):not(:has(> .elementor-widget-container)) .elementor-image-box-wrapper {
	background: var(--sn-blanco) !important;
	border: 1px solid var(--sn-linea) !important;
	border-radius: var(--sn-radio) !important;
	box-shadow: var(--sn-sombra);
	padding: 16px 16px 22px !important;
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
}
body.sn-estilo .elementor-widget-image-box:has(.elementor-image-box-img):hover > .elementor-widget-container {
	transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(29, 58, 44, .08), 0 14px 32px rgba(29, 58, 44, .12);
}
body.sn-estilo .elementor-image-box-img img {
	border-radius: calc(var(--sn-radio) - 6px) !important;
}
body.sn-estilo .elementor-image-box-title,
body.sn-estilo .elementor-image-box-title a {
	color: var(--sn-verde) !important;
}
body.sn-estilo .elementor-image-box-description {
	color: var(--sn-texto) !important;
	line-height: 1.6 !important;
}

/* ---------- Tarjetas «Llamada a la acción» (Quiénes somos) ---------- */

body.sn-estilo .elementor-widget-call-to-action .elementor-cta {
	border-color: var(--sn-linea) !important;
	border-radius: var(--sn-radio) !important;
	background: var(--sn-blanco) !important;
	box-shadow: var(--sn-sombra);
	overflow: hidden;
}
body.sn-estilo .elementor-cta--skin-classic .elementor-cta__content {
	background-color: var(--sn-blanco) !important;
}
body.sn-estilo .elementor-cta--skin-classic .elementor-cta__title { color: var(--sn-verde) !important; }
body.sn-estilo .elementor-cta--skin-classic .elementor-cta__description { color: var(--sn-texto) !important; }

/* ---------- Formularios (Contacto) ---------- */

body.sn-estilo .elementor-form .elementor-field-group > label,
body.sn-estilo .elementor-form .elementor-field-label {
	color: var(--sn-verde) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	margin-bottom: 6px;
}
body.sn-estilo .elementor-form .elementor-field-textual,
body.sn-estilo .elementor-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.sn-estilo .elementor-form textarea,
body.sn-estilo .elementor-form select {
	background: var(--sn-blanco) !important;
	border: 1.5px solid var(--sn-salvia) !important;
	border-radius: 12px !important;
	color: var(--sn-texto) !important;
	padding: 12px 14px !important;
	font-size: 16px !important;
	min-height: 48px;
}
body.sn-estilo .elementor-form .elementor-field-textual:focus,
body.sn-estilo .elementor-form textarea:focus {
	border-color: var(--sn-verde) !important;
	box-shadow: 0 0 0 3px rgba(242, 201, 76, .45) !important;
	outline: none !important;
}
body.sn-estilo .elementor-form .elementor-button { width: auto; }
body.sn-estilo .elementor-message-success { color: var(--sn-verde) !important; }

/* =========================================================================
   CABECERA Y MENÚ
   ========================================================================= */

body.sn-estilo .elementor-location-header,
body.sn-estilo header.site-header,
body.sn-estilo #site-header {
	background-color: var(--sn-fondo) !important;
	border-bottom: 1px solid var(--sn-linea);
}

body.sn-estilo .elementor-nav-menu--main .elementor-item,
body.sn-estilo .e-n-menu-title,
body.sn-estilo .e-n-menu-title-text,
body.sn-estilo .site-navigation a,
body.sn-estilo .elementor-location-header .menu a {
	color: var(--sn-verde) !important;
	fill: var(--sn-verde) !important;
	font-family: var(--sn-cuerpo) !important;
	font-weight: 700 !important;
	letter-spacing: .01em !important;
}
body.sn-estilo .elementor-nav-menu--main .elementor-item:hover,
body.sn-estilo .elementor-nav-menu--main .elementor-item.elementor-item-active,
body.sn-estilo .elementor-nav-menu--main .elementor-item.highlighted,
body.sn-estilo .site-navigation .current-menu-item > a,
body.sn-estilo .site-navigation a:hover {
	color: var(--sn-verde) !important;
}
/* Subrayado amarillo en el menú */
body.sn-estilo .elementor-nav-menu--main .elementor-item::after,
body.sn-estilo .elementor-nav-menu--main .elementor-item::before {
	background-color: var(--sn-amarillo) !important;
	border-color: var(--sn-amarillo) !important;
}
body.sn-estilo .elementor-nav-menu--main .elementor-item.elementor-item-active,
body.sn-estilo .site-navigation .current-menu-item > a {
	box-shadow: inset 0 -3px 0 var(--sn-amarillo);
}

/* Submenús y menú móvil: verde oscuro como el pie */
body.sn-estilo .elementor-nav-menu--dropdown,
body.sn-estilo .elementor-nav-menu--main .sub-menu,
body.sn-estilo .site-navigation .sub-menu,
body.sn-estilo .site-navigation-dropdown {
	background-color: var(--sn-verde) !important;
	border-radius: 0 0 14px 14px;
}
body.sn-estilo .elementor-nav-menu--dropdown a,
body.sn-estilo .elementor-nav-menu--main .sub-menu a,
body.sn-estilo .site-navigation .sub-menu a,
body.sn-estilo .site-navigation-dropdown a {
	color: var(--sn-crema) !important;
	background-color: transparent !important;
	font-family: var(--sn-cuerpo) !important;
	font-weight: 600 !important;
}
body.sn-estilo .elementor-nav-menu--dropdown a:hover,
body.sn-estilo .elementor-nav-menu--dropdown a.elementor-item-active,
body.sn-estilo .elementor-nav-menu--main .sub-menu a:hover,
body.sn-estilo .site-navigation .sub-menu a:hover,
body.sn-estilo .site-navigation-dropdown a:hover {
	color: var(--sn-amarillo) !important;
	background-color: var(--sn-verde-osc) !important;
}
body.sn-estilo .elementor-menu-toggle,
body.sn-estilo .site-navigation-toggle {
	color: var(--sn-verde) !important;
	fill: var(--sn-verde) !important;
	background-color: transparent !important;
	border-radius: 10px;
}

/* =========================================================================
   AJUSTES CONCRETOS POR PÁGINA (sustituyen el naranja #AD5207 y el beige)
   Los identificadores son los que Elementor ha dado a cada bloque.
   ========================================================================= */

/* Fondos beige → crema verdosa del pie */
body.sn-estilo .elementor-element.elementor-element-661328c1,
body.sn-estilo .elementor-element.elementor-element-0757b6e {
	background-color: var(--sn-crema) !important;
}

/* Inicio · portada: velo claro sobre la foto y títulos en verde */
body.sn-estilo .elementor-element.elementor-element-7770a0ca::before,
body.sn-estilo .elementor-element.elementor-element-7770a0ca > .elementor-background-overlay {
	background-color: var(--sn-fondo) !important;
	opacity: .55 !important;
}
body.sn-estilo .elementor-element-4426e2c6 .elementor-heading-title,
body.sn-estilo .elementor-element-739e7b33 .elementor-heading-title {
	color: var(--sn-verde) !important;
}
body.sn-estilo .elementor-element-739e7b33 .elementor-heading-title {
	font-family: var(--sn-cuerpo) !important;
	font-weight: 700 !important;
	letter-spacing: .08em !important;
}

/* Inicio · las cuatro tarjetas (Infancia, Familias, Escuelas, Comunidad):
   velo verde del pie en lugar del naranja */
body.sn-estilo .elementor-element.elementor-element-4163715,
body.sn-estilo .elementor-element.elementor-element-0f1b54f,
body.sn-estilo .elementor-element.elementor-element-c6da09c,
body.sn-estilo .elementor-element.elementor-element-c8c5ef9 {
	border-radius: var(--sn-radio) !important;
	overflow: hidden;
	box-shadow: var(--sn-sombra);
}
body.sn-estilo .elementor-element.elementor-element-4163715::before,
body.sn-estilo .elementor-element.elementor-element-0f1b54f::before,
body.sn-estilo .elementor-element.elementor-element-c6da09c::before,
body.sn-estilo .elementor-element.elementor-element-c8c5ef9::before,
body.sn-estilo .elementor-element.elementor-element-4163715 > .elementor-background-overlay,
body.sn-estilo .elementor-element.elementor-element-0f1b54f > .elementor-background-overlay,
body.sn-estilo .elementor-element.elementor-element-c6da09c > .elementor-background-overlay,
body.sn-estilo .elementor-element.elementor-element-c8c5ef9 > .elementor-background-overlay {
	background-color: var(--sn-verde) !important;
	border-radius: inherit;
}
body.sn-estilo .elementor-element-339b47ef .elementor-heading-title,
body.sn-estilo .elementor-element-5aeba23 .elementor-heading-title,
body.sn-estilo .elementor-element-3461fa4 .elementor-heading-title,
body.sn-estilo .elementor-element-32d7558 .elementor-heading-title,
body.sn-estilo .elementor-element-339b47ef .elementor-heading-title a,
body.sn-estilo .elementor-element-5aeba23 .elementor-heading-title a,
body.sn-estilo .elementor-element-3461fa4 .elementor-heading-title a,
body.sn-estilo .elementor-element-32d7558 .elementor-heading-title a {
	color: var(--sn-crema) !important;
}
/* Botones de las tarjetas: amarillos, como «Hazte socia o socio» */
body.sn-estilo .elementor-element-6cc23e2e .elementor-button,
body.sn-estilo .elementor-element-0dc18d7 .elementor-button,
body.sn-estilo .elementor-element-06752c2 .elementor-button,
body.sn-estilo .elementor-element-846854b .elementor-button {
	background-color: var(--sn-amarillo) !important;
	border-color: var(--sn-amarillo) !important;
	color: var(--sn-verde) !important;
	fill: var(--sn-verde) !important;
}
body.sn-estilo .elementor-element-6cc23e2e .elementor-button:hover,
body.sn-estilo .elementor-element-0dc18d7 .elementor-button:hover,
body.sn-estilo .elementor-element-06752c2 .elementor-button:hover,
body.sn-estilo .elementor-element-846854b .elementor-button:hover {
	background-color: var(--sn-blanco) !important;
	border-color: var(--sn-blanco) !important;
}

/* Quiénes somos · velo claro de la foto de cabecera (crema del pie) */
body.sn-estilo .elementor-element.elementor-element-c4f55ec::before,
body.sn-estilo .elementor-element.elementor-element-c4f55ec > .elementor-background-overlay {
	background-color: var(--sn-fondo) !important;
}
body.sn-estilo .elementor-element.elementor-element-0757b6e {
	border-radius: var(--sn-radio);
}

/* =========================================================================
   PIE ANTIGUO: se oculta cuando el pie nuevo está activo
   ========================================================================= */

body.sn-sin-pie-viejo .elementor-location-footer:not(:has(#sn-pie)),
body.sn-sin-pie-viejo footer.site-footer:not(#sn-pie),
body.sn-sin-pie-viejo #site-footer:not(#sn-pie),
body.sn-sin-pie-viejo #colophon:not(#sn-pie),
body.sn-sin-pie-viejo .elementor-widget-image:has(img[src*="PieDePagina"]),
body.sn-sin-pie-viejo img[src*="PieDePagina"] {
	display: none !important;
}

/* =========================================================================
   Aviso de vista previa (solo administradores)
   ========================================================================= */

.sn-aviso-previa {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99999;
	max-width: calc(100vw - 32px);
	background: #1D3A2C;
	color: #E9EFE6;
	font: 600 13px/1.4 "Nunito Sans", system-ui, sans-serif;
	padding: 10px 14px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.sn-aviso-previa a { color: #F2C94C !important; margin-left: 6px; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
	body.sn-estilo * { transition: none !important; }
	body.sn-estilo .elementor-widget-image-box:hover > .elementor-widget-container { transform: none; }
}

/* Sin subrayado en títulos enlazados y botones */
body.sn-estilo .elementor-heading-title a,
body.sn-estilo .elementor-image-box-title a,
body.sn-estilo .elementor-button,
body.sn-estilo .e-button-base,
body.sn-estilo .elementor-cta__button {
	text-decoration: none !important;
}
body.sn-estilo .elementor-heading-title a:hover,
body.sn-estilo .elementor-image-box-title a:hover {
	text-decoration: underline !important;
	text-decoration-color: var(--sn-amarillo) !important;
	text-underline-offset: 4px;
}


/* =========================================================================
   v1.3 · Ajustes tras revisar la web real
   ========================================================================= */

/* Fotos de las tarjetas (cajas de imagen): siempre del mismo tamaño,
   recortadas sin deformar, sea cual sea la foto que se suba */
body.sn-estilo .elementor-widget-image-box.elementor-position-top .elementor-image-box-img,
body.sn-estilo .elementor-widget-image-box:not(.elementor-position-left):not(.elementor-position-right) .elementor-image-box-img {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 18px !important;
	display: block;
}
body.sn-estilo .elementor-widget-image-box.elementor-position-top .elementor-image-box-img img,
body.sn-estilo .elementor-widget-image-box:not(.elementor-position-left):not(.elementor-position-right) .elementor-image-box-img img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}
body.sn-estilo .elementor-widget-image-box.elementor-position-left .elementor-image-box-img img,
body.sn-estilo .elementor-widget-image-box.elementor-position-right .elementor-image-box-img img {
	width: 160px !important;
	height: 160px !important;
	object-fit: cover;
}
/* Que las tarjetas de una misma fila midan lo mismo */
body.sn-estilo .elementor-widget-image-box:has(.elementor-image-box-img) { align-self: stretch; }
body.sn-estilo .elementor-widget-image-box:has(.elementor-image-box-img) .elementor-image-box-wrapper { height: 100%; }

/* Tarjetas del equipo (Quiénes somos): un solo marco y aire en los textos */
body.sn-estilo .elementor-widget-call-to-action > .elementor-widget-container {
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
	box-shadow: none !important;
}
body.sn-estilo .elementor-widget-call-to-action .elementor-cta {
	border: 1px solid var(--sn-linea) !important;
	height: 100%;
	display: flex !important;
	flex-direction: column;
}
body.sn-estilo .elementor-widget-call-to-action .elementor-cta__bg-wrapper {
	border-radius: 0 !important;
}
body.sn-estilo .elementor-widget-call-to-action .elementor-cta__content {
	padding: 22px 24px 26px !important;
	flex: 1 1 auto;
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	text-align: left;
}
body.sn-estilo .elementor-widget-call-to-action .elementor-cta__content-item { margin: 0 !important; }
body.sn-estilo .elementor-widget-call-to-action .elementor-cta__button-wrapper {
	margin-top: auto !important;
	padding-top: 6px;
}

/* Textos sobre fondos oscuros: se ponen claros para que se lean
   (la clase la añade el plugin al detectar el fondo) */
body.sn-estilo .sn-sobre-oscuro,
body.sn-estilo .sn-sobre-oscuro h1, body.sn-estilo .sn-sobre-oscuro h2,
body.sn-estilo .sn-sobre-oscuro h3, body.sn-estilo .sn-sobre-oscuro h4,
body.sn-estilo .sn-sobre-oscuro .elementor-heading-title,
body.sn-estilo .sn-sobre-oscuro .e-heading-base,
body.sn-estilo .sn-sobre-oscuro.elementor-widget-text-editor,
body.sn-estilo .sn-sobre-oscuro .elementor-widget-text-editor,
body.sn-estilo .sn-sobre-oscuro p,
body.sn-estilo .sn-sobre-oscuro li,
body.sn-estilo h1.sn-sobre-oscuro, body.sn-estilo h2.sn-sobre-oscuro, body.sn-estilo h3.sn-sobre-oscuro {
	color: var(--sn-crema) !important;
}
body.sn-estilo .sn-sobre-oscuro a:not(.elementor-button) { color: var(--sn-amarillo) !important; }
body.sn-estilo .sn-sobre-oscuro .elementor-button,
body.sn-estilo .elementor-button.sn-sobre-oscuro {
	background-color: var(--sn-amarillo) !important;
	border-color: var(--sn-amarillo) !important;
	color: var(--sn-verde) !important;
}
body.sn-estilo .sn-sobre-oscuro .elementor-button:hover { background-color: var(--sn-blanco) !important; border-color: var(--sn-blanco) !important; }
