/*
Theme Name: AltPower Technology
Theme URI: https://www.altpowertechnology.com
Author: Dev-Ayo
Author URI: https://www.altpowertechnology.com
Description: Luxurious, futuristic dark-emerald theme for AltPower Technology Limited — solar PV, battery energy storage and hybrid power solutions. Includes animated hero, marquee ticker, scroll reveals, animated counters, filterable project gallery and a contact page. Compatible with Elementor and other page builders via the included Canvas template.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: altpower
Tags: dark, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #050f0b;
  font-family: 'Manrope', sans-serif;
  color: #eef5ee;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: #59c2d8; text-decoration: none; }
a:hover { color: #4ce39a; }
::selection { background: #4ce39a; color: #050f0b; }

.ap-container { max-width: 1280px; margin: 0 auto; padding-left: 36px; padding-right: 36px; }

/* ============ ANIMATIONS ============ */
@keyframes ap-kenburns { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.16) translateY(-14px); } }
@keyframes ap-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ap-pulse-dot { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,227,154,.5); } 50% { opacity: .6; box-shadow: 0 0 0 7px rgba(76,227,154,0); } }
@keyframes ap-orb { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.15); } }

/* Scroll reveals (JS adds .ap-visible) */
.ap-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.ap-reveal.ap-visible { opacity: 1; transform: translateY(0); }
.ap-reveal-d1 { transition-delay: .12s; }
.ap-reveal-d2 { transition-delay: .24s; }
.ap-reveal-d3 { transition-delay: .36s; }

/* ============ NAV ============ */
.ap-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}
.ap-nav.ap-scrolled {
  background: rgba(3,9,6,.92);
  box-shadow: 0 1px 0 rgba(238,245,238,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ap-nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 36px; }
.ap-nav-logo img { height: 30px; display: block; width: auto; }
.ap-nav-links { display: flex; align-items: center; gap: 38px; font: 600 11.5px 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.ap-nav-links a { color: #eef5ee; padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color .3s ease, border-color .3s ease; }
.ap-nav-links a:hover { color: #4ce39a; border-bottom-color: rgba(76,227,154,.5); }
.ap-nav-links a.ap-active { color: #4ce39a; border-bottom-color: #4ce39a; }
.ap-nav-links a.ap-nav-cta {
  color: #fff; background: linear-gradient(120deg,#ff5346,#e8483b);
  padding: 12px 22px; border-radius: 2px; border-bottom: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ap-nav-links a.ap-nav-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 34px rgba(255,83,70,.45); }

/* ============ HERO ============ */
.ap-hero { position: relative; min-height: 880px; background: #050f0b; overflow: hidden; }
.ap-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; animation: ap-kenburns 24s ease-in-out infinite alternate; }
.ap-hero-slides .ap-slide { opacity: 0; transition: opacity 2s ease; }
.ap-hero-slides .ap-slide.ap-slide-active { opacity: .42; }
.ap-hero-dots { display: flex; gap: 10px; margin-top: 52px; align-items: center; }
.ap-dot {
  width: 9px; height: 9px; border-radius: 5px; cursor: pointer; border: none; padding: 0;
  background: rgba(238,245,238,.25); transition: width .5s ease, background .5s ease;
}
.ap-dot.ap-dot-active { width: 34px; background: linear-gradient(100deg,#4ce39a,#59c2d8); }
.ap-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,10,7,.85) 0%, rgba(4,12,9,.45) 45%, rgba(4,10,7,.97) 100%); }
.ap-hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 900px 560px at 74% 22%, rgba(76,227,154,.16), transparent 60%); }
.ap-hero-lines { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(238,245,238,.035) 0, rgba(238,245,238,.035) 1px, transparent 1px, transparent 160px); }
.ap-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 210px 36px 0; }

.ap-entrance { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
body.ap-loaded .ap-entrance { opacity: 1; transform: translateY(0); }
.ap-entrance-d1 { transition-delay: .05s; }
.ap-entrance-d2 { transition-delay: .2s; }
.ap-entrance-d3 { transition-delay: .38s; }
.ap-entrance-d4 { transition-delay: .55s; }

.ap-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 11px 'Manrope', sans-serif; letter-spacing: .22em; text-transform: uppercase;
  color: #4ce39a; border: 1px solid rgba(76,227,154,.3); background: rgba(76,227,154,.06);
  backdrop-filter: blur(8px); padding: 9px 18px; border-radius: 24px; margin-bottom: 30px;
}
.ap-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ce39a; animation: ap-pulse-dot 2.4s ease-in-out infinite; }

