:root {
  --green: #0d7a3e;
  --green-bright: #16a34a;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --dark: #0a1f14;
  --text: #1a2e22;
  --muted: #4a6358;
  --white: #ffffff;
  --font: 'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

.container { width: min(1200px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 46px; }
.nav { display: flex; gap: 1.75rem; list-style: none; }
.nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.header.scrolled .nav a { color: var(--muted); }
.nav a:hover,
.nav a.active { color: var(--gold-light); }
.header.scrolled .nav a:hover,
.header.scrolled .nav a.active { color: var(--green); font-weight: 600; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5); }
.btn-white {
  background: var(--white);
  color: var(--green);
}
.btn-outline-w {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.header.scrolled .menu-toggle { color: var(--green); }

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--green) 45%, var(--gold) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding: 8rem 0 10rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,0.15), transparent 40%);
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -150px; right: -100px;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero h1 span {
  display: block;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-motto {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: inline-block;
}
.hero-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
}
.hero-card img {
  width: min(260px, 90%);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}
.hero-card p {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

/* Bento */
.bento-section { padding: 5rem 0; margin-top: -4rem; position: relative; z-index: 3; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-item {
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid #e8f0eb;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(13, 122, 62, 0.12); }
.bento-item.large { grid-column: span 2; grid-row: span 2; background: linear-gradient(145deg, var(--green), var(--green-bright)); color: var(--white); border: none; }
.bento-item.large h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.bento-item.large p { opacity: 0.9; margin-bottom: 1.5rem; }
.bento-item.large ul { list-style: none; }
.bento-item.large li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.bento-item.large li::before { content: '→'; color: var(--gold-light); }
.bento-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.bento-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.bento-item p { font-size: 0.85rem; color: var(--muted); }
.bento-item.large p { color: rgba(255,255,255,0.9); }

/* Sections */
section { padding: 5rem 0; }
.section-head { margin-bottom: 3rem; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-head h2 em { font-style: normal; color: var(--green); }
.section-head p { color: var(--muted); max-width: 560px; font-size: 1.05rem; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, #ecfdf5, #fef9c3);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
}
.about-visual::before {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  background: var(--gold);
  border-radius: 16px;
  top: -20px; right: -20px;
  opacity: 0.3;
}
.about-visual img { width: 100%; max-width: 280px; display: block; margin: 0 auto; }
.about-content p { color: var(--muted); margin-bottom: 1rem; font-size: 1.02rem; }
.check-list { list-style: none; margin-top: 1.5rem; }
.check-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  font-weight: 500;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 24px; height: 24px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.svc-tile {
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.svc-tile:nth-child(1) { background: #f0fdf4; border: 2px solid #bbf7d0; }
.svc-tile:nth-child(2) { background: #fffbeb; border: 2px solid #fde68a; }
.svc-tile:nth-child(3) { background: #ecfdf5; border: 2px solid #86efac; }
.svc-tile .num {
  font-size: 4rem;
  font-weight: 700;
  opacity: 0.12;
  position: absolute;
  top: 0.5rem; right: 1rem;
  line-height: 1;
}
.svc-tile h3 { font-size: 1.25rem; margin-bottom: 1rem; position: relative; }
.svc-tile ul { list-style: none; position: relative; }
.svc-tile li { font-size: 0.88rem; color: var(--muted); padding: 0.3rem 0; }

.why-diagonal {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin: 2rem 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
}
.why-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--gold-light); }
.why-card p { font-size: 0.88rem; opacity: 0.75; }

.apps-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.apps-scroll::-webkit-scrollbar { height: 6px; }
.apps-scroll::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }
.app-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  min-width: 180px;
  text-align: center;
  transition: transform 0.2s;
}
.app-pill:hover { transform: scale(1.05); }
.app-pill .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.app-pill span { font-size: 0.85rem; font-weight: 600; }

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.wf-card {
  background: var(--white);
  border: 2px solid #e8f0eb;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s;
}
.wf-card:hover {
  border-color: var(--green);
  background: #f0fdf4;
  transform: translateY(-4px);
}
.wf-card .step {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin: 0 auto 0.75rem;
  font-size: 0.9rem;
}
.wf-card p { font-size: 0.78rem; font-weight: 600; line-height: 1.3; }

/* Workflow section — compact horizontal icon steps */
.workflow-section {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, #f4f9f6 0%, #fff 55%, #f4f9f6 100%);
  position: relative;
  overflow: hidden;
}
.workflow-section .container { position: relative; z-index: 1; }

.workflow-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.workflow-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.65rem;
}
.workflow-header h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.workflow-header h2 em { font-style: normal; color: var(--green); }
.workflow-header p { color: var(--muted); font-size: 1rem; line-height: 1.65; }

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}
.workflow-step {
  position: relative;
  text-align: center;
  padding: 0.35rem 0.25rem 0;
}
.workflow-step-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0.35rem auto 0.7rem;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #d8ebe0;
  box-shadow: 0 8px 20px rgba(13, 122, 62, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.workflow-step-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}
.workflow-step-num {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(13, 122, 62, 0.3);
  z-index: 2;
}
.workflow-step h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.35rem;
}
.workflow-step p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}
.workflow-step-arrow {
  display: none;
  position: absolute;
  top: 28px;
  right: -12px;
  color: var(--green);
  opacity: 0.55;
  z-index: 2;
}
.workflow-step:hover .workflow-step-icon {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(13, 122, 62, 0.16);
}

