/*
Theme Name: AfricaLink by DRAKE
Theme URI: https://example.invalid/africalink
Author: Vebisys
Description: A lightweight B2B sourcing and RFQ theme for AfricaLink by DRAKE.
Version: 0.3.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: africalink
*/

:root{--ink:#102820;--green:#123d30;--lime:#d8ec9a;--cream:#f7f6ef;--paper:#fffefa;--muted:#66736c;--line:#dfe4d9;--orange:#db9559}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans",sans-serif}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.045em}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer} .container{width:min(1200px,calc(100% - 64px));margin:auto}
.announcement{background:#dceba6;text-align:center;font-size:12px;letter-spacing:.05em;padding:10px 20px;color:#24412e}.announcement a{text-decoration:underline;text-underline-offset:3px}
header{background:var(--paper);position:sticky;top:0;z-index:50;border-bottom:1px solid #e8ece4}.nav{display:flex;align-items:center;justify-content:space-between;height:82px;gap:20px}.logo{display:flex;flex-direction:column;line-height:1}.logo strong{font-family:Manrope;font-weight:800;font-size:27px;letter-spacing:-.075em}.logo span{font-size:9px;letter-spacing:.28em;margin:6px 0 0 3px;font-weight:700;color:#748077}.links{display:flex;gap:31px;align-items:center;font-size:13px;font-weight:700;color:#33483d}.links a:hover{color:#1c8062}.nav-actions{display:flex;align-items:center;gap:14px}.btn{border:0;border-radius:6px;background:var(--green);color:white;padding:15px 21px;font-weight:700;font-size:13px;display:inline-flex;gap:20px;align-items:center;justify-content:center;transition:.2s}.btn:hover{background:#21634d;transform:translateY(-1px)}.btn.light{background:var(--lime);color:var(--ink)}.btn.outline{border:1px solid #a9b8aa;background:transparent;color:var(--ink)}.btn.white{background:#fff;color:var(--green)}.menu{display:none;background:transparent;border:0;font-size:26px}
.hero{position:relative;min-height:680px;background:#19382e;overflow:hidden;color:white;display:flex;align-items:center}.hero-photo{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,35,26,.96) 0%,rgba(12,41,31,.84) 42%,rgba(16,40,29,.14) 100%),url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1800&q=85') center/cover}.hero:after{content:"";position:absolute;bottom:-180px;right:-110px;width:470px;height:470px;border:1px solid #ffffff35;border-radius:50%;box-shadow:0 0 0 80px #ffffff0a,0 0 0 160px #ffffff08}.hero-content{position:relative;z-index:2;padding:90px 0 115px}.eyebrow{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.18em;display:flex;align-items:center;gap:12px}.eyebrow:before{content:"";width:28px;height:1px;background:currentColor}.hero .eyebrow{color:#d8edb5}.hero h1{font-size:clamp(46px,5.6vw,82px);line-height:1.07;max-width:850px;margin:28px 0 25px;font-weight:700}.hero h1 em{font-style:normal;color:var(--lime)}.hero p{font-size:17px;line-height:1.85;color:#e0e9de;max-width:560px}.hero-ctas{display:flex;gap:12px;margin-top:35px;flex-wrap:wrap}.hero .btn.outline{border-color:#b3c5b9;color:white}.hero-micro{display:flex;gap:35px;margin-top:78px;font-size:12px;color:#d3dfd4}.hero-micro span:before{content:"✓";color:var(--lime);margin-right:9px}
.strip{background:#e8ecdd;border-bottom:1px solid #dce1d4}.strip-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 0}.strip small{font-size:11px;font-weight:800;color:#718074;letter-spacing:.12em;text-transform:uppercase}.strip-items{display:flex;gap:38px;flex-wrap:wrap;font-size:13px;font-weight:700;color:#52675b}
section{padding:110px 0}.section-top{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:40px}.section-top h2,.section-title{font-size:clamp(34px,3.5vw,52px);line-height:1.14;margin:15px 0 0;max-width:700px}.section-top p{max-width:360px;line-height:1.8;color:var(--muted);font-size:14px}.kicker{font-size:11px;font-weight:800;letter-spacing:.18em;color:#3f785d;text-transform:uppercase}
.products{background:var(--paper)}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product{border:1px solid var(--line);background:white;border-radius:9px;overflow:hidden;transition:.2s}.product:hover{transform:translateY(-4px);box-shadow:0 15px 40px #112c1b13}.product-image{height:225px;background:#d7dfd0;position:relative;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:.5s}.product:hover img{transform:scale(1.05)}.tag{position:absolute;top:16px;left:16px;background:#fffffff0;border-radius:3px;padding:7px 10px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.product-info{padding:22px 23px 25px;display:flex;justify-content:space-between;align-items:center;gap:10px}.product-info h3{font-size:20px;margin:0 0 7px}.product-info p{font-size:12px;color:var(--muted);margin:0}.circle-arrow{width:40px;height:40px;border:1px solid #d9e2d8;border-radius:50%;display:grid;place-items:center;font-size:19px}
.split{display:grid;grid-template-columns:1fr 1fr;min-height:620px}.split-photo{background:url('https://images.unsplash.com/photo-1472396961693-142e6e269027?w=1200&q=85') center/cover;min-height:500px}.split-text{background:#153c2f;color:white;padding:90px max(55px,calc((100vw - 1200px)/2)) 90px 75px;display:flex;flex-direction:column;justify-content:center}.split-text h2{font-size:clamp(35px,3.5vw,54px);line-height:1.15;margin:17px 0 25px}.split-text p{color:#c8d8cb;line-height:1.9;font-size:15px;max-width:530px}.split-text .kicker{color:var(--lime)}.split-text .btn{align-self:start;margin-top:20px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:45px}.step{border-top:2px solid #c7d3c2;padding:26px 15px 10px 0}.step-num{font-size:13px;color:#4d8a6c;font-weight:800}.step h3{font-size:20px;margin:30px 0 13px}.step p{color:var(--muted);line-height:1.8;font-size:13px}
.partner{background:#e7ecdc}.partner-card{display:grid;grid-template-columns:1.2fr .8fr;background:#183f31;color:white;border-radius:12px;overflow:hidden}.partner-copy{padding:70px}.partner-copy h2{font-size:clamp(36px,4vw,57px);line-height:1.12;margin:17px 0 20px}.partner-copy p{color:#d5e0d6;line-height:1.9;max-width:540px}.partner-art{background:linear-gradient(0deg,#14382d55,#14382d10),url('https://images.unsplash.com/photo-1492496913980-501348b61469?w=1000&q=85') center/cover;min-height:380px}
.quote-section{background:var(--paper)}.quote-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}.quote-intro h2{font-size:clamp(38px,4vw,57px);line-height:1.12;margin:18px 0 25px}.quote-intro p{line-height:1.9;color:var(--muted)}.quote-benefit{display:flex;gap:15px;align-items:center;margin:25px 0;font-size:13px;font-weight:700}.quote-benefit span{background:#e7f0df;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;color:#336449}.form-panel{background:#f3f5ed;padding:35px;border-radius:10px;border:1px solid #e0e7da}.form-panel h3{font-size:23px;margin-bottom:6px}.form-panel>p{font-size:12px;color:var(--muted);margin-bottom:27px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:800}.field input,.field select,.field textarea{border:1px solid #d8e0d5;background:white;border-radius:5px;padding:13px;color:var(--ink);width:100%;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:#2b8b65;box-shadow:0 0 0 3px #2b8b651b}.form-panel .btn{margin-top:20px;width:100%}.form-note{font-size:11px;color:#758077;line-height:1.6;margin-top:13px}
.footer{background:#0e2a21;color:white;padding:70px 0 25px}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:35px}.footer .logo strong{font-size:31px}.footer p{color:#adbfaf;font-size:13px;line-height:1.9;max-width:330px}.footer h4{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#d7e7d4;margin-bottom:20px}.footer a{display:block;color:#adbfaf;font-size:13px;margin:12px 0}.footer a:hover{color:white}.footer-bottom{border-top:1px solid #ffffff23;margin-top:55px;padding-top:22px;display:flex;justify-content:space-between;color:#94a99a;font-size:11px;gap:20px}
.modal-backdrop{display:none;position:fixed;inset:0;background:#061a13bd;z-index:100;align-items:center;justify-content:center;padding:20px}.modal-backdrop.open{display:flex}.modal{background:white;width:min(570px,100%);max-height:90vh;overflow:auto;border-radius:12px;padding:32px;position:relative}.modal h2{font-size:30px;margin:0 0 8px}.modal p{color:var(--muted);font-size:13px;line-height:1.8}.close{position:absolute;top:14px;right:17px;background:none;border:0;font-size:26px;color:#42594a}.success{background:#e2efdb;color:#21583b;padding:14px;border-radius:6px;font-size:13px;display:none;margin-top:12px}.demo-note{position:fixed;bottom:16px;left:16px;background:#fffdf5e8;box-shadow:0 6px 30px #0002;color:#415349;border-radius:5px;padding:9px 13px;font-size:11px;z-index:40;backdrop-filter:blur(12px)}
@media(max-width:1000px){.links{gap:15px}.links a{font-size:12px}.nav-actions .btn{padding:13px}.split-text{padding:65px 45px}.quote-layout{gap:30px}}
@media(max-width:760px){.container{width:min(100% - 36px,1200px)}.nav{height:70px}.links{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:25px;flex-direction:column;align-items:flex-start;box-shadow:0 12px 25px #0001}.links.open{display:flex}.menu{display:block}.nav-actions .btn{display:none}.hero{min-height:650px}.hero-photo{background:linear-gradient(90deg,#09271fdc,#09271f65),url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1200&q=85') center/cover}.hero-content{padding:65px 0}.hero h1{font-size:clamp(43px,9vw,64px)}.hero-micro{gap:13px;flex-direction:column;margin-top:48px}.strip-inner{align-items:flex-start;flex-direction:column}.strip-items{gap:15px}.section-top{align-items:start;flex-direction:column}.product-grid{grid-template-columns:repeat(2,1fr)}section{padding:70px 0}.split{grid-template-columns:1fr}.split-photo{min-height:350px}.split-text{padding:65px 24px}.steps{grid-template-columns:repeat(2,1fr)}.partner-card{grid-template-columns:1fr}.partner-copy{padding:42px 25px}.partner-art{min-height:270px}.quote-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column}}
@media(max-width:500px){.product-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.form-panel{padding:22px}.footer-grid{grid-template-columns:1fr}.hero-ctas{flex-direction:column;align-items:stretch}.hero .btn{justify-content:space-between}.product-image{height:250px}.demo-note{font-size:10px;right:16px;text-align:center}}

/* WordPress launch additions */
.al-hp{position:absolute!important;left:-99999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.product-image img{display:block}
.entry-content img{max-width:100%;height:auto}
.admin-bar header{top:32px}
@media(max-width:782px){.admin-bar header{top:46px}}

/* V0.2: WordPress block and Elementor layout compatibility */
.al-editor-home{min-height:50vh}
.al-editor-home .wp-block-group.alignfull{margin-left:0;margin-right:0}
.al-editor-home .wp-block-cover{min-height:420px}
.al-editor-home .wp-block-columns{gap:clamp(20px,3vw,50px)}
.al-editor-home .wp-block-button__link{background:var(--green);border-radius:6px;font-size:14px;font-weight:700}
.al-editor-home .alignwide{max-width:1200px;margin-left:auto;margin-right:auto}
.al-editor-home .alignfull{width:100%}
.al-editor-home .elementor{width:100%}
.al-editor-home img{max-width:100%;height:auto}

/* AfricaLink editable section patterns */
.al-section{padding:85px 24px}
.al-section h2{font-size:clamp(32px,4vw,52px);line-height:1.15}
.al-overline{font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#3f785d}
.al-pattern-hero{background:#143d30;color:white}
.al-pattern-hero h1{font-size:clamp(44px,6vw,80px);line-height:1.08;max-width:850px}
.al-pattern-hero .al-overline{color:#d8ec9a}
.al-pattern-hero p{max-width:680px}
.al-product-placeholder{height:100%;display:grid;place-items:center;background:#dce8d8;color:#2d5d45;font-size:22px;font-weight:700}
.al-form-standalone{max-width:760px;margin:30px auto}
.al-form-standalone .btn{width:100%;margin-top:20px}
.al-editor-home .wp-block-cover__inner-container{max-width:1200px;margin:auto;padding:70px 24px}
.al-editor-home .wp-block-columns{margin-top:40px}
.al-editor-home .wp-block-column h3{font-size:21px}
