/* =========================================================
   SYO TEK — Design tokens
   Solar installation / digital signage / profile & track light
   installer based in Auchi, Edo State.

   Palette is grounded in the logo (the white shaka sign and
   glowing bulb) and the trade itself: a warm, sunlit cream
   "daylight" base, brass/amber for solar + light, a teal/
   magenta pair reserved only for RGB/profile-light accents.
   ========================================================= */

:root{
  --bg:        #FAF6EC;   /* warm daylight cream, not white-white */
  --bg-panel:  #F2EBD8;
  --bg-panel-2:#EAE0C7;
  --bg-raised: #E3D6B6;

  --ink:       #241F14;   /* warm near-black text, matches logo linework */
  --ink-dim:   #4E4735;
  --ink-faint: #756B54;

  --line:      #D9CCA6;
  --line-soft: #E7DCBE;

  --gold:      #C98B2E;   /* solar / light accent — used as fills */
  --gold-ink:  #8A5C16;   /* same hue, darkened for use as text/icons on cream */
  --gold-deep: #A16A1E;
  --gold-pale: #F1DFA9;

  --teal:      #128077;   /* RGB / profile-light accent pair, darkened for light bg */
  --magenta:   #A83370;

  --whatsapp:  #25D366;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1200px;
  --edge: clamp(20px, 5vw, 64px);

  --radius-s: 3px;
  --radius-m: 6px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

/* ---------- Solar-cell texture, used sparingly ---------- */
.cell-grid{
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 63px, rgba(154,102,20,0.12) 63px, rgba(154,102,20,0.12) 64px),
    repeating-linear-gradient(0deg, transparent, transparent 63px, rgba(154,102,20,0.12) 63px, rgba(154,102,20,0.12) 64px);
  background-position: center;
}

/* ---------- Type scale ---------- */
h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
}

h1{ font-size: clamp(2.6rem, 6vw, 5rem); }
h2{ font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3{ font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4{ font-size: 1.05rem; letter-spacing: 0.02em; }

p{ margin: 0; }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-dim); max-width: 46ch; }
.body-copy{ max-width: 62ch; color: var(--ink-dim); }

