/* ==========================================================
   CuántoCuesta · diseño a medida sobre GeneratePress
   ========================================================== */
:root {
	--cc-navy: #0B2C5F;
	--cc-navy-2: #12407F;
	--cc-navy-3: #082247;
	--cc-orange: #F5A01A;
	--cc-orange-d: #D9840A;
	--cc-orange-l: #FFF1D9;
	--cc-cream: #FBF7F0;
	--cc-ink: #17233A;
	--cc-muted: #5B6779;
	--cc-line: #ECE5D9;
	--cc-white: #FFFFFF;
	--cc-radius: 18px;
	--cc-shadow: 0 1px 2px rgba(11, 44, 95, .06), 0 8px 24px -12px rgba(11, 44, 95, .18);
	--cc-shadow-h: 0 2px 4px rgba(11, 44, 95, .08), 0 18px 40px -16px rgba(11, 44, 95, .32);
	--cc-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
	--cc-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--cc-wrap: 1200px;
	--cc-read: 760px;
	/* Variables de GeneratePress */
	--accent: var(--cc-orange);
	--contrast: var(--cc-ink);
	--base-3: var(--cc-white);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	background: var(--cc-cream);
	color: var(--cc-ink);
	font-family: var(--cc-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--cc-head);
	color: var(--cc-navy);
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.2;
}
a { color: var(--cc-navy-2); transition: color .15s; }
a:hover { color: var(--cc-orange-d); }
::selection { background: var(--cc-orange); color: var(--cc-navy-3); }
:focus-visible { outline: 3px solid var(--cc-orange); outline-offset: 2px; border-radius: 6px; }

/* ---------- Cabecera ---------- */
.site-header {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--cc-line);
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .site-header { top: 32px; }
.inside-header { padding: 12px 24px; max-width: var(--cc-wrap); }
.site-logo img, .site-header .header-image { max-height: 52px; width: auto; }
.main-title a, .main-title a:hover { font-family: var(--cc-head); color: var(--cc-navy); font-weight: 700; }
.site-description { color: var(--cc-muted); }

