/* Gerhardt Inicio */
:root { --ghi-pri: #1274e7; --ghi-pri-2: #0b4fa3; --ghi-ink: #111827; --ghi-mut: #6b7280; --ghi-line: rgba(17,24,39,.08); --ghi-soft: #f3f6fb; --ghi-warm: #c8862e; --ghi-r: 22px; --ghi-sh: 0 14px 40px rgba(17,24,39,.08); }
.ghi-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: -4px; }

/* Ritmo general */
.ghi-sec, .ghi-custom, .ghi-close, .ghi-trust, .ghi-hero { margin: 0 0 96px; }
.ghi-sec h2, .ghi-custom h2, #content#content#content .ghi-sec h2, #content#content#content .ghi-custom h2 { margin: 6px 0 0 !important; font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.12 !important; letter-spacing: -.02em; color: var(--ghi-ink); }
.ghi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.ghi-head--center { justify-content: center; text-align: center; }
.ghi-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.ghi-eyebrow--dark { color: var(--ghi-warm); }
.ghi-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: var(--ghi-pri) !important; text-decoration: none !important; white-space: nowrap; }
.ghi-link .ghi-ico { width: 18px; height: 18px; transition: transform .25s; }
.ghi-link:hover .ghi-ico { transform: translateX(4px); }

