/*
Theme Name: Tripunto
Theme URI: https://tripunto.cl
Author: Tripunto
Description: Tema de bloques para Tripunto: estrategia, diseño web y branding. Fondo oscuro con degradado violeta y turquesa, editable desde el Editor del sitio.
Version: 1.0.5
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tripunto
*/
body{background:#0B0B10;color:#EDEDF2;font-family:'Plus Jakarta Sans',Arial,sans-serif}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(640px circle at 0% 0%,rgba(124,92,255,.28),transparent 60%),radial-gradient(640px circle at 100% 28%,rgba(22,197,224,.22),transparent 60%)}
a{color:#9A8CFF}a:hover{color:#3DE0F5}
:focus-visible{outline:2px solid #3DE0F5;outline-offset:3px}
.wp-site-blocks>header.wp-block-template-part{position:sticky;top:0;z-index:50;background:rgba(11,11,16,.82);border-bottom:1px solid #20202C}
.wp-site-blocks>header.wp-block-template-part::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.admin-bar .wp-site-blocks>header.wp-block-template-part{top:32px}
.tp-header-in,.tp-footer-in{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;max-width:1200px;margin:0 auto;padding:14px 32px;box-sizing:border-box}
.tp-header-r{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.tp-header-r .wp-block-navigation,.tp-header-r .wp-block-navigation__container{gap:28px}
.tp-header-r .wp-block-navigation a{color:#EDEDF2;font-weight:600;font-size:14px;text-decoration:none}
.tp-footer-in{padding-top:32px;padding-bottom:32px}
.wp-site-blocks>footer.wp-block-template-part{border-top:1px solid #20202C}
.tp-main{overflow:hidden}
.tp-title{max-width:1200px;margin:48px auto 24px;padding:0 32px;font-weight:800}
.tp-home,.tp-hero,.tp-sec{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px;box-sizing:border-box}
.tp-btn .wp-block-button__link{background:linear-gradient(90deg,#9A8CFF,#3DE0F5);color:#0B0B10;font-weight:800;border-radius:999px;padding:15px 26px;font-size:15px;transition:transform .2s}
.tp-btn .wp-block-button__link:hover{transform:translateY(-2px);color:#0B0B10}
.tp-btn-s .wp-block-button__link{padding:11px 20px;font-size:14px}
.tp-ghost .wp-block-button__link{background:transparent;color:#EDEDF2;font-weight:600;border:1px solid #3A3A4D;border-radius:999px;padding:14px 26px;font-size:15px}
.tp-ghost .wp-block-button__link:hover{border-color:#3DE0F5;color:#EDEDF2}
.wp-block-buttons{gap:14px;display:flex;flex-wrap:wrap}
.tp-pill{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.06em;color:#C9C6FF;border:1px solid #2E2E44;background:#14141F;padding:8px 14px;border-radius:999px;margin:0}
.tp-gt{background:linear-gradient(90deg,#9A8CFF,#3DE0F5);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#9A8CFF}
.tp-mu{color:#A3A3B5;line-height:1.7;margin:0 0 20px}
.tp-lead{color:#A3A3B5;font-size:19px;line-height:1.65;margin:0 0 36px;max-width:540px}
.tp-h1{font-size:64px;line-height:1.04;font-weight:800;margin:24px 0 22px;letter-spacing:-.02em}
.tp-h2{font-size:42px;line-height:1.1;font-weight:800;margin:14px 0 40px;max-width:720px}
.tp-h3{font-size:20px;margin:14px 0 10px;font-weight:700}
.tp-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding-top:88px;padding-bottom:72px}
.tp-hero>*{margin:0}
.tp-stack{position:relative;height:460px}
.tp-stack figure{position:absolute;width:62%;margin:0}
.tp-stack img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px;border:1px solid #2A2A3A;box-shadow:0 30px 60px rgba(0,0,0,.5);display:block}
.tp-stack .s1{top:0;right:0;transform:rotate(4deg)}
.tp-stack .s2{top:130px;left:0;transform:rotate(-5deg)}
.tp-stack .s3{bottom:0;right:8%;transform:rotate(2deg)}
.tp-mq{border-top:1px solid #20202C;border-bottom:1px solid #20202C;overflow:hidden;padding:22px 0}
@keyframes tpmq{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-1*var(--tp-shift,50%)),0,0)}}
.tp-sec{padding-top:96px}
.tp-team-p{font-size:18px;max-width:720px;margin:-12px 0 36px}
.tp-team{margin:0}
.tp-team img{width:100%;height:auto;aspect-ratio:auto;object-fit:cover;object-position:52% 30%;display:block;border-radius:24px;border:1px solid #2A2A3A}
.tp-g4,.tp-g3{display:grid;gap:20px}
.tp-g4{grid-template-columns:repeat(4,1fr)}
.tp-g3{grid-template-columns:repeat(3,1fr)}
.tp-g4>*,.tp-g3>*,.tp-bento>*{margin:0}
.tp-card{background:#14141F;border:1px solid #23233A;border-radius:20px;padding:28px}
.tp-num{font-size:13px;font-weight:800;color:#3DE0F5;letter-spacing:.1em;margin:0}
.tp-bento{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:220px;gap:20px}
.tp-it{position:relative;border-radius:20px;overflow:hidden;border:1px solid #23233A}
.tp-it figure{margin:0;height:100%}
.tp-it img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.tp-it:hover img{transform:scale(1.05)}
.tp-cp{position:absolute;left:0;right:0;bottom:0;margin:0;padding:36px 20px 16px;background:linear-gradient(transparent,rgba(11,11,16,.92));font-size:13px;color:#C4C4D2}
.tp-cp strong{font-size:15px;color:#EDEDF2}
.tp-it.a{grid-column:span 4;grid-row:span 2}.tp-it.b,.tp-it.c{grid-column:span 2}.tp-it.d,.tp-it.e{grid-column:span 3}
.tp-cta{display:grid;grid-template-columns:1fr 1fr;gap:48px;background:#14141F;border:1px solid #2A2A44;border-radius:28px;padding:56px;margin-bottom:96px}
.tp-cta>*{margin:0}
.tp-cta .tp-card{background:#0B0B10}
@media (max-width:900px){.tp-hero,.tp-cta{grid-template-columns:1fr}.tp-g4{grid-template-columns:1fr 1fr}.tp-g3{grid-template-columns:1fr}.tp-stack{height:380px}.tp-cta{padding:32px}}
@media (max-width:640px){.tp-g4{grid-template-columns:1fr}.tp-bento{grid-template-columns:1fr;grid-auto-rows:240px}.tp-it.a,.tp-it.b,.tp-it.c,.tp-it.d,.tp-it.e{grid-column:auto;grid-row:auto}.tp-h1{font-size:40px}.tp-h2{font-size:32px}.tp-hero,.tp-sec{padding-left:20px;padding-right:20px}}

/* Carrusel de logos */
.tp-mq{padding:28px 0 32px}
.tp-mq-label{text-align:center;color:#7C7C92;font-size:13px;margin:0 0 22px}
.tp-mt{display:flex;flex-wrap:nowrap;align-items:center;width:max-content;max-width:none!important;margin-left:0!important;margin-right:0!important;will-change:transform;backface-visibility:hidden;transform:translate3d(0,0,0);animation:tpmq 60s linear infinite}
.tp-mq:hover .tp-mt{animation-play-state:paused}
.tp-mt>*{margin:0 72px 0 0!important;flex:0 0 auto}
.tp-logo img{width:110px;height:auto;max-height:44px;max-width:none;object-fit:contain;display:block;filter:grayscale(1);opacity:.9}
.tp-logo img[src*="/logos/corfo.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/knowhub.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/aiep.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/iplacex.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/esucomex.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/uniacc.png"]{width:75px;height:auto;max-height:none}
.tp-logo img[src*="/logos/versailles.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/cayumanqui.png"]{width:79px;height:auto;max-height:none}
.tp-logo img[src*="/logos/jmt-saldias.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/smart-management.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/dulcepop.png"]{width:125px;height:auto;max-height:none}
.tp-logo img[src*="/logos/martinez-valdivieso.png"]{width:125px;height:auto;max-height:none}
@media (prefers-reduced-motion:reduce){.tp-mt{animation:none;transform:none;width:auto;flex-wrap:wrap;justify-content:center;row-gap:24px;padding:0 16px}.tp-clone{display:none}}
/* Refuerzo de diseño de la portada */
.wp-site-blocks .tp-hero{display:grid!important;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;max-width:1200px;margin-left:auto!important;margin-right:auto!important;padding:88px 32px 72px!important;box-sizing:border-box}
.wp-site-blocks .tp-sec{max-width:1200px;margin-left:auto!important;margin-right:auto!important;padding:96px 32px 0!important;box-sizing:border-box}
.wp-site-blocks .tp-g4,.wp-site-blocks .tp-g3,.wp-site-blocks .tp-bento,.wp-site-blocks .tp-cta{display:grid!important}
@media (max-width:900px){.wp-site-blocks .tp-hero,.wp-site-blocks .tp-cta{grid-template-columns:1fr!important}.wp-site-blocks .tp-hero{padding:56px 20px 48px!important}}
@media (max-width:640px){.wp-site-blocks .tp-sec{padding-left:20px!important;padding-right:20px!important}}

/* Menú móvil (el desenfoque va en ::before para no romper el menú a pantalla completa) */
.tp-header-r .wp-block-navigation__responsive-container-open,.tp-header-r .wp-block-navigation__responsive-container-close{color:#EDEDF2;background:transparent}
.tp-header-r .wp-block-navigation__responsive-container.is-menu-open{background:#0B0B10!important;color:#EDEDF2!important;padding:24px 28px}
.tp-header-r .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:18px;align-items:flex-start}
.tp-header-r .wp-block-navigation__responsive-container.is-menu-open a{color:#EDEDF2;font-size:18px;font-weight:600}
.tp-header-r .wp-block-navigation__responsive-container.is-menu-open a:hover{color:#3DE0F5}
/* Responsive: tablet */
@media (max-width:900px){
.tp-header-r{gap:14px}
.tp-header-r .wp-block-navigation,.tp-header-r .wp-block-navigation__container{gap:16px}
.tp-header-r .wp-block-navigation a{font-size:13px}
.tp-h1{font-size:52px}.tp-h2{font-size:36px}
.wp-site-blocks .tp-stack{max-width:520px;width:100%;margin:0 auto;height:440px}
}
@media (max-width:782px){.admin-bar .wp-site-blocks>header.wp-block-template-part{top:46px}}
/* Responsive: móvil */
@media (max-width:640px){
.tp-header-in{padding:10px 16px}
.tp-header-in .wp-block-site-logo img{width:140px!important;height:auto}
.tp-btn-s .wp-block-button__link{padding:9px 16px;font-size:13px}
.tp-h1{font-size:38px;margin:18px 0}.tp-h2{font-size:30px;margin:12px 0 28px}
.tp-lead{font-size:17px}
.wp-site-blocks .tp-hero{padding:40px 20px 40px!important;gap:32px}
.wp-site-blocks .tp-sec{padding-top:64px!important}
.wp-site-blocks .tp-stack{height:380px}
.tp-hero .wp-block-buttons,.tp-cta .wp-block-buttons{flex-direction:column;align-items:stretch}
.tp-hero .wp-block-button,.tp-cta .wp-block-button{width:100%}
.tp-hero .wp-block-button__link,.tp-cta .wp-block-button__link{display:block;text-align:center;box-sizing:border-box}
.tp-card{padding:22px}
.tp-cta{padding:24px;border-radius:20px;gap:28px;margin-bottom:56px}
.tp-mq{padding:20px 0 24px}
.tp-logo{zoom:.8}
.tp-mt>*{margin-right:48px!important}
.tp-team img{border-radius:16px}
.tp-footer-in{padding:24px 16px}
.tp-title{padding:0 20px;margin-top:32px}
}

/* Logo repetido dentro del menú móvil */
.tp-header-r .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::before{content:"";display:block;align-self:flex-start;width:200px;height:56px;margin:0 0 28px;background:url("assets/images/logo.png") left center/contain no-repeat}
@media (max-width:640px){.tp-team img{aspect-ratio:16/9}}
