/*
Theme Name: Viparal JSC
Author: Viparal JSC
Description: Website giới thiệu năng lực, giải pháp, thiết bị và dự án thực tế Viparal.
Version: 1.2.5
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: viparal-jsc
*/
:root{--navy:#082e3a;--ink:#11313c;--muted:#64777e;--green:#a7e55d;--teal:#087d75;--line:#dfe7e8;--paper:#f3f7f8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;font-family:'Be Vietnam Pro',Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.65;background:white}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a:focus-visible,button:focus-visible{outline:3px solid #168e86;outline-offset:5px}img{display:block;max-width:100%;object-fit:cover}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.6rem,5.2vw,4.5rem);line-height:1.18;letter-spacing:-.045em}h2{font-size:clamp(2rem,3.1vw,2.8rem);line-height:1.25;letter-spacing:-.04em;margin:18px 0 24px}h3{font-size:1.25rem;line-height:1.45;letter-spacing:-.025em}p{color:var(--muted)}.container{width:min(1200px,calc(100% - 80px));margin:auto}.topbar{background:var(--navy);color:#d3e5e9;font-size:13px;padding:9px 0}.topbar .container{display:flex;justify-content:space-between}header{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:94px;gap:30px}.brand{font-size:2.6rem;font-weight:800;line-height:1;letter-spacing:-.065em;display:inline-block}.brand-dot{color:var(--teal)}.brand small{display:block;font-size:10px;letter-spacing:.19em;font-weight:600;margin-top:10px}.nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:600}.nav>a:hover{color:var(--teal)}.button,.outline-button{display:inline-flex;align-items:center;justify-content:center;padding:16px 25px;border-radius:3px;background:var(--green);border:1px solid var(--green);color:var(--navy);font-weight:600;font-size:14px;line-height:1.5;transition:background .2s}.button:hover{background:#beef82}.small-button{padding:12px 20px;background:var(--navy);border-color:var(--navy);color:white}.small-button:hover{color:var(--navy)}.outline-button{background:transparent;border-color:#a6b8bc;color:white}.outline-button:hover{background:#ffffff12}.outline-button.dark{border-color:#b7c8cb;color:var(--ink)}.menu{display:none;background:none;border:0}.hero{position:relative;background:var(--navy);min-height:660px;color:#fff;overflow:hidden}.hero-image,.hero-shade{position:absolute;inset:0}.hero-image img{width:100%;height:100%;object-position:center 48%}.hero-shade{background:linear-gradient(90deg,rgba(3,32,42,.97) 0%,rgba(3,32,42,.85) 32%,rgba(3,32,42,.2) 100%)}.hero-content{position:relative;padding:80px 0 30px}.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:600;color:var(--teal)}.eyebrow.light{color:var(--green)}.hero h1{margin:30px 0 26px;max-width:780px}.hero h1 span{color:var(--green)}.hero p{color:#d1dee1;font-size:18px;line-height:1.8}.hero-actions{display:flex;gap:14px;margin:35px 0 66px}.hero-foot{display:flex;justify-content:space-between;border-top:1px solid #ffffff30;padding-top:24px;font-size:12px;letter-spacing:.1em;color:#dde8e8}.service-strip{background:var(--navy);color:#dce8e8}.service-strip .container{display:grid;grid-template-columns:repeat(4,1fr)}.service-strip a{display:flex;align-items:center;gap:15px;padding:27px 20px;border-right:1px solid #ffffff20;font-size:14px}.service-strip a:first-child{padding-left:0}.service-strip svg{color:var(--green)}.section{padding-top:92px;padding-bottom:92px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:50px;margin-bottom:38px}.section-head h2{margin-bottom:0}.section-head>p{max-width:380px;margin-bottom:0}.solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.solution-card{position:relative;border:1px solid var(--line);padding:38px 30px;display:flex;flex-direction:column;transition:background .2s,transform .2s}.solution-card:hover{background:var(--paper);transform:translateY(-4px)}.solution-card>svg{color:var(--teal);width:36px;height:36px;margin:16px 0 30px}.solution-number{position:absolute;right:28px;top:32px;color:#9db0b5;font-size:14px}.solution-card p{font-size:15px;flex:1}.read-more{display:flex;align-items:center;justify-content:space-between;font-weight:600;color:var(--teal);font-size:14px;margin-top:20px}.project-section{background:var(--paper)}.filters{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}.filters button{background:transparent;border:1px solid var(--line);border-radius:3px;padding:9px 18px;color:var(--muted);font-size:14px}.filters button.active{background:var(--navy);color:white;border-color:var(--navy)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.content-card{background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;transition:transform .2s}.content-card:hover{transform:translateY(-4px)}.card-img{aspect-ratio:1.55;overflow:hidden}.card-img img{width:100%;height:100%;transition:transform .4s}.content-card:hover img{transform:scale(1.04)}.card-body{padding:28px;flex:1;display:flex;flex-direction:column}.card-body h3{margin:14px 0}.card-body p{font-size:14px;flex:1}.text-card{border-top:4px solid var(--teal);min-height:320px;background:linear-gradient(145deg,#fff,#eaf1f2)}.text-card .card-body{padding-top:50px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.about-photo{position:relative;height:580px}.about-photo img{width:100%;height:100%}.about-photo span{position:absolute;bottom:0;left:0;right:0;background:var(--navy);color:var(--green);padding:23px 28px;font-size:12px;letter-spacing:.12em}.principle{display:flex;gap:20px;padding:23px 0;border-top:1px solid var(--line)}.principle svg{color:var(--teal);flex-shrink:0;margin-top:5px}.principle h3{font-size:16px;margin-bottom:7px}.principle p{font-size:14px;margin-bottom:0}.process{padding:72px 0;background:var(--navy);color:white}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-top:40px}.process-grid>div{border-top:1px solid #ffffff35;padding-top:22px}.process-grid span{color:var(--green);font-size:14px}.process-grid h3{margin:16px 0 10px}.process-grid p{font-size:14px;color:#bacdd2}.news-empty{display:flex;align-items:center;gap:28px;background:var(--paper);border:1px solid var(--line);padding:36px}.news-empty>svg{color:var(--teal);flex-shrink:0;width:40px;height:40px}.news-empty h3{margin-bottom:10px}.news-empty p{margin-bottom:0;font-size:14px}.news-empty .outline-button{margin-left:auto;white-space:nowrap}.contact-section{padding:90px 0;background:#eaf2f3}.contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center}.contact-phone{font-size:2rem;letter-spacing:-.04em;font-weight:700;display:block;margin:35px 0 12px}.contact-links{display:flex;gap:24px;color:var(--teal);font-weight:600}.form-card{background:white;border:1px solid var(--line);padding:36px;border-radius:4px}.form-card h3{margin-bottom:24px}label{display:flex;flex-direction:column;font-size:14px;gap:8px;margin-bottom:18px;font-weight:500}input,select,textarea{width:100%;background:white;border:1px solid #cddadd;border-radius:3px;padding:12px;color:var(--ink);font-size:14px;min-height:45px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid var(--teal);outline-offset:1px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.consent{flex-direction:row;align-items:flex-start;font-size:12px;font-weight:400}.consent input{width:16px;min-height:16px;margin-top:3px;flex-shrink:0;accent-color:var(--teal)}.small,small{font-size:12px;color:var(--muted)}.small{margin-top:18px}.honeypot{position:absolute;left:-9999px;width:1px;height:1px}.success{color:var(--teal)}.form-notice{color:#a43c21}.form-notice,.success{font-size:14px;margin-top:15px}footer{background:#061f29;color:white;padding:65px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:65px}.footer-grid p{font-size:14px;color:#aebfc5;margin-top:25px}.footer-grid strong{display:block;margin-bottom:20px;font-size:14px}.footer-grid>div>a:not(.brand){display:block;color:#c1d0d5;margin-bottom:10px;font-size:14px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff20;padding-top:24px;margin-top:40px;font-size:12px;color:#aebfc5}.chat{position:fixed;right:24px;bottom:22px;z-index:60}.chat-toggle{display:flex;align-items:center;gap:12px;padding:15px 22px;color:white;background:var(--teal);border:0;border-radius:30px;box-shadow:0 5px 25px #062e3833;font-size:14px;font-weight:600;margin-left:auto}.chat-panel{width:370px;max-height:75vh;background:white;box-shadow:0 8px 45px #082e3a33;border:1px solid var(--line);border-radius:12px;margin-bottom:15px;overflow:auto}.chat-head{background:var(--navy);color:white;display:flex;justify-content:space-between;align-items:center;padding:22px;position:sticky;top:0}.chat-head small{display:block;color:#ccdfe3;margin-top:5px;font-size:12px}.chat-head button{background:none;color:white;border:0}.chat-body{padding:22px}.chat-body p{font-size:14px}.channel{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;border:1px solid var(--line);background:white;color:var(--ink);width:100%;font-size:14px;border-radius:4px;margin-bottom:10px}.zalo{background:#0868de;color:white;border-color:#0868de}.facebook{background:#edf3fe;color:#1159b0;border-color:#d5e4fe}.chat-body form{margin-top:25px}.chat-body .form-row{grid-template-columns:1fr;gap:0}.chat-body small{display:block;line-height:1.6;margin-top:20px}.article{max-width:900px;padding:80px 0}.article h1{font-size:clamp(2rem,4vw,3.4rem);margin-top:24px}.article-summary{font-size:20px}.article-image{width:100%;max-height:540px;margin:40px 0}.article-body{max-width:760px;margin:40px auto;white-space:pre-wrap}.article-body p{font-size:17px;color:var(--ink)}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:40px 0}.gallery img{height:220px;width:100%}.admin{background:var(--paper);min-height:100vh}.admin h1{font-size:2.4rem;margin:14px 0 0}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;margin:30px 0}.admin-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.admin-posts article{background:white;padding:28px;border:1px solid var(--line)}.admin-posts h3{margin-top:18px}.admin-posts p{font-size:14px}.editor{margin:35px 0}.editor-image{width:240px;height:160px;margin-bottom:20px}.editor-actions{display:flex;gap:15px;margin-top:25px}.lead-list{display:grid;gap:20px}.lead-list .section-head{margin-bottom:15px}.lead-list p{white-space:pre-wrap}.editor small{font-size:12px}
@media(min-width:1600px){.hero{min-height:740px}.hero-content{padding-top:110px}}
@media(max-width:1050px){.container{width:calc(100% - 48px)}.nav{gap:18px}.about-grid,.contact-grid{gap:40px}.hero h1{font-size:3.6rem}.service-strip a{padding:23px 12px;gap:10px}.solution-card{padding:25px}.section-head{gap:25px}.project-grid{gap:15px}.card-body{padding:22px}}
@media(max-width:760px){.container{width:calc(100% - 36px)}.topbar{font-size:11px}.topbar span{max-width:150px}.header-inner{min-height:80px}.brand{font-size:2.3rem}.menu{display:block}.nav{display:none}.nav.open{position:absolute;top:80px;left:0;right:0;background:white;display:flex;flex-direction:column;padding:25px;align-items:stretch;border-bottom:1px solid var(--line)}.hero{min-height:650px}.hero-content{padding-top:65px}.hero h1{font-size:clamp(2.5rem,9vw,3.5rem);margin-top:24px}.hero p{font-size:16px}.hero-shade{background:linear-gradient(90deg,#03202aea,#03202a90)}.hero-actions{flex-direction:column;align-items:flex-start;margin-bottom:45px}.hero-foot{font-size:10px;gap:30px}.service-strip .container{grid-template-columns:1fr 1fr}.service-strip a{font-size:12px;border-bottom:1px solid #ffffff20;padding:20px 8px}.section{padding-top:62px;padding-bottom:62px}.section-head{display:block}.section-head>p{margin-top:22px}.solution-grid,.project-grid{grid-template-columns:1fr}.solution-card{padding:28px}.solution-card>svg{margin-bottom:20px}.about-grid,.contact-grid{grid-template-columns:1fr;gap:38px}.about-photo{height:400px}.process{padding:60px 0}.process-grid{grid-template-columns:1fr 1fr;gap:25px}.news-empty{flex-wrap:wrap;padding:25px}.news-empty>div{flex:1;min-width:200px}.news-empty .outline-button{margin-left:0}.contact-section{padding:60px 0}.form-card{padding:24px}.form-row{grid-template-columns:1fr;gap:0}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child{grid-column:span 2}.chat{right:14px;bottom:14px}.chat-panel{width:min(370px,calc(100vw - 28px))}.chat-toggle{padding:13px 18px}.article{padding:50px 0}.article-summary{font-size:17px}.gallery{grid-template-columns:1fr}.gallery img{height:auto}.admin-posts{grid-template-columns:1fr}.admin-toolbar{align-items:flex-start;gap:20px}.admin .header-inner{gap:15px}.admin .header-inner strong{font-size:12px}.lead-list .section-head{display:block}.lead-list label{margin-top:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

[hidden]{display:none!important}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:20px;top:20px;z-index:100;background:white;padding:15px}.solution-symbol{font-size:36px;color:var(--teal);margin:18px 0 28px}.section-more{display:inline-block;margin-top:30px;color:var(--teal);font-weight:600}.archive-title{font-size:clamp(2rem,4vw,3rem)}.pagination{margin-top:35px}.nav-links{display:flex;gap:18px}.page-numbers{padding:10px 14px;border:1px solid var(--line)}.page-numbers.current{background:var(--navy);color:white}.privacy-settings{border:0;background:none;color:inherit;padding:0;font:inherit}.privacy-banner{position:fixed;bottom:25px;left:25px;z-index:70;width:min(520px,calc(100vw - 50px));background:white;border:1px solid var(--line);box-shadow:0 8px 40px #082e3a40;padding:25px;border-radius:8px}.privacy-banner h2{font-size:22px;margin-top:0}.privacy-banner p{font-size:14px}.privacy-banner>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.privacy-banner>a{font-size:14px;text-decoration:underline}.breadcrumbs{font-size:14px;color:var(--teal);margin-bottom:20px}.article-body img{max-width:100%;height:auto}.article-body a{text-decoration:underline;color:var(--teal)}.article-body h2{font-size:1.75rem}.article-body h3{font-size:1.35rem}.chat-body summary{cursor:pointer;padding:12px;border:1px solid var(--line);font-size:14px;border-radius:3px}.chat-body details form{margin-top:25px}.chat-head button{font-size:26px}.footer-bottom>div{max-width:65%}.wp-block-image img{height:auto}body.admin-bar header{top:32px}@media(max-width:782px){body.admin-bar header{top:46px}}@media(max-width:600px){body.admin-bar header{top:0}.footer-bottom{display:block}.footer-bottom>div{max-width:none;margin-top:18px}}

/* Viparal identity: preserve source photographs; watermark project imagery on display. */
.brand{display:inline-flex;align-items:center;flex-shrink:0;letter-spacing:normal}
.brand-logo{width:96px;height:80px;object-fit:contain}
footer .brand{background:#fff;border-radius:6px;padding:8px 16px}
footer .brand-logo{width:144px;height:120px}
.card-img,.article-photo,.wp-block-image{position:relative}
.project-section .card-img::after,.post-type-archive-du_an .card-img::after,.project-photo::after,.single-du_an .wp-block-image::after,.single-du_an .gallery-item .gallery-icon::after,.about-photo::after{content:"";position:absolute;right:14px;top:14px;width:66px;height:56px;background:rgba(255,255,255,.84) url('assets/viparal-company.jpg') center/contain no-repeat;border-radius:4px;pointer-events:none;opacity:.85}
.single-du_an .gallery-item .gallery-icon{position:relative}
.article-photo{margin:40px 0}.article-photo .article-image{margin:0}
@media(max-width:760px){.brand-logo{width:82px;height:68px}.project-photo::after,.about-photo::after{width:58px;height:49px}}
