/*
Theme Name: CIANAU Sourcing
Theme URI: https://cianau.example
Author: CIANAU
Description: CIANAU B2B sourcing theme with responsive homepage, WooCommerce catalogue support and quote page template.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: cianau-sourcing
*/
:root{--ink:#302923;--muted:#766b61;--cream:#f8f5ed;--sand:#e9dfd2;--white:#fff;--green:#9a6548;--line:#e6ddd2;--max:1180px;--copper:#a66b49;--ivory:#fbf8f1}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
a:hover{opacity:.78}
img{max-width:100%;height:auto}
.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:10;background:rgba(251,248,241,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(222,222,214,.8)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:24px}
.brand{font-size:1.45rem;letter-spacing:.16em;font-weight:700}
.brand small{display:block;font-size:.58rem;letter-spacing:.2em;color:var(--muted);font-weight:500;margin-top:-5px}
.main-nav{display:flex;align-items:center;gap:25px;font-size:.88rem}
.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 19px;background:var(--green);color:#fff;border:1px solid var(--green);border-radius:2px;font-size:.88rem;letter-spacing:.02em}
.button.secondary{background:transparent;color:var(--ink);border-color:#aeb5aa}
.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:8px 12px}
.hero{background:var(--cream);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:570px;align-items:stretch}
.hero-copy{padding:86px 5vw 82px max(20px,calc((100vw - var(--max))/2))}
.eyebrow{text-transform:uppercase;letter-spacing:.19em;font-size:.72rem;color:var(--green);font-weight:700}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(2.7rem,5vw,5rem);line-height:1.04;letter-spacing:-.055em;font-weight:500;margin:22px 0}
.hero-copy p{max-width:500px;color:#586159;font-size:1.06rem}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero-image{min-height:440px;background:linear-gradient(145deg,rgba(48,61,51,.05),rgba(48,61,51,.18)),url('https://images.unsplash.com/photo-1600369671236-e74521d4b6ad?auto=format&fit=crop&w=1400&q=85') center/cover no-repeat}
.trust-strip{border-bottom:1px solid var(--line);padding:20px 0;color:var(--muted);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}
.trust-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
.section{padding:88px 0}
.section.alt{background:#faf9f6}
.section-head{max-width:690px;margin-bottom:38px}
.section h2{font-size:clamp(2rem,3.5vw,3.1rem);line-height:1.12;letter-spacing:-.04em;font-weight:500;margin:14px 0}
.lead{font-size:1.05rem;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{border:1px solid var(--line);background:#fff;padding:28px;min-height:220px}
.card-number{font-size:.75rem;color:var(--green);letter-spacing:.15em}
.card h3{font-size:1.24rem;font-weight:550;margin:20px 0 10px}
.card p{font-size:.93rem;color:var(--muted);margin-bottom:0}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.category{min-height:260px;position:relative;display:flex;align-items:end;padding:22px;color:#fff;background:#9b9b8c;overflow:hidden}
.category:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,27,22,.72),rgba(20,27,22,.04) 72%);z-index:1}
.category img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;transition:transform .4s}
.category:hover img{transform:scale(1.04)}
.category span{position:relative;z-index:2;font-size:1.1rem;line-height:1.25}
.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.split-image{min-height:450px;background:url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1200&q=85') center/cover no-repeat}
.check-list{padding:0;list-style:none}
.check-list li{padding:13px 0;border-bottom:1px solid var(--line);display:flex;gap:12px}
.check-list li:before{content:"✓";color:var(--green);font-weight:700}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step{border-top:1px solid #aeb5aa;padding-top:20px}
.step b{font-size:.75rem;color:var(--green);letter-spacing:.13em}
.step h3{font-size:1.1rem;margin:12px 0 8px}
.step p{color:var(--muted);font-size:.92rem}
.cta-panel{background:var(--green);color:#fff;padding:55px;display:flex;justify-content:space-between;align-items:center;gap:30px}
.cta-panel h2{max-width:620px;margin:12px 0 0}
.cta-panel .eyebrow{color:#d8e0d5}
.cta-panel .button{background:#fff;color:var(--ink);border-color:#fff;white-space:nowrap}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}
.contact-details p{color:var(--muted)}
.inquiry-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.inquiry-form label{display:block;font-size:.82rem;margin-bottom:6px}
.inquiry-form input,.inquiry-form select,.inquiry-form textarea{width:100%;padding:13px;border:1px solid #d4d8d0;background:#fff;font:inherit;border-radius:0}
.inquiry-form .full{grid-column:1/-1}
.inquiry-form textarea{min-height:130px}
.site-footer{background:#232a24;color:#fff;padding:36px 0}
.footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center}
.site-footer p{color:#c2c8c0;font-size:.82rem;margin:6px 0 0}
.footer-links{display:flex;gap:20px;font-size:.85rem}
@media(max-width:850px){
 .hero-grid{grid-template-columns:1fr}.hero-copy{padding:65px 24px}.hero-image{min-height:330px}
 .cards{grid-template-columns:1fr 1fr}.category-grid{grid-template-columns:1fr 1fr}
 .split,.contact-grid{grid-template-columns:1fr;gap:35px}.split-image{min-height:320px}
 .steps{grid-template-columns:1fr 1fr}.cta-panel{padding:35px;display:block}.cta-panel .button{margin-top:24px}
 .main-nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:20px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}
 .main-nav.open{display:flex}.menu-toggle{display:block}
}
@media(max-width:520px){
 .container{width:calc(100% - 32px)}.cards,.category-grid,.steps{grid-template-columns:1fr}
 .section{padding:62px 0}.hero-copy{padding:54px 20px}.hero-image{min-height:270px}
 .inquiry-form{grid-template-columns:1fr}.inquiry-form .full{grid-column:auto}
 .footer-inner{align-items:flex-start;flex-direction:column}.cta-panel{padding:28px}
}
/* V3 catalogue, page and quote layouts */
.hero-note{font-size:.82rem!important;color:#747c73!important;margin-top:20px!important}.section-link{margin-top:28px}.contact-card{padding:34px;border:1px solid var(--line);background:#fff}.contact-card h3{font-size:1.5rem;font-weight:500}.small-note{font-size:.8rem;color:var(--muted);margin-top:20px}.page-main{padding:70px 0 90px;background:#faf9f6;min-height:55vh}.page-content{max-width:900px}.page-title{font-size:clamp(2.5rem,5vw,4rem);line-height:1.08;letter-spacing:-.045em;font-weight:500;margin:16px 0 28px}.entry-content{font-size:1.02rem;max-width:820px}.entry-content h2{margin-top:36px;font-weight:500}.entry-content a{text-decoration:underline;text-underline-offset:3px}.quote-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}.quote-form-panel{background:#fff;border:1px solid var(--line);padding:28px}.form-placeholder{margin-top:22px;padding:20px;background:#f5f2eb;border-left:3px solid var(--green);font-size:.9rem}.form-placeholder h2{font-size:1.2rem;margin-bottom:10px}.shop-content{min-height:50vh}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:#fff;border:1px solid var(--line);padding:14px}.woocommerce ul.products li.product a img{margin-bottom:14px}.woocommerce ul.products li.product .price{color:var(--muted)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--green);color:#fff;border-radius:2px;font-weight:500}.woocommerce .woocommerce-breadcrumb{font-size:.8rem;color:var(--muted)}.woocommerce div.product div.images,.woocommerce div.product div.summary{margin-bottom:40px}.cianau-product-quote{margin-top:20px}.footer-links{flex-wrap:wrap}
@media(max-width:850px){.quote-layout{grid-template-columns:1fr;gap:35px}}

/* CIANAU brand refinement v4 */
body{background:var(--ivory);color:var(--ink)}
.site-header{background:rgba(251,248,241,.96);border-bottom:1px solid #e7ded2}
.header-inner{min-height:88px}
.brand{display:inline-flex;align-items:center;letter-spacing:normal;font-size:0;line-height:0}
.brand img{display:block;width:190px;height:auto;max-height:58px;object-fit:contain}
.brand small{display:none}
.button,.nav-cta{background:var(--copper);border-color:var(--copper);letter-spacing:.035em}
.button.secondary{color:var(--ink);border-color:#c9b8a7}
.eyebrow,.card-number,.step b{color:var(--copper)}
.hero{background:var(--cream)}
.section.alt{background:#f5f0e7}
.cta-panel{background:#8f5c40}
.site-footer{background:#302923}
.form-placeholder{border-left-color:var(--copper);background:#f7f1e8}
@media(max-width:850px){.brand img{width:160px;max-height:50px}}
