/* Página web pública de Tinkutech y sus productos.
   Identidad: «tinku» (encuentro andino). Lenguaje visual de chakana y escalonados, fondo arena,
   tipografía editorial. Los colores principal, oscuro y de acento vienen de Página web (_theme.html). */
.site {
    --blue: #2563eb; --navy: #112440; --sky: #84c8ee;
    --paper: #f6f1e8; --paper-2: #ede4d5; --card: #fffdf9; --ink: #17191f; --muted: #5f5b54; --line: #e2d7c6;
    --display: "Archivo", system-ui, sans-serif;   /* igual al logo: gruesa y ancha */
    --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1200px; --nav-h: 76px;
    --steps: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16'%3E%3Cpath d='M0 16V12H6V8H12V4H18V0H30V4H36V8H42V12H48V16Z'/%3E%3C/svg%3E");
    margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site a { color: inherit; text-decoration: none; }
.site h1, .site h2, .site h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.05; }
.tk-brand, .tk-num, .tk-prod-index, .tk-process li span, .tk-plan-price, .tk-marquee-track span, .tk-faq summary, .tk-chakana .t-c, .tk-list strong, .mock-head strong, .mock-total strong { font-stretch: 112%; }
.site p { margin: 0; }
.site img { max-width: 100%; }
.site :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; } }
.site-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 6px; }
.site-skip:focus { left: 8px; }
.tk-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* Botones: esquina escalonada en vez de píldora genérica */
.tk-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; font-weight: 600; font-size: 16px; border: 2px solid transparent; cursor: pointer; transition: transform .18s, background .18s, color .18s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px, 100% 100%, 0 100%); }
.tk-btn:hover { transform: translateY(-2px); }
.tk-btn-primary { background: var(--blue); color: #fff !important; }
.tk-btn-primary:hover { filter: brightness(.92); }
.tk-btn-ink { background: var(--ink); color: #fff !important; }
.tk-btn-line { border-color: currentColor; color: var(--ink); clip-path: none; }
.tk-btn-line:hover { background: var(--ink); color: var(--paper) !important; }
.tk-on-dark .tk-btn-line { color: #fff; }
.tk-on-dark .tk-btn-line:hover { background: #fff; color: var(--navy) !important; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Marca */
.tk-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.tk-brand img { height: 42px; width: auto; max-width: 190px; object-fit: contain; }
.tk-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--blue); color: #fff; font-size: 21px; font-weight: 800;
    clip-path: polygon(30% 0, 70% 0, 70% 30%, 100% 30%, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0 70%, 0 30%, 30% 30%); }

/* Menú fijo */
.tk-nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.tk-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px #2a20100d; }
.tk-nav-inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tk-menu { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 15px; }
.tk-menu > a:not(.tk-btn), .tk-drop > button { position: relative; padding: 6px 0; color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.tk-menu > a:not(.tk-btn)::after, .tk-drop > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.tk-menu > a:not(.tk-btn):hover::after, .tk-drop > button:hover::after, .tk-drop.is-open > button::after { transform: scaleX(1); }
.tk-drop { position: relative; }
.tk-drop > button i { font-size: 11px; transition: transform .2s; }
.tk-drop.is-open > button i { transform: rotate(180deg); }
.tk-drop-panel { position: absolute; top: calc(100% + 18px); left: 50%; width: 340px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px #2a201022; padding: 10px; transition: opacity .18s, transform .18s, visibility .18s; }
.tk-drop.is-open .tk-drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tk-drop-panel a { display: flex; gap: 14px; align-items: center; padding: 12px; }
.tk-drop-panel a:hover { background: var(--paper); }
.tk-drop-panel strong { display: block; font-weight: 600; font-size: 15px; }
.tk-drop-panel small { color: var(--muted); font-size: 13px; }
.tk-drop-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; background: var(--paper-2); color: var(--blue); }
.tk-drop-icon .site-item-img { width: 26px; height: 26px; }
.tk-nav-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.tk-menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.tk-menu-toggle span { display: block; width: 20px; height: 2px; background: var(--paper); transition: transform .2s, opacity .2s; }
.tk-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tk-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tk-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Borde escalonado de transición hacia una sección oscura */
.tk-steps-edge { height: 16px; background: var(--navy); -webkit-mask: var(--steps) repeat-x bottom / 48px 16px; mask: var(--steps) repeat-x bottom / 48px 16px; }

/* Portada */
.tk-hero { position: relative; overflow: hidden; }
.tk-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 72px 28px 100px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.tk-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.tk-eyebrow::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: var(--blue); clip-path: polygon(0 100%, 0 66%, 33% 66%, 33% 33%, 66% 33%, 66% 0, 100% 0, 100% 100%); }
.tk-on-dark .tk-eyebrow { color: color-mix(in srgb, #fff 70%, var(--sky)); }
.tk-on-dark .tk-eyebrow::before { background: var(--sky); }
.tk-hero h1 { font-size: clamp(36px, 4.3vw, 60px); font-weight: 850; letter-spacing: -.045em; line-height: 1; }
.tk-hero h1 em { font-style: normal; color: var(--blue); }
.tk-underline { display: block; width: 180px; height: 14px; margin-top: 26px; background: var(--sky); -webkit-mask: var(--steps) repeat-x / 30px 10px; mask: var(--steps) repeat-x / 30px 10px; }
.tk-lead { margin-top: 26px; max-width: 560px; font-size: 20px; color: var(--muted); }
.tk-tags { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tk-tags li { padding: 7px 14px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; }

/* Chakana animada */
.tk-chakana-wrap { position: relative; justify-self: center; width: min(100%, 440px); }
.tk-chakana { display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(7, 1fr); gap: 7px; aspect-ratio: 1; }
.tk-chakana span { border-radius: 3px; animation: tk-rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 28ms); }
.tk-chakana .t-p { background: var(--blue); }
.tk-chakana .t-a { background: var(--sky); }
.tk-chakana .t-c { background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: clamp(18px, 3vw, 30px); overflow: hidden; }
.tk-chakana .t-c img { width: 72%; height: 72%; object-fit: contain; }
.tk-chakana .t-p:nth-child(3n) { animation-name: tk-rise, tk-breathe; animation-duration: .7s, 5s; animation-delay: calc(var(--i) * 28ms), calc(var(--i) * 90ms); animation-iteration-count: 1, infinite; }
@keyframes tk-rise { from { opacity: 0; transform: translateY(18px) scale(.8); } }
@keyframes tk-breathe { 50% { filter: brightness(1.2); } }
.tk-float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px #2a20101a; animation: tk-bob 6s ease-in-out infinite; white-space: nowrap; }
.tk-float i { color: var(--blue); }
/* Entrada y salida suaves: «translate» es independiente del balanceo (animation sobre transform). */
.tk-float { opacity: 0; visibility: hidden; translate: 0 12px; scale: .96; filter: blur(2px);
    transition: opacity .5s ease, translate .5s cubic-bezier(.2,.8,.2,1), scale .5s ease, filter .5s ease, visibility 0s linear .5s; }
.tk-float.is-shown { opacity: 1; visibility: visible; translate: 0 0; scale: 1; filter: none;
    transition: opacity .5s ease, translate .5s cubic-bezier(.2,.8,.2,1), scale .5s ease, filter .5s ease, visibility 0s; }
.tk-float .site-item-img { width: 18px; height: 18px; }
.tk-float.pos-0 { left: -26px; top: 6%; }
.tk-float.pos-1 { right: -22px; top: 30%; animation-delay: -1.5s; }
.tk-float.pos-2 { right: -8px; bottom: 6%; animation-delay: -3s; }
.tk-float.pos-3 { left: -14px; bottom: 24%; animation-delay: -4.5s; }
@keyframes tk-bob { 50% { transform: translateY(-8px); } }
.tk-hero-image { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(0 12%, 12% 12%, 12% 0, 100% 0, 100% 88%, 88% 88%, 88% 100%, 0 100%); }

/* Cabecera de sección numerada */
.tk-section { padding: 120px 0 0; }
.tk-head { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: end; margin-bottom: 56px; }
.tk-num { font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--blue); letter-spacing: -.05em; }
.tk-head h2 { font-size: clamp(34px, 4.6vw, 58px); max-width: 820px; }
.tk-head p { margin-top: 16px; color: var(--muted); font-size: 19px; max-width: 640px; }
.tk-on-dark .tk-num { -webkit-text-stroke-color: var(--sky); }
.tk-on-dark .tk-head p { color: color-mix(in srgb, #fff 72%, var(--navy)); }

/* Servicios: lista editorial */
.tk-services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.tk-service { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line); }
.tk-service:nth-child(odd) { border-right: 1px solid var(--line); }
.tk-service:nth-child(even) { padding-left: 32px; }
.tk-service-icon { display: grid; place-items: center; width: 56px; height: 56px; background: var(--paper-2); color: var(--blue); font-size: 22px; }
.tk-service-icon .site-item-img { width: 34px; height: 34px; }
.tk-service h3 { font-size: 24px; margin-bottom: 8px; }
.tk-service p { color: var(--muted); }

/* Bandas oscuras */
.tk-dark { background: var(--navy); color: #fff; }
.tk-dark-section { padding: 110px 0 120px; }
.tk-products { border-top: 1px solid #ffffff2a; }
.tk-prod { display: grid; grid-template-columns: 60px 72px 1.1fr 1.3fr 56px; gap: 26px; align-items: center; padding: 30px 0; border-bottom: 1px solid #ffffff2a; transition: background .2s, padding .2s; }
.tk-prod:hover { background: #ffffff08; padding-left: 14px; padding-right: 14px; }
.tk-prod-index { font-family: var(--display); font-size: 18px; color: var(--sky); }
.tk-prod-icon { display: grid; place-items: center; width: 72px; height: 72px; background: #ffffff12; color: var(--sky); font-size: 26px; clip-path: polygon(0 0, 80% 0, 80% 20%, 100% 20%, 100% 100%, 20% 100%, 20% 80%, 0 80%); }
.tk-prod-icon .site-item-img { width: 44px; height: 44px; }
.tk-prod h3 { font-size: clamp(21px, 2.1vw, 28px); }
.tk-prod small { display: block; margin-top: 6px; color: var(--sky); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tk-prod p { color: color-mix(in srgb, #fff 70%, var(--navy)); font-size: 16px; }
.tk-prod-go { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #ffffff40; transition: background .2s, border-color .2s; }
.tk-prod:hover .tk-prod-go { background: var(--blue); border-color: var(--blue); }
.tk-badge { display: inline-block; margin-left: 12px; vertical-align: middle; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; background: var(--sky); color: var(--navy); }

/* Sectores: franja en movimiento */
.tk-marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 26px 0; }
.tk-marquee-track { display: flex; width: max-content; animation: tk-marquee 36s linear infinite; }
.tk-marquee:hover .tk-marquee-track { animation-play-state: paused; }
.tk-marquee-track span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.03em; white-space: nowrap; }
.tk-marquee-track span::after { content: ""; width: .55em; height: .55em; background: var(--sky); clip-path: polygon(30% 0, 70% 0, 70% 30%, 100% 30%, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0 70%, 0 30%, 30% 30%); }
@keyframes tk-marquee { to { transform: translateX(-50%); } }
.tk-sector-notes { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.tk-sector-notes article { padding: 4px 28px; border-right: 1px solid var(--line); }
.tk-sector-notes i, .tk-sector-notes .site-item-img { color: var(--blue); font-size: 22px; width: 30px; height: 30px; }
.tk-sector-notes h3 { font-size: 22px; margin: 14px 0 6px; }
.tk-sector-notes p { color: var(--muted); }

/* Cómo trabajamos: escalera */
.tk-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.tk-process li { position: relative; padding: 28px 24px 30px; background: var(--card); border: 1px solid var(--line); margin-left: -1px; }
.tk-process li:nth-child(4n+2) { margin-bottom: 40px; } .tk-process li:nth-child(4n+3) { margin-bottom: 80px; } .tk-process li:nth-child(4n+4) { margin-bottom: 120px; }
.tk-process li span { display: block; font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--blue); margin-bottom: 18px; }
.tk-process h3 { font-size: 22px; margin-bottom: 8px; }
.tk-process p { color: var(--muted); font-size: 16px; }

/* Llamado final */
.tk-cta { position: relative; margin-top: 130px; }
.tk-cta-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 100px 28px 110px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.tk-cta h2 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.04em; }
.tk-cta p { margin-top: 18px; font-size: 20px; color: color-mix(in srgb, #fff 72%, var(--navy)); max-width: 620px; }
.tk-cta-art { justify-self: end; width: 240px; aspect-ratio: 1; background: var(--sky); clip-path: polygon(30% 0, 70% 0, 70% 30%, 100% 30%, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0 70%, 0 30%, 30% 30%); display: grid; place-items: center; }
.tk-cta-art::after { content: ""; width: 34%; aspect-ratio: 1; background: var(--navy); }
.site-contact { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 16px; color: color-mix(in srgb, #fff 80%, var(--navy)); }
.site-contact i { margin-right: 8px; color: var(--sky); }
.site-contact a:hover { color: #fff; }
.site-social, .tk-social { display: inline-flex; gap: 10px; }
.site-social a, .tk-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff38; }
.site-social a i, .tk-social a i { margin: 0; color: #fff; }
.site-social a:hover, .tk-social a:hover { background: #ffffff18; }

/* Pie */
.tk-footer { background: var(--navy); color: color-mix(in srgb, #fff 74%, var(--navy)); }
.tk-footer > .tk-steps-edge { background: var(--navy); margin-top: -16px; position: relative; }
.tk-footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 70px 28px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.tk-cta + .tk-footer .tk-footer-inner, .tk-dark + .tk-footer .tk-footer-inner { border-top: 1px solid #ffffff1c; }
.tk-footer .tk-brand { color: #fff; }
.tk-footer-brand p { margin: 16px 0 20px; max-width: 320px; }
.tk-footer h3 { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.tk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tk-footer a:hover { color: #fff; }
.tk-footer-contact i { width: 20px; color: var(--sky); }
.tk-footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 22px 28px 34px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; border-top: 1px solid #ffffff1c; }

.site-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: grid; place-items: center; width: 60px; height: 60px; background: #25d366; color: #fff !important; font-size: 30px; box-shadow: 0 14px 34px #0004; clip-path: polygon(0 0, 80% 0, 80% 20%, 100% 20%, 100% 100%, 0 100%); transition: transform .18s; }
.site-whatsapp:hover { transform: translateY(-3px); }
.site-item-img { width: 100%; height: 100%; object-fit: contain; }
.tk-top { position: fixed; left: 22px; bottom: 22px; z-index: 55; display: grid; place-items: center; width: 60px; height: 60px; border: 0; cursor: pointer; background: var(--blue); color: #fff; font-size: 20px; box-shadow: 0 14px 34px #0004;
    clip-path: polygon(0 20%, 20% 20%, 20% 0, 100% 0, 100% 100%, 0 100%); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s, transform .2s, background .2s; }
.tk-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.tk-top:hover { filter: brightness(.9); }

/* Página de producto */
.tk-back { display: flex; width: fit-content; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--muted); margin-bottom: 30px; }
.tk-back:hover { color: var(--blue); }
.tk-product-art { justify-self: center; display: grid; place-items: center; width: min(100%, 380px); aspect-ratio: 1; background: var(--navy); color: var(--sky); font-size: 110px;
    clip-path: polygon(30% 0, 70% 0, 70% 30%, 100% 30%, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0 70%, 0 30%, 30% 30%); }
.tk-product-art .site-item-img { width: 46%; height: 46%; }
.tk-product-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.tk-prose { font-size: 19px; color: var(--muted); }
.tk-prose p + p { margin-top: 16px; }
.tk-features { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.tk-features li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.tk-features li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 6px; background: var(--blue); clip-path: polygon(0 100%, 0 66%, 33% 66%, 33% 33%, 66% 33%, 66% 0, 100% 0, 100% 100%); }
.tk-others { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.tk-others a { display: block; padding: 26px; border: 1px solid var(--line); border-left: 0; transition: background .2s; }
.tk-others a:hover { background: var(--card); }
.tk-others i, .tk-others .site-item-img { color: var(--blue); font-size: 24px; width: 32px; height: 32px; }
.tk-others h3 { font-size: 22px; margin: 14px 0 6px; }
.tk-others p { color: var(--muted); font-size: 15px; }

/* Página del facturador */
.tk-cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.tk-card { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--line); }
.tk-card + .tk-card { padding-left: 26px; border-left: 1px solid var(--line); }
.tk-card i { font-size: 24px; color: var(--blue); }
.tk-card h3 { font-size: 22px; margin: 18px 0 8px; }
.tk-card p { color: var(--muted); font-size: 16px; }
.tk-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.tk-split h2 { font-size: clamp(32px, 4.2vw, 52px); }
.tk-split > div > p { margin-top: 18px; font-size: 19px; color: color-mix(in srgb, #fff 72%, var(--navy)); }
.tk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ffffff2a; }
.tk-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid #ffffff2a; color: color-mix(in srgb, #fff 70%, var(--navy)); }
.tk-list i { color: var(--sky); font-size: 22px; padding-top: 4px; }
.tk-list strong { display: block; color: #fff; font-size: 19px; margin-bottom: 4px; font-family: var(--display); }
.tk-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.tk-features-grid article { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tk-features-grid i { color: var(--blue); font-size: 20px; }
.tk-features-grid h3 { font-size: 20px; margin: 12px 0 6px; }
.tk-features-grid p { color: var(--muted); font-size: 15px; }
.tk-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; }
.tk-plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); padding: 32px 28px; }
.tk-plan h3 { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tk-plan-price { font-family: var(--display); font-size: 58px; font-weight: 800; letter-spacing: -.05em; margin: 14px 0 6px; line-height: 1; }
.tk-plan-price small { font-size: 26px; vertical-align: top; }
.tk-plan-count { font-weight: 600; }
.tk-plan-text { color: var(--muted); font-size: 15px; margin-top: 10px; }
.tk-plan .tk-btn { margin-top: auto; }
.tk-plan-count + .tk-btn, .tk-plan-text + .tk-btn { margin-top: 28px; }
.tk-plan.is-featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.tk-plan.is-featured h3, .tk-plan.is-featured .tk-plan-text { color: color-mix(in srgb, #fff 70%, var(--navy)); }
.tk-plan-tag { position: absolute; top: -14px; left: 28px; padding: 5px 12px; background: var(--sky); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tk-faq { max-width: 860px; border-top: 2px solid var(--ink); }
.tk-faq details { border-bottom: 1px solid var(--line); }
.tk-faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-family: var(--display); font-weight: 700; font-size: 22px; display: flex; justify-content: space-between; gap: 20px; }
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after { content: "+"; color: var(--blue); font-size: 30px; line-height: .8; transition: transform .2s; }
.tk-faq details[open] summary::after { transform: rotate(45deg); }
.tk-faq details p { color: var(--muted); padding-bottom: 24px; font-size: 18px; max-width: 720px; }
.mock-invoice { background: var(--card); color: var(--ink); padding: 28px; border: 1px solid var(--line); box-shadow: 18px 18px 0 var(--blue); max-width: 420px; justify-self: center; width: 100%; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.mock-head strong { display: block; font-family: var(--display); letter-spacing: .06em; }
.mock-head small { color: var(--muted); font-size: 13px; }
.mock-badge { display: inline-flex; align-items: center; gap: 6px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: 12px; padding: 6px 10px; white-space: nowrap; }
.mock-client { padding: 16px 0; display: grid; font-size: 15px; }
.mock-client span { color: var(--muted); font-size: 12px; }
.mock-lines { display: grid; gap: 10px; font-size: 15px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mock-lines div, .mock-total { display: flex; justify-content: space-between; gap: 12px; }
.mock-total { padding: 16px 0 8px; }
.mock-total strong { font-family: var(--display); font-size: 26px; }
.mock-foot { margin-top: 10px; background: var(--paper); padding: 10px 12px; color: var(--muted); font-size: 13px; }
.mock-foot i { color: var(--blue); margin-right: 6px; }

/* Tableta */
@media (max-width: 1040px) {
    .tk-menu { gap: 20px; }
    .tk-hero-inner, .tk-split, .tk-product-body { grid-template-columns: 1fr; }
    .tk-hero-inner { padding: 48px 28px 84px; gap: 56px; }
    .tk-prod { grid-template-columns: 56px 64px 1fr 48px; }
    .tk-prod p { grid-column: 3 / 4; grid-row: 2; }
    .tk-prod-go { grid-row: 1 / 3; grid-column: 4; }
    .tk-prod-icon { width: 64px; height: 64px; }
    .tk-cards, .tk-features-grid { grid-template-columns: repeat(2, 1fr); }
    .tk-card:nth-child(3) { padding-left: 0; border-left: 0; }
    .tk-process { grid-template-columns: repeat(2, 1fr); }
    .tk-process li { margin-bottom: 0 !important; }
    .tk-cta-inner { grid-template-columns: 1fr; }
    .tk-cta-art { display: none; }
    .tk-footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Celular */
@media (max-width: 860px) {
    .site { font-size: 16px; --nav-h: 66px; }
    .tk-wrap, .tk-nav-inner, .tk-hero-inner, .tk-cta-inner, .tk-footer-inner, .tk-footer-bottom { padding-left: 18px; padding-right: 18px; }
    .tk-brand { font-size: 19px; }
    .tk-brand img { height: 36px; }
    /* Sin desenfoque: crearía un contenedor que encierra el menú desplegable (position: fixed) en la barra. */
    .tk-nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .tk-menu-toggle { display: flex; }
    .tk-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 59; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 18px 40px; background: var(--paper); overflow-y: auto; font-family: var(--display); font-size: 26px; font-weight: 700; }
    .tk-menu.is-open { display: flex; }
    body.tk-menu-open { overflow: hidden; }
    .tk-menu > a:not(.tk-btn), .tk-drop > button { width: 100%; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .tk-menu > a:not(.tk-btn)::after, .tk-drop > button::after { display: none; }
    .tk-drop-panel { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 4px 0 10px; background: transparent; font-family: var(--body); }
    .tk-drop.is-open .tk-drop-panel { display: block; transform: none; }
    .tk-drop-panel a { padding: 10px 0; font-size: 15px; line-height: 1.35; }
    .tk-nav-cta { margin-top: 26px; font-family: var(--body); }
    .tk-hero-inner { padding: 36px 18px 72px; }
    .tk-lead { font-size: 18px; }
    .tk-actions .tk-btn { flex: 1 1 100%; }
    .tk-float.pos-0 { left: 0; } .tk-float.pos-1 { right: 0; top: auto; bottom: 6%; }
    .tk-float.pos-2, .tk-float.pos-3 { display: none; }
    .tk-section { padding-top: 88px; }
    .tk-head { grid-template-columns: 1fr; gap: 6px; margin-bottom: 36px; }
    .tk-num { font-size: 64px; }
    .tk-services, .tk-cards, .tk-features-grid, .tk-sector-notes, .tk-others, .tk-process { grid-template-columns: 1fr; }
    .tk-service, .tk-service:nth-child(even) { padding: 26px 0; border-right: 0 !important; }
    .tk-card, .tk-card + .tk-card { padding: 26px 0; border-left: 0; }
    .tk-sector-notes { border-left: 0; gap: 26px; }
    .tk-sector-notes article { border-right: 0; padding: 0; }
    .tk-others { border-left: 0; }
    .tk-others a { border-left: 1px solid var(--line); border-top: 0; }
    .tk-others a:first-child { border-top: 1px solid var(--line); }
    .tk-prod { grid-template-columns: 52px 1fr 44px; gap: 14px 16px; padding: 24px 0; }
    .tk-prod:hover { padding-left: 0; padding-right: 0; }
    .tk-prod-index { display: none; }
    .tk-prod-icon { width: 52px; height: 52px; font-size: 20px; grid-row: 1; grid-column: 1; }
    .tk-prod > div { grid-column: 2; }
    .tk-prod p { grid-column: 1 / 4; grid-row: 2; }
    .tk-prod-go { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
    .tk-badge { margin: 8px 0 0; }
    .tk-dark-section { padding: 84px 0 90px; }
    .tk-cta { margin-top: 90px; }
    .tk-cta-inner { padding: 72px 18px 80px; }
    .tk-footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .tk-footer-bottom { flex-direction: column; padding-bottom: 96px; }
    .tk-top, .site-whatsapp { width: 52px; height: 52px; bottom: 16px; }
    .site-whatsapp { right: 16px; font-size: 26px; }
    .tk-top { left: 16px; font-size: 18px; }
    .tk-product-art { width: 240px; font-size: 76px; }
    .tk-faq summary { font-size: 19px; }
    /* Espacios más compactos en celular */
    .tk-hero-inner { gap: 36px; padding-bottom: 52px; }
    .tk-chakana-wrap { width: min(78%, 300px); }
    .tk-chakana { gap: 5px; }
    .tk-float { font-size: 13px; padding: 8px 12px; }
    .tk-float.pos-0 { left: -14%; } .tk-float.pos-1 { right: -14%; }
    .tk-section { padding-top: 64px; }
    .tk-head { margin-bottom: 26px; }
    .tk-head h2 { font-size: 30px; }
    .tk-head p { font-size: 16px; margin-top: 12px; }
    .tk-num { font-size: 52px; }
    .tk-service { grid-template-columns: 44px 1fr; gap: 16px; }
    .tk-service-icon { width: 44px; height: 44px; font-size: 18px; }
    .tk-service h3, .tk-sector-notes h3, .tk-others h3, .tk-card h3 { font-size: 20px; }
    .tk-service p, .tk-sector-notes p { font-size: 15px; }
    .tk-dark-section { padding: 64px 0 70px; }
    .tk-marquee { padding: 18px 0; }
    .tk-marquee-track span { font-size: 26px; gap: 22px; padding-right: 22px; }
    .tk-process li { padding: 22px 20px; }
    .tk-process li span { font-size: 40px; margin-bottom: 10px; }
    .tk-cta-inner { padding: 60px 18px 64px; }
    .tk-cta h2 { font-size: 32px; }
    .tk-cta p { font-size: 17px; }
    .tk-footer-inner { padding-top: 54px; }
    .tk-product-art { width: 200px; font-size: 64px; }
}