.workflow-partner {
  border: 2px solid color-mix(in srgb, var(--green) 25%, #e8f0eb);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(13, 122, 62, 0.06);
  text-align: center;
}
.workflow-partner-title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 auto 2rem;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--dark), var(--green));
  color: var(--white);
  border-radius: 999px;
  display: inline-block;
}
.workflow-partner-title span { color: var(--gold-light); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.partner-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  transition: background 0.25s;
}
.partner-item:hover { background: #f0fdf4; }
.partner-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ecfdf5, #fef9c3);
  border-radius: 50%;
  border: 2px solid #bbf7d0;
}
.partner-item h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  color: var(--green);
  line-height: 1.3;
}
.partner-item p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 1101px) {
  .workflow-step-arrow { display: block; }
}
@media (max-width: 1100px) {
  .workflow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 0.85rem;
  }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
  .workflow-step-icon {
    width: 58px;
    height: 58px;
  }
  .partner-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .workflow-step h3 { font-size: 0.95rem; }
  .workflow-step p { font-size: 0.82rem; }
  .partner-grid { grid-template-columns: 1fr; }
}

/* PCB compare slider */
.compare-section {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, #fff 0%, #f4f9f6 100%);
}
.compare-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.compare {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8f0eb;
  box-shadow: 0 20px 60px rgba(13, 122, 62, 0.15);
  user-select: none;
  background: #0a1f14;
  touch-action: pan-y;
  container-type: inline-size;
}
.compare-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.compare-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100cqw;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.compare-after { z-index: 1; }
.compare-before {
  z-index: 2;
  width: 50%;
}
.compare-tag {
  position: absolute;
  bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(10, 31, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.compare-tag-left { left: 1rem; }
.compare-tag-right { right: 1rem; }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  background: var(--white);
  z-index: 5;
  cursor: ew-resize;
  border: none;
  padding: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.compare-handle:focus { outline: none; }
.compare-handle:focus-visible .compare-handle-circle {
  box-shadow: 0 0 0 4px var(--gold), 0 8px 24px rgba(0, 0, 0, 0.3);
}
.compare-handle-line {
  flex: 1;
  width: 4px;
  background: var(--white);
}
.compare-handle-circle {
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.compare-handle:hover .compare-handle-circle,
.compare-handle:active .compare-handle-circle { transform: scale(1.08); }

@media (max-width: 600px) {
  .compare-tag { font-size: 0.68rem; padding: 0.4rem 0.75rem; bottom: 0.75rem; }
  .compare-tag-left { left: 0.75rem; }
  .compare-tag-right { right: 0.75rem; }
  .compare-handle-circle { width: 44px; height: 44px; }
}

.cta-final {
  background: linear-gradient(135deg, var(--gold) 0%, #ea580c 100%);
  border-radius: 32px;
  padding: 4rem 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: -100px; left: -50px;
}
.cta-final h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  color: var(--white);
}
.cta-final p { font-size: 1.05rem; max-width: 520px; margin: 0 auto 2rem; position: relative; color: rgba(255, 255, 255, 0.92); }
.cta-final p:last-of-type { margin-bottom: 2rem; }
.cta-final .motto {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.78);
  padding: 3.5rem 0 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.13);
}
.footer img { height: 42px; }
.footer-brand p {
  margin: 0.9rem 0 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 320px;
}
.footer h4 {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.footer-links {
  display: grid;
  gap: 0.55rem;
}
.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}
.footer-contact {
  display: grid;
  gap: 0.55rem;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
  background: var(--green);
  color: #fff !important;
  transform: translateY(-2px);
}
.footer-bottom {
  text-align: center;
  display: grid;
  gap: 0.35rem;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-bottom small {
  color: rgba(255,255,255,0.58);
  font-size: 0.8rem;
}
@media (max-width: 920px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .footer {
    padding: 2.75rem 0 1.25rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Inner pages */
body.inner-page { background: var(--white); }
body.inner-page .header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
body.inner-page .nav a { color: var(--muted); }
body.inner-page .nav a:hover,
body.inner-page .nav a.active { color: var(--green); }
body.inner-page .menu-toggle { color: var(--green); }

.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--green) 55%, var(--green-bright) 100%);
  text-align: center;
  color: var(--white);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-hero h1 em { font-style: normal; color: var(--gold-light); }
.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
}

.page-content { padding: 4rem 0 5rem; }

/* Zigzag industry rows */
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid #e8f0eb;
}
.zigzag-row:last-of-type { border-bottom: none; }
.zigzag-row.reverse .zigzag-image { order: 2; }
.zigzag-row.reverse .zigzag-content { order: 1; }
.zigzag-image {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5, #fef9c3);
  border: 1px solid #e8f0eb;
  box-shadow: 0 16px 48px rgba(13, 122, 62, 0.1);
}
.zigzag-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.zigzag-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}
.zigzag-content h2 em { font-style: normal; color: var(--green); }
.zigzag-content p { color: var(--muted); margin-bottom: 1rem; font-size: 1.02rem; }
.zigzag-content p strong { color: var(--text); font-weight: 700; }
.zigzag-content ul { list-style: none; margin-top: 1.25rem; }
.zigzag-content li {
  padding: 0.45rem 0 0.45rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
}
.zigzag-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.clients-section {
  padding: 4rem 0 5rem;
  background: var(--bg-soft, #f4f9f6);
  text-align: center;
}
.clients-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.clients-section > p { color: var(--muted); margin-bottom: 2.5rem; }
.clients-swiper {
  padding: 0.2rem 0 2.4rem;
}
.clients-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}
.client-logo-slot {
  width: 100%;
  max-width: 170px;
  height: 88px;
  border: 2px dashed #c5d9cc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.75rem;
  background: var(--white);
}
.client-logo-img {
  width: 100%;
  max-width: 170px;
  height: 88px;
  object-fit: contain;
  display: block;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0.2rem;
}
.clients-swiper .swiper-pagination-bullet-active {
  background: var(--green);
}

