/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn-primary {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-primary:hover { background: var(--green-hover); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--green);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.9rem 2.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  white-space: nowrap;
}
.btn-white:hover { background: var(--green-light); transform: translateY(-1px); }

/* ════════════════════════════════════════
   CORE COMPETENCE
   ════════════════════════════════════════ */
#core-competence { background: var(--bg); }

.competence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.competence-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.competence-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--green-mid);
}

.comp-icon {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.comp-line {
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.comp-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.comp-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.comp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  letter-spacing: 0.04em;
}

.comp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.comp-bullets li {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 0.9rem;
  position: relative;
}
.comp-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════ */
#services {
  background: var(--dark);
  color: #fff;
}
#services .section-title { color: #fff; }
#services .section-eyebrow { color: var(--green-text); }
#services .section-sub { color: rgba(255,255,255,0.5); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,102,0,0.4);
  transform: translateY(-3px);
}

.service-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: var(--green-text);
  letter-spacing: 0.15em;
}
.service-icon { font-size: 1.75rem; }
.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.service-divider {
  width: 28px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.service-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  flex: 1;
}
.service-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.18s;
}
.service-link:hover { gap: 0.6rem; }

/* ════════════════════════════════════════
   INDUSTRIES
   ════════════════════════════════════════ */
#industries { background: var(--bg); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  cursor: default;
}
.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-mid);
}
.industry-card-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.industry-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.industry-card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ════════════════════════════════════════
   WHY WORK WITH US
   ════════════════════════════════════════ */
#why-work { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-left { display: flex; flex-direction: column; gap: 0; }

.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { padding-top: 0; }
.why-item:last-child { border-bottom: none; padding-bottom: 0; }

.why-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.1em;
  min-width: 28px;
  padding-top: 0.2rem;
}
.why-body { display: flex; flex-direction: column; gap: 0.35rem; }
.why-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.why-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.why-right {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.why-right-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.why-right-sub {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.why-right-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.why-spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.why-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.why-spec-label { color: rgba(255,255,255,0.4); }
.why-spec-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--green-text);
  font-weight: 600;
}
.why-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════ */
#about { background: var(--bg); border-top: 1px solid var(--border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-body {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}
.about-body p + p { margin-top: 1rem; }
.about-body strong { color: var(--text); font-weight: 600; }

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.about-hl-icon {
  font-size: 1.25rem;
  margin-top: 0.1rem;
}
.about-hl-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.about-hl-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   CONTACT CTA BAND
   ════════════════════════════════════════ */
.contact-band {
  background: var(--green);
  padding: 4rem 2.5rem;
}
.contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.contact-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
}

/* ════════════════════════════════════════
   FOOTER INFO BLOCK
   ════════════════════════════════════════ */
.footer-info {
  background: var(--bg); /* FOOTER INFO BG — options: var(--bg) cream | var(--bg-card) white | var(--dark) dark */
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem;
}
.footer-info-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.footer-tagline-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}
.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 1.5vw, 1.4rem);
  font-weight: 900;
  color: var(--text-muted);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-tagline-icon {
  height: clamp(2rem, 3.2vw, 3rem);
  width: auto;
  flex-shrink: 0;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem;
  background: var(--bg-card); /* CONTACT ROW BG — options: var(--bg-card) white | var(--bg) cream | var(--green-light) green tint */
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.footer-contact-row:hover { background: var(--green-light); }
.footer-flag { font-size: 1rem; }
.footer-phone-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 60px;
}
.footer-contact-value {
  font-size: 0.72rem;
  color: var(--green);
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.15s;
  padding: 0.2rem 0;
}
.footer-links a:hover { color: var(--green); }

.footer-linkedin-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-linkedin-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  min-width: 20px;
}

/* ════════════════════════════════════════
   LEGAL PAGES (imprint, privacy)
   ════════════════════════════════════════ */
