/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.9
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Opinometre base overrides: neutralize Hello Elementor's pink reset. */
:root {
	--opi-primary: #E8D83D;
	--opi-primary-hover: #D6C419;
	--opi-dark: #101928;
	--opi-text: #364153;
	--opi-muted: #667085;
	--opi-surface: #F7F7F2;
	--opi-border: #D7DCE5;
}

body {
	color: var(--opi-text);
}

a {
	color: var(--opi-dark);
}

a:hover,
a:focus {
	color: var(--opi-dark);
}

.elementor-widget-text-editor a,
.elementor-widget-html a,
.tandem-private-sidebar a,
.tandem-user-login a {
	color: var(--opi-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.elementor-widget-text-editor a:hover,
.elementor-widget-html a:hover,
.tandem-private-sidebar a:hover,
.tandem-user-login a:hover {
	color: var(--opi-dark);
	text-decoration-thickness: 2px;
}

button,
input[type="button"],
input[type="submit"],
.elementor-button,
.button {
	background: var(--opi-primary);
	border: 0;
	border-radius: 999px;
	color: var(--opi-dark);
	font-weight: 800;
	line-height: 1.2;
	padding: 12px 24px;
	text-decoration: none;
	transition: background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.elementor-button:hover,
.elementor-button:focus,
.button:hover,
.button:focus {
	background: var(--opi-primary-hover);
	color: var(--opi-dark);
	transform: translateY(-1px);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
	background: #FBFCF8;
	border: 1px solid var(--opi-border);
	border-radius: 12px;
	color: var(--opi-dark);
	max-width: 100%;
	padding: 12px 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
	border-color: var(--opi-primary-hover);
	box-shadow: 0 0 0 3px rgba(232, 216, 61, 0.25);
	outline: 0;
}

.tandem-user-login,
.tandem-private-sidebar {
	color: var(--opi-text);
}

.tandem-private-sidebar {
	display: grid;
	gap: 22px;
}

.tandem-user-login h2,
.tandem-private-sidebar h2,
.tandem-private-sidebar h3 {
	color: var(--opi-dark);
}

.tandem-private-nav__list,
.tandem-private-nav__list ul {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tandem-private-nav__list ul {
	gap: 6px;
	margin-top: 7px;
	padding-left: 16px;
}

.tandem-private-nav__list li {
	margin: 0;
	padding: 0;
}

.tandem-private-nav__list a {
	align-items: center;
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(215, 220, 229, 0.85);
	border-radius: 14px;
	color: var(--opi-dark);
	display: flex;
	font-weight: 750;
	gap: 10px;
	line-height: 1.25;
	padding: 11px 12px;
	text-decoration: none;
	transition: background-color 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}

.tandem-private-nav__list a::before {
	background: var(--opi-primary);
	border: 2px solid rgba(16, 25, 40, 0.1);
	border-radius: 999px;
	box-shadow: 0 0 0 4px rgba(232, 216, 61, 0.16);
	content: "";
	flex: 0 0 9px;
	height: 9px;
	width: 9px;
}

.tandem-private-nav__list a:hover,
.tandem-private-nav__list a:focus-visible,
.tandem-private-nav__list .current_page_item > a,
.tandem-private-nav__list .current_page_ancestor > a {
	background: #FBFCF8;
	border-color: var(--opi-primary-hover);
	color: var(--opi-dark);
	text-decoration: none;
	transform: translateX(2px);
}

.tandem-private-nav__list a:focus-visible,
.tandem-private-logout__button:focus-visible {
	box-shadow: 0 0 0 3px rgba(232, 216, 61, 0.3);
	outline: 0;
}

.tandem-private-logout {
	border-top: 1px solid rgba(215, 220, 229, 0.85);
	margin: 0;
	padding-top: 18px;
}

.tandem-private-logout__button {
	align-items: center;
	background: var(--opi-dark);
	border-radius: 999px;
	color: #FBFCF8 !important;
	display: inline-flex;
	font-weight: 800;
	gap: 9px;
	line-height: 1;
	padding: 12px 16px;
	text-decoration: none !important;
	transition: background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

.tandem-private-logout__button:hover,
.tandem-private-logout__button:focus-visible {
	background: var(--opi-primary);
	color: var(--opi-dark) !important;
	transform: translateY(-1px);
}

.tandem-private-logout__icon {
	display: inline-flex;
	flex: 0 0 18px;
	height: 18px;
	width: 18px;
}

.tandem-private-logout__icon svg {
	display: block;
	height: 100%;
	width: 100%;
}

.tandem-user-login .login-username,
.tandem-user-login .login-password,
.tandem-user-login .login-submit {
	margin-block: 0 18px;
}

.tandem-user-login label {
	display: block;
	font-weight: 700;
	margin-bottom: 7px;
}

.tandem-private-access-list {
	border-top: 1px solid var(--opi-border);
	margin-top: 28px;
	padding-top: 24px;
}

.tandem-private-access-list h3,
.tandem-private-access-list h4 {
	color: var(--opi-dark);
}

.tandem-private-access-list h3 {
	font-size: 1.25rem;
	margin: 0 0 18px;
}

.tandem-private-access-list h4 {
	font-size: 1rem;
	margin: 20px 0 10px;
}

.tandem-private-access-list ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tandem-private-access-list li a {
	background: var(--opi-surface);
	border: 1px solid var(--opi-border);
	border-radius: 12px;
	display: block;
	font-weight: 700;
	padding: 12px 14px;
	text-decoration: none;
}

/* Home 2026 sector cards use editable Elementor image widgets as visual backgrounds. */
:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-card {
	min-height: clamp(190px, 18vw, 260px) !important;
	overflow: hidden;
	position: relative;
}

:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-card::after {
	background: linear-gradient(180deg, rgba(16, 25, 40, 0.05) 0%, rgba(16, 25, 40, 0.68) 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-card > .elementor-element:not(.opi-sector-image) {
	position: relative;
	z-index: 2;
}

:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-image {
	inset: 0;
	margin: 0 !important;
	position: absolute !important;
	z-index: 0;
}

:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-image,
:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-image .elementor-widget-container,
:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-image img {
	height: 100%;
	width: 100%;
}

:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-image img {
	display: block;
	object-fit: cover;
}

/* Shortcode [metodologia]: stable timeline layout, independent from Elementor's container CSS. */
.metodologia-section {
	padding: clamp(44px, 6vw, 88px) 18px;
}

.metodologia-container {
	margin-inline: auto;
	max-width: 1080px;
}

.metodologia-section .timeline {
	display: grid;
	gap: 30px;
	position: relative;
}

.metodologia-section .timeline::before {
	background: linear-gradient(180deg, rgba(232, 216, 61, 0), rgba(232, 216, 61, 0.95) 18%, rgba(16, 25, 40, 0.35) 82%, rgba(16, 25, 40, 0));
	bottom: 18px;
	content: "";
	left: 50%;
	position: absolute;
	top: 18px;
	transform: translateX(-50%);
	width: 2px;
}

.metodologia-section .timeline-step {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
	position: relative;
}

.metodologia-section .timeline-step.left .timeline-card {
	grid-column: 1;
}

.metodologia-section .timeline-step.right .timeline-card {
	grid-column: 3;
}

.metodologia-section .timeline-dot {
	align-items: center;
	background: var(--opi-primary);
	border: 4px solid #FBFCF8;
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(16, 25, 40, 0.18);
	color: var(--opi-dark);
	display: flex;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	grid-column: 2;
	grid-row: 1;
	height: 54px;
	justify-content: center;
	justify-self: center;
	position: relative;
	width: 54px;
	z-index: 2;
}

.metodologia-section .timeline-card {
	align-items: center;
	background: #FBFCF8;
	border: 1px solid rgba(16, 25, 40, 0.08);
	border-radius: 22px;
	box-shadow: 0 22px 55px rgba(16, 25, 40, 0.09);
	display: grid;
	gap: 18px;
	grid-template-columns: auto minmax(0, 1fr);
	min-height: 116px;
	padding: clamp(22px, 3vw, 34px);
}

.metodologia-section .icon-box {
	align-items: center;
	background: var(--opi-primary);
	border-radius: 16px;
	color: var(--opi-dark);
	display: flex;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.metodologia-section .icon-box svg {
	height: 26px;
	width: 26px;
}

.metodologia-section .timeline-card h3 {
	color: var(--opi-dark);
	font-size: clamp(1.1rem, 1.8vw, 1.45rem);
	font-weight: 800;
	line-height: 1.18;
	margin: 0;
	text-wrap: balance;
}

@media (max-width: 767px) {
	:is(.elementor-page-9396, .elementor-page-10012, .elementor-page-10494) .opi-sector-card {
		min-height: 210px !important;
	}

	.metodologia-section {
		padding-inline: 14px;
	}

	.metodologia-section .timeline {
		gap: 18px;
	}

	.metodologia-section .timeline::before {
		left: 27px;
	}

	.metodologia-section .timeline-step {
		grid-template-columns: 54px minmax(0, 1fr);
	}

	.metodologia-section .timeline-step.left .timeline-card,
	.metodologia-section .timeline-step.right .timeline-card {
		grid-column: 2;
	}

	.metodologia-section .timeline-dot {
		grid-column: 1;
		height: 46px;
		width: 46px;
	}

	.metodologia-section .timeline-card {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 20px;
	}
}

/* ============================================================
   Migrado desde el "CSS personalizado" de los parámetros de
   página de Elementor (2026). Antes estaba duplicado e inline
   en cada página; aquí vive una sola vez y de forma global.
   - .grow-cont   : efecto hover de las cards (zoom + sombra).
   - .form-contacto: estilo de campos y labels del formulario.
   ============================================================ */
.grow-cont {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grow-cont:hover {
	transform: scale(1.05);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	z-index: 2;
}

.form-contacto input[type="text"],
.form-contacto input[type="email"],
.form-contacto textarea {
	border-radius: 10px;
	padding: 12px 14px;
}

.form-contacto label {
	font-size: 15px;
	font-weight: 500;
}
