/*
Theme Name: Connect Installatie Team
Theme URI: https://www.connect-installatieteam.nl
Author: Connect Installatie Team
Author URI: https://www.connect-installatieteam.nl
Description: Professioneel thema voor Connect Installatie Team – specialist in koeltechnische installaties, airconditioning, warmtepompen en grootkeukens. Gevestigd in Leerdam.
Version: 1.0.0
License: Private
License URI: #
Text Domain: cit-theme
Tags: business, one-page, custom-colors, custom-logo, full-width-template
*/

/* ===== TOKENS ===== */
:root {
  --ice:     #E8F4F8;
  --steel:   #1C3A4A;
  --cold:    #0E7EA4;
  --frost:   #56C0DC;
  --signal:  #F47B20;
  --white:   #FFFFFF;
  --smoke:   #F5F7F9;
  --ink:     #1A1A1A;
  --muted:   #5A6A74;
  --line:    #D4E2E8;
  --radius:  8px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1.08; }

/* ===== TOPBAR ===== */
.cit-topbar {
  background: var(--steel);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 0.45rem 0;
}
.cit-topbar .inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.cit-topbar a { color: var(--frost); transition: color 0.15s; }
.cit-topbar a:hover { color: white; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--cold);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 72px;
}
.site-logo { display: flex; align-items: center; gap: 0.75rem; }
.site-logo img { height: 48px; width: auto; }
.logo-fallback { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark {
  width: 46px; height: 46px; background: var(--cold);
  border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; fill: white; }
.logo-text strong { display: block; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em; color: var(--steel); text-transform: uppercase; }
.logo-text span { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; }
/* WordPress nav_menu generates a <ul> – flatten it horizontally */
.main-nav ul { display: flex; flex-direction: row; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.main-nav ul li { margin: 0; padding: 0; display: block; }
.main-nav a,
.main-nav ul li a { font-size: 0.875rem; font-weight: 500; color: var(--steel); padding: 0.5rem 0.9rem; border-radius: 4px; transition: background 0.15s, color 0.15s; display: inline-block; white-space: nowrap; line-height: 1.4; }
.main-nav a:hover,
.main-nav ul li a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { background: var(--ice); color: var(--cold); }
.main-nav .menu-storing > a,
.nav-cta { background: var(--signal) !important; color: white !important; border-radius: 5px; font-weight: 600 !important; }
.main-nav .menu-storing > a:hover,
.nav-cta:hover { background: #d96a15 !important; }

.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 5px; padding: 0.45rem 0.65rem; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--steel); margin: 4px 0; transition: all 0.2s; }/* ===== HERO ===== */
.cit-hero {
  background: linear-gradient(135deg, var(--steel) 0%, #0d2e3d 60%, #0a2333 100%);
  color: white; padding: 5.5rem 1.5rem 5rem; position: relative; overflow: hidden;
}
.cit-hero .hero-bg-img {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  opacity: 0.12; mix-blend-mode: luminosity;
}
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(86,192,220,0.04) 0, rgba(86,192,220,0.04) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--frost); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--frost); }
.cit-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.25rem; letter-spacing: 0.01em; }
.cit-hero h1 em { color: var(--frost); font-style: normal; }
.cit-hero .hero-text { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 44ch; margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--signal); color: white; padding: 0.85rem 1.85rem; border-radius: 5px; font-weight: 600; font-size: 0.95rem; transition: background 0.15s, transform 0.1s; display: inline-block; }
.btn-primary:hover { background: #d96a15; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.32); color: white; padding: 0.85rem 1.85rem; border-radius: 5px; font-weight: 500; font-size: 0.95rem; transition: border-color 0.15s, background 0.15s; display: inline-block; }
.btn-ghost:hover { border-color: var(--frost); background: rgba(86,192,220,0.09); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); }
.stat-num { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--frost); line-height: 1; }
.stat-label { font-size: 0.73rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; letter-spacing: 0.04em; }