.legal-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}
.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 1.5rem 0 0.4rem;
  text-transform: uppercase;
}
.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-content ul {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--green); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════ */
.contact-page-header {
  background: var(--dark);
  padding: 4rem 2.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.contact-page-header::after {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.contact-page-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact-page-header .section-eyebrow { color: var(--green-text); }
.contact-page-header .section-title { color: #fff; margin-bottom: 0.5rem; }
.contact-page-header .section-sub { color: rgba(255,255,255,0.5); }

#contact-form { background: var(--bg-card); border-top: 1px solid var(--border); }

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,102,0,0.08);
  background: var(--bg-card);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.25rem 0;
}
.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 0.15rem;
  accent-color: var(--green);
  cursor: pointer;
}
.form-checkbox span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.form-checkbox a { color: var(--green); text-decoration: underline; }

.contact-form .btn-primary { align-self: flex-start; margin-top: 0.5rem; }

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}
.form-checkbox input.input-error {
  outline: 2px solid #c0392b;
  outline-offset: 2px;
}
.field-error-msg {
  font-size: 0.72rem;
  color: #c0392b;
  margin-top: 0.2rem;
}

.form-notice {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.form-notice strong { font-weight: 700; }
.form-notice--success {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  color: #1a4a1a;
}
.form-notice--error {
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  color: #7b2020;
}

/* Contact aside (right column) */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}
.contact-aside-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.contact-aside-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-aside-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.contact-aside-item:hover { background: var(--green-light); }
.contact-aside-item-icon { font-size: 1rem; min-width: 20px; text-align: center; }
.contact-phone-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.contact-aside-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 55px;
}
.contact-aside-item-value {
  font-size: 0.75rem;
  color: var(--green);
}
.contact-aside-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.contact-aside-steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contact-aside-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-aside-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 20px;
  padding-top: 0.1rem;
}
.contact-aside-step-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ════════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════════ */
.portfolio-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 2.5rem 0 1rem;
}
.portfolio-section-label:first-child { margin-top: 0; }

.portfolio-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.portfolio-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.portfolio-card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.portfolio-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.portfolio-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.portfolio-card-subtitle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.portfolio-card-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

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

.pill-group-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-gray {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.pill-dark {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.metric-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.metric-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.phase {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.phase-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.55rem;
  color: var(--green);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.phase-name {
  font-size: 0.72rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .contact-form-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-aside { padding-top: 0; }
  .competence-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-page-header { padding: 3rem 1.25rem 2.5rem; }
  .competence-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── MOSAIC GRID (hero right column) ── */
.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  height: 380px;
}

.mosaic-cell {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
}

.mosaic-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.06);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.mosaic-cell:hover .mosaic-img { transform: scale(1.05); }

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,16,26,0.85) 0%,
    rgba(10,16,26,0.30) 50%,
    transparent 100%
  );
}

.mosaic-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 1;
}

.mosaic-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7ec87e;
  margin-bottom: 0.25rem;
}

.mosaic-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.mosaic-title-sm { font-size: 0.8rem; }

@media (max-width: 900px) {
  .mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .mosaic-cell { height: 130px; }
}

/* ── SERVICES SECTION ── */
.svc-section {
  background: var(--bg);
  padding: 5rem 2.5rem;
}
.svc-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.svc-header {
  margin-bottom: 3rem;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.svc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.svc-card:hover {
  box-shadow: 0 8px 32px rgba(30,41,59,0.13);
  transform: translateY(-4px);
  border-color: var(--green-mid);
}
.svc-img {
  height: 190px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-2);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.svc-card:hover .svc-img-bg {
  transform: scale(1.06);
}
.svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(10,16,26,0.60) 100%);
}
.svc-img-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.85rem;
  z-index: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.svc-img-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ec87e;
  flex-shrink: 0;
}
.svc-body {
  padding: 1.4rem 1.4rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.svc-line {
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.svc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}
.svc-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.svc-bullets {
  list-style: none;
  padding: 0;
  margin: 0.1rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.svc-bullets li {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.5;
}
.svc-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
}
@media (max-width: 1024px) {
  .svc-grid, .svc-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-section { padding: 3.5rem 1.25rem; }
  .svc-grid, .svc-grid-4 { grid-template-columns: 1fr; }
  .svc-img { height: 200px; }
}

/* ── LIFECYCLE SECTION ── */

#lifecycle {
  background: var(--dark);
  color: #fff;
  padding: 5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
#lifecycle .section-title { color: #fff; }
#lifecycle .section-eyebrow { color: var(--green-text); }
#lifecycle .section-sub { color: rgba(255,255,255,0.5); }

/* Radial green glow — top right */
#lifecycle::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* Subtle diagonal texture */
#lifecycle::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent, transparent 60px,
    rgba(0,0,0,0.008) 60px,
    rgba(0,0,0,0.008) 120px
  );
  pointer-events: none;
}

