/*
Theme Name: Cubix Development
Description: Custom theme for Cubix Development (construction & development company).
Version: 1.0.0
Text Domain: cubix
*/
:root{--y:#F2C811;--y-dark:#d9b200;--dark:#1A1D21;--bg:#E9ECF1;--white:#fff;--text:#22262b;--muted:#5d6670;--line:#cfd5dd;--r:3px;--wrap:1160px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Noto Sans Georgian',system-ui,sans-serif;font-size:15px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
ul{margin:0;padding:0;list-style:none}
.container{width:min(var(--wrap),100% - 48px);margin-inline:auto}
:focus-visible{outline:2px solid var(--dark);outline-offset:3px}
svg.i{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:14px;padding:12px 20px;font-weight:700;font-size:13px;border-radius:var(--r);transition:background .2s,color .2s}
.btn-yellow{background:var(--y);color:var(--dark)}
.btn-yellow:hover{background:var(--y-dark)}
.btn-outline{border:1px solid var(--dark);color:var(--dark)}
.btn-outline:hover{background:var(--dark);color:#fff}
.btn svg{font-size:18px}

/* Header */
.site-header{position:relative;z-index:20;background:var(--bg)}
.header-inner{display:flex;align-items:center;gap:32px;min-height:96px}
.logo{display:flex;flex-direction:column;line-height:1}
.logo img,.custom-logo{max-height:70px;width:auto}
.logo-text{font-weight:800;font-size:26px;letter-spacing:.5px}
.logo-text small{display:block;font-weight:400;font-size:12px;letter-spacing:3px;color:var(--muted)}
.main-nav{margin-left:40px;flex:1}
.main-nav ul{display:flex;gap:30px}
.main-nav a{display:block;padding:8px 0;font-size:13px;font-weight:600;border-bottom:2px solid transparent}
.main-nav .current-menu-item a,.main-nav a:hover{border-color:var(--y)}
.header-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.lang{display:flex;gap:12px;font-size:11px;font-weight:700}
.lang a,.lang span{opacity:.6}
.lang .is-active{opacity:1}
.burger{display:none;background:none;border:0;font-size:28px;cursor:pointer}

/* Hero */
.hero{position:relative;overflow:hidden;min-height:clamp(420px,37vw,520px);display:flex;align-items:center;background:linear-gradient(120deg,#c9d3df,#8e9cac 60%,#e8c46a)}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .8s}
.hero-slide.is-active{opacity:1}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(233,236,241,.96) 0,rgba(233,236,241,.85) 32%,rgba(233,236,241,0) 62%)}
.hero-content{position:relative;z-index:2;max-width:430px;padding:60px 0 90px}
.hero h1{font-size:clamp(34px,4.4vw,46px);line-height:1.12;font-weight:800;text-transform:uppercase;margin-bottom:26px}
.hero h1 span{color:var(--y)}
.hero p{font-size:14px;max-width:340px;margin-bottom:28px}
.hero-words{position:absolute;z-index:2;right:max(24px,calc((100% - var(--wrap))/2));top:70px;display:flex;flex-direction:column;gap:8px;text-align:right;color:rgba(255,255,255,.85);font-size:17px;letter-spacing:2px}
.hero-nav{position:absolute;z-index:3;left:max(24px,calc((100% - var(--wrap))/2));bottom:28px;display:flex;align-items:center;gap:14px;font-size:16px}
.hero-nav button{background:none;border:0;cursor:pointer;padding:0;font-size:16px;color:var(--dark)}
.hero-dots{display:flex;gap:6px}
.hero-dots button{width:30px;height:4px;background:rgba(26,29,33,.35)}
.hero-dots button.is-active{background:var(--y)}

/* Sections */
.section{padding:56px 0 24px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:24px}
.eyebrow{font-size:14px;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase}
.section-head h2{font-size:30px;font-weight:800;line-height:1.2}
.section-head p{font-size:13px;color:var(--muted);max-width:340px}
.section-head .side{display:flex;align-items:center;gap:36px}

/* Cards */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.card{background:#f7f8fa;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(20,30,50,.06)}
.card-img{aspect-ratio:16/9;background:linear-gradient(135deg,#aab4c0,#7d8996);overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover .card-img img{transform:scale(1.04)}
.project-body{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;padding:14px 18px}
.project-body small{grid-column:1;font-size:11px;color:var(--muted)}
.project-body h3{grid-column:1;font-size:15px;font-weight:800}
.project-body .loc{grid-column:1;display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}
.project-body .go{grid-column:2;grid-row:1/4;font-size:18px}
.service-body{padding:18px 18px 22px;position:relative;flex:1}
.service-body .ico{font-size:34px;margin-bottom:10px}
.service-body h3{font-size:15px;font-weight:800;margin-bottom:4px}
.service-body p{font-size:12px;color:var(--muted);line-height:1.5}
.service-body .go{position:absolute;right:16px;top:78px;width:26px;height:26px;background:var(--y);display:grid;place-items:center;font-size:15px;transition:background .2s}
.card:hover .service-body .go{background:var(--dark);color:var(--y)}
.service-card .card-img{aspect-ratio:16/9}

/* About */
.about{display:grid;grid-template-columns:38% 1fr;margin-top:56px;background:#eceef2}
.about-visual{position:relative;min-height:230px;background:linear-gradient(160deg,#4a5058,#1a1d21);color:#fff;display:flex;align-items:center;padding:0 0 0 max(24px,calc((100vw - var(--wrap))/2));overflow:hidden;clip-path:polygon(0 0,100% 0,92% 100%,0 100%)}
.about-visual::after{content:"";position:absolute;top:0;right:-2%;width:30px;height:100%;background:var(--y);transform:skewX(-9deg);right:6%}
.about-visual p{font-size:17px;letter-spacing:2px;text-transform:uppercase;border-bottom:1px solid var(--y);padding-bottom:14px;color:rgba(255,255,255,.85);max-width:180px}
.about-body{padding:28px max(24px,calc((100vw - var(--wrap))/2)) 24px 40px}
.about-body h2{font-size:24px;font-weight:800;margin-bottom:10px}
.about-body>p{font-size:13px;max-width:430px}
.features{display:flex;margin-top:22px}
.features li{display:flex;align-items:center;gap:12px;padding:0 22px;font-size:12.5px;font-weight:700;border-left:1px solid var(--line)}
.features li:first-child{padding-left:0;border:0}
.features .i{font-size:34px;color:var(--y)}

/* Footer */
.site-footer{background:var(--dark);color:#fff;margin-top:0}
.footer-main{display:flex;align-items:center;gap:36px;padding:34px 0}
.site-footer .logo-text small{color:#aab}
.footer-contact{display:grid;grid-template-columns:auto auto;gap:8px 40px;font-size:13px;padding-left:36px;border-left:1px solid #3a3f46}
.footer-contact li{display:flex;gap:10px;align-items:center}
.footer-contact .i{font-size:18px}
.social{display:flex;gap:12px;margin-left:auto}
.social a{width:26px;height:26px;border:1px solid #666;display:grid;place-items:center;font-size:13px;font-weight:700}
.social a:hover{border-color:var(--y);color:var(--y)}
.footer-bottom{border-top:1px solid #30353b;padding:14px 0;font-size:11px;color:#c3c8cf}
.footer-bottom .container{display:flex;justify-content:space-between}
.footer-bottom nav{display:flex;gap:12px}

/* Inner pages */
.page-hero{padding:48px 0 12px}.page-hero h1{font-size:34px;font-weight:800}
.content{padding:24px 0 64px;max-width:820px}.content img{margin:20px 0}
.single-meta{color:var(--muted);margin-top:6px}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:24px}

/* Responsive */
@media(max-width:960px){
 .grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}
 .burger{display:block;margin-left:auto}
 .main-nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:var(--bg);padding:12px 24px 20px;box-shadow:0 10px 20px rgba(0,0,0,.08)}
 .main-nav.is-open{display:block}.main-nav ul{flex-direction:column;gap:4px}
 .header-right .btn{display:none}.header-right{margin-left:auto}.burger{margin-left:0}
 .about{grid-template-columns:1fr}.about-visual{clip-path:none;min-height:160px}.about-visual::after{display:none}
 .about-body{padding:28px 24px}.features{flex-direction:column;gap:14px}
 .features li{border:0;padding:0}
 .footer-main{flex-wrap:wrap}.footer-contact{border:0;padding:0}.social{margin-left:0}
 .hero-words{display:none}.section-head{flex-direction:column;align-items:flex-start}
}
@media(max-width:600px){.grid-3,.grid-4{grid-template-columns:1fr}.hero::before{background:rgba(233,236,241,.88)}.footer-bottom .container{flex-direction:column;gap:6px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
