:root {
  --ink: #232a33;
  --ink-2: #2d3541;
  --gray: #57514e;
  --gray-light: #8b8480;
  --paper: #fbf9f5;
  --cream: #f2ede2;
  --gold: #be9b2e;
  --gold-light: #d8bb5c;
  --gold-deep: #8f6f22;
  --gold-tint: #f1e6c9;
  --text: #211e1c;
  --text-muted: #6b6360;
  --line: rgba(33, 30, 28, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --radius: 6px;
  --transition: 0.25s ease;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Icons */
.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  flex-shrink: 0;
}

/* Grain overlay */
.grain { position: relative; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.grain > * { position: relative; z-index: 1; }

/* ---------- Kicker (section eyebrow) ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.kicker-line { width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.kicker.on-dark { color: var(--gold-light); }
.kicker.on-dark .kicker-line { background: var(--gold-light); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2, h2.on-dark { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h2.on-dark { color: var(--paper); }
.section-lead { color: var(--text-muted); font-size: 1.02rem; max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.94rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-deep); color: var(--paper); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-ghost .icon { transition: transform var(--transition); }
.btn-ghost:hover .icon { transform: translateX(3px); }

/* ---------- Top banner ---------- */
#top-banner { background: var(--ink); color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; }
.top-banner-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 24px; gap: 20px; flex-wrap: wrap; }
#banner-phone { color: var(--gold-light); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: 20px; flex-shrink: 0; }
.brand-logo { width: 44px; height: auto; flex-shrink: 0; }
.brand-logo-full { height: 72px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--gold-deep); letter-spacing: 0.2px; white-space: nowrap; }
.brand-text em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#main-nav ul { display: flex; gap: 22px; }
#main-nav a {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
#main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
#main-nav a:hover { color: var(--gold-deep); }
#main-nav a:hover::after { width: 100%; }

.header-cta { white-space: nowrap; padding: 11px 22px; }

#nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; flex-shrink: 0; background: var(--cream); border-radius: 50%; border: none; cursor: pointer; }
#nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }
#nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 98;
}
#nav-backdrop.visible { opacity: 1; pointer-events: auto; }

.main-nav-head, .main-nav-foot { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); padding: 90px 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-bottom: 70px; }

#hero-badge-link {
  position: absolute;
  top: 40px;
  right: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 12px;
  background: rgba(251, 249, 245, 0.06);
  border: 1px solid rgba(251, 249, 245, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
}
#hero-badge-link:hover { background: rgba(251, 249, 245, 0.12); border-color: rgba(216, 187, 92, 0.5); }
#hero-badge-link img {
  width: 64px;
  height: 64px;
  display: block;
  flex-shrink: 0;
  background: var(--paper);
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
  object-fit: contain;
}
#hero-badge-link span {
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(251, 249, 245, 0.7);
}
#hero-badge-link strong { color: var(--gold-light); font-weight: 600; }

@media (max-width: 760px) {
  #hero-badge-link { top: 14px; right: 12px; padding: 7px 14px 7px 7px; gap: 9px; }
  #hero-badge-link img { width: 42px; height: 42px; padding: 4px; }
  #hero-badge-link span { font-size: 0.68rem; }
}

.kicker.hero-kicker { color: var(--gold-light); }

.hero-copy .kicker { color: var(--gold-light); }
.hero-copy h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-copy h1 .accent { color: var(--gold); }
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 22px;
}
.hero-lead { color: rgba(251, 249, 245, 0.72); font-size: 1.05rem; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; width: 100%; }

.photo-stack {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-dark);
}

.photo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: slideCycle 20s infinite;
}
.photo-slide:nth-child(1) { animation-delay: 0s; }
.photo-slide:nth-child(2) { animation-delay: -16s; }
.photo-slide:nth-child(3) { animation-delay: -12s; }
.photo-slide:nth-child(4) { animation-delay: -8s; }
.photo-slide:nth-child(5) { animation-delay: -4s; }

.photo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 20s infinite;
  animation-delay: inherit;
}

.photo-slide figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
}

.photo-badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

@keyframes slideCycle {
  0%    { opacity: 0; }
  2%    { opacity: 1; }
  17%   { opacity: 1; }
  20%   { opacity: 0; }
  100%  { opacity: 0; }
}

@keyframes kenBurns {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.09); }
  100% { transform: scale(1.09); }
}