.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(86,192,220,0.2); border-radius: 10px; padding: 1.3rem; transition: background 0.15s, border-color 0.2s; }
.hero-card:hover { background: rgba(86,192,220,0.11); border-color: rgba(86,192,220,0.45); }
.hero-card.span-2 { grid-column: span 2; }
.hero-card-icon { font-size: 1.9rem; margin-bottom: 0.6rem; line-height: 1; }
.hero-card h3 { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; color: var(--frost); margin-bottom: 0.3rem; }
.hero-card p { font-size: 0.78rem; color: rgba(255,255,255,0.58); line-height: 1.5; }

/* ===== USP STRIP ===== */
.usp-strip { background: var(--cold); color: white; padding: 1.1rem 1.5rem; }
.usp-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.usp-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500; }
.usp-item .icon { font-size: 1.1rem; }

/* ===== SECTION UTILITIES ===== */
.cit-section { padding: 5rem 1.5rem; }
.cit-section--smoke { background: var(--smoke); }
.cit-section--white { background: var(--white); }
.cit-section--dark { background: var(--steel); color: white; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-label { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cold); margin-bottom: 0.6rem; }
.cit-section--dark .section-label { color: var(--frost); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--steel); margin-bottom: 1rem; }
.cit-section--dark .section-title { color: white; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 52ch; margin-bottom: 2.5rem; line-height: 1.7; }
.cit-section--dark .section-sub { color: rgba(255,255,255,0.65); }

/* ===== DIENSTEN ===== */
.diensten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.dienst-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 2rem 1.75rem; transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s; }
.dienst-card:hover { box-shadow: 0 8px 32px rgba(14,126,164,0.13); border-color: var(--frost); transform: translateY(-3px); }
.dienst-thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 1.25rem; }
.dienst-icon { width: 52px; height: 52px; background: var(--ice); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.1rem; }
.dienst-card h3 { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; color: var(--steel); margin-bottom: 0.6rem; }
.dienst-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.dienst-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--cold); margin-top: 1rem; transition: gap 0.15s; }
.dienst-link:hover { gap: 0.6rem; }

/* ===== OVER ONS ===== */
.over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.over-visual { border-radius: 12px; overflow: hidden; position: relative; }
.over-visual img { width: 100%; height: 420px; object-fit: cover; }
.over-badges { display: flex; gap: 0; background: var(--cold); }
.badge-item { flex: 1; padding: 1.1rem 0.5rem; text-align: center; color: white; border-right: 1px solid rgba(255,255,255,0.15); }
.badge-item:last-child { border-right: none; }
.badge-num { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.7rem; font-weight: 800; line-height: 1; }
.badge-lbl { font-size: 0.65rem; opacity: 0.75; margin-top: 0.15rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--muted); }
.check-list li::before { content: '✓'; color: var(--cold); background: var(--ice); border-radius: 50%; width: 22px; height: 22px; min-width: 22px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; margin-top: 0.1rem; }

