/* ================================================
   HOME NUEVO (captación) — page-templates/page-home-nuevo.php
   Paleta del tema: naranjo #e07d54 / #c15b33, verde #2cab63 / #167a41,
   beige #fbf9ea / #e0ddba, texto #333333
   ================================================ */

.ckh {
	--ckh-orange: #e07d54;
	--ckh-orange-dark: #c15b33;
	--ckh-green: #2cab63;
	--ckh-green-dark: #167a41;
	--ckh-beige: #fbf9ea;
	--ckh-beige-dark: #e0ddba;
	--ckh-text: #333333;
	--ckh-muted: #5f5f5f;
	--ckh-radius: 18px;
	color: var(--ckh-text);
	overflow-x: clip;
}

.ckh h1, .ckh h2, .ckh h3 { color: var(--ckh-text); letter-spacing: -0.01em; }
.ckh h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; margin-bottom: 0.6em; }
.ckh h3 { font-size: 1.1rem; line-height: 1.35; }

.ckh-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ckh-orange-dark);
	margin-bottom: 0.9rem;
}
.ckh-lead { font-size: 1.15rem; line-height: 1.7; color: var(--ckh-muted); }

/* --- Secciones --- */
.ckh-section { padding: clamp(56px, 8vw, 104px) 0; }
.ckh-beige { background: var(--ckh-beige); }
.ckh-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.ckh-head-row {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 16px; flex-wrap: wrap; text-align: left; max-width: none;
}
.ckh-head-row h2 { margin-bottom: 0; }
.ckh-more { font-weight: 600; white-space: nowrap; }

/* --- Botones --- */
.ckh .ckh-btn {
	border-radius: 999px;
	padding: 0.85rem 1.8rem;
	font-weight: 600;
	box-shadow: 0 8px 20px -8px rgba(224, 125, 84, 0.7);
	white-space: nowrap;
}
.ckh .ckh-btn:hover { background-color: var(--ckh-orange-dark); text-decoration: none; transform: translateY(-1px); }

/* --- Tarjetas --- */
.ckh-card {
	background: #fff;
	border-radius: var(--ckh-radius);
	box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 32px -16px rgba(0,0,0,0.18);
	height: 100%;
	margin: 0;
}

/* 1. HERO */
.ckh-hero {
	padding: clamp(40px, 7vw, 96px) 0;
	background: linear-gradient(180deg, var(--ckh-beige) 0%, #fff 100%);
}
.ckh-hero-title {
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.08;
	font-weight: 700;
	margin-bottom: 0.5em;
}
.ckh-hero-img {
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35);
}
.ckh-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 22% center; display: block; }

/* Formulario */
.ckh-form { margin-top: 28px; max-width: 560px; }
.ckh-form-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	background: #fff;
	padding: 18px;
	border-radius: 20px;
	box-shadow: 0 10px 30px -14px rgba(0,0,0,0.25);
	border: 1px solid var(--ckh-beige-dark);
	text-align: left;
}
.ckh-field label {
	display: block; font-size: 0.8rem; font-weight: 600;
	color: var(--ckh-text); margin: 0 0 4px 4px;
}
.ckh-field .form-control {
	border: 1px solid var(--ckh-beige-dark); border-radius: 12px;
	font-size: 1rem; padding: 0.7rem 0.9rem;
}
.ckh-field .form-control:focus { border-color: var(--ckh-green); box-shadow: 0 0 0 3px rgba(44, 171, 99, 0.2); }
.ckh-form-box .ckh-btn { grid-column: 1 / -1; width: 100%; box-shadow: none; }

/* Indicadores de confianza */
.ckh-trust {
	list-style: none; padding: 0; margin: 14px 0 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
	font-size: 0.85rem; color: var(--ckh-muted); text-align: left;
}
.ckh-trust li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.35; }
.ckh-trust i { color: var(--ckh-green-dark); width: 16px; text-align: center; margin-top: 2px; flex-shrink: 0; }

.ckh-form-extra { font-size: 0.75rem; color: var(--ckh-muted); margin: 8px 0 0; }
.ckh-form-extra p { margin: 0; }
.ckh-notices .woocommerce-error,
.ckh-notices .woocommerce-message { border-radius: 12px; margin-bottom: 20px; }

@media (max-width: 575px) {
	.ckh-form-box { grid-template-columns: 1fr; padding: 14px; }
	.ckh-trust { grid-template-columns: 1fr; }
}

/* 2. QUÉ RECIBES */
.ckh-benefit { padding: 28px 24px; }
.ckh-benefit p { color: var(--ckh-muted); margin: 0; }
.ckh-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 16px;
	background: rgba(224, 125, 84, 0.12);
	color: var(--ckh-orange-dark);
	font-size: 1.3rem;
	margin-bottom: 18px;
}
.ckh-facts {
	text-align: center; font-weight: 600; color: var(--ckh-green-dark);
	margin: 40px 0 20px;
}