.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
	font-family: var(--cc-head);
	font-weight: 500;
	font-size: 16px;
	color: var(--cc-navy);
	line-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
}
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a { color: var(--cc-navy); background: var(--cc-orange-l); }
.main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--cc-navy); background: var(--cc-orange-l); }
.main-navigation .main-nav ul li.cc-cta-item > a,
.main-navigation .main-nav ul li:last-child > a.cc-cta { background: var(--cc-orange); color: var(--cc-navy-3); }
.main-navigation .main-nav ul ul { background: #fff; border-radius: 14px; box-shadow: var(--cc-shadow-h); padding: 6px; }
.main-navigation .main-nav ul ul li a { line-height: 1.4; padding: 10px 14px; border-radius: 10px; }
.main-navigation .menu-toggle, .main-navigation .menu-toggle:hover, .main-navigation .menu-toggle:focus, button.menu-toggle:hover, button.menu-toggle:focus {
	color: var(--cc-navy); background: var(--cc-orange-l);
	border-radius: 999px; font-family: var(--cc-head); font-weight: 600;
	padding: 0 18px; line-height: 44px;
}
.main-navigation .menu-toggle .gp-icon svg { fill: var(--cc-navy); }
@media (max-width: 768px) {
	.site-header .inside-header {
		display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
		position: relative; padding: 10px 16px;
	}
	.site-header .inside-header > * { margin: 0 !important; }
	.site-header .site-logo img { max-height: 40px; }
	.site-header .main-navigation { width: auto; }
	.site-header .main-navigation, .site-header .inside-navigation { position: static !important; }
	.main-navigation.toggled .main-nav ul li a { white-space: nowrap; }
	.main-navigation.toggled .main-nav {
		position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
		background: #fff; border-radius: 16px; padding: 8px;
		box-shadow: var(--cc-shadow-h); border: 1px solid var(--cc-line);
	}
	.main-navigation.toggled .main-nav > ul { display: block; }
	.main-navigation.toggled .main-nav ul li a { line-height: 48px; color: var(--cc-navy); }
}

/* ---------- Estructura general ---------- */
.site.grid-container { max-width: var(--cc-wrap); }
.separate-containers .site-main { margin: 32px 0; }
.cc-main { width: 100%; padding: 8px 24px 56px; box-sizing: border-box; }
.site-content { display: block; }
.site-content .content-area { width: 100%; }

/* ---------- Portada: hero ---------- */
.cc-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(245, 160, 26, .30), transparent 60%),
		radial-gradient(900px 600px at -10% 120%, rgba(18, 64, 127, .9), transparent 60%),
		linear-gradient(160deg, var(--cc-navy) 0%, var(--cc-navy-3) 100%);
	color: #fff;
	padding: 72px 24px 64px;
}
.cc-hero::after {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
	pointer-events: none;
}
.cc-hero__inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.cc-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	padding: 6px 14px; border-radius: 999px;
	font-size: 14px; font-weight: 700; letter-spacing: .02em;
	margin: 0 0 22px;
}
.cc-hero__title {
	color: #fff;
	font-size: clamp(36px, 6.4vw, 68px);
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 18px;
}
.cc-rotator {
	color: var(--cc-orange);
	display: inline-block;
	position: relative;
	transition: opacity .3s, transform .3s;
}
.cc-rotator::after {
	content: "";
	position: absolute; left: 4%; right: 4%; bottom: -6px; height: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9C50 3 140 1 197 6' stroke='%23F5A01A' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	opacity: .55;
}
.cc-rotator.is-out { opacity: 0; transform: translateY(10px); }
.cc-hero__lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0 auto 30px; }
.cc-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.cc-hero__chips span { color: rgba(255, 255, 255, .7); font-weight: 700; padding: 6px 4px; }
.cc-hero__chips a {
	color: #fff; text-decoration: none;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	transition: background .15s, border-color .15s;
}
.cc-hero__chips a:hover { background: var(--cc-orange); border-color: var(--cc-orange); color: var(--cc-navy-3); }
.cc-hero__stats { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.cc-hero__stats div {
	min-width: 150px; padding: 14px 20px; border-radius: 16px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.cc-hero__stats strong { display: block; font-family: var(--cc-head); font-size: 28px; color: var(--cc-orange); line-height: 1.1; }
.cc-hero__stats span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.cc-hero__deco span {
	position: absolute; z-index: 1;
	font-family: var(--cc-head); font-weight: 700; color: var(--cc-orange);
	opacity: .14; user-select: none;
	animation: cc-float 9s ease-in-out infinite;
}
.cc-hero__deco .t1 { font-size: 180px; left: 4%; top: 12%; transform: rotate(-18deg); }
.cc-hero__deco .t2 { font-size: 110px; right: 7%; top: 52%; animation-delay: -3s; }
.cc-hero__deco .t3 { font-size: 70px; right: 20%; top: 6%; animation-delay: -6s; }
@keyframes cc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------- Buscador ---------- */
.cc-search {
	display: flex; align-items: center;
	background: #fff;
	border-radius: 999px;
	padding: 6px 6px 6px 22px;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5), 0 0 0 6px rgba(255, 255, 255, .08);
	max-width: 680px; margin: 0 auto;
}
.cc-search__prefix { font-family: var(--cc-head); font-weight: 600; color: var(--cc-navy); white-space: nowrap; margin-right: 8px; font-size: 17px; }
.cc-search input[type="search"] {
	flex: 1; min-width: 0;
	border: 0 !important; background: transparent !important;
	font: inherit; font-size: 17px; color: var(--cc-ink);
	padding: 12px 6px; outline: none; box-shadow: none;
}
.cc-search input::placeholder { color: #98A1AF; }
.cc-search button {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--cc-orange); color: var(--cc-navy-3);
	border: 0; border-radius: 999px;
	padding: 13px 24px;
	font-family: var(--cc-head); font-weight: 600; font-size: 17px;
	cursor: pointer; transition: background .15s, transform .15s;
}
.cc-search button:hover, .cc-search button:focus { background: #FFB43F; color: var(--cc-navy-3); transform: translateY(-1px); }
@media (max-width: 600px) {
	.cc-search { padding-left: 16px; }
	.cc-search__prefix { display: none; }
	.cc-search__btn-text { display: none; }
	.cc-search button { padding: 13px 15px; }
}

/* ---------- Secciones de portada ---------- */
.cc-home { padding-top: 0; }
.cc-section { margin-top: 64px; }
.cc-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cc-section__head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0; }
.cc-kicker {
	margin: 0 0 4px;
	font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--cc-orange-d);
}
.cc-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 18px; border-radius: 999px;
	font-family: var(--cc-head); font-weight: 600; font-size: 15px;
	text-decoration: none; white-space: nowrap;
	transition: background .15s, color .15s, border-color .15s;
}
.cc-btn--ghost { border: 2px solid var(--cc-line); color: var(--cc-navy); background: #fff; }
.cc-btn--ghost:hover { border-color: var(--cc-orange); background: var(--cc-orange); color: var(--cc-navy-3); }

/* ---------- Categorías ---------- */
.cc-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cc-cat {
	--cat: var(--cc-orange);
	position: relative;
	display: flex; flex-direction: column; gap: 2px;
	padding: 20px 18px 18px;
	background: #fff;
	border: 1px solid var(--cc-line);
	border-radius: var(--cc-radius);
	text-decoration: none; color: var(--cc-ink);
	box-shadow: var(--cc-shadow);
	transition: transform .2s, box-shadow .2s, border-color .2s;
	overflow: hidden;
}
.cc-cat::before {
	content: ""; position: absolute; right: -30px; top: -30px; width: 96px; height: 96px; border-radius: 50%;
	background: var(--cat); opacity: .1; transition: transform .3s;
}
.cc-cat:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-h); border-color: var(--cat); color: var(--cc-ink); }
.cc-cat:hover::before { transform: scale(1.6); }
.cc-cat__icon {
	width: 52px; height: 52px; display: grid; place-items: center;
	font-size: 28px; border-radius: 14px; margin-bottom: 10px;
	background: color-mix(in srgb, var(--cat) 14%, #fff);
}
.cc-cat__name { font-family: var(--cc-head); font-weight: 600; font-size: 18px; color: var(--cc-navy); line-height: 1.25; }
.cc-cat__count { font-size: 14px; color: var(--cc-muted); }
@media (max-width: 600px) {
	.cc-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.cc-cat { padding: 14px; }
	.cc-cat__icon { width: 44px; height: 44px; font-size: 24px; margin-bottom: 8px; }
	.cc-cat__name { font-size: 16px; }
	.cc-section { margin-top: 48px; }
	.cc-section__head { flex-wrap: wrap; align-items: flex-start; }
	.cc-hero { padding: 48px 18px 44px; }
	.cc-hero__stats div { min-width: 0; flex: 1; padding: 12px 10px; }
	.cc-hero__stats strong { font-size: 22px; }
	.cc-hero__stats span { font-size: 12px; }
	.cc-hero__chips span { width: 100%; padding: 0; }
	.cc-main { padding-left: 16px; padding-right: 16px; }
	.cc-eyebrow { font-size: 12px; }
	.cc-card__top { height: 92px; }
	.cc-card__emoji { width: 52px; height: 52px; font-size: 28px; border-radius: 15px; }
	.cc-card__price { font-size: 21px; }
	.cc-card__deco { font-size: 120px; bottom: -34px; }
	.cc-card__body { padding: 14px 18px 16px; }
	.cc-card__title { font-size: 19px; }
	.cc-card__excerpt { -webkit-line-clamp: 2; }
	.cc-grid { gap: 16px; }
}

/* ---------- Tarjetas de artículo ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cc-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .cc-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cc-grid, .cc-grid--3 { grid-template-columns: 1fr; } }

.cc-card {
	--cat: var(--cc-orange);
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--cc-line);
	border-radius: var(--cc-radius);
	overflow: hidden;
	box-shadow: var(--cc-shadow);
	transition: transform .2s, box-shadow .2s;
}
.cc-card:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-h); }
.cc-card__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.cc-card__top {
	position: relative;
	height: 132px;
	display: flex; align-items: center; gap: 14px;
	padding: 0 22px;
	background:
		radial-gradient(160px 120px at 92% 0%, rgba(255, 255, 255, .35), transparent 70%),
		linear-gradient(135deg, color-mix(in srgb, var(--cat) 22%, #fff) 0%, color-mix(in srgb, var(--cat) 8%, #fff) 100%);
	overflow: hidden;
}
.cc-card__top.has-img { padding: 0; height: 180px; }
.cc-card__top img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cc-card:hover .cc-card__top img { transform: scale(1.05); }
.cc-card__emoji {
	flex: none;
	width: 64px; height: 64px; display: grid; place-items: center;
	font-size: 34px; background: #fff; border-radius: 18px;
	box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--cat) 70%, #000);
	transition: transform .25s;
}
.cc-card:hover .cc-card__emoji { transform: rotate(-8deg) scale(1.06); }
.cc-card__price {
	position: relative; z-index: 2;
	display: flex; flex-direction: column;
	font-family: var(--cc-head); font-weight: 700; font-size: 24px; line-height: 1.1;
	color: var(--cc-navy);
}
.cc-card__price small {
	font-family: var(--cc-body); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: color-mix(in srgb, var(--cat) 70%, #000); margin-bottom: 2px;
}
.cc-card__deco {
	position: absolute; right: -6px; bottom: -38px;
	font-family: var(--cc-head); font-weight: 700; font-size: 150px; line-height: 1;
	color: var(--cat); opacity: .13; transform: rotate(-14deg);
	transition: transform .4s;
	pointer-events: none;
}
.cc-card:hover .cc-card__deco { transform: rotate(-4deg) translateY(-6px); }
.cc-tag {
	position: absolute; right: 14px; bottom: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--cc-navy); color: #fff;
	font-family: var(--cc-head); font-weight: 600; font-size: 15px;
	padding: 5px 12px 5px 10px;
	border-radius: 8px 999px 999px 8px;
	box-shadow: 0 6px 14px -6px rgba(11, 44, 95, .6);
}
.cc-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cc-orange); }
.cc-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.cc-card__cat {
	align-self: flex-start;
	font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	color: color-mix(in srgb, var(--cat) 75%, #000);
	margin-bottom: 6px;
}
.cc-card__title { font-size: 20px; margin: 0 0 8px; line-height: 1.25; transition: color .15s; }
.cc-card:hover .cc-card__title { color: var(--cc-navy-2); }
.cc-card__excerpt {
	font-size: 15px; color: var(--cc-muted); line-height: 1.55; margin: 0 0 14px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cc-card__more { margin-top: auto; font-family: var(--cc-head); font-weight: 600; font-size: 15px; color: var(--cc-orange-d); }
.cc-card__more span { display: inline-block; transition: transform .2s; }
.cc-card:hover .cc-card__more span { transform: translateX(4px); }

/* ---------- Bloque de confianza y CTA ---------- */
.cc-trust {
	margin-top: 64px;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
	padding: 34px;
	background: #fff;
	border: 1px solid var(--cc-line);
	border-radius: 24px;
	box-shadow: var(--cc-shadow);
}
.cc-trust > div > span { font-size: 30px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--cc-orange-l); }
.cc-trust h3 { font-size: 20px; margin: 14px 0 4px; }
.cc-trust p { margin: 0; color: var(--cc-muted); font-size: 15px; }
@media (max-width: 760px) { .cc-trust { grid-template-columns: 1fr; padding: 24px; } }

