:root {
  --ink: #161616;
  --orange: #f4661a;
  --paper: #faf7f1;
  --charcoal: #4a4642;
  --silver: #c9cdd0;
  --glass: #bfe0ea;
  --glass-deep: #8fbfcf;
  --white: #ffffff;
  --line: #e4dfd5;
  --radius: 14px;
  --maxw: 1180px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* language toggle logic */
.sw,
.en {
  display: inline;
}
html.lang-sw .en,
html.lang-sw .en-block {
  display: none !important;
}
html.lang-en .sw,
html.lang-en .sw-block {
  display: none !important;
}
.sw-block,
.en-block {
  display: block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}
.brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  color: var(--charcoal);
  text-transform: uppercase;
  margin-top: 2px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 600;
  font-size: 0.94rem;
}
.navlinks a {
  position: relative;
  padding: 6px 0;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.navlinks a:hover::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 700;
}
.lang-toggle button {
  padding: 7px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  color: var(--ink);
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--white);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- HERO ---------- */
.hero {
  padding: 86px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 20px;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
h1 .accent {
  color: var(--orange);
}
.hero p.lead {
  font-size: 1.14rem;
  color: var(--charcoal);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats div {
  border-left: 3px solid var(--orange);
  padding-left: 14px;
}
.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}
.hero-stats span {
  font-size: 0.82rem;
  color: var(--charcoal);
}

/* window illustration - signature element */
.window-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.window-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1.15;
  border: 14px solid var(--ink);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 18px 22px 0 rgba(22, 22, 22, 0.08);
}
.window-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.window-frame::before,
.window-frame::after {
  content: "";
  position: absolute;
  background: var(--ink);
  z-index: 2;
}
.window-frame::before {
  /* vertical mullion */
  left: 50%;
  top: 0;
  bottom: 0;
  width: 12px;
  transform: translateX(-50%);
}
.window-frame::after {
  /* horizontal mullion */
  top: 50%;
  left: 0;
  right: 0;
  height: 12px;
  transform: translateY(-50%);
}
.glint {
  position: absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 220%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(18deg);
  animation: sweep 5.5s ease-in-out infinite;
}
@keyframes sweep {
  0% {
    left: -60%;
  }
  45% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
.window-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(244, 102, 26, 0.35);
  transform: rotate(-3deg);
}

section {
  padding: 88px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 50px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-head p {
  color: var(--charcoal);
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.tag {
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}
.about-visual {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}
.about-photo {
  width: 100%;
  border-radius: 8px;
  border: 3px solid var(--ink);
  overflow: hidden;
  position: relative;
  aspect-ratio: 0.86;
}
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 16px 30px rgba(22, 22, 22, 0.08);
}
.icon-window {
  width: 52px;
  height: 52px;
  border: 4px solid var(--orange);
  border-radius: 6px;
  position: relative;
  margin-bottom: 22px;
}
.icon-window::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  transform: translateX(-50%);
}
.icon-window::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: translateY(-50%);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--charcoal);
  font-size: 0.94rem;
}

/* ---------- WHY US ---------- */
.why {
  background: var(--ink);
  color: var(--white);
}
.why .kicker {
  color: var(--orange);
}
.why .section-head p {
  color: #c9c6c0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px;
}
.why-num {
  font-family: "IBM Plex Mono", monospace;
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.why-card p {
  color: #c9c6c0;
  font-size: 0.93rem;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gcard {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--ink);
  position: relative;
  aspect-ratio: 4/3.2;
}
.gcard .pane {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    var(--silver) 0%,
    var(--glass) 45%,
    var(--glass-deep) 100%
  );
}
.gcard .pane::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--ink);
  transform: translateX(-50%);
}
.gcard .pane::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--ink);
  transform: translateY(-50%);
}
.gcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gcard:hover img {
  transform: scale(1.06);
}
.gcard .glabel {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(22, 22, 22, 0.82);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}
.gcard .gshine {
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(18deg);
  transition: left 1.1s ease;
}
.gcard:hover .gshine {
  left: 130%;
}
.gallery-note {
  margin-top: 26px;
  text-align: center;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-style: italic;
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h2 {
  margin-bottom: 18px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row .ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.contact-row strong {
  display: block;
  font-size: 0.98rem;
}
.contact-row span {
  color: var(--charcoal);
  font-size: 0.92rem;
}
.contact-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.18;
}
.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 800;
}
.contact-card p {
  color: #c9c6c0;
  margin-bottom: 26px;
  font-size: 0.95rem;
}
.whatsapp-btn {
  background: var(--orange);
  color: var(--white);
  padding: 16px 26px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.18s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-3px);
}

footer {
  background: var(--ink);
  color: #c9c6c0;
  padding: 44px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
}
.footer-brand img {
  height: 36px;
}
footer .navlinks {
  font-size: 0.85rem;
  font-weight: 500;
}
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}
.footer-bottom a {
  color: var(--orange);
  font-weight: 600;
}


@media (max-width: 880px) {
  header {
    padding: 10px 0;
  }

  /* Header Layout */
  nav.wrap {
    position: relative;
    height: auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Brand / Logo Area */
  .brand {
    font-size: 0.85rem;
    gap: 8px;
    max-width: 60%;
  }

  .brand img {
    height: 38px;
    width: 38px;
  }

  .brand small {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }

  /* Action Buttons Container (Right Side) */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .lang-toggle button {
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  /* Hide header WhatsApp button on small mobile to prevent clutter */
  .btn-hide-mobile {
    display: none !important;
  }

  /* Hamburger Menu Button */
  .burger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
  }

  .burger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--ink);
    margin: 2.5px 0;
    border-radius: 2px;
  }

  /* Mobile Dropdown Menu Card */
  .navlinks {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: var(--white);
    flex-direction: column;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    gap: 6px;
    z-index: 100;
  }

  .navlinks.active {
    display: flex;
  }

  /* Nav Links & Orange Hover State */
  .navlinks li a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--ink);
    transition: all 0.2s ease;
  }

  .navlinks li a:hover,
  .navlinks li a:active {
    color: var(--orange);
    background: rgba(244, 102, 26, 0.08); /* Light orange background glow */
    padding-left: 22px; /* Smooth right slide animation */
  }

  .navlinks a::after {
    display: none; /* Hide desktop underline style */
  }

  /* Page Sections & Grids Responsive Fixes */
  .hero {
    padding: 40px 0 30px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .window-art {
    order: -1;
    margin-bottom: 10px;
  }

  .window-badge {
    left: 10px;
    bottom: -15px;
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  .about .wrap,
  .services-grid,
  .why-grid,
  .contact .wrap {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Extra small screens (Phones under 520px) */
@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 22px;
  }
}