/* Service detail */
.service-detail { max-width: 800px; margin: 0 auto; }
.service-detail h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.service-detail h2 em { font-style: normal; color: var(--green); }
.service-detail p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.services-page .service-block {
  padding: 3rem 0;
  border-bottom: 1px solid #e8f0eb;
  scroll-margin-top: 6rem;
}
.services-page .service-block:last-of-type { border-bottom: none; }

.services-page .service-row {
  scroll-margin-top: 6rem;
}
.services-page .service-row .service-label {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.65rem;
}
.service-know-more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(13, 122, 62, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.service-know-more svg {
  transition: transform 0.2s ease;
}
.service-know-more:hover {
  background: var(--green-dark, #0a5f31);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 122, 62, 0.35);
}
.service-know-more:hover svg {
  transform: translateX(3px);
}

.service-detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.service-detail-top h2 {
  margin-bottom: 0;
}

.service-detail-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(13, 122, 62, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.service-detail-arrow:hover {
  background: var(--green-dark, #0a5f31);
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(13, 122, 62, 0.35);
  color: #fff;
}

.service-industry-preview {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8f0eb;
}

.service-industry-preview li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

.service-industry-preview li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.service-industry-preview a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.service-industry-preview a:hover {
  color: var(--green);
}

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

.service-detail-breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.service-detail-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.service-detail-breadcrumb a:hover {
  text-decoration: underline;
}

.service-detail-breadcrumb span {
  margin: 0 0.4rem;
}

.service-detail-page .service-detail {
  max-width: 900px;
}

.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-content-block {
  padding: 2rem 0;
  border-bottom: 1px solid #e8f0eb;
}

.service-content-block:last-of-type {
  border-bottom: none;
}

.service-content-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.service-content-block h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.75rem;
  color: var(--green);
}

.service-content-block p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.service-content-block p strong { color: var(--text); font-weight: 700; }

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 2.5rem 0 1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.service-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.service-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}
.service-list li {
  padding: 1rem 1.25rem 1rem 3rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  position: relative;
  font-weight: 500;
}
.service-list li strong { color: var(--text); font-weight: 700; }
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Projects */
.projects-filters {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}
.projects-filter-group {
  display: grid;
  gap: 0.6rem;
}
.projects-filter-title {
  margin: 0;
  text-align: center;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 2px solid #e8f0eb;
  background: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
  text-decoration: none;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
.project-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8f0eb;
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13, 122, 62, 0.12);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card-body { padding: 1.5rem; }
.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: #ecfdf5;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.project-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.project-card p { font-size: 0.88rem; color: var(--muted); }

.industry-swiper {
  padding-bottom: 3rem;
  overflow: hidden;
}
.industry-swiper .swiper-slide { height: auto; }
.industry-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8f0eb;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  height: 100%;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13, 122, 62, 0.12);
}
.industry-card img { width: 100%; height: 180px; object-fit: cover; }
.industry-card-body {
  padding: 1.25rem;
  background: var(--white);
}
.industry-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.industry-card p { font-size: 0.85rem; color: var(--muted); }
.industry-swiper .swiper-pagination { bottom: 0; }
.industry-swiper .swiper-pagination-bullet {
  background: #c5d9cc;
  opacity: 1;
  width: 10px;
  height: 10px;
}
.industry-swiper .swiper-pagination-bullet-active {
  background: var(--green);
  width: 28px;
  border-radius: 999px;
}

