/*
Theme Name: Update Capacitacion 2026
Theme URI: https://www.updatecapacitacion.cl/
Description: Tema hijo visual para Update Capacitacion, basado en Roneous.
Author: Update Capacitacion
Template: roneous
Version: 1.0.0
Text Domain: update-capacitacion-2026
*/

:root {
	--update-navy: #071047;
	--update-blue: #0b4f8a;
	--update-cyan: #11a7c9;
	--update-red: #c9363f;
	--update-ink: #182135;
	--update-muted: #5f6b7d;
	--update-line: #dce4ee;
	--update-bg: #f5f8fb;
	--update-white: #ffffff;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--update-ink);
	background: var(--update-bg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: 0;
}

a {
	color: var(--update-blue);
}

a:hover,
a:focus {
	color: var(--update-red);
}

.elementor-button,
.vc_btn3,
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	border-radius: 6px !important;
	background: var(--update-blue) !important;
	border: 1px solid var(--update-blue) !important;
	color: var(--update-white) !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	box-shadow: 0 10px 22px rgba(7, 16, 71, 0.16);
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.elementor-button:hover,
.vc_btn3:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--update-red) !important;
	border-color: var(--update-red) !important;
	color: var(--update-white) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(201, 54, 63, 0.18);
}

.site-header,
.main-header,
.header,
.header-wrapper,
.header-area {
	background: rgba(255, 255, 255, 0.96) !important;
	border-bottom: 1px solid var(--update-line);
	box-shadow: 0 8px 24px rgba(7, 16, 71, 0.08);
}

.top-bar,
.topbar,
.header-top,
.top-header {
	background: var(--update-navy) !important;
	color: var(--update-white) !important;
}

.top-bar a,
.topbar a,
.header-top a,
.top-header a {
	color: var(--update-white) !important;
}

.main-menu a,
.menu a,
.navbar a,
nav a {
	letter-spacing: 0 !important;
	font-weight: 650;
}

.logo img,
.site-logo img,
.header-logo img,
img.logo-light,
img.logo-dark {
	max-height: 74px;
	width: auto;
	object-fit: contain;
}

.page-title,
.page-header,
.title-section,
.breadcrumb-section {
	background: linear-gradient(135deg, var(--update-navy), var(--update-blue)) !important;
	color: var(--update-white) !important;
}

.page-title h1,
.page-header h1,
.title-section h1,
.breadcrumb-section h1 {
	color: var(--update-white) !important;
	font-weight: 800;
	letter-spacing: 0 !important;
}

.elementor-section,
.wpb_row,
.content-area,
.site-main {
	letter-spacing: 0;
}

.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
h1,
h2,
h3 {
	color: var(--update-navy);
	letter-spacing: 0 !important;
}

h1 {
	font-weight: 850;
	line-height: 1.08;
}

h2,
h3 {
	font-weight: 780;
	line-height: 1.18;
}

p,
li,
.elementor-widget-text-editor {
	color: var(--update-ink);
	line-height: 1.62;
}

.woocommerce ul.products li.product,
.product,
.course,
.course-item,
.lp_course,
.elementor-post,
.service-item,
.icon-box,
.feature-box {
	border-radius: 8px !important;
	border: 1px solid var(--update-line) !important;
	background: var(--update-white) !important;
	box-shadow: 0 12px 30px rgba(7, 16, 71, 0.08) !important;
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.woocommerce ul.products li.product:hover,
.product:hover,
.course:hover,
.course-item:hover,
.lp_course:hover,
.elementor-post:hover,
.service-item:hover,
.icon-box:hover,
.feature-box:hover {
	transform: translateY(-2px);
	border-color: rgba(17, 167, 201, 0.45) !important;
	box-shadow: 0 18px 42px rgba(7, 16, 71, 0.14) !important;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.price {
	color: var(--update-red) !important;
	font-weight: 800 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title,
.course-title,
.entry-title {
	color: var(--update-navy) !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
}

.badge,
.label,
.tag,
.onsale,
.elementor-icon {
	border-radius: 6px !important;
}

.woocommerce span.onsale {
	background: var(--update-red) !important;
	color: var(--update-white) !important;
}

.elementor-accordion .elementor-tab-title,
.vc_toggle_title,
.faq-title {
	border-radius: 6px;
	background: var(--update-white);
	border: 1px solid var(--update-line);
	color: var(--update-navy);
}

.elementor-accordion .elementor-tab-content,
.vc_toggle_content,
.faq-content {
	border: 1px solid var(--update-line);
	border-top: 0;
	background: var(--update-white);
}

input,
textarea,
select,
.select2-container .select2-selection--single {
	border-radius: 6px !important;
	border: 1px solid var(--update-line) !important;
	background: var(--update-white) !important;
	color: var(--update-ink) !important;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--update-cyan) !important;
	box-shadow: 0 0 0 3px rgba(17, 167, 201, 0.18) !important;
	outline: none !important;
}

.footer,
.site-footer,
footer {
	background: var(--update-navy) !important;
	color: rgba(255, 255, 255, 0.86) !important;
}

.footer a,
.site-footer a,
footer a {
	color: var(--update-white) !important;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
footer h1,
footer h2,
footer h3,
footer h4 {
	color: var(--update-white) !important;
}

.wa__btn_popup,
.whatsapp,
a[href*="wa.me"],
a[href*="whatsapp"] {
	border-radius: 999px !important;
}

@media (max-width: 768px) {
	h1 {
		font-size: clamp(30px, 9vw, 44px);
	}

	h2 {
		font-size: clamp(24px, 7vw, 34px);
	}

	.logo img,
	.site-logo img,
	.header-logo img,
	img.logo-light,
	img.logo-dark {
		max-height: 56px;
	}

	.elementor-button,
	.vc_btn3,
	.button,
	button,
	input[type="submit"] {
		min-height: 44px;
		white-space: normal;
	}
}