.lc-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* — Header — */
.lc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.lc-counter {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.lc-counter-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lc-counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-text);
  line-height: 1;
}

/* — Step nodes row — */
.lc-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 1.5rem;
}

/* Horizontal connector line between nodes */
.lc-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    rgba(0,102,0,0.18) 100%
  );
  z-index: 0;
}

.lc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  padding-bottom: 0.5rem;
}

.lc-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
}

.lc-step.active .lc-node,
.lc-step:hover .lc-node {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: scale(1.12);
  box-shadow:
    0 0 0 6px rgba(0,102,0,0.12),
    0 0 20px rgba(0,102,0,0.25);
}

.lc-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.22s;
}

.lc-step.active .lc-step-num,
.lc-step:hover .lc-step-num {
  color: var(--green-text);
}

.lc-step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.00rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  transition: color 0.22s;
}

.lc-step.active .lc-step-title,
.lc-step:hover .lc-step-title {
  color: #fff;
}

.lc-step-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-text);
  opacity: 0;
  transition: opacity 0.22s;
  margin-top: -0.4rem;
}

.lc-step.active .lc-step-dot {
  opacity: 1;
}

/* — Detail panel container — */
.lc-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  min-height: 220px;
}

.lc-panel {
  display: none;
}

.lc-panel.active {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  min-height: 220px;
  animation: lcPanelIn 0.3s cubic-bezier(.4,0,.2,1) both;
}

@keyframes lcPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* — Image column — */
.lc-img {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.lc-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--border);
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.lc-panel:hover .lc-img-bg {
  transform: scale(1.05);
}

.lc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 50%,
    rgba(255,252,248,0.92) 100%
  );
}

/* — Description column — */
.lc-main {
  padding: 2rem 1.75rem 2rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lc-panel-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-text);
}

.lc-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.lc-panel-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

/* — Bullets column — */
.lc-bullets-col {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.lc-bullets-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.lc-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lc-bullets li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
  transition: color 0.18s;
}

.lc-bullets li:hover {
  color: var(--text);
}

.lc-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

/* — Responsive — */
@media (max-width: 1024px) {
  .lc-panel.active { grid-template-columns: 180px 1fr 1fr; }
}

@media (max-width: 768px) {
  .lc-header { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .lc-counter { align-items: flex-start; text-align: left; }

  /* Compact node row — hide labels, shrink circles, keep 3 cols (2 rows of 3) */
  .lc-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  .lc-steps::before { display: none; }
  .lc-step { gap: 0; padding-bottom: 0; }
  .lc-step-title { display: none; }
  .lc-step-dot   { display: none; }
  .lc-node {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Panel: single column — image → title → bullets */
  .lc-panel.active {
    grid-template-columns: 1fr;
  }
  .lc-img {
    min-height: 160px;
  }
  .lc-img::after {
    background: linear-gradient(to bottom, transparent 40%, rgba(255,252,248,0.95) 100%);
  }
  .lc-main {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.25rem 1rem;
  }
  .lc-bullets-col {
    padding: 1rem 1.25rem 1.25rem;
  }
}

@media (max-width: 480px) {
  #lifecycle { padding: 3.5rem 1.25rem; }
  /* Keep 3 columns so nodes stay in 2 compact rows instead of 3 */
  .lc-steps { grid-template-columns: repeat(3, 1fr); }
}

/* ── ABOUT & FOOTER MOBILE (must be in components.css to override base rules here) ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-info-inner { grid-template-columns: 1fr; gap: 2rem; }
}
