/**
 * Gokiebox Pages Design — custom styles for /pe/ HTML-widget sections.
 * These rules used to live inline (<style>) inside Elementor HTML widgets,
 * but multisite admins without unfiltered_html capability would strip them
 * on save. Now they live here, enqueued conditionally per page.
 */

/* =============================================================
 * gks-stats — dark stats counter (campañas + redes sociales)
 * ============================================================= */
.gks-stats {
    background: radial-gradient(ellipse at top left, rgba(99,102,241,0.18) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(236,72,153,0.18) 0%, transparent 50%),
                linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 96px 24px;
    position: relative;
    overflow: hidden;
}
.gks-stats::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.gks-stats-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.gks-stats h3 {
    font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.02em;
    line-height: 1.1; margin: 0 0 12px; text-align: center; color: #fff;
}
.gks-stats h3 span {
    background: linear-gradient(135deg, #818cf8 0%, #f472b6 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gks-stats p.kicker { text-align: center; color: #94a3b8; margin: 0 0 56px; font-size: 16px; }
.gks-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.gks-stats-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gks-stat {
    text-align: center; padding: 28px 18px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px; backdrop-filter: blur(12px);
    transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.gks-stat:hover { transform: translateY(-4px); border-color: rgba(129,140,248,0.4); }
.gks-stat-num {
    font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #c4b5fd 0%, #f9a8d4 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 10px; letter-spacing: -0.03em;
}
.gks-stat-label { font-size: 14px; color: #cbd5e1; font-weight: 500; line-height: 1.4; }
.gks-stat-suffix { color: #f9a8d4; }

/* =============================================================
 * gks-plats — bento grid de plataformas (campañas)
 * ============================================================= */
.gks-plats { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }
.gks-plats-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.gks-plats-head h2 {
    font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.025em;
    line-height: 1.05; color: #0f172a; margin: 0 0 16px;
}
.gks-plats-head p { font-size: 17px; color: #475569; margin: 0; line-height: 1.55; }
.gks-plats-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px;
}
.gks-plat-card {
    position: relative; border-radius: 22px; padding: 36px 32px;
    overflow: hidden; color: #fff;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
    cursor: pointer;
}
.gks-plat-card:hover { transform: translateY(-6px); }
.gks-plat-card .gks-plat-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
}
.gks-plat-card h3 { font-size: 26px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.02em; }
.gks-plat-card p { font-size: 15px; line-height: 1.55; opacity: 0.92; margin: 0; }
.gks-plat-card .gks-plat-cta {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 4px; transition: gap .25s;
}
.gks-plat-card:hover .gks-plat-cta { gap: 10px; }
.gks-plat-meta {
    grid-column: 1 / 2; grid-row: 1 / 3;
    background: linear-gradient(135deg, #1877F2 0%, #0c4a9e 100%);
    box-shadow: 0 30px 60px -20px rgba(24,119,242,0.35);
}
.gks-plat-meta::after {
    content: ""; position: absolute; bottom: -50px; right: -50px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
}
.gks-plat-meta h3 { font-size: 32px; }
.gks-plat-tiktok {
    background: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%);
    box-shadow: 0 24px 48px -16px rgba(254,44,85,0.4);
}
.gks-plat-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 24px 48px -16px rgba(37,211,102,0.4);
}
.gks-plat-google {
    background: #fff; color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 48px -16px rgba(15,23,42,0.08);
    grid-column: 2 / 4; position: relative; padding-left: 36px;
}
.gks-plat-google::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
    background: linear-gradient(180deg, #4285F4 0%, #DB4437 33%, #F4B400 66%, #0F9D58 100%);
}
.gks-plat-google .gks-plat-icon { background: #f1f5f9; border-color: #e2e8f0; color: #0f172a; }
.gks-plat-google .gks-plat-cta { color: #1e293b; border-bottom-color: #cbd5e1; }
.gks-plat-google p { color: #475569; }

/* =============================================================
 * gks-process — timeline de pasos numerados (campañas)
 * ============================================================= */
.gks-process { background: #fafbfc; padding: 96px 24px; }
.gks-process-inner { max-width: 1200px; margin: 0 auto; }
.gks-process-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.gks-process-head h2 {
    font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.025em;
    color: #0f172a; line-height: 1.05; margin: 0 0 14px;
}
.gks-process-head h2 em { font-style: normal; color: #6366f1; }
.gks-process-head p { color: #64748b; font-size: 17px; margin: 0; line-height: 1.55; }
.gks-process-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative;
}
.gks-process-steps::before {
    content: ""; position: absolute; top: 28px; left: 14%; right: 14%;
    height: 2px; background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);
    opacity: 0.25;
}
.gks-step {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
    padding: 28px 24px; position: relative;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.gks-step:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: 0 24px 48px -16px rgba(99,102,241,0.18); }
.gks-step-num {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: #fff; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 22px; margin: -54px 0 18px;
    box-shadow: 0 14px 30px -8px rgba(99,102,241,0.4);
    letter-spacing: -0.02em;
}
.gks-step h4 { font-size: 19px; font-weight: 700; color: #0f172a; margin: 0 0 8px; letter-spacing: -0.01em; }
.gks-step p { color: #475569; font-size: 14.5px; line-height: 1.55; margin: 0; }

/* =============================================================
 * gks-svc — services intro 3 cards (redes sociales)
 * ============================================================= */
.gks-svc { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }
.gks-svc-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.gks-svc-head .eyebrow {
    display: inline-block; padding: 6px 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(236,72,153,0.12));
    color: #6366f1; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; border-radius: 999px; margin-bottom: 18px;
}
.gks-svc-head h2 {
    font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.025em;
    color: #0f172a; line-height: 1.05; margin: 0 0 14px;
}
.gks-svc-head h2 em { font-style: normal; background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gks-svc-head p { color: #64748b; font-size: 17px; margin: 0; line-height: 1.6; }
.gks-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gks-svc-card {
    position: relative; padding: 36px 30px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 22px;
    transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
    overflow: hidden;
}
.gks-svc-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);
    transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.gks-svc-card:hover { transform: translateY(-6px); border-color: #c7d2fe; box-shadow: 0 30px 60px -20px rgba(99,102,241,0.18); }
.gks-svc-card:hover::before { transform: scaleX(1); }
.gks-svc-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #eef2ff 0%, #fce7f3 100%);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 22px;
}
.gks-svc-card h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin: 0 0 10px; letter-spacing: -0.01em; }
.gks-svc-card p { color: #64748b; font-size: 14.5px; line-height: 1.6; margin: 0; }

/* =============================================================
 * gks-vs — Meta vs TikTok showdown (redes sociales)
 * ============================================================= */
.gks-vs { padding: 96px 24px; background: #fafbfc; position: relative; }
.gks-vs-inner { max-width: 1200px; margin: 0 auto; }
.gks-vs-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.gks-vs-head h2 {
    font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.025em;
    color: #0f172a; line-height: 1.05; margin: 0 0 14px;
}
.gks-vs-head p { color: #64748b; font-size: 17px; margin: 0; line-height: 1.6; }
.gks-vs-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative;
}
.gks-vs-grid::after {
    content: "VS"; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    background: #0f172a; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; letter-spacing: 0.05em;
    box-shadow: 0 16px 40px -12px rgba(15,23,42,0.4);
    z-index: 5;
}
.gks-vs-card {
    position: relative; overflow: hidden;
    border-radius: 24px; padding: 44px 36px; color: #fff;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.gks-vs-card:hover { transform: translateY(-6px); }
.gks-vs-card .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.18); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 22px;
}
.gks-vs-card h3 {
    font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em;
    margin: 0 0 8px; line-height: 1.05;
}
.gks-vs-card .tagline { font-size: 16px; opacity: 0.92; margin: 0 0 26px; line-height: 1.5; }
.gks-vs-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gks-vs-rows li {
    display: grid; grid-template-columns: 100px 1fr; gap: 18px; align-items: start;
    padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.18);
    font-size: 14.5px;
}
.gks-vs-rows li:first-child { border-top: 0; padding-top: 0; }
.gks-vs-rows .key {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    opacity: 0.7;
}
.gks-vs-rows .val { line-height: 1.5; }
.gks-vs-meta {
    background: linear-gradient(135deg, #1877F2 0%, #0a3d7a 100%);
    box-shadow: 0 30px 70px -20px rgba(24,119,242,0.45);
}
.gks-vs-meta::before {
    content: ""; position: absolute; top: -80px; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.gks-vs-tiktok {
    background: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%);
    box-shadow: 0 30px 70px -20px rgba(254,44,85,0.45);
}
.gks-vs-tiktok::before {
    content: ""; position: absolute; bottom: -80px; left: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* =============================================================
 * gks-del — deliverables bento grid (redes sociales)
 * ============================================================= */
.gks-del { padding: 96px 24px; background: #fff; }
.gks-del-inner { max-width: 1200px; margin: 0 auto; }
.gks-del-head { max-width: 720px; margin: 0 0 56px; }
.gks-del-head .eyebrow {
    display: inline-block; padding: 6px 14px; background: rgba(99,102,241,0.1);
    color: #6366f1; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; border-radius: 999px; margin-bottom: 18px;
}
.gks-del-head h2 {
    font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.025em;
    color: #0f172a; line-height: 1.05; margin: 0 0 14px;
}
.gks-del-head p { color: #64748b; font-size: 17px; line-height: 1.6; margin: 0; }
.gks-del-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto); gap: 22px;
}
.gks-del-card {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 20px; padding: 30px 28px;
    transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
}
.gks-del-card:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: 0 24px 48px -16px rgba(99,102,241,0.16); }
.gks-del-card .icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px;
}
.gks-del-card h4 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0 0 8px; letter-spacing: -0.01em; }
.gks-del-card p { color: #64748b; font-size: 14px; line-height: 1.55; margin: 0; }
.gks-del-1 {
    grid-column: 1 / 3; grid-row: 1 / 3;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff; border: 0;
}
.gks-del-1::before {
    content: ""; position: absolute; bottom: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, transparent 70%);
    pointer-events: none;
}
.gks-del-1 .icon { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 56px; height: 56px; font-size: 26px; }
.gks-del-1 h4 { font-size: 26px; color: #fff; margin-bottom: 12px; }
.gks-del-1 p { color: #cbd5e1; font-size: 16px; }
.gks-del-1 .stat-mini {
    display: inline-flex; align-items: baseline; gap: 6px; margin-top: 22px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; font-size: 13px; color: #cbd5e1;
}
.gks-del-1 .stat-mini strong { color: #fff; font-size: 18px; font-weight: 700; }
.gks-del-2 .icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.gks-del-3 .icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.gks-del-4 .icon { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.gks-del-5 .icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.gks-del-6 .icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }

/* =============================================================
 * gks-faq — accordion FAQ (redes sociales)
 * ============================================================= */
.gks-faq { padding: 96px 24px; background: #fafbfc; }
.gks-faq-inner { max-width: 880px; margin: 0 auto; }
.gks-faq-head { text-align: center; margin: 0 0 56px; }
.gks-faq-head .eyebrow {
    display: inline-block; padding: 6px 14px; background: rgba(99,102,241,0.1);
    color: #6366f1; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; border-radius: 999px; margin-bottom: 18px;
}
.gks-faq-head h2 {
    font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.025em;
    color: #0f172a; line-height: 1.05; margin: 0 0 14px;
}
.gks-faq-head p { color: #64748b; font-size: 17px; line-height: 1.6; margin: 0; }
.gks-faq-list { display: flex; flex-direction: column; gap: 14px; }
.gks-faq-item {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.gks-faq-item[open] { border-color: #c7d2fe; box-shadow: 0 14px 30px -12px rgba(99,102,241,0.18); }
.gks-faq-q {
    list-style: none; cursor: pointer;
    padding: 22px 26px;
    display: flex; align-items: center; gap: 18px;
    font-weight: 600; font-size: 16.5px; color: #0f172a; letter-spacing: -0.005em;
    user-select: none;
}
.gks-faq-q::-webkit-details-marker { display: none; }
.gks-faq-q .chevron {
    margin-left: auto; flex-shrink: 0;
    width: 32px; height: 32px;
    background: #f1f5f9; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .35s cubic-bezier(.16,1,.3,1), background-color .25s;
    color: #475569;
}
.gks-faq-item[open] .gks-faq-q .chevron { transform: rotate(45deg); background: #6366f1; color: #fff; }
.gks-faq-q .num {
    font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: 0.05em;
    min-width: 28px;
}
.gks-faq-a {
    padding: 0 26px 24px 72px;
    color: #475569; font-size: 15px; line-height: 1.65; margin: 0;
}

/* =============================================================
 * Responsive breakpoints (todos)
 * ============================================================= */
@media (max-width: 900px) {
    .gks-stats, .gks-plats, .gks-process, .gks-svc, .gks-vs, .gks-del, .gks-faq { padding: 64px 18px; }
    .gks-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .gks-stats-grid.cols-3 { grid-template-columns: 1fr; }
    .gks-plats-grid { grid-template-columns: 1fr; }
    .gks-plat-meta { grid-column: 1; grid-row: auto; }
    .gks-plat-google { grid-column: 1; }
    .gks-process-steps { grid-template-columns: 1fr; gap: 36px; }
    .gks-process-steps::before { display: none; }
    .gks-step { padding-top: 36px; }
    .gks-svc-grid { grid-template-columns: 1fr; gap: 18px; }
    .gks-vs-grid { grid-template-columns: 1fr; gap: 32px; }
    .gks-vs-grid::after { position: relative; left: auto; top: auto; transform: none; margin: -16px auto; width: 56px; height: 56px; font-size: 14px; }
    .gks-vs-rows li { grid-template-columns: 80px 1fr; gap: 12px; }
    .gks-del-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .gks-del-1 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 700px) {
    .gks-faq-q { padding: 18px 18px; gap: 12px; font-size: 15px; }
    .gks-faq-a { padding: 0 18px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .gks-stat, .gks-plat-card, .gks-step, .gks-svc-card, .gks-svc-card::before,
    .gks-vs-card, .gks-del-card, .gks-faq-q .chevron { transition: none; }
}
