/* ============================================================
   SolarForge — Green-energy design system
   Single shared stylesheet for all pages.
   Colors, type, layout, and every component live here.
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  /* Brand greens */
  --green-900: #052e16;
  --green-800: #0a3d22;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-50:  #f0fdf4;

  /* Solar accent (sun) */
  --sun-600: #d97706;
  --sun-500: #f59e0b;
  --sun-400: #fbbf24;
  --sun-300: #fcd34d;

  /* Neutrals */
  --ink:    #0b1f17;
  --slate:  #475569;
  --muted:  #6b7c74;
  --line:   #e3ece6;
  --bg:     #ffffff;
  --bg-soft:#f4faf6;
  --dark:   #08160f;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(8, 22, 15, .06);
  --shadow:    0 10px 30px rgba(8, 22, 15, .08);
  --shadow-lg: 0 24px 60px rgba(8, 22, 15, .14);
  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:28px;
  --container: 1180px;
  --grad-green: linear-gradient(135deg, var(--green-600), var(--green-700));
  --grad-sun:   linear-gradient(135deg, var(--sun-400), var(--sun-600));
  --grad-hero:  linear-gradient(135deg, #07301c 0%, #0c5c33 55%, #16a34a 100%);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #dcefe2; }
.center { text-align: center; }
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px){ .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px){ .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px){ .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- Eyebrow + section heading ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--green-700); background: var(--green-50);
  padding: 7px 14px; border-radius: 999px; border: 1px solid #d6efdf;
}
.section--dark .eyebrow { color: var(--sun-300); background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.25); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 18px 0 14px; }
.section-sub { color: var(--slate); font-size: 1.06rem; }
.section--dark .section-sub { color: #a7c6b6; }
@media (max-width: 680px){
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 26px; }
  .section-title { margin: 12px 0 10px; }
  .page-hero { padding: 38px 0 42px; }
  .split { gap: 28px; }
  .cta-banner { padding: 32px 22px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-sun); color: #3a2200; box-shadow: 0 10px 24px rgba(217,119,6,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(217,119,6,.42); }
.btn-green { background: var(--grad-green); color: #fff; box-shadow: 0 10px 24px rgba(22,163,74,.3); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(22,163,74,.42); }
.btn-outline { border: 2px solid var(--green-600); color: var(--green-700); }
.btn-outline:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 82px; width: auto; }
.brand-mark { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.55rem; letter-spacing: -.005em; padding-bottom: 5px; border-bottom: 3px solid var(--green-500); white-space: nowrap; }
.brand-name .bn-1 { color: var(--ink); }
.brand-name .bn-2 { color: var(--green-600); }
.brand-tag { font-family: var(--font-head); font-weight: 700; font-size: .58rem; letter-spacing: .055em; color: var(--slate); margin-top: 5px; white-space: nowrap; }
@media (max-width: 680px){ .brand-name { font-size: 1.32rem; } .brand-tag { font-size: .52rem; } .brand-logo { height: 60px; } }
.nav-links { display: none; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--ink);
  padding: 9px 15px; border-radius: 10px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--green-50); color: var(--green-700); }
.nav-links a.active { color: var(--green-700); background: var(--green-50); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px;
  border-radius: 10px; border: 1px solid var(--line);
}
.nav-toggle span { width: 22px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7.4px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: grid; gap: 4px;
  max-height: 0; overflow: hidden;
  border-top: 0 solid var(--line);
  transition: max-height .32s ease, padding .32s ease;
  padding: 0 22px;
}
.mobile-menu.open { max-height: 460px; padding: 14px 22px 22px; border-top: 1px solid var(--line); }
.mobile-menu a { padding: 13px 14px; border-radius: 12px; font-family: var(--font-head); font-weight: 500; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--green-50); color: var(--green-700); }
.mobile-menu .btn { margin-top: 10px; }