@media (prefers-reduced-motion: reduce) {
  .photo-slide, .photo-slide img { animation: none; }
  .photo-slide { opacity: 0; }
  .photo-slide:first-child { opacity: 1; }
}

.stats-card {
  position: relative;
  width: 100%;
  margin-top: -56px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 24px 48px rgba(30, 27, 25, 0.18);
  z-index: 2;
}
.stats-card-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 34px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat:first-child { border-left: none; }
.stat-num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--gold-deep); }
.stat-label { font-size: 0.86rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: 150px 0 100px; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--paper); }

/* ---------- Diensten (service list) ---------- */
.service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.service-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.service-index { font-family: var(--font-display); font-size: 0.85rem; color: var(--gray-light); padding-top: 4px; }
.service-icon { width: 34px; height: 34px; color: var(--gold-deep); flex-shrink: 0; stroke-width: 1.6; margin-top: 2px; }
.service-copy h3 { font-size: 1.12rem; margin-bottom: 6px; }
.service-copy p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---------- Projecten ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(59, 47, 36, 0.08);
}
.project-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: none;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(30, 26, 20, 0.45);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-thumb-overlay .icon { width: 18px; height: 18px; }
.project-thumb:hover img { transform: scale(1.06); }
.project-thumb:hover .project-thumb-overlay { opacity: 1; }
.project-info { padding: 24px 26px 28px; }
.project-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.project-info p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.project-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--line);
  background: transparent;
  box-shadow: none;
  min-height: 220px;
}
.project-placeholder-inner { text-align: center; color: var(--gray-light); }
.project-placeholder-inner .icon { width: 30px; height: 30px; margin-bottom: 10px; }
.project-placeholder-inner p { margin: 0; font-size: 0.92rem; }

/* ---------- Lightbox ---------- */
#project-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#project-lightbox.open { opacity: 1; pointer-events: auto; }
#lightbox-content { margin: 0; max-width: min(900px, 88vw); max-height: 82vh; }
#lightbox-img { max-width: 100%; max-height: 72vh; border-radius: var(--radius); object-fit: contain; display: block; margin: 0 auto; }
#lightbox-caption { color: var(--paper); text-align: center; margin-top: 16px; font-size: 0.95rem; }
#lightbox-close, #lightbox-prev, #lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#lightbox-close .icon, #lightbox-prev .icon, #lightbox-next .icon { width: 20px; height: 20px; }
#lightbox-close { top: 24px; right: 24px; }
#lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
#lightbox-next { right: 24px; top: 50%; transform: translateY(-50%) rotate(180deg); }
#lightbox-prev .icon { transform: rotate(180deg); }

/* ---------- Why strip ---------- */
.why-strip { padding: 90px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-item { padding: 0 30px; border-left: 1px solid var(--line); }
.why-item:first-child { border-left: none; padding-left: 0; }
.why-icon { width: 32px; height: 32px; color: var(--gold-deep); stroke-width: 1.6; margin-bottom: 16px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.about-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px; }
.about-logo { width: 100%; max-width: 340px; height: auto; }
.about-badge {
  position: absolute;
  left: -20px;
  bottom: -20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 32px rgba(30, 27, 25, 0.2);
}
.about-badge .stat-num { color: var(--gold-light); font-size: 1.7rem; }
.about-badge .stat-label { color: rgba(251, 249, 245, 0.65); font-size: 0.78rem; }
.about-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); max-width: 520px; }
.about-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; }
.about-list .icon { width: 20px; height: 20px; color: var(--gold-deep); fill: var(--gold-tint); stroke-width: 1.6; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line);
}
.timeline-item { position: relative; padding-top: 64px; }
.timeline-node {
  position: absolute;
  top: 0; left: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-deep);
  font-size: 0.95rem;
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-item p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.review-card { padding: 0 32px; border-left: 1px solid var(--line-dark); margin: 0; }
.review-card:first-child { border-left: none; padding-left: 0; }
.quote-icon { width: 34px; height: 26px; color: var(--gold); margin-bottom: 18px; }
.review-card p { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: rgba(251, 249, 245, 0.92); line-height: 1.5; }
.stars { display: flex; gap: 3px; color: var(--gold); margin: 18px 0 14px; }
.stars .icon { width: 15px; height: 15px; }
.stars .star-empty { color: rgba(251, 249, 245, 0.25); }
.review-card cite { color: rgba(251, 249, 245, 0.45); font-size: 0.78rem; font-style: normal; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-details { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.contact-details li { display: flex; align-items: flex-start; gap: 16px; }
.contact-details .icon { width: 22px; height: 22px; color: var(--gold-deep); stroke-width: 1.6; margin-top: 3px; }
.contact-details strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-light); margin-bottom: 2px; }
.contact-details a, .contact-details span { font-size: 1rem; color: var(--ink); font-weight: 500; }