.rule{
  width: 64px;
  height: 4px;
  background: var(--gold);
  border: none;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary{ background: var(--whatsapp); color: #0B1C12; }
.btn-primary:hover{ background: #2fe07a; }

.btn-gold{ background: var(--gold); color: #201705; }
.btn-gold:hover{ background: var(--gold-pale); }

.btn-outline{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover{ border-color: var(--gold-ink); color: var(--gold-ink); }

.btn svg{ width: 18px; height: 18px; flex: none; }

/* ---------- Header / nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250,246,236,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ height: 42px; width: auto; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.brand-word span{ color: var(--gold-ink); }

.main-nav{ display: flex; align-items: center; gap: 30px; }
.main-nav a{
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-dim);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active{ color: var(--ink); border-color: var(--gold); }

.header-cta{ display: flex; align-items: center; gap: 18px; }
.header-cta .btn{ padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--ink);
}

@media (max-width: 920px){
  .main-nav{
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--edge) 20px;
    display: none;
  }
  .main-nav.open{ display: flex; }
  .main-nav a{ padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle{ display: inline-flex; }
  .header-cta .btn-text{ display: none; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 72px 0 90px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow{
  font-family: var(--font-display);
  color: var(--gold-ink);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero h1{ margin-bottom: 22px; }
.hero .lede{ margin-bottom: 34px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-stats{ display: flex; gap: 34px; flex-wrap: wrap; }
.stat b{
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
}
.stat span{ font-size: 0.85rem; color: var(--ink-faint); }

.hero-mosaic{
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hero-mosaic .tile{
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-panel-2);
  aspect-ratio: 1 / 1;
}
.hero-mosaic .tile:nth-child(1){ grid-row: span 2; aspect-ratio: 1 / 2; transform: translateY(-14px); }
.hero-mosaic .tile:nth-child(3){ transform: translateY(14px); }
.hero-mosaic img{ width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-mosaic .tile:nth-child(1),
  .hero-mosaic .tile:nth-child(3){ transform: none; }
}

/* ---------- Placeholder photo blocks (until real photos are added) ---------- */
.ph{
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, var(--bg-raised), var(--bg-panel-2));
  color: var(--ink-faint);
}
.ph::before{
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(154,102,20,0.10) 0 2px, transparent 2px 14px);
}
.ph svg{ width: 34%; height: 34%; opacity: 0.55; position: relative; z-index: 1; }

/* ---------- Section scaffolding ---------- */
section{ padding: 84px 0; }
.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}
.section-head .rule{ margin-bottom: 18px; }
.on-panel{ background: var(--bg-panel); }

/* ---------- Trust strip ---------- */
.trust-strip{
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 30px 0;
}
.trust-strip .wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.trust-strip .stat b{ font-size: 1.6rem; }

/* ---------- Service panels ---------- */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-panel{
  background: var(--bg-panel);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.service-panel .icon{ width: 46px; height: 46px; color: var(--gold-ink); }
.service-panel h3{ text-transform: none; }
.service-panel p{ color: var(--ink-dim); flex-grow: 1; }
.service-panel .tag-row{ display: flex; gap: 8px; flex-wrap: wrap; }
.tag{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
}
.service-panel.rgb .icon{ color: var(--teal); }
.service-panel .go{
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-ink); font-weight: 700; font-size: 0.92rem;
}
.service-panel.rgb .go{ color: var(--teal); }
.service-panel .go svg{ width: 16px; height: 16px; transition: transform 0.15s ease; }
.service-panel:hover .go svg{ transform: translateX(4px); }

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

/* ---------- Gallery ---------- */
.filter-row{ display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn{
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font-size: 0.88rem;
  font-weight: 600;
}
.filter-btn.active, .filter-btn:hover{ border-color: var(--gold-ink); color: var(--gold-ink); }

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid .g-item{
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.gallery-grid .g-item:nth-child(4n+1){ grid-row: span 2; aspect-ratio: 4/6; }

@media (max-width: 980px){ .gallery-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } .gallery-grid .g-item:nth-child(4n+1){ aspect-ratio: 4/3; grid-row: auto; } }

/* ---------- Product cards ---------- */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card{
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .thumb{ aspect-ratio: 1/1; }
.product-body{ padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.product-body h4{ text-transform: none; font-size: 1.05rem; }
.product-body .cat{ font-size: 0.76rem; color: var(--gold-ink); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.product-body .price{ font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); margin-top: auto; }
.product-body .price small{ font-family: var(--font-body); font-size: 0.75rem; color: var(--ink-faint); font-weight: 500; }
.buy-now{
  margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: var(--radius-s);
  background: var(--whatsapp); color: #0B1C12;
  font-weight: 700; font-size: 0.9rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.buy-now:hover{ background: #2fe07a; transform: translateY(-1px); }
.buy-now svg{ width: 16px; height: 16px; }

@media (max-width: 980px){ .product-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .product-grid{ grid-template-columns: 1fr; } }

/* ---------- Process (genuinely sequential) ---------- */
.process-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  counter-reset: step;
}
.process-step{ position: relative; padding-top: 8px; border-top: 3px solid var(--line); }
.process-step.active-line{ border-color: var(--gold); }
.process-step .num{
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.process-step h3{ text-transform: none; margin-bottom: 10px; }
.process-step p{ color: var(--ink-dim); }

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

/* ---------- Service area ---------- */
.area-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.area-list{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area-list span{
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--ink-dim);
}
.map-frame{
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; }

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

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--gold);
  color: #201705;
  padding: 64px 0;
}
.cta-banner .wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2{ color: #201705; }
.cta-banner p{ color: #4a380f; margin-top: 10px; max-width: 44ch; }
.cta-banner .btn-primary{ box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* ---------- Footer ---------- */
.site-footer{ background: #EEE1BC; border-top: 1px solid var(--line); padding: 64px 0 30px; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h4{ color: var(--ink); margin-bottom: 16px; text-transform: none; font-family: var(--font-body); font-weight: 700; }
.footer-grid p, .footer-grid a{ color: var(--ink-faint); font-size: 0.92rem; }
.footer-grid li{ margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--gold-ink); }
.footer-brand .brand{ margin-bottom: 16px; }
.footer-brand p{ max-width: 34ch; }
.footer-bottom{
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--ink-faint);
}

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

/* ---------- Floating WhatsApp button ---------- */
.wa-float{
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  z-index: 70;
  transition: transform 0.15s ease;
}
.wa-float:hover{ transform: scale(1.07); }
.wa-float svg{ width: 30px; height: 30px; color: #0B1C12; }

/* ---------- Page header (inner pages) ---------- */
.page-header{
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb{ font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a:hover{ color: var(--gold-ink); }
.page-header .lede{ margin-top: 16px; }

/* ---------- Feature list (used on service pages) ---------- */
.feature-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin-top: 10px; }
.feature-item{ display: flex; gap: 14px; }
.feature-item .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 8px; }
.feature-item.rgb .dot{ background: var(--teal); }
.feature-item h4{ text-transform: none; margin-bottom: 4px; }
.feature-item p{ color: var(--ink-dim); font-size: 0.94rem; }
@media (max-width: 700px){ .feature-list{ grid-template-columns: 1fr; } }

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; } }
.split.reverse .split-media{ order: 2; }
.split-media{ border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }

.rgb-chip-row{ display:flex; gap:8px; margin-top: 16px; }
.rgb-chip{ width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }

/* ---------- Contact page ---------- */
.contact-layout{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 900px){ .contact-layout{ grid-template-columns: 1fr; } }
.contact-card{ background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 32px; }
.contact-card h3{ text-transform: none; margin-bottom: 8px; }
.contact-card .row{ display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.contact-card .row:first-of-type{ border-top: none; }
.contact-card .row svg{ width: 20px; height: 20px; color: var(--gold-ink); flex: none; margin-top: 2px; }
.contact-card .row a, .contact-card .row span{ color: var(--ink-dim); }

.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-dim); }
.field input, .field select, .field textarea{
  width: 100%;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field textarea{ resize: vertical; min-height: 110px; }

/* utility */
.center{ text-align: center; }
.mt-lg{ margin-top: 60px; }