.ap-hero-title { font: 400 78px/1.05 'Newsreader', serif; color: #eef5ee; letter-spacing: -.015em; max-width: 880px; margin: 0; }
.ap-grad {
  font-style: italic; font-weight: 300;
  background: linear-gradient(100deg, #4ce39a 20%, #59c2d8 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ap-hero-sub { font: 400 17px/1.75 'Manrope', sans-serif; color: #b9c9bd; max-width: 540px; margin-top: 28px; }
.ap-hero-ctas { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }

.ap-btn {
  display: inline-block; background: linear-gradient(120deg,#ff5346,#e8483b); color: #fff;
  font: 700 12.5px 'Manrope', sans-serif; letter-spacing: .05em; padding: 19px 34px; border-radius: 2px;
  transition: transform .35s ease, box-shadow .35s ease; border: none; cursor: pointer;
}
.ap-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 44px rgba(255,83,70,.5); }
.ap-btn-ghost {
  display: inline-block; border: 1px solid rgba(238,245,238,.28); color: #eef5ee;
  font: 700 12.5px 'Manrope', sans-serif; letter-spacing: .05em; padding: 19px 30px; border-radius: 2px;
  transition: border-color .35s ease, background .35s ease, color .35s ease;
}
.ap-btn-ghost:hover { color: #4ce39a; border-color: rgba(76,227,154,.7); background: rgba(76,227,154,.06); }

/* Stats band */
.ap-stats { position: relative; z-index: 2; max-width: 1280px; margin: 90px auto 0; display: flex; gap: 16px; padding: 0 36px 60px; }
.ap-stat {
  flex: 1; padding: 30px 36px; background: rgba(238,245,238,.035);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(238,245,238,.09); border-radius: 3px;
  transition: border-color .4s ease, transform .4s ease;
}
.ap-stat:hover { border-color: rgba(76,227,154,.45); transform: translateY(-4px); }
.ap-stat-num { font: 400 38px 'Newsreader', serif; color: #eef5ee; }
.ap-stat-num .ap-grad { font-style: normal; font-weight: 400; }
.ap-stat-label { font: 600 10px 'Manrope', sans-serif; color: #8fa89b; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }

/* ============ MARQUEE ============ */
.ap-marquee {
  background: #030906; border-top: 1px solid rgba(238,245,238,.07); border-bottom: 1px solid rgba(238,245,238,.07);
  overflow: hidden; padding: 22px 0; white-space: nowrap;
}
.ap-marquee-track { display: inline-flex; animation: ap-marquee 36s linear infinite; }
.ap-marquee-row { display: inline-flex; gap: 56px; padding-right: 56px; font: 500 13px 'Manrope', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #8fa89b; }
.ap-marquee-row .ap-dia { color: #4ce39a; }

/* ============ SECTIONS ============ */
.ap-section-light { background: #f2efe6; color: #0d1a14; }
.ap-section-dark { background: #050f0b; position: relative; overflow: hidden; }
.ap-section-darkest { background: #030906; position: relative; overflow: hidden; border-top: 1px solid rgba(238,245,238,.07); border-bottom: 1px solid rgba(238,245,238,.07); }
.ap-pad { padding-top: 140px; padding-bottom: 140px; }

.ap-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.ap-eyebrow.ap-center { justify-content: center; }
.ap-eyebrow-dash { width: 26px; height: 1px; background: #e8483b; }
.ap-eyebrow-dash.ap-red2 { background: #ff5346; }
.ap-eyebrow-label { font: 700 10.5px 'Manrope', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #177a63; }
.ap-section-dark .ap-eyebrow-label, .ap-section-darkest .ap-eyebrow-label { color: #4ce39a; }

.ap-h2 { font: 400 40px/1.2 'Newsreader', serif; color: #0d1a14; margin: 0; }
.ap-h2 em { font-style: italic; color: #177a63; }
.ap-section-dark .ap-h2, .ap-section-darkest .ap-h2 { color: #eef5ee; }
.ap-body-text { font: 400 15.5px/1.8 'Manrope', sans-serif; color: #48584e; margin-top: 26px; }
.ap-section-dark .ap-body-text { color: #8fa89b; }

.ap-link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  font: 700 12.5px 'Manrope', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: #0d1a14; border-bottom: 2px solid #e8483b; padding-bottom: 6px;
  transition: gap .3s ease, color .3s ease;
}
.ap-link-arrow:hover { color: #e8483b; gap: 16px; }
.ap-section-dark .ap-link-arrow { color: #eef5ee; border-bottom-color: #ff5346; }
.ap-section-dark .ap-link-arrow:hover { color: #4ce39a; }

/* Orbs */
.ap-orb { position: absolute; border-radius: 50%; pointer-events: none; animation: ap-orb 14s ease-in-out infinite; }
.ap-orb-mint { width: 420px; height: 420px; top: -120px; right: 8%; background: radial-gradient(circle, rgba(76,227,154,.09), transparent 65%); }
.ap-orb-teal { width: 360px; height: 360px; top: 20%; left: 12%; background: radial-gradient(circle, rgba(89,194,216,.1), transparent 65%); animation-direction: reverse; animation-duration: 16s; }

/* ============ INTRO SPLIT ============ */
.ap-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.ap-img-frame { position: relative; }
.ap-img-frame::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(13,26,20,.14); border-radius: 4px; }
.ap-img-frame-inner { position: relative; border-radius: 4px; overflow: hidden; height: 480px; }
.ap-img-frame-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ap-img-frame-inner:hover img { transform: scale(1.06); }

/* ============ SERVICE CARDS ============ */
.ap-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ap-card {
  background: rgba(238,245,238,.03); border: 1px solid rgba(238,245,238,.09); border-radius: 3px;
  padding: 42px 36px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .45s ease, transform .45s ease, box-shadow .45s ease;
}
.ap-card:hover { border-color: rgba(76,227,154,.5); transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ap-card-num { font: 300 30px 'Newsreader', serif; background: linear-gradient(100deg,#4ce39a,#59c2d8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ap-card-title { font: 700 17.5px 'Manrope', sans-serif; color: #eef5ee; margin-top: 22px; }
.ap-card-desc { font: 400 13.5px/1.7 'Manrope', sans-serif; color: #8fa89b; margin-top: 12px; }

/* ============ PROJECT CARDS ============ */
.ap-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ap-proj-card {
  position: relative; display: block; border-radius: 4px; overflow: hidden; height: 380px;
  transition: transform .5s ease, box-shadow .5s ease; cursor: pointer;
}
.ap-proj-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(13,26,20,.28); }
.ap-proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-proj-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,10,7,0) 38%, rgba(3,9,6,.93) 100%); }
.ap-proj-meta { position: absolute; left: 24px; bottom: 22px; right: 24px; }
.ap-proj-tag { font: 700 9.5px 'Manrope', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #4ce39a; }
.ap-proj-title { font: 400 20px 'Newsreader', serif; color: #eef5ee; margin-top: 8px; }
.ap-gallery .ap-proj-card { height: 320px; cursor: zoom-in; }

/* ============ QUOTE ============ */
.ap-quote { font: 300 34px/1.55 'Newsreader', serif; font-style: italic; color: #eef5ee; margin: 0; }
.ap-quote-rule { width: 44px; height: 1px; background: #ff5346; margin: 36px auto 0; }
.ap-quote-attr { font: 700 11px 'Manrope', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #8fa89b; margin-top: 22px; }

/* ============ CTA BAND ============ */
.ap-cta-band { background: #f2efe6; padding: 130px 36px; text-align: center; }
.ap-cta-band .ap-h2 { font-size: 46px; max-width: 680px; margin: 0 auto; }
.ap-cta-band .ap-body-text { max-width: 480px; margin-left: auto; margin-right: auto; margin-top: 20px; }
.ap-cta-band .ap-btn { margin-top: 40px; padding: 20px 40px; }

/* ============ SUB HERO ============ */
.ap-subhero { position: relative; min-height: 480px; background: #050f0b; overflow: hidden; }
.ap-subhero .ap-hero-bg { opacity: .3; }
.ap-subhero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,10,7,.9) 0%, rgba(4,10,7,.75) 100%); }
.ap-subhero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 700px 400px at 78% 30%, rgba(76,227,154,.13), transparent 60%); }
.ap-subhero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 210px 36px 80px; }
.ap-crumb { font: 600 11px 'Manrope', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #8fa89b; }
.ap-subhero-title { font: 400 60px/1.1 'Newsreader', serif; color: #eef5ee; margin: 18px 0 0; letter-spacing: -.01em; }
.ap-subhero-sub { font: 400 16px/1.75 'Manrope', sans-serif; color: #b9c9bd; margin-top: 20px; max-width: 520px; }

/* ============ SERVICES PAGE ROWS ============ */
.ap-svc-row {
  display: grid; grid-template-columns: 160px 1fr 1fr; gap: 52px;
  padding: 60px 0; border-bottom: 1px solid rgba(13,26,20,.1); align-items: start;
}
.ap-svc-num { font: 300 54px 'Newsreader', serif; background: linear-gradient(100deg,#177a63,#1c7fa0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ap-svc-title { font: 700 22px 'Manrope', sans-serif; color: #0d1a14; margin-bottom: 16px; }
.ap-svc-desc { font: 400 14px/1.8 'Manrope', sans-serif; color: #48584e; max-width: 400px; }
.ap-svc-items { display: flex; flex-direction: column; gap: 11px; }
.ap-svc-item { font: 500 13.5px 'Manrope', sans-serif; color: #0d1a14; display: flex; align-items: baseline; gap: 12px; }
.ap-svc-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #e8483b; flex: none; }

/* ============ VALUES ============ */
.ap-value-card {
  background: rgba(238,245,238,.03); border: 1px solid rgba(238,245,238,.09); border-radius: 3px;
  padding: 48px 40px; text-align: center; backdrop-filter: blur(10px);
  transition: border-color .45s ease, transform .45s ease;
}
.ap-value-card:hover { transform: translateY(-8px); }
.ap-value-card.ap-v-mint:hover { border-color: rgba(76,227,154,.5); }
.ap-value-card.ap-v-red:hover { border-color: rgba(255,83,70,.5); }
.ap-value-card.ap-v-teal:hover { border-color: rgba(89,194,216,.5); }
.ap-value-title { font: 400 28px 'Newsreader', serif; }
.ap-value-title.ap-v-grad { background: linear-gradient(100deg,#4ce39a,#59c2d8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ap-value-title.ap-v-red-t { color: #ff5346; }
.ap-value-title.ap-v-teal-t { color: #59c2d8; }
.ap-value-desc { font: 400 13.5px/1.75 'Manrope', sans-serif; color: #8fa89b; margin-top: 16px; }

/* ============ INDUSTRIES ============ */
.ap-ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ap-ind-chip {
  border: 1px solid rgba(13,26,20,.14); border-radius: 3px; padding: 24px 20px;
  font: 600 13px/1.45 'Manrope', sans-serif; color: #0d1a14;
  transition: border-color .4s ease, transform .4s ease, background .4s ease;
}
.ap-ind-chip:hover { border-color: #177a63; background: rgba(23,122,99,.05); transform: translateY(-4px); }

/* ============ GALLERY FILTERS + LIGHTBOX ============ */
.ap-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 52px; }
.ap-chip {
  font: 700 11px 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 24px; cursor: pointer;
  background: transparent; color: #48584e; border: 1px solid rgba(13,26,20,.2);
  transition: all .35s ease;
}
.ap-chip:hover { border-color: #177a63; color: #177a63; }
.ap-chip.ap-active { background: #0d1a14; color: #4ce39a; border-color: #0d1a14; }
.ap-gallery-note { margin-top: 56px; font: 400 13.5px/1.7 'Manrope', sans-serif; color: #48584e; text-align: center; }

.ap-lightbox {
  position: fixed; inset: 0; background: rgba(3,9,6,.94); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 48px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: zoom-out;
}
.ap-lightbox.ap-open { display: flex; }
.ap-lightbox img { max-width: min(940px, 90vw); max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.ap-lightbox-title { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; font: 400 18px 'Newsreader', serif; color: #eef5ee; }
.ap-lightbox-close { position: absolute; top: 30px; right: 40px; font: 700 12px 'Manrope', sans-serif; color: #eef5ee; letter-spacing: .14em; cursor: pointer; }

/* ============ CONTACT ============ */
.ap-contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; }
.ap-form { display: flex; flex-direction: column; gap: 20px; }
.ap-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ap-form input, .ap-form textarea, .ap-form select {
  font: 400 14px 'Manrope', sans-serif; padding: 16px 18px;
  border: 1px solid rgba(13,26,20,.16); border-radius: 3px; background: #fff; color: #0d1a14;
  width: 100%; outline: none; transition: border-color .3s ease;
}
.ap-form input:focus, .ap-form textarea:focus, .ap-form select:focus { border-color: #177a63; }
.ap-form textarea { resize: vertical; }
.ap-form-success {
  background: rgba(23,122,99,.08); border: 1px solid #177a63; border-radius: 4px;
  padding: 36px; font: 400 18px/1.6 'Newsreader', serif; color: #0d1a14; display: none;
}
.ap-info-card {
  background: #fff; border: 1px solid rgba(13,26,20,.1); border-radius: 3px; padding: 30px 34px;
  transition: border-color .4s ease, transform .4s ease;
}
.ap-info-card:hover { border-color: #177a63; transform: translateY(-3px); }
.ap-info-label { font: 700 10px 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #177a63; margin-bottom: 10px; }
.ap-info-value, .ap-info-card a { font: 400 17px/1.6 'Newsreader', serif; color: #0d1a14; }
.ap-info-stack { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.ap-map-placeholder {
  position: relative; height: 200px; border-radius: 4px; overflow: hidden;
  background: repeating-linear-gradient(45deg,#e6e2d5 0,#e6e2d5 2px,#efece2 2px,#efece2 14px);
  display: flex; align-items: center; justify-content: center;
}
.ap-map-placeholder span {
  font: 600 11px ui-monospace, monospace; letter-spacing: .05em; color: #5c6f63;
  background: #f2efe6; padding: 9px 18px; border-radius: 3px; border: 1px solid rgba(13,26,20,.15);
}

/* ============ FOOTER ============ */
.ap-footer { background: #030906; padding: 100px 36px 36px; border-top: 1px solid rgba(238,245,238,.07); }
.ap-footer-inner { max-width: 1280px; margin: 0 auto; }
.ap-footer-big { font: 300 72px/1 'Newsreader', serif; color: rgba(238,245,238,.1); margin: 0 0 70px; letter-spacing: -.01em; }
.ap-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.ap-footer-logo { height: 32px; display: block; margin-bottom: 22px; width: auto; }
.ap-footer-desc { font: 400 13px/1.75 'Manrope', sans-serif; color: #8fa89b; max-width: 280px; }
.ap-footer-h { font: 700 10.5px 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #eef5ee; margin-bottom: 20px; }
.ap-footer-col { display: flex; flex-direction: column; gap: 13px; font: 400 13px/1.65 'Manrope', sans-serif; color: #8fa89b; }
.ap-footer-col a { color: #8fa89b; }
.ap-footer-col a:hover { color: #4ce39a; }
.ap-footer-bottom {
  margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(238,245,238,.07);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font: 400 12px 'Manrope', sans-serif; color: #5c6f63;
}

/* ============ WP CORE ============ */
.alignwide { margin-left: auto; margin-right: auto; max-width: 1280px; }
.alignfull { width: 100%; max-width: none; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}
.wp-block-image img { border-radius: 4px; }

/* Generic page content (page.php) */
.ap-page-content { background: #f2efe6; color: #0d1a14; padding: 100px 36px 140px; }
.ap-page-content .ap-container { max-width: 880px; }
.ap-page-content h1, .ap-page-content h2, .ap-page-content h3 { font-family: 'Newsreader', serif; font-weight: 400; color: #0d1a14; }
.ap-page-content p, .ap-page-content li { font: 400 15.5px/1.8 'Manrope', sans-serif; color: #48584e; }
.ap-page-content a { color: #177a63; }
.ap-page-content a:hover { color: #e8483b; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .ap-hero-title { font-size: 58px; }
  .ap-cards, .ap-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-ind-grid { grid-template-columns: repeat(3, 1fr); }
  .ap-split, .ap-contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .ap-svc-row { grid-template-columns: 90px 1fr; }
  .ap-svc-row .ap-svc-items { grid-column: 2; }
  .ap-footer-grid { grid-template-columns: 1fr 1fr; }
  .ap-footer-big { font-size: 48px; }
}
@media (max-width: 720px) {
  .ap-nav-links { gap: 20px; }
  .ap-nav-links a:not(.ap-nav-cta) { display: none; }
  .ap-hero { min-height: 700px; }
  .ap-hero-inner { padding-top: 160px; }
  .ap-hero-title { font-size: 42px; }
  .ap-stats { flex-direction: column; }
  .ap-cards, .ap-projects-grid, .ap-ind-grid { grid-template-columns: 1fr; }
  .ap-subhero-title { font-size: 40px; }
  .ap-svc-row { grid-template-columns: 1fr; gap: 24px; }
  .ap-form-row { grid-template-columns: 1fr; }
  .ap-footer-grid { grid-template-columns: 1fr; }
  .ap-pad { padding-top: 90px; padding-bottom: 90px; }
}