.contact-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: var(--paper); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--gray-light); margin-bottom: 8px; }
.form-row input, .form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 10px 2px;
  border: none;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  color: var(--text);
  resize: vertical;
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); }
.form-submit { width: 100%; border: none; margin-top: 6px; }
#form-status { margin-top: 14px; font-size: 0.88rem; color: var(--gold-deep); font-weight: 600; min-height: 1.2em; }

/* ---------- Footer ---------- */
#site-footer { background: var(--ink); color: rgba(251, 249, 245, 0.75); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: 32px; padding: 64px 24px 40px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-logo { width: 42px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-light); }
.footer-brand p { margin: 3px 0 0; font-size: 0.82rem; color: rgba(251, 249, 245, 0.55); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 0.92rem; color: rgba(251, 249, 245, 0.7); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact p { margin: 0 0 10px; font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--gold-light); }
.footer-contact a { color: rgba(251, 249, 245, 0.85); }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 20px 24px; font-size: 0.78rem; color: rgba(251, 249, 245, 0.45); }
.footer-legal-links a { color: rgba(251, 249, 245, 0.65); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--gold-light); }

/* ---------- Back to top ---------- */
#whatsapp-float {
  position: fixed;
  left: 24px; bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  z-index: 95;
  transition: transform var(--transition);
}
#whatsapp-float:hover { transform: scale(1.08); }
#whatsapp-float .icon { width: 30px; height: 30px; }

#back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--ink);
  color: var(--gold-light);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(30, 27, 25, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) rotate(-90deg);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 90;
}
#back-to-top .icon { width: 18px; height: 18px; }
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0) rotate(-90deg); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; padding-bottom: 40px; }
  .hero-visual { max-width: 320px; margin: 0 auto; order: -1; }
  .stats-card { margin-top: 0; }
  .stats-card-inner { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding: 24px 28px; }
  .stat:first-child { border-top: none; }
  .service-list { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .why-item:nth-child(2) { border-left: 1px solid var(--line); }
  .why-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 320px; margin: 0 auto 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .review-card { border-left: none; padding-left: 0; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
  .review-card:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1140px) {
  .top-banner-inner { justify-content: center; text-align: center; gap: 6px 14px; }
  .header-inner { gap: 10px; }
  .brand-text em { font-size: 0.6rem; }
  .brand-logo-full { height: 52px; }
  #main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 84vw);
    display: flex;
    flex-direction: column;
    background: var(--paper);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 28px 28px 32px;
    z-index: 99;
  }
  #main-nav.open { transform: translateX(0); }

  .main-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
  }
  #nav-close {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  #nav-close .icon { width: 16px; height: 16px; }

  #main-nav ul { flex: 1; flex-direction: column; gap: 4px; }
  #main-nav ul li { border-bottom: 1px solid var(--line); }
  #main-nav ul li:last-child { border-bottom: none; }
  #main-nav a { display: block; padding: 14px 2px; font-size: 1.05rem; font-weight: 600; }
  #main-nav a::after { display: none; }

  .main-nav-foot {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .main-nav-foot .btn { width: 100%; }
  .main-nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-weight: 600;
    color: var(--gold-deep);
  }

  .header-cta { display: none; }
  #nav-toggle { display: flex; }

  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .kicker { order: 0; }
  .hero-copy h1 { order: 1; }
  .hero-actions { order: 2; margin-bottom: 24px; }
  .hero-sub { order: 3; }
  .hero-lead { order: 4; }
  .hero-visual { order: 5; }

}

@media (max-width: 760px) {
  .section { padding: 90px 0 60px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-left: none !important; padding-left: 0 !important; padding-top: 24px; border-top: 1px solid var(--line); }
  .why-item:first-child { border-top: none; padding-top: 0; }
  .timeline { grid-template-columns: 1fr; }
}

body.nav-open { overflow: hidden; }