@media (min-width: 940px){
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero); color: #fff;
  padding: 96px 0 110px;
}
.hero::before { /* sun glow */
  content: ""; position: absolute; top: -160px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.55), rgba(251,191,36,0) 62%);
  filter: blur(8px);
}
.hero::after { /* panel grid texture */
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, transparent);
}
.hero-inner { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px){ .hero-inner { grid-template-columns: 1.05fr .95fr; } }
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin: 20px 0 18px; }
.hero h1 .accent { color: var(--sun-300); }
.hero p.lead { font-size: 1.18rem; color: #d6f0e2; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero-trust div { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #c8e9d6; }
.hero-trust svg { width: 20px; height: 20px; color: var(--sun-300); flex: none; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-panel {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(115deg, rgba(7,48,28,.0) 0 28px, rgba(7,48,28,.18) 28px 30px),
    repeating-linear-gradient(25deg, rgba(7,48,28,.0) 0 28px, rgba(7,48,28,.18) 28px 30px),
    linear-gradient(135deg, #1e5fa8, #0b3d72 70%);
  position: relative; box-shadow: inset 0 0 0 6px rgba(255,255,255,.08);
}
.hero-panel .sun-badge {
  position: absolute; right: 16px; top: 16px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad-sun); box-shadow: 0 0 32px rgba(251,191,36,.7); display: grid; place-items: center;
}
.hero-panel .sun-badge svg { width: 34px; height: 34px; color: #fff; }
.hero-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 20px; }
.hero-stat-row .s { background: rgba(255,255,255,.1); border-radius: 14px; padding: 14px; text-align: center; }
.hero-stat-row .s b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--sun-300); }
.hero-stat-row .s span { font-size: .76rem; color: #cfeada; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { display: grid; gap: 26px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 860px){ .stats { grid-template-columns: repeat(4,1fr); } }
.stats--six { grid-template-columns: repeat(2,1fr); }
@media (min-width: 860px){ .stats--six { grid-template-columns: repeat(3,1fr); } }
.stat { text-align: center; padding: 12px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem,4vw,3rem); color: var(--green-700); line-height: 1; }
.stat .num .suffix { color: var(--sun-500); }
.stat .label { color: var(--slate); margin-top: 8px; font-size: .96rem; }
.section--dark .stat .num { color: var(--sun-300); }
.section--dark .stat .label { color: #a7c6b6; }

/* ============================================================
   CARDS (services / features)
   ============================================================ */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cde8d6; }
.card .ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); margin-bottom: 18px;
}
.card .ico svg { width: 30px; height: 30px; }
.card.card--accent .ico { background: #fff5e6; color: var(--sun-600); }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--slate); }
.card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--green-700); font-weight: 600; font-family: var(--font-head); font-size: .94rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* Service detail block (services page) */
.svc {
  display: grid; gap: 30px; align-items: center;
  padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); box-shadow: var(--shadow-sm);
}
@media (min-width: 860px){ .svc { grid-template-columns: 1fr 1fr; } .svc.reverse .svc-media { order: 2; } }
.svc h3 { font-size: 1.6rem; margin-bottom: 12px; }
.svc p { color: var(--slate); margin-bottom: 16px; }
.svc ul.ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; color: var(--ink); }
.svc ul.ticks svg { width: 20px; height: 20px; color: var(--green-600); flex: none; margin-top: 2px; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process { display: grid; gap: 26px; counter-reset: step; grid-template-columns: repeat(2,1fr); }
@media (min-width: 1020px){ .process { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.step .step-num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-green); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
}
.step .step-num::before { content: "0" counter(step); }
.step h4 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .96rem; }

