/*
Theme Name: Arthur Tek
Theme URI: https://arthurtek.com
Author: Arthur Tek
Author URI: https://arthurtek.com
Description: Tema WordPress a medida para Arthur Tek, Integration Architect especializado en SAP CPI. Réplica fiel del diseño Home aprobado (mockup de alta fidelidad) y el Brand Kit oficial. Servicios, Casos de Éxito, Metodología, Recursos y el Blog son editables desde el escritorio de WordPress sin tocar código.
Version: 4.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arthurtek
Tags: custom-colors, custom-menu, custom-logo, featured-images, translation-ready, one-column
*/

/* =========================================================
   DESIGN TOKENS — Brand Kit Arthur Tek
   ========================================================= */
:root{
  --deep:#0F4C81;
  --deep-ink:#081F35;
  --deep-ink-2:#0B2A47;
  --electric:#00A9E0;
  --celeste:#66D9FF;
  --gray-light:#F4F6F8;
  --graphite:#2E2E38;
  --white:#FFFFFF;
  --line:rgba(46,46,56,0.10);
  --line-dark:rgba(255,255,255,0.14);
  --shadow:0 24px 60px -28px rgba(8,31,53,0.45);
  --radius:14px;
  --maxw:1240px;
  --font-head:'Poppins', sans-serif;
  --font-body:'Inter', sans-serif;
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}
body{
  margin:0; font-family:var(--font-body); color:var(--graphite);
  background:var(--white); line-height:1.6; -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{font-family:var(--font-head); color:var(--deep-ink); margin:0; line-height:1.16;}
p{margin:0;}
a{color:inherit;}
img,svg{max-width:100%; display:block;}
ul{list-style:none; margin:0; padding:0;}
button{font:inherit;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
.skip-link{position:absolute; left:-999px; top:0; background:var(--electric); color:#fff; padding:12px 22px; z-index:1200; border-radius:0 0 8px 0; font-weight:600; text-decoration:none;}
.skip-link:focus{left:0;}
:focus-visible{outline:3px solid var(--electric); outline-offset:3px; border-radius:2px;}
.visually-hidden{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}

.eyebrow{display:inline-flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:700; font-size:1.5rem; color:var(--deep-ink); letter-spacing:0.01em;}
.eyebrow-line{width:36px; height:3px; background:var(--electric); border-radius:2px;}
.section-kicker{display:flex; align-items:center; gap:14px; margin-bottom:44px; flex-wrap:wrap; justify-content:space-between;}
.section-kicker .more-link{font-family:var(--font-head); font-weight:600; font-size:0.88rem; color:var(--electric); text-decoration:none; display:inline-flex; align-items:center; gap:6px; white-space:nowrap;}
.section-kicker .more-link:hover{text-decoration:underline;}
section{padding:88px 0;}

/* =========================================================
   HEADER
   ========================================================= */
header.site{position:fixed; top:0; left:0; right:0; z-index:900; background:rgba(8,31,53,0.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line-dark); transition:background 0.2s ease;}
.nav-wrap{display:flex; align-items:center; justify-content:space-between; height:76px; gap:20px;}
.brand{display:flex; align-items:center; gap:11px; text-decoration:none; color:#fff; flex:none;}
.brand svg{width:38px; height:38px; flex:none;}
.brand-text{display:flex; flex-direction:column; line-height:1.1;}
.brand-word{font-family:var(--font-head); font-weight:700; font-size:1.02rem; letter-spacing:0.03em; color:#fff;}
.brand-sub{font-family:var(--font-head); font-weight:600; font-size:0.56rem; letter-spacing:0.16em; color:var(--celeste); text-transform:uppercase;}
nav.primary{display:flex; align-items:center; gap:26px; flex:1; justify-content:center;}
nav.primary ul{display:flex; align-items:center; gap:26px; margin:0; padding:0;}
nav.primary a{font-family:var(--font-head); font-size:0.85rem; font-weight:500; color:rgba(255,255,255,0.82); text-decoration:none; position:relative; padding:8px 0; white-space:nowrap;}
nav.primary a:hover, nav.primary a.is-active{color:#fff;}
nav.primary a::after{content:""; position:absolute; left:0; bottom:2px; width:0; height:2px; background:var(--electric); transition:width 0.25s ease;}
nav.primary a:hover::after, nav.primary a.is-active::after{width:100%;}
.cta-btn{font-family:var(--font-head); font-weight:600; font-size:0.85rem; background:var(--electric); color:#fff; border:none; padding:12px 24px; border-radius:9px; cursor:pointer; text-decoration:none; white-space:nowrap; display:inline-flex; align-items:center; gap:8px; transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;}
.cta-btn:hover{transform:translateY(-2px); background:#0091c2; box-shadow:0 10px 24px -10px rgba(0,169,224,0.65); color:#fff;}
.cta-btn.ghost{background:transparent; border:1.5px solid rgba(255,255,255,0.35); color:#fff;}
.cta-btn.ghost:hover{background:rgba(255,255,255,0.08); border-color:#fff;}
.cta-btn.small{padding:9px 16px; font-size:0.78rem;}
.header-cta{flex:none;}
.menu-toggle{display:none; background:none; border:none; color:#fff; cursor:pointer; padding:8px;}
.menu-toggle svg{width:26px; height:26px;}
.nav-cta-mobile{display:none;}
@media (max-width:1080px){
  nav.primary{position:fixed; top:76px; left:0; right:0; bottom:0; background:var(--deep-ink); flex-direction:column; align-items:flex-start; justify-content:flex-start; padding:32px 28px; gap:22px; transform:translateX(100%); transition:transform 0.3s ease; overflow-y:auto; display:block;}
  nav.primary ul{flex-direction:column; align-items:flex-start; gap:22px;}
  nav.primary.open{transform:translateX(0);}
  nav.primary a{font-size:1.08rem;}
  .menu-toggle{display:block;}
  .header-cta.desktop-only{display:none;}
  .nav-cta-mobile{display:inline-flex; margin-top:10px;}
}

/* =========================================================
   HERO
   ========================================================= */
.hero{position:relative; overflow:hidden; padding:150px 0 0; background:radial-gradient(1200px 640px at 82% -8%, rgba(0,169,224,0.30), transparent 58%), linear-gradient(165deg, #081F35 0%, #0F4C81 68%, #0B3866 100%); color:#fff;}
.hero-grid{display:grid; grid-template-columns:1.02fr 0.98fr; gap:40px; align-items:center; padding-bottom:56px;}
.hero h1{font-size:clamp(2rem, 3.4vw, 2.7rem); color:#fff; font-weight:800; letter-spacing:0.005em; margin-bottom:22px; text-transform:uppercase;}
.hero h1 .accent{color:var(--celeste);}
.hero p.lede{font-size:1.06rem; color:rgba(255,255,255,0.82); max-width:48ch; margin-bottom:30px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:38px;}
.hero-stats{display:flex; gap:30px; flex-wrap:wrap;}
.hero-stat{display:flex; align-items:center; gap:10px;}
.hero-stat .icon{width:34px; height:34px; border-radius:9px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; flex:none;}
.hero-stat .icon svg{width:17px; height:17px; stroke:var(--celeste);}
.hero-stat strong{display:block; font-family:var(--font-head); font-size:1.15rem; font-weight:700; color:#fff;}
.hero-stat span{font-size:0.76rem; color:rgba(255,255,255,0.62);}

.hero-visual{position:relative; height:520px;}
.hero-photo{position:absolute; left:0; top:8%; width:58%; height:92%;}
.hero-photo svg, .hero-photo img{width:100%; height:100%; object-fit:cover;}
.hero-hexdiagram{position:absolute; right:-2%; top:0; width:60%;}
.hero-hexdiagram svg{width:100%; height:auto;}
@media (max-width:1080px){
  .hero-grid{grid-template-columns:1fr; padding-bottom:40px;}
  .hero-visual{height:420px; order:-1; margin-bottom:8px;}
  .hero{padding-top:126px;}
}
@media (max-width:560px){
  .hero-visual{height:340px;}
  .hero-photo{width:48%;}
  .hero-hexdiagram{width:72%;}
}

.hero-divider{border-top:1px solid var(--line-dark); background:rgba(255,255,255,0.03);}
.hero-divider .container{display:flex; align-items:center; justify-content:center; gap:14px; padding:20px 28px; flex-wrap:wrap;}
.hero-divider svg{width:22px; height:22px; flex:none;}
.hero-divider .tagline{font-family:var(--font-head); font-weight:600; font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:rgba(255,255,255,0.72); text-align:center;}
.hero-divider .tagline .dot{color:var(--electric); margin:0 10px;}

.pulse-ring{transform-origin:center; animation:pulse 2.8s ease-in-out infinite;}
@keyframes pulse{0%,100%{opacity:0.5;} 50%{opacity:1;}}
.flow-dot{animation:flow 4.2s linear infinite; opacity:0;}
.flow-dot.d2{animation-delay:1.4s;}
.flow-dot.d3{animation-delay:2.8s;}
@keyframes flow{0%{offset-distance:0%; opacity:0;} 10%{opacity:1;} 90%{opacity:1;} 100%{offset-distance:100%; opacity:0;}}

/* =========================================================
   SECCIÓN GENÉRICA
   ========================================================= */
.section-light{background:var(--white);}
.section-tint{background:var(--gray-light);}
.section-dark{background:linear-gradient(165deg, #081F35 0%, #0F4C81 100%); color:#fff;}
.section-dark h2, .section-dark .eyebrow{color:#fff;}
.section-title{text-align:center; margin-bottom:48px;}
.section-title h2{font-size:clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing:0.04em; text-transform:uppercase; margin-top:10px;}
.section-title .eyebrow-line{margin:0 auto;}
.section-title p{color:#5B5B66; max-width:56ch; margin:14px auto 0; font-size:1rem;}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:20px;}
.service-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px 22px; transition:transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;}
.service-card:hover{transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent;}
.icon-wrap{width:46px; height:46px; border-radius:11px; background:rgba(0,169,224,0.10); display:flex; align-items:center; justify-content:center; margin-bottom:18px;}
.icon-wrap svg{width:22px; height:22px; stroke:var(--deep);}
.service-card h3{font-size:0.98rem; margin-bottom:9px; line-height:1.3;}
.service-card p{color:#5B5B66; font-size:0.85rem; margin-bottom:14px;}
.service-card .more-link{font-family:var(--font-head); font-weight:600; font-size:0.82rem; color:var(--electric); text-decoration:none; display:inline-flex; align-items:center; gap:5px;}
.service-card .more-link:hover{text-decoration:underline;}
@media (max-width:1080px){ .services-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:640px){ .services-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:420px){ .services-grid{grid-template-columns:1fr;} }

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar{background:linear-gradient(165deg, #081F35 0%, #0F4C81 100%); padding:44px 0;}
.stats-row{display:flex; justify-content:space-between; flex-wrap:wrap; gap:28px;}
.stat-item{display:flex; align-items:center; gap:14px; flex:1; min-width:170px;}
.stat-item .icon{width:44px; height:44px; border-radius:11px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; flex:none;}
.stat-item .icon svg{width:21px; height:21px; stroke:var(--celeste);}
.stat-item strong{display:block; font-family:var(--font-head); font-weight:800; font-size:1.5rem; color:#fff;}
.stat-item span{font-size:0.76rem; color:rgba(255,255,255,0.65); text-transform:uppercase; letter-spacing:0.03em;}

/* =========================================================
   METODOLOGÍA
   ========================================================= */
.method-row{display:flex; align-items:flex-start; justify-content:space-between; position:relative; gap:6px;}
.method-row::before{content:""; position:absolute; top:32px; left:8%; right:8%; height:0; border-top:2px dashed var(--line); z-index:0;}
.method-item{position:relative; z-index:1; flex:1; text-align:center; display:flex; flex-direction:column; align-items:center; padding:0 6px;}
.method-icon{width:64px; height:64px; border-radius:50%; background:#fff; border:2px solid var(--electric); display:flex; align-items:center; justify-content:center; margin-bottom:16px; box-shadow:0 0 0 6px var(--white);}
.method-icon svg{width:26px; height:26px; stroke:var(--deep);}
.method-num{font-family:var(--font-head); font-weight:700; font-size:0.76rem; color:var(--electric); margin-bottom:4px; letter-spacing:0.04em;}
.method-item h3{font-size:0.95rem; margin-bottom:6px;}
.method-item p{font-size:0.8rem; color:#5B5B66; max-width:22ch;}
@media (max-width:960px){
  .method-row{flex-wrap:wrap; row-gap:44px;}
  .method-row::before{display:none;}
  .method-item{flex:0 0 33.3%; min-width:150px;}
}
@media (max-width:560px){ .method-item{flex:0 0 50%;} }

/* =========================================================
   CASOS DE ÉXITO
   ========================================================= */
.cases-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.case-card{position:relative; border-radius:var(--radius); overflow:hidden; min-height:300px; display:flex; flex-direction:column; justify-content:flex-end; padding:26px; color:#fff; isolation:isolate; text-decoration:none; background-size:cover; background-position:center;}
.case-card::before{content:""; position:absolute; inset:0; z-index:-2;}
.case-card::after{content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(8,31,53,0.96) 10%, rgba(8,31,53,0.55) 60%, rgba(8,31,53,0.35) 100%); z-index:-1;}
.case-grad-0::before{background:linear-gradient(150deg,#1c3a56,#081F35 65%), repeating-linear-gradient(115deg, rgba(102,217,255,0.10) 0 2px, transparent 2px 26px);}
.case-grad-1::before{background:linear-gradient(150deg,#123a52,#081F35 65%), repeating-linear-gradient(65deg, rgba(0,169,224,0.10) 0 2px, transparent 2px 26px);}
.case-grad-2::before{background:linear-gradient(150deg,#0e3355,#081F35 65%), repeating-linear-gradient(25deg, rgba(102,217,255,0.08) 0 2px, transparent 2px 30px);}
.case-badge{display:inline-block; align-self:flex-start; font-family:var(--font-head); font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; background:rgba(0,169,224,0.85); padding:5px 12px; border-radius:999px; margin-bottom:14px;}
.case-card h3{color:#fff; font-size:1.15rem; margin-bottom:10px; max-width:22ch;}
.case-card p{color:rgba(255,255,255,0.78); font-size:0.9rem; margin-bottom:14px; max-width:34ch;}
.case-card .more-link{font-family:var(--font-head); font-weight:600; font-size:0.85rem; color:var(--celeste); text-decoration:none; display:inline-flex; align-items:center; gap:6px;}
.case-card .more-link:hover{text-decoration:underline;}
@media (max-width:900px){ .cases-grid{grid-template-columns:1fr;} }

/* =========================================================
   BLOG (preview en Home)
   ========================================================= */
.blog-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:20px;}
.article-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; text-decoration:none; transition:box-shadow 0.22s ease, transform .22s ease;}
.article-card:hover{box-shadow:var(--shadow); transform:translateY(-4px);}
.article-thumb{height:120px; position:relative; overflow:hidden; background-size:cover; background-position:center; background-image:linear-gradient(135deg,#0F4C81,#00A9E0);}
.thumb-0{background-image:linear-gradient(135deg,#0F4C81,#00A9E0);}
.thumb-1{background-image:linear-gradient(135deg,#081F35,#0F4C81);}
.thumb-2{background-image:linear-gradient(135deg,#00A9E0,#66D9FF);}
.thumb-3{background-image:linear-gradient(135deg,#0B3866,#00A9E0);}
.article-body{padding:18px 20px; display:flex; flex-direction:column; gap:8px; flex:1;}
.article-date{font-family:var(--font-head); font-size:0.68rem; font-weight:700; color:var(--electric); text-transform:uppercase; letter-spacing:0.04em;}
.article-body h3{font-size:0.92rem; line-height:1.35;}
.article-body p{font-size:0.82rem; color:#5B5B66;}
.article-body .more-link{margin-top:auto; font-family:var(--font-head); font-weight:600; font-size:0.8rem; color:var(--electric); text-decoration:none;}
.article-body .more-link:hover{text-decoration:underline;}

.blog-cta-card{background:linear-gradient(160deg, var(--deep), var(--deep-ink)); border-radius:var(--radius); padding:26px 22px; color:#fff; display:flex; flex-direction:column; gap:14px;}
.blog-cta-card .icon{width:42px; height:42px; border-radius:10px; background:rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center;}
.blog-cta-card .icon svg{width:20px; height:20px; stroke:var(--celeste);}
.blog-cta-card h3{color:#fff; font-size:1rem;}
.blog-cta-card p{color:rgba(255,255,255,0.75); font-size:0.85rem;}
.blog-cta-card .cta-btn{margin-top:auto; justify-content:center; font-size:0.82rem; padding:11px 18px;}

@media (max-width:1080px){ .blog-grid{grid-template-columns:repeat(2,1fr);} .blog-cta-card{grid-column:span 2;} }
@media (max-width:640px){ .blog-grid{grid-template-columns:1fr;} .blog-cta-card{grid-column:span 1;} }

/* =========================================================
   TECNOLOGÍAS
   ========================================================= */
.tech-bar{background:var(--gray-light); padding:44px 0;}
.tech-bar .container{display:flex; align-items:center; gap:36px; flex-wrap:wrap; justify-content:space-between;}
.tech-label{font-family:var(--font-head); font-weight:700; font-size:0.82rem; letter-spacing:0.04em; text-transform:uppercase; color:var(--deep-ink); max-width:14ch; flex:none;}
.tech-logos{display:flex; align-items:center; gap:14px; flex-wrap:wrap; flex:1;}
.tech-chip{font-family:var(--font-head); font-weight:700; font-size:0.88rem; color:var(--deep-ink); background:#fff; border:1px solid var(--line); padding:10px 18px; border-radius:9px; letter-spacing:0.01em;}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final{background:radial-gradient(900px 500px at 50% 0%, rgba(102,217,255,0.16), transparent 65%), linear-gradient(165deg, #081F35, #0F4C81); color:#fff; text-align:center; padding:92px 0;}
.cta-final h2{color:#fff; font-size:clamp(1.6rem, 3vw, 2.2rem); max-width:24ch; margin:0 auto 16px;}
.cta-final p{color:rgba(255,255,255,0.78); max-width:52ch; margin:0 auto 30px; font-size:1rem;}
.cta-final .hero-ctas{justify-content:center; margin-bottom:0;}

/* =========================================================
   FOOTER
   ========================================================= */
footer.site{background:var(--deep-ink); color:rgba(255,255,255,0.72); padding:64px 0 26px;}
.footer-grid{display:grid; grid-template-columns:1.5fr repeat(4,1fr); gap:34px; padding-bottom:40px; border-bottom:1px solid var(--line-dark);}
.footer-brand{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.footer-brand svg{width:32px; height:32px;}
.footer-brand-text{display:flex; flex-direction:column; line-height:1.15;}
.footer-brand-text .word{font-family:var(--font-head); font-weight:700; color:#fff; font-size:1rem;}
.footer-brand-text .sub{font-family:var(--font-head); font-weight:600; font-size:0.55rem; letter-spacing:0.14em; color:var(--celeste); text-transform:uppercase;}
.footer p.desc{font-size:0.88rem; max-width:30ch; margin-bottom:18px;}
.social-row{display:flex; gap:9px;}
.social-row a{width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.75); text-decoration:none; transition:background 0.18s ease, color 0.18s ease, border-color .18s ease;}
.social-row a:hover{background:var(--electric); color:#fff; border-color:var(--electric);}
.social-row svg{width:15px; height:15px;}
.footer-col h4{color:#fff; font-family:var(--font-head); font-size:0.82rem; margin-bottom:16px; letter-spacing:0.03em; text-transform:uppercase;}
.footer-col ul{display:flex; flex-direction:column; gap:10px;}
.footer-col a{font-size:0.87rem; text-decoration:none; color:rgba(255,255,255,0.68);}
.footer-col a:hover{color:var(--celeste);}
.footer-contact li{display:flex; align-items:flex-start; gap:10px; font-size:0.87rem; color:rgba(255,255,255,0.72);}
.footer-contact svg{width:15px; height:15px; stroke:var(--celeste); flex:none; margin-top:3px;}
.footer-contact .cta-btn{margin-top:6px; padding:10px 18px; font-size:0.8rem;}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding-top:22px; font-size:0.8rem;}
.footer-bottom .legal{display:flex; gap:18px;}
.footer-bottom .legal a{text-decoration:none; color:rgba(255,255,255,0.6);}
.footer-bottom .legal a:hover{color:#fff;}
@media (max-width:1080px){ .footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;} }
@media (max-width:560px){ .footer-grid{grid-template-columns:1fr;} }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal{opacity:0; transform:translateY(14px); transition:opacity 0.5s ease, transform 0.5s ease;}
.reveal.is-visible{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none;} }

/* =========================================================
   PÁGINAS INTERNAS (blog, artículo, casos, 404) — no aparecen
   en el mockup de Home pero son necesarias para que el sitio
   completo funcione (single de artículo, categorías, casos).
   ========================================================= */
.page-hero{background:linear-gradient(165deg, #081F35 0%, #0F4C81 100%); color:#fff; padding:168px 0 70px;}
.page-hero h1{color:#fff; font-size:clamp(1.8rem,4vw,2.6rem); margin:14px 0 12px; max-width:26ch; text-transform:none;}
.page-hero p.lede{color:rgba(255,255,255,0.8); max-width:60ch; font-size:1.02rem;}
.breadcrumbs{display:flex; flex-wrap:wrap; gap:6px; font-size:0.82rem; color:rgba(255,255,255,0.65); margin-bottom:18px;}
.breadcrumbs a{color:rgba(255,255,255,0.8); text-decoration:none;}
.breadcrumbs a:hover{color:#fff; text-decoration:underline;}
.breadcrumbs span[aria-hidden]{color:rgba(255,255,255,0.4);}
.breadcrumbs .current{color:#fff;}
.content-wrap{padding:80px 0; max-width:820px; margin:0 auto;}
.content-wrap .entry-content{color:#3d3d47; font-size:1.05rem;}
.content-wrap .entry-content p{margin-bottom:20px;}
.content-wrap .entry-content h2{margin:36px 0 16px; font-size:1.5rem;}
.content-wrap .entry-content img{border-radius:var(--radius); margin:20px 0;}
.entry-meta{display:flex; gap:16px; color:rgba(255,255,255,0.7); font-size:0.9rem; margin-top:14px; flex-wrap:wrap;}
.blog-full-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px; padding:80px 0;}
.know-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
@media (max-width:900px){ .blog-full-grid, .know-grid{grid-template-columns:1fr;} }
.pagination-nav{display:flex; justify-content:center; gap:14px; padding:0 0 80px; margin-top:20px; flex-wrap:wrap;}
.pagination-nav a, .pagination-nav span{padding:10px 18px; border:1px solid var(--line); border-radius:8px; text-decoration:none; font-family:var(--font-head); font-size:0.85rem;}
.pagination-nav .current{background:var(--deep); color:#fff; border-color:var(--deep);}
.not-found{padding:160px 0 120px; text-align:center;}
.not-found h1{font-size:5rem; color:var(--deep);}
.empty-state{text-align:center; padding:60px 20px; color:#8A8A94; font-size:0.95rem;}

.know-toolbar{display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:30px;}
.search-box{display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:10px 18px; min-width:260px; flex:1; max-width:420px;}
.search-box svg{width:18px; height:18px; stroke:#8A8A94; flex:none;}
.search-box input{border:none; outline:none; font-family:var(--font-body); font-size:0.9rem; width:100%; background:transparent;}
.cat-scroll{display:flex; gap:10px; overflow-x:auto; padding-bottom:6px; margin-bottom:40px; scrollbar-width:thin;}
.cat-chip{font-family:var(--font-head); font-size:0.8rem; font-weight:600; color:var(--deep); background:#fff; border:1px solid var(--line); padding:9px 16px; border-radius:999px; white-space:nowrap; cursor:pointer; flex:none; text-decoration:none;}
.cat-chip:hover{border-color:var(--electric);}
.cat-chip.active{background:var(--deep); color:#fff; border-color:var(--deep);}
.tag{font-family:var(--font-head); font-size:0.76rem; font-weight:600; color:var(--deep); background:rgba(15,76,129,0.08); padding:6px 13px; border-radius:999px; text-decoration:none; display:inline-block;}

.article-layout{display:grid; grid-template-columns:220px 1fr; gap:56px; align-items:flex-start;}
@media (max-width:960px){ .article-layout{grid-template-columns:1fr;} }
.toc-wrap{position:sticky; top:96px;}
.toc-wrap h4{font-size:0.78rem; text-transform:uppercase; letter-spacing:0.06em; color:#8A8A94; margin-bottom:14px; font-family:var(--font-head);}
.toc-list{display:flex; flex-direction:column; gap:10px; border-left:2px solid var(--line); padding-left:16px;}
.toc-list a{font-size:0.86rem; color:#5B5B66; text-decoration:none; display:block;}
.toc-list a:hover, .toc-list a.active{color:var(--deep); font-weight:600;}
.toc-list a.sub{padding-left:14px; font-size:0.82rem;}
@media (max-width:960px){ .toc-wrap{position:static; margin-bottom:40px; background:var(--gray-light); padding:20px 22px; border-radius:12px;} }

.article-main{max-width:760px;}
.article-top-meta{display:flex; gap:14px; align-items:center; flex-wrap:wrap; font-size:0.86rem; color:#8A8A94; margin-top:22px;}
.article-top-meta .author{display:flex; align-items:center; gap:8px; font-weight:600; color:var(--deep-ink);}
.author-avatar{width:28px; height:28px; border-radius:50%; background:var(--deep); display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--font-head); font-weight:700; font-size:0.7rem;}
.article-hero-image{margin:36px 0; border-radius:var(--radius); overflow:hidden; aspect-ratio:16/8; background:linear-gradient(140deg, var(--deep), var(--deep-ink)); position:relative;}
.article-hero-image img{width:100%; height:100%; object-fit:cover;}

.prose{color:#3d3d47; font-size:1.05rem;}
.prose p{margin-bottom:20px;}
.prose h2{font-size:1.5rem; margin:44px 0 16px; scroll-margin-top:100px;}
.prose h3{font-size:1.18rem; margin:32px 0 14px; scroll-margin-top:100px;}
.prose ul, .prose ol{margin:0 0 20px 22px; padding:0;}
.prose ul{list-style:disc;}
.prose ol{list-style:decimal;}
.prose li{margin-bottom:8px;}
.prose code{background:var(--gray-light); padding:2px 7px; border-radius:5px; font-size:0.9em; font-family:'SFMono-Regular', Consolas, monospace;}
.prose pre{background:var(--deep-ink); color:#e8f4ff; padding:20px 22px; border-radius:12px; overflow-x:auto; margin:0 0 24px; font-size:0.88rem; line-height:1.6;}
.prose pre code{background:none; padding:0; color:inherit;}
.prose blockquote{border-left:3px solid var(--electric); padding:4px 0 4px 20px; margin:0 0 24px; color:#5B5B66; font-style:italic;}
.prose img{border-radius:var(--radius); margin:20px 0;}

.inline-cta{background:linear-gradient(140deg, var(--deep), var(--deep-ink)); color:#fff; border-radius:var(--radius); padding:30px 32px; margin:40px 0; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;}
.inline-cta h4{color:#fff; font-size:1.1rem; margin-bottom:6px;}
.inline-cta p{color:rgba(255,255,255,0.75); font-size:0.92rem;}

.tags-row{display:flex; gap:10px; flex-wrap:wrap; margin:40px 0;}

.faq-block{border-top:1px solid var(--line); padding-top:30px; margin-top:40px;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-item summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; padding:18px 0; font-family:var(--font-head); font-weight:600; font-size:1rem; color:var(--deep-ink);}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; font-size:1.3rem; color:var(--electric); flex:none; margin-left:16px;}
.faq-item[open] summary::after{content:"–";}
.faq-item p{padding:0 0 18px; color:#5B5B66; font-size:0.95rem;}

.author-box{display:flex; gap:18px; align-items:center; background:var(--gray-light); border-radius:var(--radius); padding:26px; margin:44px 0;}
.author-box .author-avatar{width:56px; height:56px; font-size:1.1rem;}
.author-box h4{font-size:1rem; margin-bottom:4px;}
.author-box p{font-size:0.9rem; color:#5B5B66;}

.related-wrap{margin-top:60px; padding-top:50px; border-top:1px solid var(--line);}
.related-wrap h3{font-size:1.3rem; margin-bottom:26px;}

.case-link{margin-top:14px; display:inline-flex; align-items:center; gap:6px; font-family:var(--font-head); font-weight:600; font-size:0.85rem; color:var(--electric); text-decoration:none;}
.case-link:hover{text-decoration:underline;}
.case-detail p{margin-bottom:18px; color:#3d3d47;}
.case-detail article{padding:56px 0; border-bottom:1px solid var(--line);}

.comments-area{max-width:820px; margin:0 auto; padding:0 0 80px;}
.comments-area .comment-body{border:1px solid var(--line); border-radius:12px; padding:18px 20px; margin-bottom:16px;}
.comments-area .comment-form input, .comments-area .comment-form textarea{width:100%; border:1.5px solid var(--line); border-radius:8px; padding:11px 14px; font-family:var(--font-body); margin-bottom:14px;}
.comments-area .comment-form label{display:block; font-family:var(--font-head); font-weight:600; font-size:0.85rem; margin-bottom:6px;}
.comments-area .form-submit input{width:auto; background:var(--deep); color:#fff; border:none; padding:12px 26px; border-radius:8px; font-family:var(--font-head); font-weight:600; cursor:pointer;}
