/* ============================================
   VERHAEGEN TECHNIEKEN — STYLES
   ============================================ */

:root {
  /* Colors */
  --slate-900: #0e1621;
  --slate-800: #1b2637;
  --slate-700: #2a3a4f;
  --grey-500: #64748b;
  --grey-100: #f3f5f8;
  --white: #ffffff;
  --accent-orange: #ff6a1a;
  --accent-orange-dark: #e2560f;
  --accent-blue: #2f6fed;
  --accent-blue-dark: #2557c2;
  --border-light: #e4e8ee;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(14, 22, 33, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 22, 33, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 22, 33, 0.16);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--slate-900); }

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

.text-accent-orange { color: var(--accent-orange); }

:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary {
  background: var(--accent-orange);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

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

.btn-ghost {
  color: var(--slate-800);
  font-weight: 600;
}
.btn-ghost:hover { color: var(--accent-orange); }

.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { color: var(--accent-orange); width: 30px; height: 30px; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--slate-900);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--grey-500);
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 34px; }
.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent-orange);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--slate-900); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-call { display: flex; align-items: center; gap: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 22px 24px 28px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav .nav-link { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--grey-100); }
.mobile-call { justify-content: center; border: 1.5px solid var(--border-light); color: var(--slate-800); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--slate-900) 0%, var(--slate-800) 55%, #16233a 100%);
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 28px;
}
.benefits-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.98rem;
}
.benefits-list svg { color: var(--accent-blue); flex-shrink: 0; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.schematic { width: 100%; max-width: 400px; }

/* Precision rings — counter-rotating, evokes a calibrated instrument */
.ring { transform-box: fill-box; transform-origin: center; }
.ring-out { animation: spin-cw 40s linear infinite; }
.ring-in { animation: spin-ccw 32s linear infinite; }
@keyframes spin-cw { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

/* Ripples — represents water/heating, pulsing outward from the core */
.ripple {
  transform-box: fill-box;
  transform-origin: center;
  animation: ripple-expand 3.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
.ripple-d1 { animation-delay: 1.2s; }
.ripple-d2 { animation-delay: 2.4s; }
@keyframes ripple-expand {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* AC waveform — represents electricity, flowing continuously across the core */
.wave { animation: dash-flow 2.4s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -170; } }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: 100px 0; background: var(--white); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.section-title.center { text-align: center; }
.section-lead {
  color: var(--grey-500);
  max-width: 62ch;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.section-lead.center { text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.service-category {
  background: var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
}
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
}
.category-header h3 { font-size: 1.35rem; }
.cat-electric svg { color: var(--accent-orange); }
.cat-plumbing svg { color: var(--accent-blue); }

.card-list { display: flex; flex-direction: column; gap: 14px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.service-card p { color: var(--grey-500); font-size: 0.93rem; }

/* ============================================
   TRUST / COMPLIANCE
   ============================================ */
.trust { background: var(--slate-900); padding: 100px 0; color: var(--white); }
.trust-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.trust-copy .section-title { color: var(--white); }
.trust-copy > p { color: rgba(255,255,255,0.72); margin-bottom: 32px; font-size: 1.02rem; max-width: 56ch; }
.trust-points { display: flex; flex-direction: column; gap: 22px; }
.trust-point { border-left: 3px solid var(--accent-orange); padding-left: 18px; }
.trust-point h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.trust-point p { color: rgba(255,255,255,0.68); font-size: 0.95rem; }

.trust-visual { display: flex; justify-content: center; }
.stamp {
  width: 220px; height: 220px;
  transform: rotate(-10deg);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.35));
}

/* ============================================
   QUOTE / CONTACT FORM
   ============================================ */
.quote { position: relative; padding: 100px 0; background: var(--grey-100); }
.quote-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.quote-intro .section-title { margin-bottom: 16px; }
.quote-intro > p { color: var(--grey-500); margin-bottom: 26px; max-width: 46ch; }
.mini-list { display: flex; flex-direction: column; gap: 10px; }
.mini-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 600;
  color: var(--slate-800);
  font-size: 0.95rem;
}
.mini-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--accent-blue);
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--slate-700); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.14);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: var(--grey-500); text-align: center; }

.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--accent-orange); }
.field-error {
  color: var(--accent-orange-dark);
  font-size: 0.78rem;
  font-weight: 600;
  display: none;
}
.form-group.error .field-error { display: block; }

/* Success overlay */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 22, 33, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.success-overlay.show { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.success-card svg { margin: 0 auto 16px; }
.success-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.success-card p { color: var(--grey-500); margin-bottom: 22px; font-size: 0.95rem; }
.success-card .btn-outline { color: var(--slate-800); border-color: var(--border-light); }
.success-card .btn-outline:hover { border-color: var(--slate-800); background: var(--grey-100); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--slate-900); color: rgba(255,255,255,0.85); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 24px 48px;
}
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 0.92rem; max-width: 32ch; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { color: rgba(255,255,255,0.65); font-size: 0.93rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-orange); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-inner p { color: rgba(255,255,255,0.45); font-size: 0.82rem; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 600;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsapp-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; margin: 0 auto; order: -1; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-visual { order: -1; }
  .quote-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .header-inner { height: 68px; }
  .hero { padding: 56px 0 64px; }
  .hero-lead { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .services, .trust, .quote { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 26px 22px; }
  .footer-inner { grid-template-columns: 1fr; padding: 56px 24px 36px; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .stamp { width: 170px; height: 170px; }
}