.service-cards-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-link-card {
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}
.service-link-card:nth-child(1) { background: #f0fdf4; border: 2px solid #bbf7d0; }
.service-link-card:nth-child(2) { background: #fffbeb; border: 2px solid #fde68a; }
.service-link-card:nth-child(3) { background: #ecfdf5; border: 2px solid #86efac; }
.service-link-card:nth-child(4) { background: #eff6ff; border: 2px solid #93c5fd; }
.service-link-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13, 122, 62, 0.1); }
.service-link-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-link-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.service-link-card span { font-size: 0.85rem; font-weight: 700; color: var(--green); }

@media (max-width: 1100px) {
  .service-cards-home { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .zigzag-row,
  .zigzag-row.reverse { grid-template-columns: 1fr; }
  .zigzag-row.reverse .zigzag-image,
  .zigzag-row.reverse .zigzag-content { order: unset; }
  .projects-grid,
  .service-cards-home { grid-template-columns: 1fr; }
}

/* Project detail page */
.project-detail-hero .project-detail-breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}
.project-detail-hero .project-detail-breadcrumb a { color: #fff; text-decoration: none; }
.project-detail-hero .project-detail-breadcrumb a:hover { text-decoration: underline; }
.project-detail-hero .project-detail-breadcrumb span { margin: 0 0.4rem; }
.project-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.project-service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Normalise every hero pill so heights, radius, font-size line up perfectly. */
.project-detail-meta .project-tag,
.project-detail-meta .project-chip-tag,
.project-detail-meta .project-service-tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 0.9rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.project-detail-meta .project-tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--green);
  text-transform: uppercase;
}
.project-detail-meta .project-chip-tag {
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.18);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.4);
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
.project-detail-meta .project-service-tag {
  text-transform: none;
  letter-spacing: 0.02em;
}
.project-detail-page { padding-top: 3rem; }
.project-cover-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 31, 20, 0.12);
  margin-bottom: 3rem;
}
.project-cover-image {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
.project-compare-wrap {
  margin-bottom: 3rem;
  max-width: 100%;
}
.project-compare-wrap .compare {
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: auto;
}
.project-compare-wrap .compare-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100cqw;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.project-compare-hint {
  margin: 0.85rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.project-detail-block {
  margin-bottom: 3rem;
}
.project-detail-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.project-detail-block h2 em { font-style: normal; color: var(--green); }
.project-detail-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 900px;
}
.project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0 2rem;
}