.cc-cta {
	margin-top: 64px;
	padding: 44px 32px;
	border-radius: 28px;
	text-align: center;
	color: #fff;
	background:
		radial-gradient(500px 220px at 100% 0%, rgba(245, 160, 26, .35), transparent 70%),
		linear-gradient(135deg, var(--cc-navy-2), var(--cc-navy-3));
}
.cc-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 6px; }
.cc-cta p { color: rgba(255, 255, 255, .8); margin: 0 0 24px; }

/* ---------- Cabecera de categorías y búsqueda ---------- */
.cc-banner {
	--cat: var(--cc-orange);
	position: relative;
	overflow: hidden;
	padding: 48px 24px 52px;
	text-align: center;
	background:
		radial-gradient(600px 260px at 50% -20%, color-mix(in srgb, var(--cat) 35%, transparent), transparent 70%),
		linear-gradient(160deg, var(--cc-navy) 0%, var(--cc-navy-3) 100%);
	color: #fff;
	margin-bottom: 32px;
}
.cc-banner__inner { max-width: 760px; margin: 0 auto; position: relative; }
.cc-banner__icon {
	display: inline-grid; place-items: center;
	width: 76px; height: 76px; border-radius: 22px;
	font-size: 40px; background: #fff;
	box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 16px 30px -12px rgba(0, 0, 0, .5);
	margin: 8px 0 18px;
}
.cc-banner h1 { color: #fff; font-size: clamp(30px, 5vw, 50px); font-weight: 700; margin: 0 0 10px; }
.cc-banner h1 span { color: var(--cc-orange); }
.cc-banner__desc, .cc-banner__desc p { color: rgba(255, 255, 255, .82); font-size: 18px; margin: 0 auto 6px; max-width: 620px; }
.cc-banner__count {
	display: inline-block; margin: 12px 0 0;
	padding: 4px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 700;
}
.cc-banner--search .cc-search { margin-top: 22px; }
.cc-banner .cc-crumbs, .cc-banner .cc-crumbs a { color: rgba(255, 255, 255, .7); justify-content: center; }

.cc-empty { text-align: center; padding: 30px 0 34px; }
.cc-empty > span { font-size: 56px; }
.cc-empty h2 { margin: 8px 0 4px; }
.cc-empty p { color: var(--cc-muted); }

/* ---------- Paginación ---------- */
.cc-pagination { margin-top: 40px; }
.cc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cc-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px;
	display: inline-grid; place-items: center;
	border-radius: 999px; background: #fff; border: 1px solid var(--cc-line);
	font-family: var(--cc-head); font-weight: 600; color: var(--cc-navy); text-decoration: none;
}
.cc-pagination .page-numbers.current, .cc-pagination a.page-numbers:hover { background: var(--cc-orange); border-color: var(--cc-orange); color: var(--cc-navy-3); }
.cc-pagination .dots { background: transparent; border: 0; }

