/* Alio Modo Studio -- global reskin (colors, type, buttons) */
/* Overrides Elementor global kit tokens; body.elementor-kit-140 adds specificity so this wins regardless of stylesheet order. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..700&family=Work+Sans:wght@400;500;600;700&display=swap');

body.elementor-kit-140 {
	/* Color system: warm ink navy + burnt copper, replacing generic SaaS blue */
	--e-global-color-primary: #12233D;
	--e-global-color-secondary: #0B1626;
	--e-global-color-text: #221F1A;
	--e-global-color-accent: #E2790B;
	--e-global-color-f898f31: #FBF7EF;
	--e-global-color-0d046a4: #ECE6D8;
	--e-global-color-c6c574f: #F7F2E7;
	--e-global-color-7ad78f4: #FBF7EFE6;
	--e-global-color-b500f0a: #FFFDF8;

	/* Typography: Fraunces (headlines) + Work Sans (body/UI), replacing Varela Round + Montserrat */
	--e-global-typography-primary-font-family: "Fraunces";
	--e-global-typography-primary-font-weight: 600;
	--e-global-typography-secondary-font-family: "Work Sans";
	--e-global-typography-secondary-font-weight: 500;
	--e-global-typography-text-font-family: "Work Sans";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: "Work Sans";
	--e-global-typography-accent-font-weight: 600;
	--e-global-typography-6ed476c-font-family: "Fraunces";
	--e-global-typography-6ed476c-font-weight: 500;
	--e-global-typography-9525bd0-font-family: "Work Sans";
	--e-global-typography-cdaaf6a-font-family: "Fraunces";
	--e-global-typography-cdaaf6a-font-weight: 500;
	--e-global-typography-0009af8-font-family: "Work Sans";
	--e-global-typography-ef2c50b-font-family: "Fraunces";
	--e-global-typography-ef2c50b-font-weight: 500;
	--e-global-typography-f8a9e51-font-family: "Fraunces";
	--e-global-typography-f8a9e51-font-weight: 600;
	--e-global-typography-ccc280a-font-family: "Fraunces";
	--e-global-typography-ccc280a-font-weight: 600;
	--e-global-typography-2c11d45-font-family: "Fraunces";
	--e-global-typography-2c11d45-font-weight: 600;
}

body.elementor-kit-140 h1,
body.elementor-kit-140 h2,
body.elementor-kit-140 h3,
body.elementor-kit-140 .elementor-heading-title {
	font-optical-sizing: auto;
	letter-spacing: -0.01em;
}

/* Buttons: confident, editorial -- sharper radius, subtle lift on hover, consistent weight */
body.elementor-kit-140 .elementor-button,
body.elementor-kit-140 button,
body.elementor-kit-140 input[type="button"],
body.elementor-kit-140 input[type="submit"] {
	font-family: "Work Sans", sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	border-radius: 8px !important;
	box-shadow: 0 4px 14px rgba(18, 35, 61, 0.18);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

body.elementor-kit-140 .elementor-button:hover,
body.elementor-kit-140 .elementor-button:focus-visible,
body.elementor-kit-140 button:hover,
body.elementor-kit-140 button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(18, 35, 61, 0.28);
}

/* Accessible focus ring in the new accent color (WCAG focus-states) */
body.elementor-kit-140 a:focus-visible,
body.elementor-kit-140 button:focus-visible,
body.elementor-kit-140 .elementor-button:focus-visible {
	outline: 2px solid #E2790B;
	outline-offset: 2px;
}

body.elementor-kit-140 ::selection {
	background: #E2790B;
	color: #FBF7EF;
}

/* Service / feature cards (icon + heading + text + "Ver más" link, e.g. homepage
   "Servicios que Ofrecemos"). Matched structurally -- any container that wraps
   both an icon-box and a button, sitewide -- rather than by page-specific IDs, so
   this stays correct if the block is reused or reordered. */
body.elementor-kit-140 .e-con.e-child:has(> .elementor-widget-icon-box):has(> .elementor-widget-button) {
	background: var(--e-global-color-b500f0a);
	border: 1px solid rgba(18, 35, 61, 0.08);
	border-radius: 16px;
	box-shadow: 0 2px 10px rgba(18, 35, 61, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.elementor-kit-140 .e-con.e-child:has(> .elementor-widget-icon-box):has(> .elementor-widget-button):hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(18, 35, 61, 0.16);
	border-color: rgba(226, 121, 11, 0.45);
}

body.elementor-kit-140 .elementor-icon-box-icon svg,
body.elementor-kit-140 .elementor-icon-box-icon svg path {
	fill: var(--e-global-color-accent) !important;
}

body.elementor-kit-140 .elementor-icon-box-title a {
	font-weight: 600;
}

body.elementor-kit-140 .elementor-button-link:hover .elementor-button-icon {
	transform: translateX(4px);
}

body.elementor-kit-140 .elementor-button-link .elementor-button-icon {
	transition: transform 0.25s ease;
}

/* Case-study / portfolio cards (Elementor Posts widget, "cards" skin) --
   normalize the inconsistent thumbnail sizes into one clean grid and add
   hover feedback so the grid reads as curated work, not a random file dump. */
body.elementor-kit-140 .elementor-post__card {
	border-radius: 14px;
	overflow: hidden;
	background: var(--e-global-color-primary);
	box-shadow: 0 4px 16px rgba(18, 35, 61, 0.12);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.elementor-kit-140 .elementor-post__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(18, 35, 61, 0.24);
}

body.elementor-kit-140 .elementor-post__thumbnail {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

body.elementor-kit-140 .elementor-post__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

body.elementor-kit-140 .elementor-post__card:hover .elementor-post__thumbnail img {
	transform: scale(1.06);
}

body.elementor-kit-140 .elementor-post__text {
	padding: 18px 20px;
}

body.elementor-kit-140 .elementor-post__title a {
	font-weight: 600;
	color: var(--e-global-color-b500f0a) !important;
}

body.elementor-kit-140 .elementor-post__excerpt,
body.elementor-kit-140 .elementor-post__meta-data,
body.elementor-kit-140 .elementor-post__meta-data * {
	color: var(--e-global-color-7ad78f4) !important;
}

/* Homepage "related links" block (Nuestros servicios / Casos de éxito
   relacionados) -- an internal-linking module. Framed as its own module and,
   inside it, square image cards matching the blog/case-study card language
   (photo top, label below, shadow + hover lift) instead of a bare text list. */
body.home .elementor-element-h0000011 {
	background: var(--e-global-color-c6c574f);
	border-top: 1px solid rgba(18, 35, 61, 0.08);
	padding: 56px 0;
}

body.home .elementor-element-h0000014 {
	margin-top: 40px;
}

.alio-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.alio-related-card {
	display: flex;
	flex-direction: column;
	border-radius: 14px;
	overflow: hidden;
	background: var(--e-global-color-b500f0a);
	box-shadow: 0 4px 16px rgba(18, 35, 61, 0.1);
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alio-related-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(18, 35, 61, 0.2);
}

.alio-related-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.alio-related-card:hover img {
	transform: scale(1.06);
}

.alio-related-card span {
	padding: 14px 16px;
	font-family: "Work Sans", sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
	color: var(--e-global-color-text);
}