/* ===== REVIEWS ===== */
.review-strip { background: white; padding: 3rem 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-inner { max-width: 1160px; margin: 0 auto; display: flex; gap: 3rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.score-box { display: flex; align-items: center; gap: 1.1rem; }
.score-num { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 3.8rem; font-weight: 800; color: var(--cold); line-height: 1; }
.stars { color: #F4C430; font-size: 1.25rem; letter-spacing: 0.05em; }
.score-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; line-height: 1.5; }
.review-cards { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.review-card { background: var(--smoke); border-radius: 8px; padding: 1.1rem 1.25rem; max-width: 280px; font-size: 0.82rem; color: var(--ink); border-left: 3px solid var(--frost); line-height: 1.6; }
.review-card .reviewer { font-weight: 600; color: var(--steel); margin-top: 0.6rem; font-size: 0.78rem; }

/* ===== STORING ===== */
.storing-grid { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.storing-card { background: var(--cold); border-radius: 12px; padding: 2.25rem 2.5rem; text-align: center; min-width: 260px; }
.storing-card .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.storing-card h3 { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.storing-card p { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; line-height: 1.6; }
.btn-storing { display: inline-block; background: white; color: var(--cold); padding: 0.75rem 1.6rem; border-radius: 5px; font-weight: 700; font-size: 0.9rem; transition: background 0.15s; }
.btn-storing:hover { background: var(--ice); }

/* ===== WERKGEBIED ===== */
.regio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.regio-pill { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem 1rem; text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--steel); transition: border-color 0.15s, background 0.15s; }
.regio-pill:hover { background: var(--ice); border-color: var(--cold); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; color: var(--steel); margin-bottom: 1.5rem; }
.info-row { display: flex; gap: 0.85rem; margin-bottom: 1.1rem; align-items: flex-start; }
.info-icon { font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }
.info-label { font-size: 0.73rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.info-value { font-size: 0.9rem; font-weight: 500; color: var(--steel); margin-top: 0.15rem; }
.info-value a { color: var(--cold); transition: color 0.15s; }
.info-value a:hover { color: var(--steel); text-decoration: underline; }

.cit-form label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--steel); margin-bottom: 0.35rem; }
.cit-form input,
.cit-form textarea,
.cit-form select { width: 100%; border: 1.5px solid var(--line); border-radius: 6px; padding: 0.75rem 0.95rem; font-size: 0.875rem; color: var(--ink); margin-bottom: 1rem; font-family: inherit; background: white; transition: border-color 0.15s, box-shadow 0.15s; }
.cit-form input:focus,
.cit-form textarea:focus,
.cit-form select:focus { outline: none; border-color: var(--cold); box-shadow: 0 0 0 3px rgba(14,126,164,0.1); }
.cit-form textarea { height: 120px; resize: vertical; }
.cit-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.btn-submit { background: var(--cold); color: white; border: none; padding: 0.85rem 2.25rem; border-radius: 5px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.15s; font-family: inherit; display: inline-block; }
.btn-submit:hover { background: var(--steel); }

/* ===== MAP PLACEHOLDER ===== */
/* Leaflet kaart container */
#cit-map { z-index: 1; }

/* ===== FOOTER ===== */
.site-footer { background: var(--steel); color: rgba(255,255,255,0.68); }
.footer-main { max-width: 1160px; margin: 0 auto; padding: 3.5rem 1.5rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
/* Custom logo in footer: wit maken, max hoogte */
.footer-brand .custom-logo-link img,
.footer-brand img.custom-logo { height: 48px; width: auto; margin-bottom: 0.9rem; filter: brightness(0) invert(1) opacity(0.85); display: block; }
.footer-brand strong { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.1rem; font-weight: 800; color: white; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.8rem; line-height: 1.75; }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.03em; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.58); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--frost); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); max-width: 1160px; margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.77rem; }
.kvk-info { color: rgba(255,255,255,0.32); }

/* ===== STICKY CTA ===== */
.sticky-cta { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 300; background: var(--signal); color: white; border-radius: 50px; padding: 0.7rem 1.35rem; display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem; box-shadow: 0 4px 20px rgba(244,123,32,0.45); transition: transform 0.15s, box-shadow 0.15s; }
.sticky-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 6px 28px rgba(244,123,32,0.55); color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .diensten-grid { grid-template-columns: 1fr 1fr; }
  .over-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .storing-grid { grid-template-columns: 1fr; }
  .regio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; border-bottom: 3px solid var(--cold); padding: 1rem; gap: 0.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 999; }
  .main-nav.open ul { flex-direction: column; gap: 0.25rem; width: 100%; }
  .main-nav.open ul li { width: 100%; }
  .main-nav.open ul li a { display: block; width: 100%; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; }
  .diensten-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .regio-grid { grid-template-columns: repeat(2, 1fr); }
  .cit-form .form-row { grid-template-columns: 1fr; }
  .review-cards { flex-direction: column; }
}