/* ---------- Migas de pan ---------- */
.cc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--cc-muted); margin-bottom: 14px; }
.cc-crumbs a { color: var(--cc-muted); text-decoration: none; font-weight: 700; }
.cc-crumbs a:hover { color: var(--cc-orange-d); }
.cc-crumbs .separator { margin: 0 4px; }

/* ---------- Artículo ---------- */
.single .site-main, .page .site-main { max-width: var(--cc-read); margin-left: auto !important; margin-right: auto !important; }
.single .inside-article, .page .inside-article {
	background: #fff;
	border: 1px solid var(--cc-line);
	border-radius: 24px;
	padding: 44px 52px;
	box-shadow: var(--cc-shadow);
}
@media (max-width: 768px) {
	.separate-containers .site-main { margin: 16px 0; }
	.single .inside-article, .page .inside-article { padding: 26px 20px; border-radius: 18px; }
	.site-content { padding: 0 12px; }
}
.single .entry-title, .page .entry-title { font-size: clamp(30px, 4.6vw, 44px); font-weight: 700; margin-bottom: 14px; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.cc-meta span {
	font-size: 14px; font-weight: 700; color: var(--cc-muted);
	background: var(--cc-cream); border: 1px solid var(--cc-line);
	padding: 4px 12px; border-radius: 999px;
}
.entry-content { font-size: 18px; }
.entry-content > * + * { margin-top: 0; }
.entry-content p { margin-bottom: 1.25em; }
.entry-content h2 {
	font-size: clamp(25px, 3vw, 31px);
	margin: 1.8em 0 .6em;
	padding-bottom: 10px;
	position: relative;
}
.entry-content h2::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 56px; height: 5px; border-radius: 5px; background: var(--cc-orange);
}
.entry-content h3 { font-size: 22px; margin: 1.5em 0 .5em; }
.entry-content strong { color: var(--cc-navy-3); }
.entry-content a { text-decoration-color: var(--cc-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em 0; padding-left: 0; }
.entry-content ul li { list-style: none; position: relative; padding-left: 30px; margin-bottom: .45em; }
.entry-content ul li::before {
	content: ""; position: absolute; left: 4px; top: .62em;
	width: 10px; height: 10px; border-radius: 3px; background: var(--cc-orange); transform: rotate(45deg);
}
.entry-content ol { counter-reset: cc; }
.entry-content ol li { list-style: none; position: relative; padding-left: 40px; margin-bottom: .55em; counter-increment: cc; }
.entry-content ol li::before {
	content: counter(cc); position: absolute; left: 0; top: .15em;
	width: 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--cc-navy); color: #fff; font-family: var(--cc-head); font-size: 14px; font-weight: 600;
}