/* Contact page */
.contact-page { padding-top: 3rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.contact-form-wrap h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact-form-wrap h2 em { font-style: normal; color: var(--green); }
.contact-intro { color: var(--muted); margin-bottom: 2rem; }

.enquiry-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.form-group label span { color: #dc2626; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 2px solid #e8f0eb;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 122, 62, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.btn-submit { align-self: flex-start; margin-top: 0.5rem; border: none; cursor: pointer; }

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.form-alert.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.form-alert.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
  background: var(--white);
  border: 1px solid #e8f0eb;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.contact-info-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.contact-info-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.contact-info-card.accent {
  background: linear-gradient(145deg, var(--green), var(--green-bright));
  border: none;
  color: var(--white);
}
.contact-info-card.accent p { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.contact-motto {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold-light) !important;
  margin-bottom: 0.75rem !important;
}
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: #f0fdf4;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-details strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-details a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}
.contact-phone-alt {
  display: block;
  margin-top: 0.2rem;
}
.contact-details a:hover { text-decoration: underline; }
.contact-details span { font-weight: 500; color: var(--text); }

.contact-social {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8f0eb;
}
.contact-social > strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.contact-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0fdf4;
  color: var(--green);
  border: 1px solid #bbf7d0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.contact-social-link:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}
.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem 0.7rem 0.9rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.48);
}
.whatsapp-float-icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.whatsapp-float span {
  display: inline-block;
  line-height: 1;
  transform: translateY(0.5px);
}
@media (max-width: 640px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .whatsapp-float-icon {
    width: 26px;
    height: 26px;
  }
  main {
    padding-bottom: 5rem;
  }
  .contact-map {
    height: 260px;
  }
}

.contact-map-wrap {
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8f0eb;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  background: var(--white);
}
.contact-map {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Projects — Technology Showcase Wall (listing) + Split Detail Layout
   ========================================================================== */

/* Showcase wall grid */
.showcase-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1100px) { .showcase-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .showcase-wall { grid-template-columns: 1fr; } }

.showcase-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 3rem 0;
}

/* Showcase card */
.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e8f0eb;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  isolation: isolate;
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(13, 122, 62, 0.16);
  border-color: rgba(13, 122, 62, 0.4);
}

.showcase-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 20%, rgba(13, 122, 62, 0.08), transparent 55%),
    linear-gradient(160deg, #f6faf7, #eef4f0);
  overflow: hidden;
}
.showcase-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12%;
  transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-card-media img { transform: scale(1.04); }

