/* ============================================================
   BOUWAANPACK – Main Stylesheet
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #5ba8b2;
  --accent-hover: #4a919a;
  --success: #16a34a;
  --success-hover: #15803d;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --shadow-md: 0 4px 16px rgba(2, 6, 23, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1120px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select, textarea { font-family: var(--font); }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(22px, 3.5vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
p { color: var(--muted); }

/* ── Layout ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head { max-width: 640px; }
.section-head p { font-size: 18px; margin-top: 12px; }
.text-center { text-align: center; }
.text-center .section-head, .section-head.text-center { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 168, 178, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91, 168, 178, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-whatsapp {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}
.btn-whatsapp:hover {
  background: var(--success-hover);
  transform: translateY(-1px);
}
.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--surface); }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
}
.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}
.mobile-nav a:hover { background: var(--surface); }
.mobile-nav .btn { width: 100%; margin-top: 8px; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -60px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91,168,178,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 span { color: var(--accent); }
.hero-intro {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
}
.hero-bullets li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.hero-badge-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-badge-text strong { display: block; font-size: 15px; font-weight: 800; }
.hero-badge-text span { font-size: 12px; color: var(--muted); }

/* ── Trust Bar ────────────────────────────────────────── */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 44px; height: 44px;
  background: var(--surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 15px; font-weight: 800; color: var(--text); }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ── Services Grid ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(91, 168, 178, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 14px; margin-bottom: 20px; }
.service-card .btn { font-size: 14px; padding: 10px 18px; }

/* ── Projects Grid ────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.2s;
  background: var(--bg);
}
.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}
.project-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.project-info { padding: 20px; }
.project-info h3 { font-size: 16px; margin-bottom: 6px; }
.project-info p { font-size: 13px; margin-bottom: 12px; }
.project-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ── How It Works ─────────────────────────────────────── */
.steps-bg { background: var(--surface); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(91, 168, 178, 0.35);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 15px; }

/* ── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: var(--text);
  color: #fff;
  padding: 72px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 17px; }
.cta-banner-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--text);
}
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline-white:hover { border-color: #fff; }

/* ── Testimonials ─────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.stars { color: #f59e0b; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 16px;
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 13px; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg);
  transition: background 0.15s;
}
.faq-question:hover { background: var(--surface); }
.faq-chevron {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq-answer {
  padding: 0 24px;
  font-size: 15px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ── Services Page ────────────────────────────────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-block-image { order: -1; }
.service-block-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.service-block-image img { width: 100%; height: 100%; object-fit: cover; }
.service-block-content .section-label { margin-bottom: 10px; }
.service-block-content h2 { margin-bottom: 16px; }
.service-block-content p { margin-bottom: 20px; }
.service-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.service-bullets li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: rgba(91,168,178,0.10);
  color: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Projects Page ────────────────────────────────────── */
.project-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all 0.15s;
  cursor: pointer;
  background: var(--bg);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── Over Ons Page ────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
}
.value-icon {
  width: 52px; height: 52px;
  background: rgba(91,168,178,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.value-card h3 { margin-bottom: 8px; }
.team-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
  margin-top: 48px;
}
.team-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Contact Page ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--line);
}
.contact-info-card h2 { margin-bottom: 8px; }
.contact-info-card > p { margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(91,168,178,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-detail-text a { color: var(--text); font-weight: 600; }
.contact-detail-text a:hover { color: var(--accent); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.contact-actions .btn { justify-content: center; }
.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.form-card h2 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 700; color: var(--text); }
input, select, textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,168,178,0.12);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-note a { color: var(--accent); text-decoration: underline; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* ── Page Hero ────────────────────────────────────────── */
.page-hero {
  background: var(--surface);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 18px; max-width: 540px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-mark { background: var(--accent); }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; transition: color 0.15s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; }
.footer-contact-item a { transition: color 0.15s; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a { text-decoration: underline; opacity: 0.7; }

/* ── Sticky Mobile Bar ────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  gap: 10px;
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; font-size: 14px; padding: 14px 12px; }

/* ── Placeholder Images ───────────────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

/* ── Animations ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* Intersection Observer classes */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 404 ──────────────────────────────────────────────── */
.not-found {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}
.not-found-num {
  font-size: clamp(80px, 15vw, 140px);
  font-weight: 900;
  color: var(--line);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.not-found h2 { margin-bottom: 12px; }
.not-found p { margin-bottom: 32px; }
.not-found-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-block { gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .main-nav, .header-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn-primary { font-size: 14px; padding: 10px 16px; }

  .hero { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .trust-items { flex-direction: column; gap: 0; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 24px; }
  .trust-item:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }

  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse .service-block-image { order: 0; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid > * { min-width: 0; max-width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-info-card, .form-card { padding: 28px 20px; box-sizing: border-box; width: 100%; }
  .contact-detail-text { overflow-wrap: break-word; word-break: break-word; min-width: 0; }
  .contact-actions .btn { width: 100%; white-space: normal; text-align: center; }
  input, select, textarea { max-width: 100%; }
  input[type="date"] { width: 100% !important; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
  .form-card { overflow: hidden; }
  .form-submit .btn { white-space: normal; line-height: 1.4; text-align: center; padding: 16px 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-info-card, .form-card { padding: 20px 16px; }
}

/* Utility */
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