/* Respuesta rápida */
.cc-answer {
	position: relative;
	background: linear-gradient(135deg, var(--cc-orange-l), #FFF8EC);
	border: 2px solid color-mix(in srgb, var(--cc-orange) 45%, #fff);
	border-radius: 20px;
	padding: 20px 24px 6px;
	margin: 18px 0 28px;
}
.cc-answer__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cc-answer__label { font-family: var(--cc-head); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--cc-orange-d); }
.cc-answer__price {
	font-family: var(--cc-head); font-weight: 700; font-size: 22px;
	background: var(--cc-navy); color: #fff;
	padding: 4px 16px; border-radius: 12px;
}
.cc-answer p { font-size: 18px; font-weight: 600; color: var(--cc-navy-3); }

/* Índice */
.cc-toc {
	background: var(--cc-cream);
	border: 1px solid var(--cc-line);
	border-radius: 18px;
	padding: 6px 22px;
	margin: 6px 0 30px;
}
.cc-toc summary {
	cursor: pointer; list-style: none;
	font-family: var(--cc-head); font-weight: 600; font-size: 18px; color: var(--cc-navy);
	padding: 12px 0; display: flex; justify-content: space-between; align-items: center;
}
.cc-toc summary::-webkit-details-marker { display: none; }
.cc-toc summary::after { content: "▾"; color: var(--cc-orange-d); transition: transform .2s; }
.cc-toc:not([open]) summary::after { transform: rotate(-90deg); }
.entry-content .cc-toc ol { margin: 0 0 14px; }
.entry-content .cc-toc ol li { font-size: 16px; padding-left: 36px; margin-bottom: 6px; }
.entry-content .cc-toc ol li::before { width: 24px; height: 24px; font-size: 13px; background: #fff; color: var(--cc-navy); border: 2px solid var(--cc-orange); top: .05em; }
.entry-content .cc-toc a { font-weight: 600; text-decoration: none; color: var(--cc-ink); }
.entry-content .cc-toc a:hover { color: var(--cc-orange-d); }

/* Tablas de precios */
.cc-table { overflow-x: auto; margin: 0 0 1.6em; border-radius: 16px; border: 1px solid var(--cc-line); box-shadow: var(--cc-shadow); -webkit-overflow-scrolling: touch; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 16px; background: #fff; }
.entry-content table th, .entry-content thead td {
	background: var(--cc-navy); color: #fff;
	font-family: var(--cc-head); font-weight: 600; text-align: left;
	padding: 14px 18px; border: 0;
}
.entry-content table td { padding: 13px 18px; border: 0; border-top: 1px solid var(--cc-line); }
.entry-content table tbody tr:nth-child(even) td { background: #FCFAF6; }
.entry-content table tbody tr:hover td { background: var(--cc-orange-l); }
.entry-content table td:last-child { font-weight: 700; color: var(--cc-navy); }

/* Consejos (citas) */
.entry-content blockquote {
	border: 0; margin: 0 0 1.6em;
	background: #EEF4FF;
	border-radius: 18px;
	padding: 18px 22px 18px 62px;
	position: relative; font-style: normal; font-size: 17px; color: var(--cc-navy-3);
}
.entry-content blockquote::before { content: "💡"; position: absolute; left: 20px; top: 16px; font-size: 26px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content img { border-radius: 16px; }

/* Después del artículo */
.cc-after { margin-top: 40px; }
.cc-help {
	display: flex; gap: 16px; align-items: flex-start;
	background: var(--cc-cream); border: 1px dashed color-mix(in srgb, var(--cc-orange) 60%, #fff);
	border-radius: 18px; padding: 18px 22px;
}
.cc-help > span { font-size: 32px; line-height: 1; }
.cc-help strong { font-family: var(--cc-head); font-size: 18px; color: var(--cc-navy); }
.cc-help p { margin: 2px 0 0; font-size: 16px; color: var(--cc-muted); }
.cc-related { margin-top: 40px; }
.cc-related > h2 { font-size: 26px; margin-bottom: 18px; }
.single .cc-related .cc-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .single .cc-related .cc-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.cc-related .cc-card__top { height: 96px; padding: 0 16px; }
.cc-related .cc-card__emoji { width: 50px; height: 50px; font-size: 26px; border-radius: 14px; }
.cc-related .cc-card__price { font-size: 18px; }
.cc-related .cc-card__deco { font-size: 110px; bottom: -30px; }
.cc-related .cc-card__body { padding: 14px 16px 16px; }
.cc-related .cc-card__title { font-size: 17px; }
.cc-related .cc-card__excerpt { display: none; }
.cc-related .cc-tag { font-size: 13px; right: 10px; bottom: 10px; }

/* Comentarios */
.comments-area { max-width: var(--cc-read); margin: 0 auto; }
.separate-containers .comments-area { background: #fff; border: 1px solid var(--cc-line); border-radius: 24px; box-shadow: var(--cc-shadow); padding: 34px 40px; }
@media (max-width: 768px) { .separate-containers .comments-area { padding: 24px 20px; } }
.comment-respond .comment-reply-title, .comments-title { font-size: 24px; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], textarea, select {
	background: var(--cc-cream); border: 1.5px solid var(--cc-line); border-radius: 12px; color: var(--cc-ink);
	transition: border-color .15s, background .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--cc-orange) !important; background: #fff !important; }
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, .wp-block-button__link {
	background: var(--cc-orange); color: var(--cc-navy-3);
	font-family: var(--cc-head); font-weight: 600;
	border-radius: 999px; padding: 12px 24px;
}
button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, a.button:hover,
button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, a.button:focus {
	background: var(--cc-navy); color: #fff;
}

/* Barra lateral (por si se vuelve a activar) */
.widget-area .widget { background: #fff; border: 1px solid var(--cc-line); border-radius: 20px; box-shadow: var(--cc-shadow); }
.widget-title { font-family: var(--cc-head); color: var(--cc-navy); }

/* ---------- Pie ---------- */
.site-footer { background: transparent; }
.cc-footer { background: var(--cc-navy-3); color: rgba(255, 255, 255, .72); margin-top: 72px; position: relative; }
.cc-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
	background: linear-gradient(90deg, var(--cc-orange), #FFC66B, var(--cc-orange));
}
.cc-footer__inner {
	max-width: var(--cc-wrap); margin: 0 auto;
	padding: 56px 24px 36px;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
}
.cc-footer__logo { font-family: var(--cc-head); font-weight: 700; font-size: 30px; color: #fff; text-decoration: none; }
.cc-footer__logo span { color: var(--cc-orange); }
.cc-footer__logo:hover { color: #fff; }
.cc-footer__brand p { font-size: 15px; max-width: 380px; margin-top: 10px; }
.cc-footer h4 { color: #fff; font-size: 17px; margin: 6px 0 14px; }
.cc-footer ul { list-style: none; margin: 0; padding: 0; }
.cc-footer li { margin-bottom: 8px; font-size: 15px; }
.cc-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.cc-footer a:hover { color: var(--cc-orange); }
.cc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 18px 24px; font-size: 14px; }
.cc-footer__bottom p { margin: 0; }
@media (max-width: 820px) { .cc-footer__inner { grid-template-columns: 1fr 1fr; } .cc-footer__brand { grid-column: 1 / -1; } }

/* Volver arriba de GP */
.generate-back-to-top { background: var(--cc-orange); color: var(--cc-navy-3); border-radius: 50%; }

/* Animación de entrada suave */
@media (prefers-reduced-motion: no-preference) {
	.cc-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
	.cc-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