.showcase-chip-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  background: rgba(10, 31, 20, 0.92);
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  z-index: 2;
}
.showcase-chip-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-light);
}

.showcase-industry-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.28rem 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(13, 122, 62, 0.15);
  z-index: 2;
}

.showcase-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.showcase-card-title {
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--text);
  font-weight: 700;
  margin: 0;
}
.showcase-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.showcase-feature-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: #f4f9f6;
  border: 1px solid #e0ebe4;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  line-height: 1.3;
}
.showcase-card-summary {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.showcase-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding-top: 0.35rem;
}
.showcase-card-cta svg { transition: transform 0.25s ease; }
.showcase-card:hover .showcase-card-cta svg { transform: translateX(4px); }

/* ---- Project detail: chip + tagline hero additions ---- */
.project-chip-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
}
.project-hero-tagline {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---- Project detail: split layout (main + sidebar) ---- */
.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 992px) {
  .project-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.project-detail-main { min-width: 0; }

.project-section {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e8f0eb;
}
.project-section:last-of-type { border-bottom: none; margin-bottom: 1.5rem; }

.project-section-head { margin-bottom: 1.25rem; }
.project-section-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  background: #ecfdf5;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
}
.project-section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  color: var(--text);
  font-weight: 700;
}
.project-section-head h2 em { font-style: normal; color: var(--green); }
.project-section-lede {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 620px;
}

.project-section-body {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.8;
}
.project-section-body p { margin-bottom: 1rem; }

/* Feature / benefit / checklist grid */
.project-check-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  padding: 0;
  margin: 0;
}
.project-check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: #f4f9f6;
  border: 1px solid #e0ebe4;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.project-check-grid li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}
.project-check-grid--benefits li {
  background: #fffbeb;
  border-color: #fde68a;
}
.project-check-grid--benefits li svg { color: var(--gold); }
.project-check-grid--checklist { margin-top: 1.25rem; }
@media (max-width: 768px) {
  .project-check-grid { grid-template-columns: 1fr; }
}

/* Compare section inside project detail */
.project-section-compare .compare {
  aspect-ratio: 16 / 10;
  max-width: 100%;
  margin: 1rem 0 0;
}
@media (max-width: 600px) {
  .project-section-compare .compare { aspect-ratio: 4 / 3; }
}

/* Why GVK — highlighted block */
.project-section-why .project-section-body {
  background: linear-gradient(145deg, #0d7a3e, #16a34a);
  color: #fff;
  padding: 1.75rem 2rem;
  border-radius: 20px;
  font-size: 1.02rem;
}
.project-section-why .project-section-body p { color: rgba(255, 255, 255, 0.95); }

/* ---- At-a-Glance sidebar ---- */
.project-glance {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}
@media (max-width: 992px) {
  .project-glance { position: static; }
}
.project-glance-card {
  background: var(--white);
  border: 1px solid #e8f0eb;
  border-radius: 20px;
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: 0 20px 50px rgba(10, 31, 20, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.project-glance-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}
.project-glance-heading {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.project-glance-sub {
  margin: -0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.project-glance-meta {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid #e8f0eb;
  border-bottom: 1px solid #e8f0eb;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.project-glance-meta > div { display: flex; flex-direction: column; gap: 0.4rem; }
.project-glance-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.project-glance-meta dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.project-glance-chip {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: #ecfdf5;
  border-radius: 999px;
  border: 1px solid rgba(13, 122, 62, 0.2);
}
.project-glance-block h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.project-glance-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.project-glance-block li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.project-glance-block li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.project-glance-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.32);
}
.project-glance-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.42);
}
.project-glance-cta svg { transition: transform 0.2s ease; }
.project-glance-cta:hover svg { transform: translateX(3px); }

.project-related { border-top: 1px solid #e8f0eb; padding-top: 3rem; }
.project-related h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}
.project-related h2 em { font-style: normal; color: var(--green); }
.showcase-wall--related { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 992px) { .showcase-wall--related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .showcase-wall--related { grid-template-columns: 1fr; } }

@media (max-width: 992px) {
  .hero-grid, .about-split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item.large { grid-column: span 2; grid-row: span 1; }
  .services-bento, .why-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 110;
    background: var(--dark);
    padding: 1.5rem;
    gap: 0.35rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }
  .header.scrolled .nav.open { background: var(--white); }
  .header.scrolled .nav.open a { color: var(--muted); }
  body.inner-page .nav.open { background: var(--white); }
  body.inner-page .nav.open a { color: var(--muted); }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .logo img { height: 40px; }
  .page-hero { padding: 7rem 0 3rem; }
  .page-hero h1,
  .project-detail-hero h1,
  .project-detail-breadcrumb,
  .showcase-chip-badge {
    overflow-wrap: anywhere;
  }
  .zigzag-image img { min-height: 220px; }
  .project-section-why .project-section-body { padding: 1.35rem 1.25rem; }
  .projects-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }
  .filter-btn {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}
