/* =============================================================
   GekaWa — sitio público
   Sistema de diseño: tokens, componentes y ajustes de las páginas
   internas (que aún usan clases tp-* de la plantilla anterior).
   ============================================================= */
:root {
  --gk-primary: #0e9f6e;
  --gk-primary-600: #0b855c;
  --gk-primary-700: #096b4a;
  --gk-primary-50: #ecfdf5;
  --gk-primary-100: #d1fae5;
  --gk-ink: #0f172a;
  --gk-ink-2: #1e293b;
  --gk-muted: #64748b;
  --gk-line: #e2e8f0;
  --gk-bg: #f8fafc;
  --gk-card: #ffffff;
  --gk-accent: #2563eb;
  --gk-radius: 14px;
  --gk-radius-lg: 22px;
  --gk-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --gk-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --gk-shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, .28);
  --gk-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--gk-font);
  color: var(--gk-ink-2);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--gk-font); color: var(--gk-ink); letter-spacing: -.02em; }
a { transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
img { max-width: 100%; }
a { color: var(--gk-primary-600); text-decoration: none; }
a:hover { color: var(--gk-primary-700); }
button, input, select, textarea { font-family: inherit; }
ul, ol { padding-left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gk-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Botones ---------- */
.gk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.gk-btn--primary { background: var(--gk-primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(14, 159, 110, .7); }
.gk-btn--primary:hover { background: var(--gk-primary-600); color: #fff; transform: translateY(-1px); }
.gk-btn--ghost { background: #fff; color: var(--gk-ink); border-color: var(--gk-line); }
.gk-btn--ghost:hover { border-color: var(--gk-ink); color: var(--gk-ink); }
.gk-btn--dark { background: var(--gk-ink); color: #fff; }
.gk-btn--dark:hover { background: #000; color: #fff; }
.gk-btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.gk-btn--block { width: 100%; }
.gk-link { color: var(--gk-primary-600); font-weight: 600; text-decoration: none; }
.gk-link:hover { color: var(--gk-primary-700); text-decoration: underline; }

/* ---------- Cabecera ---------- */
.gk-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.gk-header.is-scrolled { border-bottom-color: var(--gk-line); box-shadow: 0 6px 20px -14px rgba(15, 23, 42, .3); }
.gk-header__inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.gk-header__logo img { height: 34px; width: auto; display: block; }
.gk-nav { flex: 1; }
.gk-nav ul { display: flex; align-items: center; justify-content: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.gk-nav li { position: relative; }
.gk-nav a { display: block; padding: .5rem .9rem; border-radius: 8px; color: var(--gk-ink-2); font-weight: 500; font-size: .95rem; text-decoration: none; text-transform: none; letter-spacing: 0; }
.gk-nav a:hover { color: var(--gk-primary-700); background: var(--gk-primary-50); }
.gk-nav .submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--gk-line); border-radius: 12px; padding: .4rem; box-shadow: var(--gk-shadow); }
.gk-nav li:hover > .submenu { display: flex; }
.gk-header__actions { display: flex; align-items: center; gap: .75rem; }
.gk-header__login { color: var(--gk-ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; padding: .5rem .6rem; }
.gk-header__login:hover { color: var(--gk-primary-700); }
.gk-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--gk-line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.gk-burger svg { width: 20px; height: 20px; stroke: var(--gk-ink); }
.gk-mobile { display: none; border-top: 1px solid var(--gk-line); background: #fff; padding: 1rem 24px 1.4rem; }
.gk-mobile.is-open { display: block; }
.gk-mobile ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.gk-mobile a { display: block; padding: .7rem 0; color: var(--gk-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gk-line); }
.gk-mobile .gk-btn { margin-top: .5rem; }
@media (max-width: 991px) {
  .gk-nav, .gk-header__actions .gk-header__login, .gk-header__actions .gk-btn { display: none; }
  .gk-burger { display: inline-flex; margin-left: auto; }
  .gk-header__inner { height: 64px; }
}

/* ---------- Hero ---------- */
.gk-hero { position: relative; overflow: hidden; padding: 72px 0 0; background:
  radial-gradient(60% 50% at 50% 0%, rgba(14, 159, 110, .14), transparent 70%),
  radial-gradient(40% 40% at 90% 10%, rgba(37, 99, 235, .08), transparent 70%),
  linear-gradient(180deg, #f3fbf7 0%, #fff 70%); }
.gk-hero__text { max-width: 780px; margin: 0 auto; text-align: center; }
.gk-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--gk-primary-100); color: var(--gk-primary-700); font-size: .82rem; font-weight: 600; box-shadow: var(--gk-shadow-sm); }
.gk-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gk-primary); box-shadow: 0 0 0 4px rgba(14, 159, 110, .18); }
.gk-hero h1 { margin: 1.2rem 0 1rem; font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.gk-hero h1 span { background: linear-gradient(95deg, var(--gk-primary), #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gk-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--gk-muted); line-height: 1.65; max-width: 640px; margin: 0 auto 1.8rem; }
.gk-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.gk-hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; color: var(--gk-muted); font-size: .9rem; }
.gk-hero__points li { display: inline-flex; align-items: center; gap: .4rem; }
.gk-hero__points svg { width: 16px; height: 16px; stroke: var(--gk-primary); flex: none; }
.gk-shot { position: relative; max-width: 1020px; margin: 3.2rem auto 0; padding: 10px 10px 0; background: linear-gradient(180deg, #e2e8f0, #cbd5e1); border-radius: 18px 18px 0 0; box-shadow: var(--gk-shadow-lg); }
.gk-shot__bar { display: flex; gap: 6px; padding: 4px 8px 10px; }
.gk-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #94a3b8; opacity: .7; display: block; }
.gk-shot img { display: block; width: 100%; border-radius: 10px 10px 0 0; background: #fff; }

/* ---------- Secciones ---------- */
.gk-section { padding: 96px 0; }
.gk-section--soft { background: var(--gk-bg); }
.gk-section--dark { background: var(--gk-ink); color: #cbd5e1; }
.gk-section--dark h2, .gk-section--dark h3 { color: #fff; }
.gk-eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gk-primary-600); margin-bottom: .8rem; }
.gk-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.12; margin: 0 0 .9rem; }
.gk-lead { font-size: 1.08rem; color: var(--gk-muted); line-height: 1.7; max-width: 620px; }
.gk-head { text-align: center; margin: 0 auto 3.4rem; max-width: 700px; }
.gk-head .gk-lead { margin: 0 auto; }

/* ---------- Tarjetas de funciones ---------- */
.gk-grid { display: grid; gap: 1.25rem; }
.gk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gk-card { background: var(--gk-card); border: 1px solid var(--gk-line); border-radius: var(--gk-radius-lg); padding: 1.7rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gk-card:hover { transform: translateY(-3px); box-shadow: var(--gk-shadow); border-color: var(--gk-primary-100); }
.gk-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--gk-primary-50); color: var(--gk-primary-600); margin-bottom: 1.1rem; }
.gk-icon svg { width: 24px; height: 24px; stroke: currentColor; }
.gk-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .45rem; }
.gk-card p { margin: 0; color: var(--gk-muted); line-height: 1.65; font-size: .96rem; }
@media (max-width: 991px) { .gk-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gk-grid--3 { grid-template-columns: 1fr; } .gk-section { padding: 64px 0; } }

/* ---------- Pasos ---------- */
.gk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: paso; }
.gk-step { position: relative; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--gk-radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.gk-step::before { counter-increment: paso; content: counter(paso); display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gk-primary); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.gk-step h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.gk-step p { margin: 0; color: #94a3b8; line-height: 1.65; }
@media (max-width: 860px) { .gk-steps { grid-template-columns: 1fr; } }

/* ---------- Planes ---------- */
.gk-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.gk-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gk-line); border-radius: var(--gk-radius-lg); padding: 2rem 1.8rem; }
.gk-plan--hot { border-color: var(--gk-primary); box-shadow: 0 0 0 4px rgba(14, 159, 110, .12), var(--gk-shadow); }
.gk-plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gk-primary); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.gk-plan h3 { font-size: 1.1rem; margin: 0 0 .8rem; font-weight: 700; }
.gk-plan__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--gk-ink); line-height: 1.15; overflow-wrap: anywhere; }
.gk-plan__price small { font-size: .95rem; font-weight: 500; color: var(--gk-muted); letter-spacing: 0; line-height: 1.15; }
.gk-plan ul { list-style: none; margin: 1.5rem 0 1.8rem; padding: 0; flex: 1; }
.gk-plan li { display: flex; gap: .6rem; align-items: flex-start; padding: .42rem 0; color: var(--gk-ink-2); font-size: .94rem; }
.gk-plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--gk-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b855c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.gk-plan li.d-none { display: none; }

/* ---------- Preguntas frecuentes ---------- */
.gk-faq { max-width: 820px; margin: 0 auto; }
.gk-faq details { background: #fff; border: 1px solid var(--gk-line); border-radius: var(--gk-radius); margin-bottom: .75rem; transition: border-color .15s ease; }
.gk-faq details[open] { border-color: var(--gk-primary-100); box-shadow: var(--gk-shadow-sm); }
.gk-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-weight: 600; color: var(--gk-ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.gk-faq summary::-webkit-details-marker { display: none; }
.gk-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gk-primary-600); font-weight: 500; }
.gk-faq details[open] summary::after { content: "–"; }
.gk-faq .gk-faq__body { padding: 0 1.4rem 1.3rem; color: var(--gk-muted); line-height: 1.7; }

/* ---------- Banda final ---------- */
.gk-cta { border-radius: 28px; padding: 4rem 2rem; text-align: center; color: #d1fae5; background:
  radial-gradient(70% 90% at 80% 0%, rgba(255, 255, 255, .14), transparent 60%),
  linear-gradient(135deg, var(--gk-primary-600), #065f46); }
.gk-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin: 0 0 .8rem; }
.gk-cta p { color: #d1fae5 !important; max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.05rem; line-height: 1.65; }
.gk-cta .gk-btn--light { background: #fff; color: var(--gk-primary-700); }
.gk-cta .gk-btn--light:hover { background: var(--gk-primary-50); color: var(--gk-primary-700); transform: translateY(-1px); }

/* ---------- Pie de página ---------- */
.gk-footer { background: var(--gk-ink); color: #94a3b8; padding: 64px 0 28px; }
.gk-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gk-footer img { height: 32px; width: auto; margin-bottom: 1rem; }
.gk-footer p { color: #94a3b8 !important; margin: 0; line-height: 1.7; max-width: 340px; }
.gk-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; font-weight: 700; }
.gk-footer ul { list-style: none; margin: 0; padding: 0; }
.gk-footer li { margin-bottom: .55rem; }
.gk-footer a { color: #cbd5e1; text-decoration: none; }
.gk-footer a:hover { color: #fff; }
.gk-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-top: 1.6rem; font-size: .88rem; }
@media (max-width: 760px) { .gk-footer__top { grid-template-columns: 1fr; } }

/* =============================================================
   Páginas internas (clases tp-* de la plantilla anterior)
   ============================================================= */
.breadcrumb__area { background-image: none !important; background: radial-gradient(60% 120% at 50% 0%, rgba(14, 159, 110, .14), transparent 70%), linear-gradient(180deg, #f3fbf7, #fff) !important; min-height: 0 !important; height: auto !important; padding: 64px 0 56px !important; border-bottom: 1px solid var(--gk-line); }
.breadcrumb__area .breadcrumb__scroll-bottom { display: none !important; }
.breadcrumb__title { font-family: var(--gk-font) !important; font-size: clamp(1.9rem, 4vw, 2.8rem) !important; font-weight: 800 !important; color: var(--gk-ink) !important; letter-spacing: -.03em; margin-bottom: .6rem !important; }
.breadcrumb__list span, .breadcrumb__list a { color: var(--gk-muted) !important; font-size: .92rem; }
.breadcrumb__list a:hover { color: var(--gk-primary-700) !important; }
.tp-section-title, .tp-section-title-sm { font-family: var(--gk-font) !important; font-weight: 800 !important; letter-spacing: -.03em !important; color: var(--gk-ink); }
.tp-btn, .tp-btn-blue, .tp-btn-sky, .tp-btn-border, .tp-btn-blue-square { border-radius: 999px !important; font-family: var(--gk-font) !important; font-weight: 600 !important; }
.tp-btn-blue, .tp-btn-blue-square, .tp-btn { background: var(--gk-primary) !important; border-color: var(--gk-primary) !important; color: #fff !important; box-shadow: 0 8px 20px -8px rgba(14, 159, 110, .7); }
.tp-btn-blue:hover, .tp-btn-blue-square:hover, .tp-btn:hover { background: var(--gk-primary-600) !important; border-color: var(--gk-primary-600) !important; }
.tp-btn-border { border: 1px solid var(--gk-line) !important; color: var(--gk-ink) !important; background: #fff !important; }
.tp-btn-border:hover { border-color: var(--gk-primary) !important; color: var(--gk-primary-700) !important; }
.theme-bg { background: var(--gk-primary-600) !important; }
.grey-bg { background: var(--gk-bg) !important; }
.scroll-top { background: var(--gk-primary) !important; border-radius: 12px !important; }

/* Formularios de acceso / registro / contacto */
.tp-login-area { background: #fff; }
.tp-login-thumb { background: linear-gradient(135deg, var(--gk-primary-50), #fff) !important; }
.tplogin { width: 100%; max-width: 440px; }
.tp-login-title { font-weight: 800 !important; font-family: var(--gk-font) !important; letter-spacing: -.03em; }
.tplogin input[type=text], .tplogin input[type=email], .tplogin input[type=password], .tplogin input[type=number],
.tp-contact-input input, .tp-contact-input textarea, .tp-mail input, .tp-password input, .tp-name input, .tp-contact input, .tp-contact textarea {
  border: 1px solid var(--gk-line) !important; border-radius: 12px !important; background: #fff !important; padding: .85rem 1rem !important; height: auto !important; color: var(--gk-ink); font-family: var(--gk-font);
}
.tplogin input:focus, .tp-contact-input input:focus, .tp-contact-input textarea:focus {
  border-color: var(--gk-primary) !important; box-shadow: 0 0 0 4px rgba(14, 159, 110, .15) !important; outline: 0;
}
.tplogin label { font-weight: 600; color: var(--gk-ink); font-size: .9rem; }

/* Acordeones antiguos */
.accordion-buttons { font-family: var(--gk-font) !important; font-weight: 600 !important; }

/* ---------- Acceso (login / registro / recuperar) ---------- */
.gk-auth { display: grid; grid-template-columns: minmax(320px, 42%) 1fr; min-height: 100vh; background: #fff; }
.gk-auth__side { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 2.5rem 3rem; color: #d1fae5; background:
  radial-gradient(80% 60% at 0% 0%, rgba(255, 255, 255, .12), transparent 60%),
  linear-gradient(160deg, var(--gk-primary-600), #064e3b); }
.gk-auth__logo img { height: 34px; width: auto; display: block; }
.gk-auth__pitch h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.15; margin: 0 0 1.4rem; }
.gk-auth__pitch ul { list-style: none; margin: 0; padding: 0; }
.gk-auth__pitch li { position: relative; padding: .45rem 0 .45rem 1.9rem; font-size: 1.02rem; }
.gk-auth__pitch li::before { content: ""; position: absolute; left: 0; top: .7rem; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.gk-auth__side small { color: #6ee7b7; }
.gk-auth__main { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; }
.gk-auth__box { width: 100%; max-width: 420px; }
.gk-auth__back { display: inline-block; margin-bottom: 2rem; color: var(--gk-muted); font-size: .9rem; text-decoration: none; }
.gk-auth__back:hover { color: var(--gk-ink); }
.gk-auth__box h1 { font-size: 1.9rem; font-weight: 800; margin: 0 0 .5rem; }
.gk-auth__sub { color: var(--gk-muted); margin: 0 0 1.8rem; line-height: 1.6; }
.gk-alert { padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; font-size: .92rem; }
.gk-alert--ok { background: var(--gk-primary-50); color: var(--gk-primary-700); border: 1px solid var(--gk-primary-100); }
.gk-field { margin-bottom: 1.1rem; }
.gk-field label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .9rem; color: var(--gk-ink); }
.gk-field input { width: 100%; padding: .8rem 1rem; border: 1px solid var(--gk-line); border-radius: 12px; font-size: 1rem; font-family: var(--gk-font); background: #fff; color: var(--gk-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.gk-field input:focus { outline: 0; border-color: var(--gk-primary); box-shadow: 0 0 0 4px rgba(14, 159, 110, .15); }
.gk-field input.is-invalid { border-color: #dc2626; }
.gk-field__error { display: block; margin-top: .35rem; color: #dc2626; font-size: .85rem; }
.gk-form__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .2rem 0 1.4rem; font-size: .9rem; }
.gk-check { display: inline-flex; align-items: center; gap: .5rem; color: var(--gk-ink-2); cursor: pointer; margin: 0; }
.gk-check input { width: 16px; height: 16px; accent-color: var(--gk-primary); }
.gk-form__alt { text-align: center; margin: 1.4rem 0 0; color: var(--gk-muted); font-size: .92rem; }
@media (max-width: 860px) { .gk-auth { grid-template-columns: 1fr; } .gk-auth__side { padding: 1.4rem 1.5rem; } .gk-auth__pitch, .gk-auth__side small { display: none; } .gk-auth__main { align-items: flex-start; } }

/* =============================================================
   Componentes de las páginas públicas (versión completa)
   ============================================================= */
.gk-field textarea, .gk-field select { width: 100%; padding: .8rem 1rem; border: 1px solid var(--gk-line); border-radius: 12px; font-size: 1rem; font-family: var(--gk-font); background: #fff; color: var(--gk-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.gk-field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.gk-field textarea:focus, .gk-field select:focus { outline: 0; border-color: var(--gk-primary); box-shadow: 0 0 0 4px rgba(14, 159, 110, .15); }
.gk-prose { color: var(--gk-ink-2); font-size: 1.04rem; line-height: 1.8; overflow-wrap: anywhere; }
.gk-prose h2, .gk-prose h3, .gk-prose h4 { margin: 2rem 0 .8rem; font-weight: 800; }
.gk-prose p { margin: 0 0 1.1rem; }
.gk-prose img { height: auto; border-radius: var(--gk-radius); margin: 1.2rem 0; }
.gk-prose a { color: var(--gk-primary-700); text-decoration: underline; }
.gk-prose ul, .gk-prose ol { padding-left: 1.3rem; margin: 0 0 1.1rem; }
.gk-prose blockquote { margin: 1.4rem 0; padding: .6rem 1.2rem; border-left: 4px solid var(--gk-primary); background: var(--gk-primary-50); border-radius: 0 12px 12px 0; }
.gk-narrow { max-width: 820px; margin: 0 auto; }

/* Cabecera de las páginas internas */
.gk-pagehead { position: relative; padding: 76px 0 64px; text-align: center; border-bottom: 1px solid var(--gk-line); background:
  radial-gradient(60% 120% at 50% 0%, rgba(14, 159, 110, .13), transparent 70%),
  linear-gradient(180deg, #f3fbf7, #fff); }
.gk-pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: .4rem auto .9rem; max-width: 820px; overflow-wrap: anywhere; }
.gk-pagehead .gk-lead { margin: 0 auto; }
.gk-crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; font-size: .85rem; color: var(--gk-muted); margin: 0 0 .6rem; padding: 0; list-style: none; }
.gk-crumbs a { color: var(--gk-muted); text-decoration: none; }
.gk-crumbs a:hover { color: var(--gk-primary-700); }
.gk-crumbs li + li::before { content: "/"; margin-right: .5rem; color: #cbd5e1; }

/* Dos columnas: texto + visual */
.gk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.gk-split--rev > :first-child { order: 2; }
.gk-split > * { min-width: 0; }
@media (max-width: 900px) { .gk-split { grid-template-columns: 1fr; gap: 2.4rem; } .gk-split--rev > :first-child { order: 0; } }
.gk-checks { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.gk-checks li { position: relative; padding: .5rem 0 .5rem 2rem; color: var(--gk-ink-2); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.gk-checks li::before { content: ""; position: absolute; left: 0; top: .72rem; width: 20px; height: 20px; border-radius: 50%; background: var(--gk-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b855c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Cifras */
.gk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gk-stat { text-align: center; padding: 2rem 1rem; border-radius: var(--gk-radius-lg); background: #fff; border: 1px solid var(--gk-line); }
.gk-stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; color: var(--gk-primary-600); line-height: 1.1; }
.gk-stat span { display: block; margin-top: .4rem; color: var(--gk-muted); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 700px) { .gk-stats { grid-template-columns: 1fr; } }

/* Tarjeta de característica / artículo con enlace */
.gk-card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.gk-card--link h3 { overflow-wrap: anywhere; }
.gk-card--link p { flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gk-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 600; font-size: .92rem; color: var(--gk-primary-700); }
.gk-more svg { width: 16px; height: 16px; stroke: currentColor; transition: transform .15s ease; }
.gk-card--link:hover .gk-more svg { transform: translateX(3px); }
.gk-card__media { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin: -.5rem -.5rem 1.1rem; background: linear-gradient(135deg, var(--gk-primary-50), #eff6ff); }
.gk-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gk-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--gk-muted); font-size: .84rem; margin-bottom: .5rem; }
.gk-tag { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--gk-primary-50); color: var(--gk-primary-700); font-size: .78rem; font-weight: 600; text-decoration: none; }

/* Equipo */
.gk-person { text-align: center; padding: 2rem 1.4rem; }
.gk-avatar { width: 92px; height: 92px; margin: 0 auto 1.1rem; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gk-primary-100), #dbeafe); color: var(--gk-primary-700); font-weight: 800; font-size: 1.9rem; }
.gk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gk-person h3 { margin-bottom: .15rem; }
.gk-person small { display: block; color: var(--gk-muted); margin-bottom: .6rem; overflow-wrap: anywhere; }

/* Contacto */
.gk-contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.gk-contact > * { min-width: 0; }
.gk-contact__info { display: grid; gap: 1rem; }
.gk-info { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: var(--gk-radius-lg); background: #fff; border: 1px solid var(--gk-line); }
.gk-info .gk-icon { margin: 0; flex: none; }
.gk-info h3 { font-size: 1rem; margin: 0 0 .15rem; }
.gk-info p, .gk-info a { margin: 0; color: var(--gk-muted); line-height: 1.55; overflow-wrap: anywhere; text-decoration: none; display: block; }
.gk-info a:hover { color: var(--gk-primary-700); }
.gk-formcard { padding: 2rem; border-radius: var(--gk-radius-lg); background: #fff; border: 1px solid var(--gk-line); box-shadow: var(--gk-shadow); }
.gk-formcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) { .gk-contact { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .gk-formcard__row { grid-template-columns: 1fr; } .gk-formcard { padding: 1.3rem; } }

/* Barra lateral del blog */
.gk-blog { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.gk-blog > * { min-width: 0; }
.gk-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; min-width: 0; }
.gk-side > * { min-width: 0; }
.gk-side .gk-card { padding: 1.3rem; }
.gk-side h4 { font-size: 1rem; margin: 0 0 .8rem; }
.gk-side ul { list-style: none; margin: 0; padding: 0; }
.gk-side li { padding: .45rem 0; border-bottom: 1px solid var(--gk-line); overflow-wrap: anywhere; }
.gk-side li:last-child { border-bottom: 0; }
.gk-side a { color: var(--gk-ink-2); text-decoration: none; }
.gk-side a:hover { color: var(--gk-primary-700); }
.gk-search { display: flex; gap: .5rem; }
.gk-search input { flex: 1; min-width: 0; padding: .65rem .9rem; border: 1px solid var(--gk-line); border-radius: 10px; font-family: var(--gk-font); }
.gk-search input:focus { outline: 0; border-color: var(--gk-primary); box-shadow: 0 0 0 4px rgba(14, 159, 110, .15); }
@media (max-width: 900px) { .gk-blog { grid-template-columns: 1fr; } }
.gk-pager { display: flex; justify-content: center; margin-top: 2.5rem; }
.gk-pager .pagination { gap: .35rem; }
.gk-pager .page-link { border-radius: 10px !important; border: 1px solid var(--gk-line); color: var(--gk-ink-2); }
.gk-pager .active .page-link { background: var(--gk-primary); border-color: var(--gk-primary); color: #fff; }
.gk-empty { text-align: center; padding: 3.5rem 1rem; color: var(--gk-muted); border: 1px dashed var(--gk-line); border-radius: var(--gk-radius-lg); background: #fff; }

/* Página de error */
.gk-error { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem; text-align: center; background:
  radial-gradient(60% 50% at 50% 0%, rgba(14, 159, 110, .13), transparent 70%), #fff; }
.gk-error__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(95deg, var(--gk-primary), #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gk-error h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: .8rem 0 .6rem; }
.gk-error p { color: var(--gk-muted); max-width: 480px; margin: 0 auto 1.8rem; line-height: 1.7; }

/* ---------- Maqueta del panel (hero y secciones) ---------- */
.gk-app { position: relative; max-width: 1020px; margin: 0 auto; border-radius: 18px; background: #fff; border: 1px solid #d9e2ec; box-shadow: var(--gk-shadow-lg); overflow: hidden; text-align: left; font-size: 13px; color: var(--gk-ink-2); line-height: 1.4; }
.gk-app * { box-sizing: border-box; }
.gk-app__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--gk-line); }
.gk-app__dots { display: flex; gap: 6px; flex: none; }
.gk-app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.gk-app__url { flex: 1; max-width: 340px; margin: 0 auto; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--gk-line); font-size: 11px; color: var(--gk-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk-app__body { display: grid; grid-template-columns: 208px 1fr; min-height: 430px; background: var(--gk-bg); }
.gk-app__side { padding: 16px 12px; background: #fff; border-right: 1px solid var(--gk-line); }
.gk-app__logo { display: flex; align-items: center; gap: 8px; padding: 2px 8px 16px; font-weight: 800; font-size: 16px; color: var(--gk-primary-700); letter-spacing: -.02em; }
.gk-app__logo svg { width: 24px; height: 24px; fill: var(--gk-primary); }
.gk-app__nav > div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 2px; border-radius: 9px; color: #475569; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk-app__nav > div svg { width: 16px; height: 16px; flex: none; stroke: #94a3b8; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gk-app__nav > div.is-on { background: var(--gk-primary-50); color: var(--gk-primary-700); font-weight: 600; }
.gk-app__nav > div.is-on svg { stroke: var(--gk-primary-600); }
.gk-app__main { padding: 18px 20px; min-width: 0; }
.gk-app__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.gk-app__top h4 { margin: 0; font-size: 16px; font-weight: 700; }
.gk-app__top small { color: var(--gk-muted); display: block; font-size: 11.5px; margin-top: 2px; }
.gk-app__btn { display: inline-flex; align-items: center; padding: 7px 13px; border: 1px solid var(--gk-primary); border-radius: 10px; color: var(--gk-primary-700); font-weight: 600; font-size: 12px; background: #fff; white-space: nowrap; }
.gk-app__btn--solid { background: var(--gk-primary); color: #fff; }
.gk-app__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.gk-app__stat { padding: 12px 14px; background: #fff; border: 1px solid var(--gk-line); border-radius: 12px; }
.gk-app__stat small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gk-muted); }
.gk-app__stat strong { display: block; margin-top: 3px; font-size: 22px; font-weight: 800; color: var(--gk-ink); letter-spacing: -.02em; }
.gk-app__card { background: #fff; border: 1px solid var(--gk-line); border-radius: 14px; overflow: hidden; }
.gk-app__card + .gk-app__card { margin-top: 12px; }
.gk-app__row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #eef2f7; }
.gk-app__row:last-child { border-bottom: 0; }
.gk-app__av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--gk-primary-100); color: var(--gk-primary-700); font-weight: 700; font-size: 12px; }
.gk-app__who { flex: 1; min-width: 0; }
.gk-app__who b { display: block; font-weight: 600; color: var(--gk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk-app__who span { color: var(--gk-muted); font-size: 11.5px; }
.gk-app__pill { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; background: var(--gk-primary-50); color: var(--gk-primary-700); }
.gk-app__pill--warn { background: #fffbeb; color: #b45309; }
.gk-app__compose { padding: 12px 14px; }
.gk-app__compose p { margin: 0 0 8px; font-size: 11px; font-weight: 700; color: var(--gk-muted); text-transform: uppercase; letter-spacing: .05em; }
.gk-app__text { padding: 10px 12px; border: 1px solid var(--gk-line); border-radius: 10px; min-height: 58px; color: var(--gk-ink-2); background: #fff; }
.gk-app__foot { display: flex; justify-content: flex-end; margin-top: 10px; }
@media (max-width: 760px) { .gk-app__body { grid-template-columns: 1fr; } .gk-app__side { display: none; } .gk-app__stats { grid-template-columns: repeat(3, 1fr); gap: 6px; } .gk-app__stat { padding: 9px 10px; } .gk-app__stat strong { font-size: 18px; } .gk-app__main { padding: 14px; } .gk-app__row:nth-child(n+4) { display: none; } }

/* ---------- Maqueta del celular (conversación) ---------- */
.gk-phone { width: 100%; max-width: 310px; margin: 0 auto; padding: 10px; border-radius: 38px; background: #0f172a; box-shadow: var(--gk-shadow-lg); }
.gk-phone__screen { display: flex; flex-direction: column; min-height: 520px; border-radius: 29px; overflow: hidden; background: #efeae2; }
.gk-phone__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: var(--gk-primary-700); color: #fff; }
.gk-phone__head b { display: block; font-size: 14px; line-height: 1.2; }
.gk-phone__head small { font-size: 11px; opacity: .8; }
.gk-phone__av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.gk-phone__av svg { width: 20px; height: 20px; fill: var(--gk-primary); }
.gk-phone__msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px; }
.gk-bubble { max-width: 84%; padding: 8px 10px 6px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); overflow-wrap: anywhere; }
.gk-bubble time { display: block; margin-top: 2px; font-size: 10px; text-align: right; color: #667781; }
.gk-bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.gk-bubble--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.gk-bubble-actions { align-self: flex-end; width: 84%; display: grid; gap: 6px; }
.gk-bubble-actions div { padding: 8px; text-align: center; border-radius: 10px; background: #fff; color: #027eb5; font-size: 12.5px; font-weight: 600; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.gk-phone__input { margin: 0 10px 12px; padding: 9px 14px; border-radius: 999px; background: #fff; color: #8696a0; font-size: 12.5px; }
.gk-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 2rem 1rem; border-radius: 28px; background:
  radial-gradient(60% 60% at 30% 20%, rgba(14, 159, 110, .16), transparent 70%),
  radial-gradient(50% 50% at 80% 80%, rgba(37, 99, 235, .10), transparent 70%), var(--gk-primary-50); }