/* ============================================================
   PLACEHOLDER IMAGE BLOCKS  (swap for real photos)
   ============================================================ */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: linear-gradient(135deg, #0c5c33, #16a34a 70%, #4ade80);
  color: rgba(255,255,255,.92);
}
.ph.ph--sky { background: linear-gradient(135deg, #1e5fa8, #0b3d72 80%); }
.ph.ph--sun { background: linear-gradient(135deg, var(--sun-500), var(--sun-600)); }
.ph.ph--night{ background: linear-gradient(135deg, #0a1f16, #0c5c33); }
.ph::after { /* panel texture */
  content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 30px 30px;
}
.ph .ph-ico { position: relative; z-index: 1; width: 56px; height: 56px; opacity: .9; }
.ph .ph-tag {
  position: absolute; z-index: 2; bottom: 10px; left: 10px;
  font-family: var(--font-head); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0,0,0,.35); color: #fff; padding: 4px 9px; border-radius: 7px;
}

/* ============================================================
   PROJECT GALLERY
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--slate);
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: all .15s;
}
.filter-btn:hover { border-color: var(--green-500); color: var(--green-700); }
.filter-btn.active { background: var(--grad-green); color: #fff; border-color: transparent; }
.gallery { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 660px){ .gallery { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .gallery { grid-template-columns: repeat(3,1fr); } }
.project {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project .ph { aspect-ratio: 16/11; border-radius: 0; }
.project .meta { padding: 22px; }
.project .meta .cat { font-family: var(--font-head); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green-700); }
.project .meta h4 { font-size: 1.2rem; margin: 7px 0 6px; }
.project .meta p { color: var(--slate); font-size: .94rem; }
.project .meta .pstats { display: flex; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.project .meta .pstats span { font-size: .82rem; color: var(--muted); }
.project .meta .pstats b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.is-hidden { display: none !important; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative;
}
.quote .stars { color: var(--sun-500); display: flex; gap: 3px; margin-bottom: 14px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { color: var(--ink); font-size: 1.04rem; }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-green); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote .who b { font-family: var(--font-head); display: block; font-size: .98rem; }
.quote .who span { color: var(--muted); font-size: .86rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--grad-hero); color: #fff; padding: 60px 44px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-banner::before { content: ""; position: absolute; top: -120px; left: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.5), transparent 65%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-banner p { color: #d6f0e2; max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { background: var(--grad-hero); color: #fff; padding: 70px 0 78px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -140px; right: -90px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.45), transparent 62%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin: 16px 0 14px; }
.page-hero p { color: #d6f0e2; font-size: 1.12rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: #bfe2cf; }
.crumbs a:hover { color: #fff; }

/* ============================================================
   VALUES / ABOUT
   ============================================================ */
.value { display: flex; gap: 16px; align-items: flex-start; }
.value .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.value .ico svg { width: 26px; height: 26px; }
.value h4 { font-size: 1.14rem; margin-bottom: 6px; }
.value p { color: var(--slate); font-size: .96rem; }
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 920px){ .split { grid-template-columns: 1fr 1fr; } .split.reverse .split-media { order: 2; } }
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .92rem;
}
.badge svg { width: 22px; height: 22px; color: var(--green-600); }

/* Team */
.team-card { text-align: center; }
.team-card .ph { aspect-ratio: 1; border-radius: var(--radius); margin-bottom: 16px; }
.team-card h4 { font-size: 1.16rem; }
.team-card span { color: var(--green-700); font-family: var(--font-head); font-weight: 500; font-size: .92rem; }
.team-card p { color: var(--slate); font-size: .92rem; margin-top: 8px; }

/* ============================================================
   FORMS / CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 920px){ .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info .info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-info .info-row .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.contact-info .info-row .ico svg { width: 24px; height: 24px; }
.contact-info .info-row h4 { font-size: 1.06rem; margin-bottom: 3px; }
.contact-info .info-row p, .contact-info .info-row a { color: var(--slate); }
.contact-info .info-row a:hover { color: var(--green-700); }

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px){ .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; }
.field label .req { color: var(--sun-600); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: 13px 15px; border: 1.6px solid var(--line);
  border-radius: 12px; background: #fcfefc; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(34,197,94,.14);
}
.form-note { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: .95rem; margin-bottom: 18px; }
.form-status.show { display: block; }
.form-status.ok { background: var(--green-50); color: var(--green-800); border: 1px solid #bfe6cd; }
.form-status.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: #ffffff; padding: 70px 0 30px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 720px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 980px){ .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer .brand { display: inline-block; background: #fff; padding: 8px 13px; border-radius: 12px; margin-bottom: 16px; }
.site-footer .brand-logo { height: 50px; }
.site-footer .brand-name .bn-1 { color: #fff; }
.site-footer .brand-name .bn-2 { color: var(--green-400); }
.site-footer .brand-name { border-bottom-color: var(--green-500); }
.site-footer .brand-tag { color: #ffffff; }
.site-footer p { color: #ffffff; font-size: .95rem; max-width: 320px; }
.footer-col h5 { font-family: var(--font-head); color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #ffffff; padding: 6px 0; font-size: .95rem; transition: color .15s; }
.footer-col a:hover { color: var(--sun-300); }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s, transform .15s; }
.social a:hover { background: var(--green-600); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #ffffff; }
.footer-bottom a:hover { color: var(--sun-300); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Misc ---- */
.lead-list { display: grid; gap: 12px; margin-top: 8px; }
.lead-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--slate); }
.lead-list svg { width: 21px; height: 21px; color: var(--green-600); flex: none; margin-top: 3px; }
.mt-0 { margin-top: 0; }
.text-muted { color: var(--muted); }

/* ============================================================
   IMAGE-LED HERO  (photographic)
   ============================================================ */