/* 3. QUÉ ES / QUIÉNES SOMOS */
.ckh-quote {
	margin: 32px 0 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--ckh-orange);
}
.ckh-quote p { font-size: 1.3rem; font-style: italic; line-height: 1.5; margin-bottom: 6px; }
.ckh-quote cite { font-style: normal; color: var(--ckh-muted); }
.ckh-about { padding: clamp(28px, 4vw, 44px); background: var(--ckh-beige); box-shadow: none; }
.ckh-about p { font-size: 1.05rem; line-height: 1.7; margin: 0; }
.ckh-values { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.ckh-values li {
	background: #fff; border-radius: 999px; padding: 8px 16px;
	font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.ckh-values i { color: var(--ckh-green); }

/* 4. PRUEBA SOCIAL */
.ckh-green { background: var(--ckh-green-dark); color: #fff; }
.ckh-green h2 { color: #fff; }
.ckh-stats {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
	text-align: center; margin: -16px auto 48px; max-width: 820px;
}
.ckh-stats strong { display: block; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; }
.ckh-stats strong i { font-size: 0.6em; color: #ffd27a; vertical-align: middle; }
.ckh-stats span { font-size: 0.95rem; opacity: 0.85; }
.ckh-testimonial { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ckh-text); }
.ckh-testimonial blockquote { margin: 0 0 20px; }
.ckh-testimonial blockquote p { line-height: 1.65; margin: 0; }
.ckh-testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--ckh-muted); }
.ckh-testimonial figcaption strong { display: block; color: var(--ckh-text); font-size: 0.95rem; }
.ckh-testimonial img,
.ckh-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ckh-avatar {
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(224, 125, 84, 0.15); color: var(--ckh-orange-dark); font-weight: 700; font-size: 1.1rem;
}
@media (max-width: 575px) {
	.ckh-stats { grid-template-columns: 1fr; }
}

/* 5. BLOG Y CURSOS */
.ckh-post, .ckh-course { overflow: hidden; display: flex; flex-direction: column; }
.ckh-thumb { display: block; aspect-ratio: 16 / 10; background: var(--ckh-beige-dark); overflow: hidden; }
.ckh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ckh-card:hover .ckh-thumb img { transform: scale(1.04); }
.ckh-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ckh-card-body h3 { margin-bottom: 10px; }
.ckh-card-body h3 a { color: inherit; }
.ckh-link { margin-top: auto; font-weight: 600; }
.ckh-price { color: var(--ckh-green-dark); font-weight: 600; margin-bottom: 10px; }
.ckh-price del { color: var(--ckh-muted); font-weight: 400; margin-right: 6px; }

.ckh-courses {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
@media (max-width: 991px) {
	.ckh-courses { grid-template-columns: repeat(2, 1fr); }
}
/* En el celular: carrusel horizontal */
@media (max-width: 767px) {
	.ckh-courses {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
		gap: 16px; padding: 4px 16px 24px; margin: 0 -12px;
		-webkit-overflow-scrolling: touch;
	}
	.ckh-courses .ckh-course { flex: 0 0 78%; scroll-snap-align: start; }
}

/* 6. LLAMADO FINAL */
.ckh-cta { padding-top: 0; }
.ckh-beige + .ckh-cta { padding-top: clamp(56px, 8vw, 104px); background: var(--ckh-beige); }
.ckh-cta-box {
	background: linear-gradient(135deg, var(--ckh-orange) 0%, var(--ckh-orange-dark) 100%);
	border-radius: 28px;
	padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
	text-align: center;
	color: #fff;
}
.ckh-cta-box h2 { color: #fff; }
.ckh-cta-box .ckh-lead { color: rgba(255,255,255,0.92); }
.ckh-cta-box .ckh-form { margin: 28px auto 0; }
.ckh-cta-box .ckh-trust, .ckh-cta-box .ckh-form-extra { color: rgba(255,255,255,0.92); }
.ckh-cta-box .ckh-trust i { color: #fff; }
.ckh-cta-box .ckh-form-extra a { color: #fff; text-decoration: underline; }
.ckh-cta-box .ckh-btn { background: var(--ckh-green-dark); }
.ckh-cta-box .ckh-btn:hover { background: #0f5c30; }

/* Anula el estilo general de blockquote del tema */
.ckh blockquote { border: 0; padding: 0; background: none; font-size: inherit; }
.ckh .ckh-quote { border-left: 4px solid var(--ckh-orange); padding: 4px 0 4px 22px; }
