/* Gestetner Malawi — site theme (matches the gestetner.mw design system) */
:root{
  --primary:#1a4d8f;--primary-light:#2563b8;--primary-dark:#0f3566;--accent:#06b6d4;--secondary:#f97316;
  --text:#1e293b;--text-light:#475569;--text-muted:#64748b;
  --bg:#fff;--bg-alt:#f8fafc;--bg-dark:#f1f5f9;--border:#e2e8f0;
  --shadow-sm:0 1px 2px 0 rgba(0,0,0,.05);
  --shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-2xl:0 25px 50px -12px rgba(0,0,0,.25);
  --radius-sm:.375rem;--radius-md:.5rem;--radius-lg:.75rem;--radius-xl:1rem;--radius-2xl:1.5rem;--radius-full:9999px;
  --t-fast:150ms ease;--t-base:250ms ease;--t-slow:350ms ease;
  --g1:linear-gradient(135deg,var(--primary),var(--accent));--g2:linear-gradient(135deg,var(--accent),var(--secondary));
  --g3:linear-gradient(135deg,var(--secondary),var(--primary));--g4:linear-gradient(135deg,var(--primary),var(--secondary));
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;font-size:16px;line-height:1.6;color:var(--text);background:var(--bg);overflow-x:hidden}
img{max-width:100%;display:block}
svg{flex:0 0 auto}
h1,h2,h3,h4,h5,h6{font-family:'Inter',sans-serif;font-weight:700;line-height:1.2;color:var(--text);letter-spacing:-.02em}
h1{font-size:clamp(2.5rem,5vw,3.75rem);margin-bottom:1.5rem}
h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:1.25rem}
h3{font-size:clamp(1.5rem,3vw,2rem);margin-bottom:1rem}
h4{font-size:clamp(1.25rem,2.5vw,1.5rem);margin-bottom:.75rem}
p{font-size:1rem;line-height:1.75;color:var(--text-light);margin-bottom:1rem}
a{color:inherit;transition:all var(--t-base);text-decoration:none}
.lead{font-size:1.125rem;line-height:1.8;color:var(--text-light);max-width:65ch}
.text-center{text-align:center}.lead.text-center{margin-left:auto;margin-right:auto}
.skip{position:absolute;left:-9999px;top:8px;z-index:2000;background:#fff;color:var(--primary);padding:.5rem 1rem;border-radius:var(--radius-md)}
.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Layout */
.container{width:100%;max-width:1280px;margin:0 auto;padding:0 1.5rem}
.container-narrow{max-width:960px}
.section{padding:5rem 0;position:relative}
.section--alt{background:var(--bg-alt)}
.section--dark{background:var(--text);color:#fff}
.section__header{text-align:center;max-width:800px;margin:0 auto 4rem}
.section__title{position:relative;display:inline-block}
.section__title::after{content:'';position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);width:60px;height:4px;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:var(--radius-full)}
.section__header .section__title{margin-bottom:1.25rem}
.section__header .lead{margin-top:1.5rem}
.section__subtitle{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--primary);margin-bottom:.75rem}
.grid{display:grid;gap:2rem}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.gap-3{gap:3rem}
.mt-12{margin-top:3rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem 2rem;font-family:inherit;font-size:1rem;font-weight:600;line-height:1.5;border:none;border-radius:var(--radius-lg);cursor:pointer;transition:all var(--t-base);white-space:nowrap;text-align:center}
.btn svg{width:1em;height:1em}
.btn--primary{background:var(--primary);color:#fff;box-shadow:var(--shadow-md)}
.btn--primary:hover{background:var(--primary-light);box-shadow:var(--shadow-lg);transform:translateY(-2px);color:#fff}
.btn--secondary{background:#fff;color:var(--primary);display:flex;border:2px solid var(--primary)}
.btn--secondary:hover{background:var(--primary);color:#fff}
.btn--white{background:#fff;color:var(--primary);box-shadow:var(--shadow-md)}
.btn--white:hover{background:#fff;color:var(--primary);transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.btn--large{padding:1.25rem 3rem;font-size:1.125rem}
.btn--small{padding:.5rem 1.5rem;font-size:.875rem}
.actions{display:flex;gap:1rem;flex-wrap:wrap}
.actions .btn--secondary{display:inline-flex}

/* Header */
.site-header{position:sticky;top:0;z-index:1000;background:#fff;box-shadow:var(--shadow-sm);transition:all var(--t-base)}
.site-header.scrolled{box-shadow:var(--shadow-md)}
.header__topbar{background:var(--primary-dark);color:#fff;padding:.75rem 0;font-size:.875rem}
.header__topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:1.5rem}
.header__contact{display:flex;gap:1.5rem;flex-wrap:wrap}
.header__contact a{color:#fff;display:flex;align-items:center;gap:.5rem;opacity:.9}
.header__contact a:hover{opacity:1}
.header__tools{display:flex;align-items:center;gap:1.5rem}
.header__search{display:flex;align-items:center;background:rgba(255,255,255,.1);border-radius:var(--radius-full);padding:.25rem .5rem;transition:all .3s}
.header__search:focus-within{background:rgba(255,255,255,.2)}
.header__search input{background:transparent;border:none;color:#fff;padding:.5rem 1rem;font-size:.875rem;width:200px;outline:none;font-family:inherit}
.header__search input::placeholder{color:rgba(255,255,255,.7)}
.header__search input::-webkit-search-cancel-button{display:none}
.header__search button{background:transparent;border:none;color:#fff;padding:.5rem .75rem;cursor:pointer;display:flex;align-items:center;transition:all .3s}
.header__search button:hover{transform:scale(1.1)}
.social-icons{display:flex;gap:1rem;align-items:center}
.header__topbar .social-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:#fff;opacity:.8;transition:all var(--t-fast)}
.header__topbar .social-icon:hover{opacity:1;transform:translateY(-2px)}
.header__main{padding:1.25rem 0}
.header__inner{display:flex;justify-content:space-between;align-items:center;gap:1.5rem}
.header__logo{display:inline-flex;align-items:center}
.header__logo img{height:auto;max-height:88px;width:auto;max-width:200px;transition:transform var(--t-fast)}
.header__logo:hover img{transform:scale(1.05)}
.logo-text{display:flex;flex-direction:column;align-items:center;line-height:1}
.logo-text b{font-size:2rem;font-style:italic;font-weight:700;letter-spacing:-.03em;color:var(--primary)}
.logo-text small{display:flex;align-items:center;gap:.5rem;font-size:.95rem;font-weight:600;letter-spacing:.12em;color:#555;margin-top:.35rem}
.logo-text small::before,.logo-text small::after{content:'';width:28px;height:1px;background:#999}
.nav__menu{display:flex;gap:.5rem;list-style:none;align-items:center}
.nav__link{color:var(--text);padding:.75rem 1.25rem;font-weight:500;font-size:.9375rem;border-radius:var(--radius-md);transition:all var(--t-fast);position:relative;display:flex;align-items:center;gap:.5rem}
.nav__link::after{content:'';position:absolute;bottom:8px;left:1.25rem;right:1.25rem;height:2px;background:var(--primary);transform:scaleX(0);transition:transform var(--t-base)}
.nav__link:hover,.nav__link.active{color:var(--primary);background:var(--bg-alt)}
.nav__link:hover::after,.nav__link.active::after{transform:scaleX(1)}
.mobile-toggle{display:none;background:none;border:none;color:var(--text);cursor:pointer;padding:.5rem}
.mobile-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:999}
.mobile-overlay.active{display:block}
.mobile-search{display:none}

/* Inner page header */
.page-header{position:relative;padding:6rem 0;overflow:hidden;background-color:var(--bg-dark);background-size:cover;background-position:center}
.page-header__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.page-header__fade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.85) 0%,rgba(255,255,255,.85) 50%,rgba(255,255,255,0) 100%)}
.page-header.no-img .page-header__fade{background:linear-gradient(135deg,#fff 0%,var(--bg-alt) 60%,#e0ecfa 100%)}
.page-header .container{position:relative;z-index:1}
.hero__content{position:relative;z-index:10;max-width:700px;color:#fff}
.page-header .hero__content{max-width:800px;text-align:left}
.hero__subtitle{font-size:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.15em;margin-bottom:1rem}
.page-header .hero__subtitle{color:var(--primary);font-size:.875rem;letter-spacing:.1em;margin-bottom:.75rem}
.hero__title{font-size:clamp(2.5rem,6vw,4rem);font-weight:700;line-height:1.1;margin-bottom:1.5rem}
.page-header .hero__title{color:var(--text)}
.hero__bar{width:80px;height:4px;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:var(--radius-full);margin-bottom:1.5rem}
.hero__description{font-size:1.25rem;line-height:1.6;margin-bottom:2rem}
.page-header .hero__description{color:var(--text-light);max-width:600px;margin-bottom:0}
.post-meta{display:flex;gap:1.5rem;flex-wrap:wrap;margin-bottom:1rem;font-size:.875rem;color:var(--primary);font-weight:600}
.post-meta span{display:inline-flex;align-items:center;gap:.5rem}
.post-meta svg{width:14px;height:14px}
/* Gradient header on single service / solution pages */
.page-header--grad{background:var(--g1);text-align:center}
.page-header--grad::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 50%,rgba(255,255,255,.1) 0%,transparent 50%)}
.page-header--grad .hero__content{max-width:100%;text-align:center}
.page-header--grad .hero__subtitle{color:rgba(255,255,255,.9);font-size:1rem;letter-spacing:.15em}
.page-header--grad .hero__title{color:#fff}
.page-header--grad .hero__description{color:rgba(255,255,255,.95);max-width:700px;margin:0 auto}

/* Home hero slider */
.hero{position:relative;min-height:600px;display:flex;align-items:center;overflow:hidden;color:#fff;background:var(--primary-dark)}
.hero__slides{position:absolute;inset:0}
.hero__slide{position:absolute;inset:0;opacity:0;transition:opacity 1s ease-in-out;background-size:cover;background-position:center;visibility:hidden}
.hero__slide.active{opacity:1;visibility:visible}
.hero__slide .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__slide .container{position:relative;z-index:2}
.hero__box{max-width:650px;background:rgba(0,0,0,.7);padding:3rem;margin-top:4rem;border-radius:var(--radius-2xl);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff}
.hero__box .hero__subtitle{opacity:.9}
.hero__box .hero__title{color:#fff}
.hero__box .hero__description{color:#fff;opacity:.95}
.hero__box .actions{margin-top:0}
.hero__dots{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);display:flex;gap:.75rem;z-index:20}
.hero__dot{width:12px;height:12px;border-radius:var(--radius-full);background:rgba(255,255,255,.4);border:2px solid #fff;cursor:pointer;transition:all var(--t-base);padding:0}
.hero__dot.active{width:40px;background:#fff}
.hero__dot:hover{background:rgba(255,255,255,.7)}

/* Cards */
.card{background:#fff;border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-md);transition:all var(--t-base);display:flex;flex-direction:column;height:100%;border:1px solid var(--border)}
.card:hover{transform:translateY(-8px);box-shadow:var(--shadow-2xl);border-color:var(--primary)}
.card__image{position:relative;overflow:hidden;background:var(--bg-dark);aspect-ratio:16/10}
.card__image img{width:100%;height:100%;object-fit:cover;transition:transform var(--t-slow)}
.card:hover .card__image img{transform:scale(1.05)}
.card__badge{position:absolute;top:1rem;right:1rem;background:rgba(255,255,255,.95);color:var(--accent);padding:.5rem 1rem;border-radius:var(--radius-full);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;box-shadow:var(--shadow-md);display:inline-flex;align-items:center;gap:.35rem}
.card__badge svg{width:12px;height:12px}
.card__content{padding:2rem;flex:1;display:flex;flex-direction:column}
.card__title{font-size:1.5rem;margin-bottom:.75rem;color:var(--text)}
.card__title a:hover{color:var(--primary)}
.card__description{flex:1;color:var(--text-light);margin-bottom:1.5rem}
.card__meta{display:flex;gap:1rem;margin-bottom:1rem;font-size:.875rem;color:var(--text-muted);flex-wrap:wrap}
.card__meta span{display:inline-flex;align-items:center;gap:.3rem}
.card__meta svg{width:13px;height:13px}
.ph-img{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e8eef7,#f4f7fb);color:#9aaac0}
.ph-img svg{width:40px;height:40px}
/* Service card: image inside the padding */
.card--service{padding:2rem;gap:2rem}
.card--service .media{border-radius:var(--radius-xl);overflow:hidden;aspect-ratio:16/9;background:var(--bg-dark)}
.card--service .media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.card--service:hover .media img{transform:scale(1.05)}
.card--service .body{flex:1;display:flex;flex-direction:column}
.card--service h3{font-size:1.5rem;margin-bottom:1rem}
.card--service h3 a:hover{color:var(--primary)}
.card--service p{line-height:1.8;margin-bottom:1.5rem;flex:1}
.card--pad{padding:2.5rem;text-align:center}
.card--pad-lg{padding:3rem;text-align:center}
.icon-tile{width:80px;height:80px;margin:0 auto 1.5rem;background:var(--g1);border-radius:var(--radius-xl);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);color:#fff}
.icon-tile svg{width:2.4rem;height:2.4rem}
.icon-tile--lg{width:90px;height:90px;margin-bottom:2rem;box-shadow:var(--shadow-xl)}
.icon-tile--lg svg{width:2.6rem;height:2.6rem}
.g1{background:var(--g1)}.g2{background:var(--g2)}.g3{background:var(--g3)}.g4{background:var(--g4)}
.cat-card h3{margin-bottom:.75rem;font-size:1.25rem}
.cat-card p{color:var(--text-muted);font-size:.9375rem;line-height:1.6;margin:0}
.card--pad-lg.cat-card h3{font-size:1.5rem;margin-bottom:1rem}
.card--pad-lg.cat-card p{color:var(--text-light);line-height:1.7}
.count-pill-wrap{margin-bottom:4rem;text-align:center}
.count-pill{display:inline-flex;align-items:center;gap:1rem;padding:1rem 2rem;background:var(--bg-alt);border-radius:var(--radius-full);box-shadow:var(--shadow-md);color:var(--text-muted);font-size:1.125rem}
.count-pill svg{color:var(--primary);width:1.5rem;height:1.5rem}
.count-pill strong{color:var(--primary)}
.count-pill.accent svg,.count-pill.accent strong{color:var(--accent)}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3rem}
.product-grid .btn{margin-top:auto}

/* Feature boxes */
.feature-box{padding:2rem;background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-md);border:1px solid var(--border);transition:all var(--t-base);text-align:center}
.feature-box:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl);border-color:var(--primary)}
.feature-box__icon{width:64px;height:64px;margin:0 auto 1.5rem;display:flex;align-items:center;justify-content:center;background:var(--g1);border-radius:var(--radius-lg);color:#fff;box-shadow:var(--shadow-lg)}
.feature-box__icon svg{width:2rem;height:2rem}
.feature-box h3{font-size:clamp(1.5rem,3vw,2rem)}
.feature-box p{margin-bottom:0}
.feature-box .num{font-size:3rem;margin-bottom:.5rem;color:var(--primary)}
.feature-box .num-label{font-size:1.125rem;font-weight:600;color:var(--text-light)}

/* About page */
.split{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.media-frame{position:relative;border-radius:var(--radius-2xl);overflow:hidden;box-shadow:var(--shadow-2xl);background:var(--bg-dark)}
.media-frame img{width:100%;height:auto}
.split h2{font-size:2.5rem;margin-bottom:1.5rem;line-height:1.2}
.entry-content{font-size:1.0625rem;line-height:1.8;color:var(--text-light)}
.entry-content p{font-size:inherit;line-height:inherit}
.entry-content h2,.entry-content h3,.entry-content h4{margin-top:2rem;margin-bottom:1rem}
.entry-content h2{font-size:1.75rem;padding-bottom:1rem;border-bottom:2px solid var(--border);margin-top:3rem}
.entry-content h3{font-size:1.375rem}
.entry-content h4{font-size:1.125rem}
.entry-content > :first-child{margin-top:0}
.entry-content ul,.entry-content ol{margin:0 0 1.5rem 2rem}
.entry-content li{margin-bottom:.5rem;line-height:1.7}
.entry-content img{max-width:100%;height:auto;border-radius:var(--radius-lg);margin:1.5rem 0}
.entry-content blockquote{border-left:4px solid var(--primary);padding-left:1.5rem;margin:2rem 0;font-style:italic;color:var(--text-light)}
.entry-content a{color:var(--primary);text-decoration:underline;text-decoration-color:rgba(26,77,143,.3)}
.entry-content a:hover{text-decoration-color:var(--primary)}
.entry-content table{width:100%;border-collapse:collapse;margin:2rem 0}
.entry-content th,.entry-content td{padding:.75rem;border:1px solid var(--border);text-align:left}
.entry-content th{background:var(--bg-alt);font-weight:600}
.vm-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;max-width:1100px;margin:0 auto}
.vm-card{padding:4rem;text-align:center;position:relative}
.vm-card .ring{width:100px;height:100px;margin:0 auto 2rem;border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;color:#fff}
.vm-card .ring svg{width:3rem;height:3rem}
.vm-card h2{margin-bottom:1.5rem;font-size:2rem}
.vm-card p{font-size:1.125rem;line-height:1.8;margin:0}
.vm-card--grad{background:var(--g1);color:#fff;border-color:transparent}
.vm-card--grad::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.1) 0%,transparent 50%)}
.vm-card--grad > *{position:relative}
.vm-card--grad .ring{background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.vm-card--grad h2{color:#fff}
.vm-card--grad p{font-size:1.25rem;color:rgba(255,255,255,.95)}
.vm-card .ring.g2{box-shadow:var(--shadow-xl)}
.history-card{padding:4rem;border-left:6px solid var(--accent)}
.history-card .entry-content{line-height:1.9}
.history-card .lead-line{font-size:1.25rem;font-weight:600;color:var(--primary);margin-bottom:1.5rem}
.history-card .quote{font-style:italic;color:var(--accent);font-weight:600;margin-top:2rem}

/* CTA */
.cta-section{background:linear-gradient(135deg,var(--primary-dark),var(--primary));color:#fff;padding:6rem 0;text-align:center;position:relative;overflow:hidden;background-size:cover;background-position:center}
.cta-section__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cta-section__overlay{position:absolute;inset:0;background:rgba(26,77,143,.92)}
.cta-section .container{position:relative;z-index:1}
.cta-section h2{color:#fff;margin-bottom:1.5rem}
.cta-section p{color:rgba(255,255,255,.9);font-size:1.125rem;max-width:720px;margin:0 auto 2rem}
.cta-section .actions{justify-content:center}

/* Single service / solution */
.single-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:4rem}
.single-media{position:sticky;top:calc(5rem + 20px)}
.single-media .card__image{border-radius:var(--radius-2xl);box-shadow:var(--shadow-2xl);aspect-ratio:4/3}
.single-media.square .card__image{aspect-ratio:1/1}
.single-card{padding:3rem}
.single-actions{display:flex;gap:1rem;flex-wrap:wrap;padding-top:2rem;margin-top:2rem;border-top:2px solid var(--border)}
.single-actions .btn--secondary{display:inline-flex}
.integration{padding:4rem;text-align:center;background:linear-gradient(135deg,rgba(6,182,212,.1),rgba(249,115,22,.1));border:2px solid var(--accent)}
.integration .ring{width:100px;height:100px;margin:0 auto 2rem;background:var(--g2);border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-xl);color:#fff}
.integration .ring svg{width:3rem;height:3rem}
.integration h2{margin-bottom:1rem;font-size:2rem}
.integration p{font-size:1.125rem;line-height:1.8;margin-bottom:2rem}
.integration .btn{align-self:center}

/* News */
.post-card .card__image{aspect-ratio:16/10}
.post-body{padding:4rem}
.post-foot{display:flex;justify-content:center;margin-top:3rem;padding-top:2rem;border-top:2px solid var(--border)}
.pagination{display:flex;justify-content:center;gap:.5rem;margin:4rem 0 0;flex-wrap:wrap}
.pagination a,.pagination span{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:var(--radius-md);background:#fff;color:var(--text);font-weight:500;border:1px solid var(--border);transition:all var(--t-base)}
.pagination a:hover{background:var(--primary);color:#fff;border-color:var(--primary);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.pagination .current{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:var(--shadow-md)}
.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-muted)}

/* Contact */
.office{padding:3rem}
.office h3{margin-bottom:1.5rem;text-align:center;font-size:1.5rem}
.office p{margin-bottom:1rem;line-height:1.7}
.office .row{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}
.office .row svg{color:var(--primary);width:18px;height:18px}
.office .row a{color:var(--text);font-weight:500}
.office .row a:hover{color:var(--primary)}
.contact-split{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start}
.contact-split h2{margin-bottom:1rem;font-size:2.5rem}
.contact-split .intro{font-size:1.125rem;line-height:1.7}
.channels{display:flex;flex-direction:column;gap:1.5rem;margin-top:3rem}
.channel{padding:2rem;display:flex;flex-direction:row;gap:1.5rem;align-items:flex-start}
.channel .tile{width:60px;height:60px;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.channel .tile svg{width:1.5rem;height:1.5rem}
.channel .tile.wa{background:linear-gradient(135deg,#25D366,#128C7E)}
.channel h4{margin-bottom:.5rem;font-size:1.125rem}
.channel a{color:var(--text);font-size:1.125rem;font-weight:500;display:block}
.channel a:hover{color:var(--primary)}
.channel p{margin:0;line-height:1.7}
.form-card{padding:3rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.form-grid .full{grid-column:1/-1}
.form-control{width:100%;padding:1rem;border:2px solid var(--border);border-radius:var(--radius-lg);font-size:1rem;transition:all .3s;background:#fff;color:var(--text);font-family:inherit}
.form-control:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px rgba(26,77,143,.1)}
.form-control::placeholder{color:var(--text-light);opacity:.7}
textarea.form-control{resize:vertical;min-height:150px}
select.form-control{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231a4d8f' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-size:12px;cursor:pointer}
.form-control[aria-invalid="true"]{border-color:#dc2626}
.field-error{color:#dc2626;font-size:.875rem;margin:.35rem 0 0;font-weight:500}
.form-grid .btn{width:100%;padding:1.25rem 2.5rem;font-size:1.25rem}
.form-note{font-size:.875rem;color:var(--text-muted);margin:0}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-success{text-align:center;padding:2rem}
.form-success .ok{width:80px;height:80px;background:linear-gradient(135deg,#28a745,#20c997);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 2rem;color:#fff}
.form-success .ok svg{width:2.5rem;height:2.5rem}
.form-success h3{margin-bottom:1rem;font-size:1.75rem}
.form-success p{font-size:1.125rem;margin-bottom:2rem;line-height:1.7}
.form-alert{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:var(--radius-lg);padding:1rem 1.25rem;margin-bottom:1.5rem;font-weight:500}
.map-frame{border-radius:var(--radius-2xl);overflow:hidden;box-shadow:var(--shadow-2xl);line-height:0}
.map-frame iframe{width:100%;height:500px;border:0}

/* Home */
.about-home{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.about-home .media-frame{aspect-ratio:4/3;box-shadow:var(--shadow-xl)}
.about-home .media-frame img{height:100%;object-fit:cover}
.about-home .actions{margin-top:2rem}
.about-home .section__title{margin-bottom:2rem}
.t-card .btn--secondary{display:inline-flex}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.stat{text-align:center;padding:1.5rem;background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}
.stat b{display:block;font-size:2.5rem;font-weight:700;color:var(--primary);margin-bottom:.5rem;line-height:1.2}
.stat span{color:var(--text-light);font-size:.9375rem}
.offers{display:flex;flex-direction:column;gap:3rem}
.offer{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;background:#fff;padding:2rem;border-radius:var(--radius-2xl);box-shadow:var(--shadow-lg)}
.offer:nth-child(even) .offer__img{order:2}
.offer__img{border-radius:var(--radius-xl);overflow:hidden;aspect-ratio:16/10;background:var(--bg-dark)}
.offer__img img{width:100%;height:100%;object-fit:cover}
.offer h3{font-size:1.75rem;margin-bottom:1rem}
.offer p{margin-bottom:1.5rem;line-height:1.8;font-size:1.0625rem}
.svc-home{display:grid;grid-template-columns:1.5fr 1fr;gap:2rem;margin-bottom:2rem}
.svc-big{background:#fff;border-radius:var(--radius-2xl);overflow:hidden;box-shadow:var(--shadow-xl)}
.svc-big .img{aspect-ratio:16/9;overflow:hidden;background:var(--bg-dark)}
.svc-big .img img{width:100%;height:100%;object-fit:cover}
.svc-big .body{padding:3rem}
.svc-big h3{font-size:2rem;margin-bottom:1rem}
.svc-big p{font-size:1.125rem;margin-bottom:2rem;line-height:1.7}
.svc-stack{display:flex;flex-direction:column;gap:2rem}
.svc-mini{display:grid;grid-template-columns:120px 1fr;gap:1.5rem;padding:1.5rem;align-items:center}
.svc-mini .img{width:120px;height:120px;border-radius:var(--radius-lg);overflow:hidden;background:var(--bg-dark)}
.svc-mini .img img{width:100%;height:100%;object-fit:cover}
.svc-mini h4{margin-bottom:.5rem;color:var(--primary);font-size:1.125rem}
.svc-mini p{margin-bottom:1rem;font-size:.9375rem}
.timeline{position:relative;padding-left:3rem;max-width:900px;margin:0 auto}
.timeline::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(to bottom,var(--primary),var(--accent));border-radius:2px}
.t-item{position:relative;padding-bottom:3rem}
.t-item::before{content:'';position:absolute;left:-3.5rem;top:0;width:20px;height:20px;background:var(--primary);border:4px solid #fff;border-radius:50%;box-shadow:0 0 0 4px var(--bg-alt);box-sizing:border-box;z-index:1}
.t-card{display:grid;grid-template-columns:1fr 200px;gap:2rem;padding:2rem;border-left:4px solid var(--accent);align-items:center}
.t-card h3{color:var(--primary);margin-bottom:.75rem;font-size:1.5rem}
.t-card p{line-height:1.7;margin-bottom:1.5rem}
.t-card .img{width:200px;height:200px;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);background:var(--bg-dark)}
.t-card .img img{width:100%;height:100%;object-fit:cover}
.why{display:grid;grid-template-columns:1fr 1fr;min-height:500px;border-radius:var(--radius-2xl);overflow:hidden;box-shadow:var(--shadow-xl)}
.why__l{background:var(--g1);color:#fff;padding:4rem;display:flex;flex-direction:column;justify-content:center}
.why__l h2{font-size:2.5rem;margin-bottom:1.5rem;color:#fff}
.why__l p{font-size:1.125rem;opacity:.95;margin-bottom:2rem;line-height:1.7;color:#fff}
.why__r{background:#fff;padding:4rem;display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-content:center}
.why__item{text-align:center;padding:1.5rem;border-radius:var(--radius-lg);transition:all .3s}
.why__item:hover{background:var(--bg-alt)}
.why__item svg{width:3rem;height:3rem;color:var(--primary);margin:0 auto 1rem}
.why__item h3{margin-bottom:.5rem;font-size:1.125rem}
.why__item p{font-size:.9375rem;margin:0}
.section--dark .section__subtitle{color:var(--accent)}
.section--dark .section__title{color:#fff}
.section--dark .lead{color:rgba(255,255,255,.8)}
.partner-card{padding:2rem;text-align:center;aspect-ratio:3/2;align-items:center;justify-content:center}
.partner-card img{max-width:100%;max-height:100%;object-fit:contain}
.partner-card b{font-size:1.75rem;color:var(--primary);letter-spacing:.05em}

/* Search */
.search-big{display:flex;gap:.75rem;max-width:640px;margin:0 auto 3rem}
.search-big .form-control{flex:1}
.search-big .btn{flex:0 0 auto}
.result{display:grid;grid-template-columns:120px 1fr;gap:1.5rem;padding:1.5rem;align-items:center;flex-direction:row}
.result .img{width:120px;height:90px;border-radius:var(--radius-lg);overflow:hidden;background:var(--bg-dark)}
.result .img img{width:100%;height:100%;object-fit:cover}
.result small{color:var(--accent);font-weight:600;text-transform:uppercase;letter-spacing:.05em;font-size:.75rem}
.result h3{font-size:1.25rem;margin:.25rem 0 .5rem}
.result p{margin:0;font-size:.9375rem}
.results{display:flex;flex-direction:column;gap:1.5rem;max-width:900px;margin:0 auto}

/* Footer */
.site-footer{background:var(--text);color:#fff;padding:5rem 0 2rem}
.footer__widgets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3rem;margin-bottom:3rem}
.footer__widget h3{color:#fff;font-size:1.125rem;margin-bottom:1.5rem;position:relative;padding-bottom:.75rem}
.footer__widget h3::after{content:'';position:absolute;bottom:0;left:0;width:40px;height:3px;background:var(--accent);border-radius:var(--radius-full)}
.footer__widget > p{color:rgba(255,255,255,.8);line-height:1.7}
.footer__menu{list-style:none}
.footer__menu li{margin-bottom:.75rem}
.footer__menu a{color:rgba(255,255,255,.8);transition:all var(--t-fast);display:inline-block}
.footer__menu a:hover{color:#fff;padding-left:.5rem}
.footer__contact li{display:flex;gap:.75rem;margin-bottom:1rem;color:rgba(255,255,255,.8)}
.footer__contact li svg{color:var(--accent);width:16px;height:16px;margin-top:4px}
.footer__contact a:hover{padding-left:0}
.footer__social{display:flex;gap:.75rem;margin-top:1.5rem}
.footer__social a{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);border-radius:var(--radius-full);color:#fff;transition:all var(--t-base)}
.footer__social a:hover{background:var(--primary);transform:translateY(-3px)}
.footer__social svg{width:18px;height:18px}
.footer__bottom{padding-top:2rem;border-top:1px solid rgba(255,255,255,.1);text-align:center;color:rgba(255,255,255,.6);font-size:.875rem}
.footer__bottom p{color:inherit;font-size:inherit;margin:0}
.footer__bottom a{color:rgba(255,255,255,.6)}
.footer__bottom a:hover{color:#fff}
.back-to-top{position:fixed;bottom:30px;right:30px;width:50px;height:50px;background:var(--primary);color:#fff;border:none;border-radius:var(--radius-full);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:999;box-shadow:var(--shadow-xl);transition:all .25s;opacity:0;visibility:hidden}
.back-to-top.show{opacity:1;visibility:visible}
.back-to-top:hover{transform:translateY(-5px) scale(1.05);box-shadow:var(--shadow-2xl)}
.back-to-top svg{width:18px;height:18px}

/* 404 */
.notfound{text-align:center;padding:6rem 0}
.notfound b{display:block;font-size:6rem;line-height:1;color:var(--primary);margin-bottom:1rem}
.notfound .actions{justify-content:center;margin-top:2rem}

/* Scroll animations (same feel as the old site's AOS): only when JS is on and motion is allowed */
html.aos [data-aos]{transition-property:opacity,transform;transition-duration:.8s;transition-timing-function:cubic-bezier(.215,.61,.355,1)}
html.aos [data-aos]:not(.aos-animate){opacity:0}
html.aos [data-aos=fade-up]:not(.aos-animate){transform:translate3d(0,100px,0)}
html.aos [data-aos=fade-right]:not(.aos-animate){transform:translate3d(-100px,0,0)}
html.aos [data-aos=fade-left]:not(.aos-animate){transform:translate3d(100px,0,0)}
html.aos [data-aos=zoom-in]:not(.aos-animate){transform:scale(.6)}
html.aos [data-aos=flip-left]:not(.aos-animate){transform:perspective(2500px) rotateY(-100deg);backface-visibility:hidden}
html.aos .card[data-aos].aos-animate{transition-property:opacity,transform,box-shadow,border-color}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Responsive */
@media (max-width:1100px){
  .nav__link{padding:.75rem .8rem}
  .nav__link::after{left:.8rem;right:.8rem}
  .header__search input{width:150px}
}
@media (min-width:769px) and (max-width:1024px){
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:1fr}
  .footer__widgets{grid-template-columns:repeat(2,1fr)}
  .split,.contact-split{gap:3rem}
}
@media (max-width:960px){
  .mobile-toggle{display:block}
  .nav__menu{position:fixed;top:0;right:-100%;width:280px;height:100vh;background:#fff;flex-direction:column;align-items:stretch;padding:2rem;box-shadow:var(--shadow-2xl);transition:right var(--t-base);z-index:1001;overflow-y:auto;gap:0}
  .nav__menu.active{right:0}
  .nav__menu > li{width:100%}
  .nav__link{padding:1rem;width:100%}
  .nav__link::after{display:none}
  .mobile-search{display:block;padding:0 0 1rem;margin-bottom:1rem;border-bottom:1px solid var(--border)}
  .mobile-search form{display:flex;gap:.5rem}
  .mobile-search input{flex:1;min-width:0;padding:.75rem 1rem;border:2px solid var(--border);border-radius:var(--radius-md);font:inherit}
  .mobile-search button{border:0;background:var(--primary);color:#fff;border-radius:var(--radius-md);padding:0 .9rem;display:flex;align-items:center}
  .nav-close{display:flex;justify-content:flex-end;margin:-1rem -1rem .5rem 0}
  .nav-close button{background:none;border:0;padding:.5rem;cursor:pointer;color:var(--text)}
}
@media (min-width:961px){.nav-close{display:none}}
@media (max-width:768px){
  .header__topbar{display:none}
  .section{padding:3rem 0}
  .grid--2,.grid--3,.grid--4,.product-grid,.split,.about-home,.vm-grid,.contact-split,.single-grid,.svc-home,.offer,.why,.why__r,.footer__widgets,.form-grid{grid-template-columns:1fr}
  .offer:nth-child(even) .offer__img{order:0}
  .offer,.split,.about-home,.contact-split,.single-grid{gap:2rem}
  .hero{min-height:500px}
  .hero__box{max-width:100%;padding:2rem;margin-top:0}
  .hero__title{font-size:2rem}
  .hero__subtitle{font-size:.875rem}
  .hero__description{font-size:1rem}
  .page-header{padding:4rem 0}
  .section__header{margin-bottom:2rem}
  .section__title{font-size:1.75rem}
  .section__subtitle{font-size:.8125rem}
  .card__content{padding:1.5rem}
  .card__title{font-size:1.25rem}
  .card--service{padding:1.5rem}
  .stats{grid-template-columns:1fr}
  .timeline{padding-left:0}
  .timeline::before,.t-item::before{display:none}
  .t-card{grid-template-columns:1fr}
  .t-card .img{width:100%;height:auto;aspect-ratio:16/9;order:-1}
  .svc-mini{grid-template-columns:1fr}
  .svc-mini .img{width:100%;height:auto;aspect-ratio:16/9}
  .svc-big .body,.why__l,.why__r,.vm-card,.history-card,.post-body,.integration,.single-card,.form-card,.office,.card--pad-lg{padding:2rem}
  .split h2,.contact-split h2,.why__l h2{font-size:1.75rem}
  .single-media{position:static}
  .cta-section{padding:4rem 0}
  .cta-section p{padding:0 1rem}
  .btn--large{padding:1rem 2rem;font-size:1rem}
  .btn{width:100%;white-space:normal}
  .header__inner .btn,.hero__dot,.back-to-top{width:auto}
  .feature-box{padding:1.5rem}
  .feature-box__icon{width:56px;height:56px}
  .map-frame iframe{height:360px}
  .count-pill{font-size:1rem;padding:.85rem 1.25rem}
  .count-pill-wrap{margin-bottom:2rem}
  .result{grid-template-columns:80px 1fr;gap:1rem}
  .result .img{width:80px;height:64px}
  .search-big{flex-direction:column}
  .back-to-top{bottom:20px;right:20px}
}
@media (max-width:480px){
  .container{padding:0 1rem}
  .section{padding:2.5rem 0}
  .page-header{padding:3rem 0}
  .hero__title{font-size:1.75rem}
  .section__title{font-size:1.5rem}
  .btn{padding:.875rem 1.5rem;font-size:.9375rem}
  .card__content{padding:1.25rem}
  .vm-card .ring,.integration .ring{width:80px;height:80px}
  .feature-box .num{font-size:2.25rem}
}
@media print{.site-header,.site-footer,.cta-section,.back-to-top,.pagination{display:none}.card{box-shadow:none;border:1px solid #ddd}}
.contact-split .form-card{margin-top:2rem}
.link{color:var(--primary);font-weight:600}.link:hover{text-decoration:underline}
.results-count{margin-bottom:2rem}
.page-header__fade.m-only{display:none}
@media (max-width:768px){.page-header__fade.m-only{display:block;background:rgba(255,255,255,.82)}}