.hero-photo { position: relative; min-height: 90vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: #06150e; }
.hero-photo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(4,22,13,.95) 0%, rgba(6,46,28,.86) 38%, rgba(7,58,33,.55) 72%, rgba(9,70,40,.3) 100%); }
.hero-photo .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero-photo .eyebrow { color: #fff; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.32); }
.hero-photo h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 22px 0 18px; max-width: 17ch; }
.hero-photo h1 .accent { color: var(--sun-300); }
.hero-photo .lead { font-size: 1.18rem; color: #dcf0e5; max-width: 600px; }
.hero-photo .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-photo .hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero-photo .hero-trust div { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #cbe9d8; }
.hero-photo .hero-trust svg { width: 20px; height: 20px; color: var(--sun-300); flex: none; }
@media (max-width: 680px){
  .hero-photo { min-height: 0; }
  .hero-photo .container { padding-top: 32px; padding-bottom: 36px; }
  .hero-photo h1 { font-size: 1.65rem; margin: 14px 0 12px; line-height: 1.15; }
  .hero-photo .lead { font-size: .95rem; line-height: 1.5; }
  .hero-photo .eyebrow { font-size: .72rem; padding: 5px 11px; }
  .hero-photo .hero-actions { margin-top: 20px; }
  .hero-photo .hero-actions .btn { padding: 12px 22px; font-size: .92rem; }
  .hero-photo .hero-trust { gap: 14px; margin-top: 24px; flex-direction: column; }
  .hero-photo .hero-trust div { font-size: .85rem; gap: 8px; }
  .hero-photo .hero-trust svg { width: 17px; height: 17px; }
}

/* ---- Mobile: stop horizontal slide-in reveals from overflowing the screen ---- */
@media (max-width: 768px){
  html, body { overflow-x: hidden; max-width: 100%; }
  .reveal--left, .reveal--right { transform: translateY(26px); }
  .reveal--left.in, .reveal--right.in { transform: none; }
}

/* ============================================================
   COVER IMAGES / MEDIA FRAMES
   ============================================================ */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); display: block; }
.svc-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; box-shadow: var(--shadow-sm); }
.project .p-img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; }

/* ============================================================
   CHECK GRID  (Why choose us)
   ============================================================ */
.checks { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px){ .checks { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.check:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.check .tick { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-green); color: #fff; display: grid; place-items: center; flex: none; }
.check .tick svg { width: 18px; height: 18px; }
.check b { font-family: var(--font-head); font-size: 1.04rem; font-weight: 600; }

/* ============================================================
   CAPABILITY LIST
   ============================================================ */
.caps { display: grid; gap: 14px; }
@media (min-width: 680px){ .caps { grid-template-columns: repeat(2, 1fr); } }
.caps .cap { display: flex; gap: 13px; align-items: center; padding: 17px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 500; box-shadow: var(--shadow-sm); }
.caps .cap svg { width: 24px; height: 24px; color: var(--sun-500); flex: none; }

/* ============================================================
   CLIENTS / LOGO ROW
   ============================================================ */
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 680px){ .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px){ .logos { grid-template-columns: repeat(5, 1fr); } }
.logo-box { height: 92px; border: 1.5px dashed #c9d8cf; border-radius: var(--radius-sm); display: grid; place-items: center; color: #8aa295; font-family: var(--font-head); font-weight: 600; font-size: .8rem; background: #fafdfb; text-align: center; padding: 10px; }

/* ============================================================
   CTA / CAREERS WITH PHOTO BACKGROUND
   ============================================================ */
.cta-banner--photo { position: relative; }
.cta-banner--photo::before { display: none; }
.cta-banner--photo .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-banner--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(5,30,18,.93), rgba(8,62,36,.72)); }
.cta-banner--photo > * { position: relative; z-index: 2; }

/* ============================================================
   PARALLAX + EXTRA MOTION
   ============================================================ */
.parallax { position: relative; overflow: hidden; }
.parallax-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.parallax-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parallax-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.parallax-overlay--dark { background: linear-gradient(180deg, rgba(5,16,11,.93) 0%, rgba(7,42,25,.84) 50%, rgba(5,16,11,.93) 100%); }
.parallax > .container { position: relative; z-index: 2; }

/* Hero image gets extra height so it can drift without exposing edges */
.hero-photo .hero-img[data-parallax] { height: 142%; top: -21%; will-change: transform; }

