/* Watiómetro — diseño */
:root {
	--wm-ink: #0f172a;
	--wm-ink-2: #334155;
	--wm-muted: #64748b;
	--wm-bg: #f4f6fb;
	--wm-card: #ffffff;
	--wm-line: #e2e8f0;
	--wm-navy: #0b1220;
	--wm-navy-2: #16213a;
	--wm-volt: #ffc21a;
	--wm-volt-2: #ffdf6b;
	--wm-bajo: #16a34a;
	--wm-bajo-bg: #e8f7ee;
	--wm-medio: #d97706;
	--wm-medio-bg: #fff4e0;
	--wm-alto: #dc2626;
	--wm-alto-bg: #fdecec;
	--wm-radius: 16px;
	--wm-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
	--wm-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
	background: var(--wm-bg);
	color: var(--wm-ink);
	font-family: var(--wm-font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .entry-title {
	font-family: var(--wm-font);
	color: var(--wm-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
h1, .entry-title { font-size: clamp(30px, 4vw, 42px); }
h2 { font-size: clamp(23px, 2.6vw, 29px); margin-top: 1.6em; }
h3 { font-size: 20px; margin-top: 1.4em; }
a { color: #1d4ed8; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #1e40af; }

/* Ancho */
.grid-container { max-width: 1120px; }

/* Cabecera */
.site-header {
	background: var(--wm-navy);
	border-bottom: 3px solid var(--wm-volt);
}
.inside-header { padding-top: 14px; padding-bottom: 14px; }
.main-title { font-size: 25px; font-weight: 900; letter-spacing: -0.03em; margin: 0; }
.main-title a, .main-title a:hover { color: #fff; text-decoration: none; }
.main-title a::before {
	content: "⚡";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-right: 10px;
	border-radius: 11px;
	background: var(--wm-volt);
	font-size: 21px;
	vertical-align: -6px;
	box-shadow: 0 0 0 4px rgba(255, 194, 26, .18);
}
.site-description { color: #9fb0cc; font-size: 13.5px; margin-top: 2px; }

.main-navigation, .main-navigation ul ul { background: var(--wm-navy-2); }
.main-navigation .main-nav ul li a {
	color: #dbe4f3;
	font-weight: 600;
	font-size: 15px;
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	color: var(--wm-volt);
	background: transparent;
}
.main-navigation .menu-toggle, .main-navigation .menu-bar-item > a { color: #fff; }
.has-inline-mobile-toggle .mobile-menu-control-wrapper .menu-toggle { background: transparent; color: #fff; }

/* Contenido */
.site-content { padding-top: 28px; }
.separate-containers .inside-article,
.one-container .site-content .inside-article {
	background: var(--wm-card);
	border-radius: var(--wm-radius);
	box-shadow: var(--wm-shadow);
	padding: clamp(22px, 4vw, 48px);
}
.one-container .site-content { background: transparent; }
.entry-content > * { max-width: 100%; }
.entry-content p, .entry-content li { color: var(--wm-ink-2); }
.entry-content ul li::marker { color: var(--wm-volt); }
.entry-content hr { border: 0; border-top: 1px solid var(--wm-line); margin: 2.4em 0; }

/* Hero portada */
.entry-content > .wm-hero,
.wm-hero {
	max-width: none;
	position: relative;
	overflow: hidden;
	margin: calc(clamp(22px, 4vw, 48px) * -1) calc(clamp(22px, 4vw, 48px) * -1) 32px;
	padding: clamp(32px, 6vw, 64px) clamp(22px, 5vw, 56px);
	background: radial-gradient(1200px 400px at 85% -20%, rgba(255, 194, 26, .35), transparent 60%), linear-gradient(135deg, var(--wm-navy) 0%, #13254a 100%);
	border-radius: var(--wm-radius) var(--wm-radius) 0 0;
	color: #fff;
}
.wm-hero::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -60px;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(255, 194, 26, .25), transparent 70%);
	pointer-events: none;
}
.wm-hero__kicker {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 194, 26, .15);
	color: var(--wm-volt-2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.entry-content .wm-hero h1 { color: #fff; margin: 0 0 12px; font-size: clamp(32px, 5vw, 50px); }
.entry-content .wm-hero h1 span { color: var(--wm-volt); }
.entry-content .wm-hero p { color: #c9d5ea; font-size: 18.5px; max-width: 640px; margin: 0 0 22px; }
.wm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.wm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none !important;
	transition: transform .15s ease, box-shadow .15s ease;
}
.wm-btn:hover { transform: translateY(-1px); }
.wm-btn--volt { background: var(--wm-volt); color: var(--wm-navy) !important; box-shadow: 0 6px 18px rgba(255, 194, 26, .35); }
.wm-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border: 1px solid rgba(255, 255, 255, .2); }

/* Tarjetas de precio */
.wm-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 18px 0 8px;
}
.wm-stat {
	background: #f8fafc;
	border: 1px solid var(--wm-line);
	border-radius: 14px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wm-stat__label { font-size: 13px; color: var(--wm-muted); font-weight: 600; }
.wm-stat__value { font-size: 24px; font-weight: 800; color: var(--wm-ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wm-stat__value small { font-size: 13px; font-weight: 600; color: var(--wm-muted); }
.wm-stat--bajo { background: var(--wm-bajo-bg); border-color: #bfe8cf; }
.wm-stat--bajo .wm-stat__value { color: var(--wm-bajo); }
.wm-stat--medio { background: var(--wm-medio-bg); border-color: #fbd9a5; }
.wm-stat--medio .wm-stat__value { color: var(--wm-medio); }
.wm-stat--alto { background: var(--wm-alto-bg); border-color: #f6c2c2; }
.wm-stat--alto .wm-stat__value { color: var(--wm-alto); }
.wm-note { font-size: 14px; color: var(--wm-muted) !important; margin-top: 6px; }

/* Gráfico */
.wm-box {
	border: 1px solid var(--wm-line);
	border-radius: var(--wm-radius);
	padding: 20px;
	margin: 24px 0;
	background: #fff;
}
.entry-content .wm-box__title { margin: 0 0 14px; font-size: 20px; }
.wm-chart {
	display: grid;
	grid-template-columns: repeat(24, 1fr);
	gap: 4px;
	height: 220px;
	align-items: end;
}
.wm-chart__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.wm-chart__bar { width: 100%; border-radius: 6px 6px 2px 2px; background: var(--wm-medio); min-height: 4px; }
.wm-chart__col--bajo .wm-chart__bar { background: var(--wm-bajo); }
.wm-chart__col--alto .wm-chart__bar { background: var(--wm-alto); }
.wm-chart__col.is-now .wm-chart__bar { outline: 3px solid var(--wm-navy); outline-offset: 2px; }
.wm-chart__h { font-size: 11px; color: var(--wm-muted); font-variant-numeric: tabular-nums; }
.wm-legend { display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--wm-muted); margin-top: 12px; }
.wm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -10px; }
.wm-dot--bajo { background: var(--wm-bajo); }
.wm-dot--medio { background: var(--wm-medio); }
.wm-dot--alto { background: var(--wm-alto); }

.wm-tip {
	background: #fffbea;
	border: 1px solid #fde58a;
	border-left: 5px solid var(--wm-volt);
	border-radius: 12px;
	padding: 14px 18px;
	margin: 20px 0;
	color: var(--wm-ink-2);
}

/* Tablas */
.wm-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--wm-line); border-radius: 14px; }
.wm-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.wm-table th { background: var(--wm-navy); color: #fff; font-weight: 700; text-align: left; padding: 11px 14px; border: 0; white-space: nowrap; }
.wm-table td { padding: 10px 14px; border: 0; border-top: 1px solid var(--wm-line); white-space: nowrap; }
.wm-table tbody tr:nth-child(even) td { background: #f8fafc; }
.wm-row--bajo td:nth-child(2) strong { color: var(--wm-bajo); }
.wm-row--medio td:nth-child(2) strong { color: var(--wm-medio); }
.wm-row--alto td:nth-child(2) strong { color: var(--wm-alto); }
.wm-table tr.is-now td { background: #fff7d6 !important; font-weight: 700; }
.entry-content table:not(.wm-table) { border-collapse: collapse; }

/* Calculadora */
.wm-calc {
	background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
	border: 1px solid var(--wm-line);
	border-top: 5px solid var(--wm-volt);
	border-radius: var(--wm-radius);
	box-shadow: var(--wm-shadow);
	padding: clamp(18px, 3vw, 28px);
	margin: 26px 0;
}
.wm-calc__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.wm-calc__icon {
	flex: 0 0 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--wm-navy);
	color: var(--wm-volt);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}
.entry-content .wm-calc__title { margin: 0; font-weight: 800; font-size: 20px; color: var(--wm-ink); line-height: 1.25; }
.entry-content .wm-calc__sub { margin: 2px 0 0; font-size: 14px; color: var(--wm-muted); }
.wm-calc__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wm-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--wm-ink-2); }
.wm-field--full { grid-column: 1 / -1; }
.wm-calc input, .wm-calc select {
	width: 100%;
	border: 1.5px solid #cbd5e1;
	border-radius: 12px;
	padding: 11px 13px;
	font-size: 17px;
	font-weight: 600;
	color: var(--wm-ink);
	background: #fff;
	font-family: inherit;
}
.wm-calc input:focus, .wm-calc select:focus { outline: none; border-color: var(--wm-volt); box-shadow: 0 0 0 4px rgba(255, 194, 26, .25); }
.wm-calc__results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.wm-res {
	background: #f1f5f9;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.wm-res span { font-size: 13px; color: var(--wm-muted); font-weight: 600; }
.wm-res strong { font-size: 22px; font-weight: 800; color: var(--wm-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.wm-res--main { background: var(--wm-navy); }
.wm-res--main span { color: #9fb0cc; }
.wm-res--main strong { color: var(--wm-volt); }
.entry-content .wm-calc__extra { margin: 14px 0 0; font-size: 14.5px; color: var(--wm-ink-2); }

/* Fichas */
.wm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.wm-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	border: 1px solid var(--wm-line);
	border-radius: 14px;
	background: #fff;
	text-decoration: none !important;
	color: var(--wm-ink) !important;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.wm-card:hover { border-color: var(--wm-volt); transform: translateY(-2px); box-shadow: var(--wm-shadow); }
.wm-card__icon { font-size: 28px; line-height: 1; }
.wm-card__title { font-weight: 800; font-size: 17px; line-height: 1.3; }
.wm-card__text { font-size: 14px; color: var(--wm-muted); line-height: 1.5; }
.wm-card__more { margin-top: auto; font-size: 14px; font-weight: 700; color: #1d4ed8; }

/* Bloques de ventajas */
.wm-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.wm-feature { background: #f8fafc; border: 1px solid var(--wm-line); border-radius: 14px; padding: 18px; }
.entry-content .wm-feature h3 { margin: 6px 0 6px; font-size: 17px; }
.entry-content .wm-feature p { margin: 0; font-size: 15px; }
.wm-feature__icon { font-size: 26px; }

.wm-faq details { border: 1px solid var(--wm-line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; background: #fff; }
.wm-faq summary { cursor: pointer; font-weight: 700; color: var(--wm-ink); }
.wm-faq details[open] summary { margin-bottom: 8px; }

.wm-contact {
	display: flex;
	gap: 16px;
	align-items: center;
	background: #f8fafc;
	border: 1px solid var(--wm-line);
	border-radius: var(--wm-radius);
	padding: 22px;
	margin: 20px 0;
	font-size: 18px;
}
.wm-contact__icon { font-size: 34px; }

/* Pie */
.site-footer .site-info { background: var(--wm-navy); color: #9fb0cc; }
.site-footer .inside-site-info { padding: 36px 20px; }
.copyright-bar { width: 100%; text-align: left; }
.wm-footer { display: grid; gap: 14px; font-size: 14.5px; }
.wm-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.wm-logo-text { color: #fff; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.wm-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.wm-footer__links a { color: #dbe4f3; text-decoration: none; }
.wm-footer__links a:hover { color: var(--wm-volt); }
.wm-footer__copy { font-size: 12.5px; color: #7d8ca7; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; }

/* Responsive */
@media (max-width: 860px) {
	.wm-stats, .wm-calc__results { grid-template-columns: repeat(2, 1fr); }
	.wm-features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.wm-calc__fields { grid-template-columns: 1fr; }
	.wm-chart { gap: 2px; height: 170px; }
	.wm-chart__h { font-size: 9px; }
	.wm-stat__value { font-size: 20px; }
	.wm-res strong { font-size: 19px; }
}
