*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a1a1a;
  --mid: #555;
  --muted: #888;
  --border: #e5e5e5;
  --bg: #fafafa;
  --white: #ffffff;
  --gold: #c9a84c;
  --gold-dark: #b8913e;
  --gold-light: #f0e6cc;
  --section-pad: 88px 24px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.nav-quote {
  background: var(--gold);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 2px;
  font-weight: 600;
}

.nav-links a.nav-quote:hover { background: var(--gold-dark); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ── GENERAL LINKS ── */
p a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

p a:hover { text-decoration: underline; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--gold);
  transition: background 0.2s;
}

.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.text-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('Solar panel.jpeg') center/cover no-repeat;
  filter: brightness(0.38);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 760px;
}

.hero-logo-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.45);
  padding: 14px;
}

.hero-logo { width: 100%; height: 100%; object-fit: contain; display: block; }

.hero-place {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero h1 .line-strong { font-weight: 600; display: block; }

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── SECTIONS ── */
section { padding: var(--section-pad); }
.tint { background: var(--bg); }

.container { max-width: 960px; margin: 0 auto; }

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  line-height: 1.25;
}

h2 strong { font-weight: 600; }

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.lead {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 680px;
  margin-bottom: 28px;
}

p {
  color: var(--mid);
  margin-bottom: 16px;
  max-width: 680px;
}

/* ── GRIDS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.card p { font-size: 0.92rem; margin-bottom: 14px; }
.card .text-link:first-of-type { margin-top: auto; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 40px;
}

.stat { background: var(--white); padding: 28px 24px; }

.stat .number {
  font-size: 2.1rem;
  font-weight: 300;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 10px;
}

.stat .label { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.stat p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Mission pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.pillar {
  padding: 22px 20px 22px 0;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

/* Innovation tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 20px;
  max-width: 760px;
}

.tags li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--ink);
}

/* Values */
.values-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.value-word {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ink);
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  line-height: 1.2;
}

/* Bullet list */
.bullet-list { list-style: none; margin-top: 20px; max-width: 680px; }

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--mid);
  font-size: 0.95rem;
}

.bullet-list li:last-child { border-bottom: none; }

.bullet-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 9px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Legal block */
.legal-block {
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  background: var(--gold-light);
  border-radius: 0 4px 4px 0;
  margin-top: 24px;
}

.legal-block p { margin: 0; font-size: 0.9rem; color: var(--ink); }

/* ── OUR STORY ── */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.gallery figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }

.story-photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 8px 0 36px;
  max-height: 520px;
  object-fit: cover;
}

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px;
}

.founder-card .name { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.founder-card .role { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.founder-card p { font-size: 0.92rem; margin: 0; }

.partners {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.partners .partner-label { font-size: 0.85rem; color: var(--muted); }

.partner-logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 14px;
  height: 54px;
  text-decoration: none;
}

.partner-logo-pill img { height: 34px; width: auto; max-width: 110px; object-fit: contain; display: block; }

/* ── CONTACT ── */
.contact { background: #1a1a1a; color: var(--white); padding: 72px 24px; }

.contact .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact h2 { color: var(--white); margin-bottom: 8px; }
.contact p { color: rgba(255,255,255,0.65); margin: 0; }

.contact-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.contact-phone {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.contact-phone:hover { color: var(--gold); }

.contact-email { font-size: 1rem; color: rgba(255,255,255,0.8); text-decoration: none; }
.contact-email:hover { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: #111;
  padding: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-note { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }

.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 15px; }
  .nav-links a.nav-quote { display: inline-block; margin-top: 10px; padding: 10px 18px; }

  .two-col, .founders { grid-template-columns: 1fr; gap: 24px; }
  footer { flex-direction: column; align-items: flex-start; }
  .contact .container { flex-direction: column; align-items: flex-start; }
}

/* ── MULTI-PAGE ADDITIONS ── */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.page-intro {
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--nav-h) + 72px) 24px 64px;
}

.page-intro h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--white);
}

.page-intro h1 strong { font-weight: 600; }
.page-intro p { color: rgba(255,255,255,0.72); margin: 0; font-size: 1.05rem; }
.page-intro .section-label { color: var(--gold); }

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.contact-details .card a { color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.contact-details .card a:hover { color: var(--gold-dark); }


.spec-table { width: 100%; max-width: 680px; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.spec-table thead th { font-weight: 600; color: var(--ink); background: var(--gold-light); }
.spec-table tbody th { font-weight: 500; color: var(--ink); }
.spec-table td { color: var(--mid); }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 28px 20px; text-align: center; }
.team-card .avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--gold-light); color: var(--gold-dark); font-size: 1.6rem; font-weight: 600; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.team-card .name { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.team-card .role { font-size: 0.85rem; color: var(--muted); }

/* ── QUOTES ── */
.quote-card { margin: 0; background: var(--bg); border-radius: 4px; padding: 28px; }
.quote-card blockquote { font-size: 1rem; color: var(--ink); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.quote-card figcaption { font-size: 0.85rem; font-weight: 600; color: var(--gold-dark); }

/* ── NAV BREAKPOINT (six tabs) ── */
@media (max-width: 1100px) {
  nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 15px; }
  .nav-links a.nav-quote { display: inline-block; margin-top: 10px; padding: 10px 18px; }
}

/* ── TEAM PHOTOS ── */
.team-card .avatar { width: 120px; height: 120px; overflow: hidden; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.team-card .avatar.has-photo { background: var(--border); }
