/* =========================================
   Japie Staal — Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* --- Variables --- */
:root {
  --bg: #0A0A0A;
  --bg-2: #131313;
  --bg-3: #1C1C1C;
  --border: #252525;
  --border-light: #303030;
  --accent: #454c9b;
  --accent-hover: #535bc0;
  --accent-dim: rgba(69, 76, 155, 0.12);
  --text: #EEEEEE;
  --text-2: #999999;
  --text-3: #555555;
  --white: #FFFFFF;
  --display: 'Barlow Condensed', sans-serif;
  --body: 'Inter', sans-serif;
  --nav-h: 72px;
  --radius: 2px;
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Typography --- */
.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}

.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--border);
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--accent) !important;
  padding: 10px 20px !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Nav --- */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px 32px;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-mobile a:hover { color: var(--accent); }

/* --- Page Wrapper --- */
.page { padding-top: var(--nav-h); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0A0A0A 0%, #161616 50%, #0F0F0F 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  opacity: 0.5;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--photo-jpg);
  background-image: image-set(
    var(--photo-webp) type('image/webp'),
    var(--photo-jpg) type('image/jpeg')
  );
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,10,10,0.6) 18%, rgba(10,10,10,0.25) 55%, rgba(10,10,10,0.45) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

.hero-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  left: 50px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-sub::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: flex;
  gap: 1px;
  z-index: 1;
}

.hero-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 24px 32px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.hero-stat span {
  font-size: 12px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  border-color: var(--text-2);
  background: var(--border);
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.section-header p {
  color: var(--text-2);
  max-width: 560px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* --- Solutions Grid --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}

.solution-card {
  background: var(--bg-2);
  padding: 48px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition);
}

.solution-card:hover { border-color: var(--accent); }

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.solution-card:hover::before { height: 100%; }

.solution-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.solution-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* --- About Strip --- */
.about-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 16px 0 24px;
}

.about-text p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
}

/* --- Project Cards --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.projects-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.projects-grid.grid-full {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.project-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.project-card:hover { border-color: var(--border-light); }

.project-card-img {
  aspect-ratio: 4/3;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-img img {
  transform: scale(1.04);
}

.project-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-3) 0%, #222 100%);
  color: var(--text-3);
}

.project-card-img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.project-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.project-tag::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
}

.project-card-body h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}

.project-card-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}

.project-card-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-year {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap var(--transition);
}

.project-link:hover { gap: 10px; }

/* --- Certifications Bar --- */
.cert-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.cert-bar .container {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cert-bar-label {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.cert-items {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.cert-badge-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.cert-badge span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--accent);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(0,0,0,0.05) 40px,
      rgba(0,0,0,0.05) 41px
    );
}

.cta-banner .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  font-size: 15px;
}

.btn-white {
  background: var(--white);
  color: var(--accent);
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

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

/* --- Footer --- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

.footer-contact-item a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
}

/* --- Page Header --- */
.page-header {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 400px;
  background: linear-gradient(90deg, transparent, var(--bg-2));
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--photo-jpg);
  background-image: image-set(
    var(--photo-webp) type('image/webp'),
    var(--photo-jpg) type('image/jpeg')
  );
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,10,10,0.88) 40%, rgba(10,10,10,0.55) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 55%, var(--bg) 100%);
}

.page-header-bg-accent {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 4px;
  background: var(--accent);
  z-index: 2;
}

.page-header--has-image .container { position: relative; z-index: 3; }

.page-header .section-label { margin-bottom: 16px; }

.page-header h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Project Detail --- */
.project-detail-header {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.project-detail-meta {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}

.meta-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.project-detail-body {
  padding: 80px 0;
}

.project-detail-body .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
}

.project-content h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 40px 0 16px;
}

.project-content h2:first-child { margin-top: 0; }

.project-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.project-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.project-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 8px;
}

.project-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.project-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
}

.sidebar-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 16px;
}

.sidebar-card h4 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.sidebar-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.sidebar-row:last-child { border-bottom: none; }

.sidebar-row span:first-child { color: var(--text-2); }
.sidebar-row span:last-child { font-weight: 500; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}

.contact-info {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 48px;
}

.contact-info h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:first-of-type { border-top: 1px solid var(--border); }

.contact-detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-detail-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 4px;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 15px;
  color: var(--text);
}

.contact-detail-text a:hover { color: var(--accent); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}

.hours-day {
  font-size: 13px;
  color: var(--text-2);
}

.hours-time {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 48px;
}

.contact-form-wrap h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

/* --- Certifications Page --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.cert-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 48px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.cert-card-img {
  width: 120px;
  flex-shrink: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.cert-card-body h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cert-card-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* --- Leerbedrijf --- */
.leerbedrijf-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.leerbedrijf-text h2 {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.leerbedrijf-text p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.info-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 28px;
  margin-top: 32px;
}

.info-box h4 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.info-box p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

.leerbedrijf-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.aside-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 16px;
}

.aside-card h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.aside-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* --- Back link --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  transition: color var(--transition);
}

.back-link:hover { color: var(--accent); }

/* --- Scroll progress --- */
.scroll-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 101;
  transition: width 0.1s linear;
  width: 0%;
}

/* --- Fade-in animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-detail-body .container {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
  }

  .hero-stats {
    display: none;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .hero { min-height: calc(100svh - var(--nav-h)); padding-bottom: 60px; }

  .hero-photo {
    width: 100%;
    clip-path: none;
    opacity: 0.35;
  }

  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.8) 55%, var(--bg) 100%);
  }

  .solutions-grid,
  .projects-grid,
  .contact-grid,
  .cert-grid,
  .about-strip .container,
  .leerbedrijf-content {
    grid-template-columns: 1fr;
  }

  .section { padding: 64px 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }

  .cert-card { flex-direction: column; }

  .section-header-row { flex-direction: column; align-items: flex-start; }

}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* --- Project Slider --- */
.project-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 48px;
  background: var(--bg-2);
  aspect-ratio: 16 / 7;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.slider-slide {
  min-width: 100%;
  height: 100%;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-light);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
  z-index: 2;
}

.slider-btn:hover { background: rgba(10,10,10,0.95); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-btn svg { pointer-events: none; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--white);
  transform: scale(1.25);
}
}
