/*
Theme Name: Stamora Resources
Theme URI: https://stamoraresources.com
Author: Stamora Resources
Author URI: https://stamoraresources.com
Description: One-page company theme for Stamora Resources — IT solutions, face to face. Hero, how we work, products, services and an enquiry form with WhatsApp buttons. All text and contact details are edited in Appearance → Customize → Stamora homepage.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stamora
*/

/* ---------- Fonts (self-hosted Figtree, SIL Open Font License) ---------- */
@font-face{font-family:"Figtree";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/figtree-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/figtree-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/figtree-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/figtree-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:800;font-display:swap;src:url("assets/fonts/figtree-latin-800-normal.woff2") format("woff2")}

/* ---------- Tokens ---------- */
:root{
	--ink:#0E1A2B;
	--ink-2:#1B2A40;
	--ink-3:#2C3E58;
	--accent:#12A150;
	--accent-dark:#0B7A3B;
	--muted:#4A5563;
	--on-dark:#C3CBD6;
	--on-dark-2:#A9B4C4;
	--sand:#F2F0EA;
	--line:#E4E1D9;
	--field:#7D8592;
	--wrap:1200px;
	--header-h:84px;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;font-family:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto}
a{color:var(--ink)}
a:hover{color:var(--accent-dark)}
h1,h2,h3{margin:0;line-height:1.1}
p{margin:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.wrap{max-width:calc(var(--wrap) + 40px);margin:0 auto;padding:0 20px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:1000;background:#fff;color:var(--ink);padding:12px 16px;border-radius:8px;font-weight:700}
.skip-link:focus{left:8px}
.icon{flex:none;display:block}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 28px;border-radius:14px;border:2px solid transparent;font-family:inherit;font-size:19px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.btn--wa{background:var(--accent);color:#fff}
.btn--wa:hover,.btn--wa:focus-visible{background:var(--accent-dark);color:#fff}
.btn--outline-light{border-color:#fff;color:#fff;background:transparent}
.btn--outline-light:hover,.btn--outline-light:focus-visible{background:#fff;color:var(--ink)}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover,.btn--dark:focus-visible{background:var(--ink-2);color:#fff}
.btn--sm{min-height:48px;padding:0 22px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}
@media (max-width:600px){.admin-bar .site-header{top:0}}
.site-header__inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:var(--header-h)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand__mark{width:44px;height:44px}
.brand__text{display:flex;flex-direction:column;gap:3px}
.brand__name{font-size:24px;font-weight:800;letter-spacing:-.5px;line-height:1}
.brand__sub{font-size:13px;font-weight:500;color:var(--muted);line-height:1}
.custom-logo-link{display:flex;align-items:center}
.custom-logo{max-height:52px;width:auto}
.header-right{display:flex;align-items:center;gap:36px}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:32px}
.site-nav a{display:block;font-size:16px;font-weight:600;text-decoration:none;padding:10px 0}
.header-actions{display:flex;align-items:center;gap:8px}
.menu-toggle{display:none;width:44px;height:44px;border-radius:12px;border:1px solid #D6D2C8;background:#fff;color:var(--ink);align-items:center;justify-content:center;cursor:pointer;padding:0}
.menu-toggle .icon-close{display:none}
.menu-toggle[aria-expanded="true"] .icon-open{display:none}
.menu-toggle[aria-expanded="true"] .icon-close{display:block}

/* ---------- Hero ---------- */
.hero{background:var(--ink);color:#fff;padding:88px 0 96px;overflow:hidden}
.hero__inner{display:grid;grid-template-columns:minmax(0,600px) minmax(0,560px);justify-content:space-between;align-items:center;gap:48px}
.eyebrow{display:flex;align-items:center;gap:12px;margin:0;font-size:14px;font-weight:700;letter-spacing:5px;text-transform:uppercase;color:#fff}
.eyebrow::before{content:"";width:32px;height:3px;border-radius:2px;background:var(--accent);flex:none}
.hero h1{margin:28px 0;font-size:clamp(42px,5.2vw,68px);font-weight:800;letter-spacing:-.03em;line-height:1.04;color:#fff}
.hero__lead{max-width:560px;font-size:20px;line-height:1.55;color:var(--on-dark)}
.hero__ctas{display:flex;flex-wrap:wrap;gap:16px;margin-top:36px}
.hero__chips{display:none;flex-wrap:wrap;gap:8px;list-style:none;margin:28px 0 0;padding:0}
.chip{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border-radius:18px;background:var(--ink-2);color:#fff;font-size:14px;font-weight:600}
.chip__dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}

.hero-visual{position:relative;height:480px}
.hv-card{position:absolute;width:380px;padding:24px;border-radius:20px;background:#fff;color:var(--ink);display:flex;flex-direction:column;gap:16px}
.hv-card--1{left:0;top:24px}
.hv-card--2{left:180px;top:170px;box-shadow:0 24px 48px rgba(0,0,0,.35)}
.hv-card--3{left:40px;top:320px;width:300px;padding:22px;background:var(--ink-2);border:1px solid var(--ink-3);color:#fff;gap:14px}
.hv-card__head{display:flex;align-items:center;gap:12px}
.hv-card__icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.hv-card--3 .hv-card__icon{width:40px;height:40px;background:var(--ink-3);color:#fff}
.hv-card__name{font-size:18px;font-weight:800;line-height:1.2}
.hv-card--3 .hv-card__name{font-size:16px;font-weight:700}
.hv-card__tag{font-size:13px;color:var(--muted);margin-top:3px}
.hv-lines{display:flex;flex-direction:column;gap:10px}
.hv-line{height:10px;border-radius:5px;background:#E7EAEE}
.hv-card--3 .hv-line{height:8px;background:var(--ink-3)}
.hv-pills{display:flex;gap:8px}
.hv-pill{height:28px;border-radius:8px;background:#E7EAEE}
.hv-badge{position:absolute;right:0;top:0;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border-radius:22px;background:#fff;color:var(--ink);font-size:15px;font-weight:700}
.hv-badge .chip__dot{width:10px;height:10px}

/* ---------- Sections ---------- */
.section{padding:88px 0}
.section--sand{background:var(--sand)}
.section--dark{background:var(--ink);color:#fff}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:20px 24px;margin-bottom:44px}
.section-head h2{font-size:clamp(30px,3.2vw,40px);font-weight:800;letter-spacing:-.025em}
.section-head p{margin-top:12px;font-size:18px;color:var(--muted)}
.section--dark .section-head h2{color:#fff}
.section--dark .section-head p{color:var(--on-dark)}
.section-head__link{display:inline-flex;align-items:center;min-height:44px;font-size:17px;font-weight:700;color:var(--accent-dark);text-decoration:none}
.section-head__link:hover{text-decoration:underline}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}

/* How we work */
.step{display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:20px;background:#fff}
.step__label{font-size:15px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--accent-dark)}
.step h3{font-size:22px;font-weight:700;line-height:1.25}
.step p{color:var(--muted)}

/* Products */
.product{display:flex;flex-direction:column;gap:18px;padding:32px;border:1px solid var(--line);border-radius:20px;background:#fff}
.product__head{display:flex;flex-direction:column;gap:18px}
.product__icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex:none}
.tint-1{background:#E3F4EA;color:var(--accent-dark)}
.tint-2{background:#E7EAEE;color:var(--ink)}
.tint-3{background:#E6ECF7;color:var(--ink)}
.product h3{font-size:26px;font-weight:800;line-height:1.15}
.product__tag{margin-top:6px;font-size:15px;font-weight:700;color:var(--accent-dark)}
.product__desc{color:var(--muted)}
.checklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.checklist li{display:flex;gap:10px;font-size:15px;line-height:1.45}
.checklist .icon{margin-top:1px;color:var(--accent-dark)}
.product__link{display:inline-flex;align-items:center;min-height:44px;align-self:flex-start;font-weight:700;text-decoration:none}
.product__link:hover{text-decoration:underline}

/* Services */
.service{display:flex;flex-direction:column;gap:16px;padding:32px;border-radius:20px;background:var(--ink-2)}
.service__icon{width:52px;height:52px;border-radius:14px;background:var(--ink-3);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.service__body{display:flex;flex-direction:column;gap:8px}
.service h3{font-size:22px;font-weight:700;color:#fff;line-height:1.25}
.service p{color:var(--on-dark)}
.services-cta{min-height:52px}

/* Contact */
.contact__inner{display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);gap:64px;align-items:start}
.contact h2{font-size:clamp(32px,3.6vw,44px);font-weight:800;letter-spacing:-.025em}
.contact__text{margin:24px 0 28px;font-size:18px;color:var(--muted)}
.contact__wa{min-width:320px}
.contact__list{list-style:none;margin:32px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}
.contact__list li{display:flex;gap:12px;align-items:flex-start}
.contact__list .icon{margin-top:2px;color:var(--muted)}
.contact__list a{text-decoration:none}
.contact__list a:hover{text-decoration:underline}
.form-card{padding:36px;border-radius:24px;background:#fff}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field--full{grid-column:1/-1}
.field label{font-size:15px;font-weight:600}
.field .req{color:var(--accent-dark)}
.field input,.field select,.field textarea{width:100%;min-height:48px;padding:0 14px;border:1px solid var(--field);border-radius:10px;background:#fff;color:var(--ink);font-family:inherit;font-size:16px}
.field select{padding:0 12px}
.field textarea{min-height:140px;padding:12px 14px;resize:vertical;line-height:1.5}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--accent-dark);box-shadow:0 0 0 3px rgba(18,161,80,.25)}
.form-card .btn--dark{width:100%;margin-top:22px}
.form-note{margin-top:12px;font-size:14px;color:var(--muted)}
.hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.notice{margin-bottom:20px;padding:14px 16px;border-radius:12px;font-weight:600}
.notice--ok{background:#E3F4EA;color:#0A5C2E}
.notice--err{background:#FBE9E7;color:#8A2B1E}

/* ---------- Footer ---------- */
.site-footer{padding:64px 0 40px;background:var(--ink);color:#fff}
.footer__top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:48px}
.footer__brand{max-width:340px;display:flex;flex-direction:column;gap:16px}
.footer__brand .brand,.footer__brand .brand:hover{color:#fff}
.footer__brand .brand__sub{color:var(--on-dark-2)}
.footer__tagline{font-size:15px;color:var(--on-dark)}
.footer__cols{display:flex;flex-wrap:wrap;gap:40px 64px}
.footer__col h2{margin-bottom:12px;font-size:14px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--on-dark-2)}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.footer__col li{font-size:15px;line-height:1.5}
.footer__col a{color:#fff;text-decoration:none}
.footer__col a:hover{color:#fff;text-decoration:underline}
.footer__wa{display:inline-flex;align-items:center;gap:8px;min-height:32px}
.footer__wa .icon{color:var(--accent)}
.footer__bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin-top:48px;padding-top:24px;border-top:1px solid var(--ink-3);font-size:14px;color:var(--on-dark-2)}
.footer__bottom a{color:var(--on-dark-2)}
.footer__bottom a:hover{color:#fff}

/* Floating WhatsApp */
.wa-float{position:fixed;right:24px;bottom:24px;z-index:60;width:64px;height:64px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(14,26,43,.3);transition:background-color .15s}
.wa-float:hover,.wa-float:focus-visible{background:var(--accent-dark);color:#fff}

/* ---------- Inner pages (privacy policy etc.) ---------- */
.page-wrap{padding:64px 0 88px}
.entry{max-width:760px}
.entry-title{margin-bottom:28px;font-size:clamp(32px,4vw,44px);font-weight:800;letter-spacing:-.025em}
.entry-content{font-size:17px;line-height:1.7}
.entry-content > * + *{margin-top:1.1em}
.entry-content h2{font-size:26px;margin-top:1.6em}
.entry-content h3{font-size:21px;margin-top:1.4em}
.entry-content a{color:var(--accent-dark)}
.post-list{display:flex;flex-direction:column;gap:32px}
.post-list h2{font-size:26px}
.post-list h2 a{text-decoration:none}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
	.hero__inner{grid-template-columns:minmax(0,1fr)}
	.hero-visual{display:none}
	.hero__chips{display:flex}
}
@media (max-width:960px){
	:root{--header-h:68px}
	.site-header__inner{gap:12px}
	.brand__mark{width:38px;height:38px}
	.brand__name{font-size:20px}
	.brand__sub{font-size:12px}
	.menu-toggle{display:inline-flex}
	.header-wa{width:44px;min-height:44px;padding:0;border-radius:12px}
	.header-wa__label{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
	.site-nav{display:none;position:absolute;left:0;right:0;top:100%;padding:4px 20px 16px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 16px 32px rgba(14,26,43,.12)}
	.site-nav.is-open{display:block}
	.site-nav ul{flex-direction:column;align-items:stretch;gap:0}
	.site-nav li + li{border-top:1px solid var(--line)}
	.site-nav a{padding:14px 0;font-size:18px}
	.header-right{gap:0}
	.grid-3{grid-template-columns:minmax(0,1fr);gap:16px}
	.section-head__link{display:none}
	.product__head{flex-direction:row;align-items:center;gap:14px}
	.product{padding:24px}
	.service{flex-direction:row;gap:16px;padding:20px}
	.contact__inner{grid-template-columns:minmax(0,1fr);gap:36px}
}
@media (max-width:600px){
	body{font-size:15px}
	.hero{padding:44px 0 48px}
	.hero h1{margin:22px 0}
	.hero__lead{font-size:17px}
	.hero__ctas{flex-direction:column;gap:12px;margin-top:28px}
	.hero__ctas .btn,.contact__wa,.services-cta{width:100%;min-width:0}
	.section{padding:48px 0}
	.section-head{margin-bottom:24px}
	.section-head p{font-size:16px}
	.step{padding:22px}
	.form-card{padding:22px}
	.form-grid{grid-template-columns:minmax(0,1fr);gap:16px}
	.footer__cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
	.footer__col--contact{grid-column:1/-1}
	.wa-float{right:16px;bottom:16px;width:60px;height:60px}
	.site-footer{padding:44px 0 96px}
}