/* Botones */
.ghi-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ghi-btns--center { justify-content: center; }
.ghi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; background: var(--ghi-pri); color: #fff !important; font-weight: 800; font-size: 16px; text-decoration: none !important; box-shadow: 0 14px 30px rgba(18,116,231,.3); transition: transform .25s, box-shadow .25s, background .25s; }
.ghi-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(18,116,231,.38); }
.ghi-btn .ghi-ico { width: 18px; height: 18px; }
.ghi-btn--glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ghi-btn--glass:hover { background: rgba(255,255,255,.24); box-shadow: none; }
.ghi-btn--light { background: #fff; color: var(--ghi-pri-2) !important; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.ghi-btn--ghost { background: #fff; color: var(--ghi-ink) !important; border: 1px solid #dfe5ee; box-shadow: none; }
.ghi-btn--ghost:hover { box-shadow: 0 10px 24px rgba(17,24,39,.1); }

/* 1. Portada */
.ghi-hero { margin-top: 36px !important; position: relative; overflow: hidden; min-height: min(640px, 78vh); display: flex; align-items: flex-end; border-radius: 28px; background: #0b0f17; color: #fff; isolation: isolate; box-shadow: 0 30px 70px rgba(11,15,23,.25); }
.ghi-hero__bg { position: absolute; inset: 0; z-index: -2; }
.ghi-hero__bg img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 60%; animation: ghi-zoom 18s ease-out both; }
.ghi-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,11,18,.92) 0%, rgba(8,11,18,.72) 42%, rgba(8,11,18,.15) 100%), linear-gradient(0deg, rgba(8,11,18,.6) 0%, rgba(8,11,18,0) 45%); }
.ghi-hero__in { max-width: 620px; padding: 64px 56px; }
.ghi-hero h1 { margin: 14px 0 16px !important; color: #fff !important; font-size: clamp(36px, 5vw, 64px) !important; line-height: 1.02 !important; letter-spacing: -.03em; font-weight: 800; }
.ghi-hero p { margin: 0 0 28px !important; max-width: 520px; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.55; }
@keyframes ghi-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* 2. Confianza */
.ghi-trust { list-style: none !important; margin-top: -56px !important; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0 !important; background: #fff; border-radius: 18px; box-shadow: var(--ghi-sh); margin-left: 32px !important; margin-right: 32px !important; }
.ghi-trust li { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 20px 22px !important; list-style: none; }
.ghi-trust li::before { display: none !important; }
.ghi-trust li + li { border-left: 1px solid var(--ghi-line); }
.ghi-trust .ghi-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(200,134,46,.12); color: var(--ghi-warm); }
.ghi-trust b { display: block; color: var(--ghi-ink); font-size: 15px; line-height: 1.25; }
.ghi-trust small { display: block; color: var(--ghi-mut); font-size: 13px; line-height: 1.3; }

/* 3. Modelos */
.ghi-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ghi-model { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--ghi-r); background: #fff; box-shadow: var(--ghi-sh); color: var(--ghi-ink) !important; text-decoration: none !important; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.ghi-model:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(17,24,39,.16); }
.ghi-model__img { display: block; aspect-ratio: 1; overflow: hidden; background: #f1ede7; }
.ghi-model__img img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.ghi-model:hover .ghi-model__img img { transform: scale(1.06); }
.ghi-model__txt { display: block; padding: 18px 20px 8px; }
.ghi-model__txt b { display: block; font-size: 19px; line-height: 1.2; }
.ghi-model__txt small { display: block; margin-top: 4px; color: var(--ghi-mut); font-size: 13.5px; }
.ghi-model__price { display: block; margin-top: 10px; font-size: 17px; font-weight: 800; color: var(--ghi-ink); }
.ghi-model__price del { color: var(--ghi-mut); font-weight: 500; font-size: 14px; margin-right: 6px; }
.ghi-model__go { display: inline-flex; align-items: center; gap: 6px; margin: auto 20px 18px; padding-top: 10px; color: var(--ghi-pri); font-weight: 800; font-size: 14px; }
.ghi-model__go .ghi-ico { width: 16px; height: 16px; transition: transform .25s; }
.ghi-model:hover .ghi-model__go .ghi-ico { transform: translateX(4px); }

/* 4. Hecho a mano */
.ghi-craft { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.ghi-craft__txt p { margin: 16px 0 24px !important; color: #4b5563; font-size: 17px; line-height: 1.65; }
.ghi-feats { list-style: none !important; margin: 0 0 26px !important; padding: 0 !important; display: grid; gap: 16px; }
.ghi-feats li { display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; padding: 0 !important; list-style: none; }
.ghi-feats li::before { display: none !important; }
.ghi-feats .ghi-ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: rgba(18,116,231,.1); color: var(--ghi-pri); }
.ghi-feats b { display: block; font-size: 16px; color: var(--ghi-ink); }
.ghi-feats small { display: block; color: var(--ghi-mut); font-size: 14px; }

/* 5. A medida */
.ghi-custom { position: relative; overflow: hidden; padding: 64px 48px 56px; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #1a6fd6 0%, #0b3f86 55%, #0a2550 100%); color: #fff; text-align: center; }
.ghi-custom::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.06); }
.ghi-custom__head { position: relative; max-width: 640px; margin: 0 auto 36px; }
.ghi-custom h2 { color: #fff !important; }
.ghi-custom__head p { margin: 14px 0 0 !important; color: rgba(255,255,255,.85); font-size: 17px; }
.ghi-steps { position: relative; list-style: none !important; margin: 0 0 36px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.ghi-steps li { position: relative; margin: 0 !important; padding: 26px 24px !important; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); list-style: none; }
.ghi-steps li::before { display: none !important; }
.ghi-steps__n { position: absolute; top: 18px; right: 22px; font-size: 44px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.14); }
.ghi-steps .ghi-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(255,255,255,.14); color: #fff; margin-bottom: 14px; }
.ghi-steps b { display: block; font-size: 18px; color: #fff; }
.ghi-steps small { display: block; margin-top: 4px; color: rgba(255,255,255,.8); font-size: 14.5px; line-height: 1.5; }

/* 6. Reseñas */
.ghi-score { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0 !important; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--ghi-sh); }
.ghi-score b { font-size: 22px; color: var(--ghi-ink); }
.ghi-score small { color: var(--ghi-mut); font-size: 14px; }
.ghi-stars { --r: 5; position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; }
.ghi-stars::before { content: "★★★★★"; color: #e5e7eb; }
.ghi-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: #f5a623; white-space: nowrap; }
.ghi-reviews .ghi-head { margin-bottom: 24px; }
.ghi-reviews .gog-head { display: none !important; }

/* 7. Aprender */
.ghi-learn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 22px; }
.ghi-learn__card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; border-radius: var(--ghi-r); color: #fff !important; text-decoration: none !important; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.ghi-learn__card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(17,24,39,.2); }
.ghi-learn__card--app { background: linear-gradient(150deg, #1f2937, #0b0f17); }
.ghi-learn__card--lesson { background: linear-gradient(150deg, #c8862e, #8a5518); }
.ghi-learn__card > .ghi-ico { width: 50px; height: 50px; padding: 12px; margin-bottom: 10px; border-radius: 14px; background: rgba(255,255,255,.14); }
.ghi-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ghi-learn__card b { font-size: 22px; line-height: 1.2; color: #fff; }
.ghi-learn__card small { color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.5; }
.ghi-learn__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 800; font-size: 15px; }
.ghi-learn__go .ghi-ico { width: 16px; height: 16px; }
.ghi-learn__posts { display: grid; gap: 12px; align-content: start; }
.ghi-learn__posts a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--ghi-sh); color: var(--ghi-ink) !important; text-decoration: none !important; transition: transform .25s; }
.ghi-learn__posts a:hover { transform: translateX(4px); }
.ghi-learn__posts img { width: 72px !important; height: 72px !important; flex: 0 0 72px; object-fit: cover; border-radius: 12px; }
.ghi-learn__posts b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.3; }
.ghi-learn__posts small { display: block; margin-top: 3px; color: var(--ghi-mut); font-size: 13px; }

/* 8. Cierre */
.ghi-close { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--ghi-sh); }
.ghi-close__img img { display: block; width: 100% !important; height: auto !important; max-width: none !important; }
.ghi-close__img.has-color { position: relative; overflow: hidden; }
.ghi-close__img .ghi-close__color { position: absolute; inset: 0; height: 100% !important; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.ghi-close:hover .ghi-close__color, .ghi-close__img.is-color .ghi-close__color { opacity: 1; }
.ghi-close__cta { padding: 30px 24px 36px; text-align: center; }
.ghi-close__cta p { margin: 0 0 18px !important; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--ghi-ink); letter-spacing: -.01em; }

/* Aparición suave al hacer scroll */
.ghi-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.ghi-reveal.is-in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1024px) {
	.ghi-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 16px !important; margin-right: 16px !important; }
	.ghi-trust li:nth-child(3) { border-left: 0; }
	.ghi-trust li:nth-child(n+3) { border-top: 1px solid var(--ghi-line); }
	.ghi-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ghi-craft { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ghi-learn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ghi-learn__posts { grid-column: 1 / -1; }
}
/* Celular */
@media (max-width: 640px) {
	.ghi-sec, .ghi-custom, .ghi-close, .ghi-trust, .ghi-hero { margin-bottom: 64px; }
	.ghi-hero { min-height: 560px; border-radius: 20px; margin-top: 16px !important; }
	.ghi-hero::after { background: linear-gradient(0deg, rgba(8,11,18,.95) 0%, rgba(8,11,18,.75) 50%, rgba(8,11,18,.2) 100%); }
	.ghi-hero__in { padding: 32px 22px 70px; }
	.ghi-hero p { font-size: 16px; }
	.ghi-btns .ghi-btn { flex: 1 1 100%; }
	.ghi-trust { margin-left: 10px !important; margin-right: 10px !important; }
	.ghi-trust li { padding: 14px 12px !important; gap: 8px; flex-direction: column; align-items: flex-start; }
	.ghi-trust .ghi-ico { width: 34px; height: 34px; padding: 7px; }
	.ghi-trust b { font-size: 14px; }
	.ghi-trust small { font-size: 12px; }
	.ghi-head { flex-direction: column; align-items: flex-start; }
	.ghi-head--center { align-items: center; }
	.ghi-models { gap: 12px; }
	.ghi-model__txt { padding: 12px 12px 4px; }
	.ghi-model__txt b { font-size: 16px; }
	.ghi-model__txt small { font-size: 12px; }
	.ghi-model__price { font-size: 15px; }
	.ghi-model__go { margin: auto 12px 12px; font-size: 13px; }
	.ghi-custom { padding: 44px 18px 36px; border-radius: 20px; }
	.ghi-steps { grid-template-columns: minmax(0, 1fr); }
	.ghi-learn { grid-template-columns: minmax(0, 1fr); }
	.ghi-close { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.ghi-hero__bg img { animation: none; }
	.ghi-reveal { opacity: 1; transform: none; transition: none; }
	.ghi-model, .ghi-model__img img, .ghi-learn__card { transition: none; }
}