@media (max-width: 768px) {
  html { font-size: 14px; }

  .bento { grid-template-columns: 1fr; }
  .bento-item.large { grid-column: span 1; }
  .hero { clip-path: none; padding-bottom: 6rem; }
  .why-diagonal { clip-path: none; }
  .cta-final { padding: 3rem 1.5rem; border-radius: 20px; }

  .hero h1 { font-size: clamp(1.65rem, 7.5vw, 2.35rem); }
  .hero-text { font-size: 0.92rem; line-height: 1.65; }
  .hero-motto { font-size: 0.7rem; }
  .hero-card p { font-size: 0.82rem; }

  .section-head h2,
  .workflow-header h2 { font-size: clamp(1.35rem, 5vw, 1.85rem); }
  .section-head p,
  .workflow-header p { font-size: 0.9rem; }

  .page-hero h1,
  .project-detail-hero h1 { font-size: clamp(1.45rem, 6vw, 2rem); }
  .page-hero p { font-size: 0.9rem; }

  .zigzag-content h2 { font-size: clamp(1.2rem, 4.5vw, 1.55rem); }
  .zigzag-content p { font-size: 0.9rem; }
  .zigzag-content li { font-size: 0.85rem; }

  .about-content p,
  .service-detail p,
  .cta-final p { font-size: 0.9rem; }
  .service-detail h2 { font-size: 1.35rem; }

  .why-card h3 { font-size: 0.9rem; }
  .why-card p { font-size: 0.8rem; }

  .project-card h3,
  .industry-card h3,
  .showcase-card-title { font-size: 0.95rem; }
  .project-card p,
  .industry-card p { font-size: 0.8rem; }

  .contact-info-card h3 { font-size: 1.05rem; }
  .contact-info-card > p,
  .form-group label,
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 0.88rem; }

  .btn { font-size: 0.8rem; padding: 0.65rem 1.25rem; }
  .nav a { font-size: 0.85rem; }
  .cta-final h2 { font-size: clamp(1.35rem, 5vw, 1.85rem); }
}

@media (max-width: 480px) {
  html { font-size: 13px; }

  .hero h1 { font-size: clamp(1.45rem, 8vw, 1.95rem); }
  .hero-text { font-size: 0.88rem; }
  .page-hero h1,
  .project-detail-hero h1 { font-size: clamp(1.3rem, 7vw, 1.75rem); }
  .page-hero p { font-size: 0.85rem; }
  .section-head h2,
  .workflow-header h2,
  .cta-final h2 { font-size: clamp(1.2rem, 6vw, 1.55rem); }
  .zigzag-content h2 { font-size: 1.15rem; }
  .workflow-step h3 { font-size: 0.88rem; }
  .workflow-step p { font-size: 0.76rem; }
}

body.nav-open {
  overflow: hidden;
}