/* Careers / CTA photo banner parallax */
.cta-banner { overflow: hidden; }
.cta-banner--photo .cta-bg[data-parallax] { height: 150%; top: -25%; will-change: transform; }

/* Staggered reveal cascade is applied via JS (transition-delay).
   Add a gentle scale to image reveals for extra life. */
.split-media.reveal img, .svc-media.reveal img { transition: transform .7s ease; }

@media (prefers-reduced-motion: reduce){
  [data-parallax], .parallax-bg { transform: none !important; }
}

/* ============================================================
   DIRECTIONAL SLIDE-IN REVEALS  (scroll-in motion)
   Used together with .reveal (which provides opacity + transition).
   ============================================================ */
.reveal--left  { transform: translateX(-56px); }
.reveal--right { transform: translateX(56px); }
.reveal--scale { transform: scale(.92); }
.reveal--up    { transform: translateY(48px); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in, .reveal--up.in { transform: none; }

/* ============================================================
   MISSION PARALLAX BAND  (green photo band above About)
   ============================================================ */
.parallax-overlay--green { background: linear-gradient(120deg, rgba(5,38,22,.9) 0%, rgba(7,60,36,.7) 58%, rgba(9,72,42,.52) 100%); }
.mission-section { min-height: 60vh; display: flex; align-items: center; }
.mission { text-align: center; color: #fff; max-width: 780px; margin-inline: auto; }
.mission .eyebrow { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
.mission h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 18px 0 16px; }
.mission p { color: #dcefe2; font-size: 1.14rem; margin-bottom: 28px; }

/* ============================================================
   INDUSTRIES WE SERVE
   ============================================================ */
.industries { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px){ .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px){ .industries { grid-template-columns: repeat(3, 1fr); } }
.industry { display: flex; gap: 15px; align-items: center; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.industry .ico svg { width: 27px; height: 27px; }
.industry b { font-family: var(--font-head); font-size: 1.04rem; font-weight: 600; display: block; }
.industry span { color: var(--muted); font-size: .88rem; }
@media (max-width: 559px){ .industry { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; } .industry .ico { width: 42px; height: 42px; } .industry .ico svg { width: 22px; height: 22px; } .industry b { font-size: .95rem; } .industry span { font-size: .78rem; } }

/* ---- Mobile: compact 2-col cards (services, why-choose, process) ---- */
@media (max-width: 559px){
  .grid { gap: 14px; }
  .card { padding: 18px 16px; border-radius: 16px; }
  .card .ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
  .card .ico svg { width: 22px; height: 22px; }
  .card h3 { font-size: 1rem; margin-bottom: 6px; line-height: 1.2; }
  .card p { font-size: .82rem; line-height: 1.45; }

  .checks { gap: 12px; }
  .check { padding: 14px 12px; gap: 10px; border-radius: 14px; flex-direction: column; align-items: flex-start; }
  .check .tick { width: 26px; height: 26px; border-radius: 8px; }
  .check .tick svg { width: 15px; height: 15px; }
  .check b { font-size: .9rem; line-height: 1.25; }

  .process { gap: 14px; }
  .step { padding: 18px 16px; border-radius: 16px; }
  .step .step-num { width: 38px; height: 38px; border-radius: 11px; font-size: 1rem; margin-bottom: 10px; }
  .step h4 { font-size: 1rem; margin-bottom: 5px; }
  .step p { font-size: .82rem; line-height: 1.45; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.faq-q .pm { width: 24px; height: 24px; flex: none; color: var(--green-600); transition: transform .3s ease; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--slate); margin: 0; }
.faq-item.open .faq-a { max-height: 340px; }

/* ============================================================
   TEAM AVATAR PLACEHOLDER  (no repeated stock photos)
   ============================================================ */
.team-avatar { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(140deg, var(--green-50), #e4f4ea); display: grid; place-items: center; margin-bottom: 16px; border: 1px solid var(--line); }
.team-avatar svg { width: 44%; height: 44%; color: var(--green-600); opacity: .7; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 4px 10px rgba(0,0,0,.18);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, .55), 0 6px 14px rgba(0,0,0,.22); color: #fff; }
.wa-fab svg { width: 34px; height: 34px; }
.wa-fab::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; background: rgba(37, 211, 102, .35);
  z-index: -1; animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(.9); opacity: .75; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 680px){
  .wa-fab { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .wa-fab svg { width: 30px; height: 30px; }
}
