/*
Theme Name: TQS Theme
Theme URI: https://topqualitysecurity.com/
Author: Top Quality Security Dev Team
Author URI: https://topqualitysecurity.com/
Description: Custom standalone WordPress theme for Top Quality Security — a professional security services company in Den Haag, Netherlands. Elementor-compatible, SEO-optimised, GDPR-compliant.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: tqs-theme
*/

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Brand Design Tokens)
   ========================================================================== */
:root {
  --tqs-primary: #2D0A4E;
  --tqs-secondary: #8B2FC9;
  --tqs-gold: #C9973A;
  --tqs-gold-light: #E8C06A;
  --tqs-dark: #1A0533;
  --tqs-light: #F9F6FF;
  --tqs-text: #4a3a5e;
  --tqs-muted: #9080A8;
  --tqs-muted-light: #D8CCE8;
  --tqs-border: #EDE4FA;
  --tqs-white: #FFFFFF;

  --tqs-font-heading: 'Plus Jakarta Sans', sans-serif;
  --tqs-font-body: 'Inter', sans-serif;

  --container-max: 1240px;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--tqs-font-body);
  color: var(--tqs-text);
  background: var(--tqs-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--tqs-font-heading); margin: 0; }
ul, ol { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.tqs-container { max-width: var(--container-max); margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .tqs-container { padding: 0 20px; } }

/* ==========================================================================
   3. HOVER / INTERACTION STATES
   ========================================================================== */
.tqs-card { transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base); }
.tqs-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(45,10,78,0.18); border-color: var(--tqs-gold) !important; }
.tqs-link:hover { color: var(--tqs-gold) !important; }
.tqs-navlink:hover { color: var(--tqs-gold-light) !important; }
.tqs-btn-gold:hover { background: var(--tqs-gold-light) !important; }
.tqs-btn-outline:hover { background: rgba(255,255,255,0.12) !important; }
.tqs-social:hover { background: var(--tqs-gold) !important; border-color: var(--tqs-gold) !important; }
.tqs-drop-item:hover { background: var(--tqs-light) !important; color: var(--tqs-primary) !important; }
.tqs-slide-arrow:hover { background: var(--tqs-gold) !important; border-color: var(--tqs-gold) !important; color: var(--tqs-primary) !important; }
.tqs-slide-dot:hover { background: var(--tqs-gold-light) !important; }
.tqs-input:focus, .tqs-textarea:focus, .tqs-select:focus { outline: none; border-color: var(--tqs-secondary) !important; }

/* ==========================================================================
   4. ANIMATIONS
   ========================================================================== */
@keyframes tqsFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tqsFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tqsFloat { from { transform: translateY(0px); } to { transform: translateY(-16px); } }
@keyframes tqsSlideCrossfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tqsSlideFromRight { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: translateX(0); } }
@keyframes tqsSlideFromLeft { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: translateX(0); } }
@keyframes tqsZoomFade { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.tqs-illustration-float { animation: tqsFloat 4.5s ease-in-out infinite alternate; }
.tqs-anim-crossfade { animation: tqsSlideCrossfade 0.55s ease; }
.tqs-anim-from-right { animation: tqsSlideFromRight 0.55s ease; }
.tqs-anim-from-left { animation: tqsSlideFromLeft 0.55s ease; }
.tqs-anim-zoom { animation: tqsZoomFade 0.5s ease; }

/* ==========================================================================
   5. TOP BAR + HEADER
   ========================================================================== */
.tqs-topbar { background: var(--tqs-dark); color: var(--tqs-gold); font-size: 13px; padding: 8px 40px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.tqs-topbar-item { display: flex; align-items: center; gap: 8px; }
.tqs-topbar-item a { color: var(--tqs-gold-light); }
.tqs-topbar-location { color: var(--tqs-muted); }

.tqs-header { position: sticky; top: 0; z-index: 100; background: var(--tqs-primary); padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.tqs-brand { display: flex; align-items: center; gap: 12px; }
.tqs-brand-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0; }
.tqs-brand-logo--fallback { width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--tqs-gold), var(--tqs-gold-light)); font-family: var(--tqs-font-heading); font-weight: 800; color: var(--tqs-primary); font-size: 18px; line-height: 44px; text-align: center; }
.tqs-brand-logo--has-image { width: auto; height: auto; background: none; border-radius: 0; }
.tqs-site-logo-img { display: block; width: auto; height: auto; max-height: 56px; max-width: min(220px, 42vw); object-fit: contain; }
.tqs-brand-text { font-family: var(--tqs-font-heading); font-weight: 800; font-size: 19px; color: var(--tqs-white); line-height: 1.1; }
.tqs-brand-sub { font-size: 11px; color: var(--tqs-gold); letter-spacing: 1.5px; font-weight: 600; }

.tqs-nav { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.tqs-nav a { color: var(--tqs-muted-light); font-size: 15px; font-weight: 500; transition: color .2s; }
.tqs-nav a.is-current { color: var(--tqs-white); font-weight: 600; }
.tqs-nav-dropdown-wrap { position: relative; }
.tqs-nav-dropdown { position: absolute; top: 100%; left: -16px; margin-top: 14px; background: var(--tqs-white); border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); padding: 8px; width: 240px; z-index: 200; animation: tqsFadeIn .15s ease; }
.tqs-drop-item { display: block; padding: 10px 14px; border-radius: 6px; color: var(--tqs-text); font-size: 14px; font-weight: 500; transition: .15s; }

.tqs-header-cta { background: var(--tqs-gold); color: var(--tqs-primary) !important; font-weight: 700; font-size: 14px; padding: 12px 24px; border-radius: 6px; transition: background .2s; white-space: nowrap; }

.tqs-hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; padding: 6px; }
.tqs-hamburger span { width: 26px; height: 2.5px; background: var(--tqs-gold-light); border-radius: 2px; }

.tqs-mobile-menu { display: none; background: var(--tqs-primary); padding: 20px 20px 28px; flex-direction: column; gap: 2px; border-top: 1px solid rgba(255,255,255,0.1); max-height: calc(100vh - 90px); overflow-y: auto; }
.tqs-mobile-menu.is-open { display: flex; }
.tqs-mobile-menu a { color: var(--tqs-muted-light); font-size: 16px; font-weight: 500; padding: 12px 4px; }
.tqs-mobile-menu a.is-current { color: var(--tqs-white); font-weight: 600; }
.tqs-mobile-services-toggle { color: var(--tqs-muted-light); font-size: 16px; font-weight: 500; padding: 12px 4px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; background: none; border: none; width: 100%; text-align: left; }
.tqs-mobile-services-sub { display: none; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid rgba(201,151,58,0.3); margin: 2px 0 6px 4px; }
.tqs-mobile-services-sub.is-open { display: flex; }
.tqs-mobile-services-sub a { color: #B8A8D8; font-size: 14.5px; font-weight: 500; padding: 9px 4px; }
.tqs-mobile-menu .tqs-header-cta { margin-top: 14px; text-align: center; }

@media (max-width: 1080px) {
  .tqs-nav, .tqs-header-cta { display: none !important; }
  .tqs-hamburger { display: flex !important; }
}
@media (max-width: 640px) {
  .tqs-topbar { padding: 8px 20px !important; font-size: 11.5px !important; gap: 12px !important; }
  .tqs-topbar-location { display: none !important; }
  .tqs-header { padding: 12px 20px !important; }
  .tqs-brand-text { font-size: 16px !important; }
  .tqs-brand-sub { display: none !important; }
}
@media (max-width: 400px) { .tqs-topbar-email { display: none !important; } }

/* ==========================================================================
   6. HERO SLIDER (Homepage)
   ========================================================================== */
.tqs-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.tqs-hero-slide { position: absolute; inset: 0; display: none; align-items: center; }
.tqs-hero-slide.is-active { display: flex; }
.tqs-hero-slide-bg { position: absolute; inset: 0; }
.tqs-hero-illustration { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 7%; pointer-events: none; }
.tqs-hero-illustration .tqs-badge-icon { position: absolute; top: -8px; right: -16px; width: 50px; height: 50px; border-radius: 50%; background: var(--tqs-gold); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 10px 22px rgba(0,0,0,0.28); }
.tqs-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(26,5,51,0.94) 20%, rgba(45,10,78,0.72) 55%, rgba(45,10,78,0.5) 100%); }
.tqs-hero-content { position: relative; z-index: 2; max-width: 680px; padding: 60px 90px; }
.tqs-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,151,58,0.15); border: 1px solid var(--tqs-gold); color: var(--tqs-gold-light); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 30px; margin-bottom: 24px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tqs-hero-h1 { font-weight: 800; font-size: 52px; line-height: 1.12; color: var(--tqs-white); margin: 0 0 22px; }
.tqs-hero-h1 span { color: var(--tqs-gold); }
.tqs-hero-p { font-size: 17px; line-height: 1.7; color: var(--tqs-muted-light); margin: 0 0 36px; max-width: 540px; }
.tqs-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.tqs-slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: var(--tqs-white); font-size: 18px; cursor: pointer; z-index: 3; transition: all .2s; }
.tqs-arrow-prev { left: 20px; }
.tqs-arrow-next { right: 20px; }
.tqs-hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.tqs-slide-dot { width: 9px; height: 9px; border-radius: 5px; background: rgba(255,255,255,0.4); cursor: pointer; transition: all .25s ease; border: none; padding: 0; }
.tqs-slide-dot.is-active { width: 22px; background: var(--tqs-gold); }

@media (max-width: 900px) { .tqs-hero-content { padding: 60px 76px; } }
@media (max-width: 768px) {
  .tqs-hero { min-height: 500px !important; }
  .tqs-hero-h1 { font-size: 32px !important; }
  .tqs-hero-p { font-size: 14.5px !important; margin-bottom: 26px !important; }
  .tqs-hero-buttons { flex-direction: column !important; align-items: stretch !important; }
  .tqs-hero-buttons a { text-align: center; width: 100%; }
  .tqs-hero-illustration { display: none !important; }
  .tqs-slide-arrow { top: auto !important; bottom: 16px !important; transform: none !important; }
  .tqs-arrow-prev { left: 14px !important; }
  .tqs-arrow-next { right: 14px !important; }
  .tqs-hero-dots { bottom: 16px !important; padding: 0 76px !important; }
}
@media (max-width: 560px) { .tqs-hero-content { padding: 40px 24px !important; } }
@media (max-width: 420px) { .tqs-hero { min-height: 460px !important; } .tqs-hero-h1 { font-size: 26px !important; } }

/* ==========================================================================
   7. STATS BAR
   ========================================================================== */
.tqs-stats { background: var(--tqs-primary); padding: 44px 40px; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.tqs-stat { text-align: center; border-right: 1px solid rgba(255,255,255,0.12); padding-right: 24px; }
.tqs-stat:last-child { border-right: none; }
.tqs-stat-value { font-weight: 800; font-size: 38px; color: var(--tqs-gold-light); margin-bottom: 6px; }
.tqs-stat-label { font-size: 14px; color: var(--tqs-muted-light); font-weight: 500; letter-spacing: 0.3px; }
@media (max-width: 640px) {
  .tqs-stats { grid-template-columns: repeat(2,1fr) !important; gap: 24px 16px !important; padding: 32px 20px !important; }
  .tqs-stat { border-right: none !important; padding-right: 0 !important; }
  .tqs-stat-value { font-size: 30px !important; }
}

/* ==========================================================================
   8. SERVICES SLIDER (Homepage "Onze Diensten")
   ========================================================================== */
.tqs-services-section { background: var(--tqs-light); padding: 72px 40px; }
.tqs-section-eyebrow { color: var(--tqs-gold); font-weight: 700; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.tqs-section-h2 { font-weight: 800; font-size: 38px; color: var(--tqs-primary); margin: 0 0 18px; }
.tqs-section-intro { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.tqs-section-lead { font-size: 16px; line-height: 1.7; color: var(--tqs-muted); margin: 0; }

.tqs-services-slider-wrap { max-width: 1100px; margin: 0 auto; position: relative; }
.tqs-services-track { display: none; }
.tqs-services-track.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tqs-services-track.single-col { grid-template-columns: 1fr; }
.tqs-service-slide-card { position: relative; height: 420px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 44px rgba(45,10,78,0.18); }
.tqs-service-slide-bg { position: absolute; inset: 0; }
.tqs-service-slide-illustration { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tqs-service-slide-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,5,51,0.92) 12%, rgba(26,5,51,0.55) 48%, rgba(26,5,51,0.12) 78%); }
.tqs-service-slide-content { position: absolute; left: 0; bottom: 0; padding: 32px 30px; z-index: 2; }
.tqs-service-slide-content h3 { font-weight: 800; font-size: 23px; color: var(--tqs-white); margin: 0 0 10px; }
.tqs-service-slide-content p { font-size: 14px; line-height: 1.6; color: #E8DFF5; margin: 0 0 16px; max-width: 320px; }
.tqs-service-slide-content a { color: var(--tqs-gold-light); font-weight: 700; font-size: 14px; }
.tqs-service-contact-slide { height: 420px; border-radius: 16px; background: linear-gradient(135deg, var(--tqs-primary), var(--tqs-secondary)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.tqs-service-contact-slide h3 { font-weight: 800; font-size: 21px; color: var(--tqs-white); margin: 18px 0 12px; }
.tqs-service-contact-slide p { font-size: 14px; line-height: 1.6; color: #E8DFF5; margin: 0 0 22px; max-width: 260px; }

.tqs-service-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--tqs-white); border: 1px solid var(--tqs-border); color: var(--tqs-primary); font-size: 18px; cursor: pointer; transition: all .2s; box-shadow: 0 8px 20px rgba(45,10,78,0.15); }
.tqs-service-arrow-prev { left: -22px; }
.tqs-service-arrow-next { right: -22px; }
.tqs-service-dots-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.tqs-service-dots { display: flex; gap: 8px; }
.tqs-service-dot { width: 8px; height: 8px; border-radius: 5px; background: #D8CCE8; cursor: pointer; transition: all .25s ease; border: none; padding: 0; }
.tqs-service-dot.is-active { width: 20px; background: var(--tqs-secondary); }
.tqs-service-counter { font-size: 13px; color: var(--tqs-muted); font-weight: 600; }

@media (max-width: 640px) {
  .tqs-services-section { padding: 48px 20px !important; }
  .tqs-section-h2 { font-size: 28px !important; }
  .tqs-service-arrow { width: 40px !important; height: 40px !important; }
  .tqs-service-arrow-prev { left: 8px !important; }
  .tqs-service-arrow-next { right: 8px !important; }
}

/* ==========================================================================
   9. WHY US
   ========================================================================== */
.tqs-whyus { background: var(--tqs-white); padding: 56px 40px 48px; }
.tqs-whyus-outer { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.tqs-whyus-h2 { font-weight: 800; font-size: 36px; color: var(--tqs-primary); margin: 0 0 20px; line-height: 1.2; }
.tqs-whyus-text { font-size: 16px; line-height: 1.75; color: var(--tqs-text); margin: 0; }
.tqs-whyus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tqs-whyus-card { padding: 28px 24px; border-radius: 12px; background: var(--tqs-light); border: 1px solid var(--tqs-border); }
.tqs-whyus-card-icon { font-size: 28px; margin-bottom: 16px; }
.tqs-whyus-card h4 { font-weight: 700; font-size: 16.5px; color: var(--tqs-primary); margin: 0 0 8px; }
.tqs-whyus-card p { font-size: 13.5px; line-height: 1.6; color: var(--tqs-muted); margin: 0; }
@media (max-width: 900px) { .tqs-whyus-outer { grid-template-columns: 1fr !important; gap: 36px !important; } }
@media (max-width: 640px) { .tqs-whyus { padding: 44px 20px 36px !important; } .tqs-whyus-h2 { font-size: 28px !important; } }
@media (max-width: 480px) { .tqs-whyus-cards { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   10. FINAL CTA BANNER
   ========================================================================== */
.tqs-cta-banner { background: linear-gradient(120deg, var(--tqs-primary) 0%, var(--tqs-secondary) 100%); padding: 56px 40px; position: relative; overflow: hidden; }
.tqs-cta-banner::before { content: ""; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(201,151,58,0.15); }
.tqs-cta-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; }
.tqs-cta-h2 { font-weight: 800; font-size: 34px; color: var(--tqs-white); margin: 0 0 16px; }
.tqs-cta-inner > p { font-size: 16px; color: #E8DFF5; margin: 0 0 34px; }
.tqs-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.tqs-cta-buttons a { white-space: nowrap; }
@media (max-width: 640px) {
  .tqs-cta-banner { padding: 44px 20px !important; }
  .tqs-cta-h2 { font-size: 25px !important; }
  .tqs-cta-buttons { flex-direction: column; align-items: stretch !important; }
  .tqs-cta-buttons a { text-align: center; }
}

/* ==========================================================================
   11. BUTTONS (shared)
   ========================================================================== */
.tqs-btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 16px 32px; border-radius: 6px; transition: background var(--transition-base), transform var(--transition-base); border: none; cursor: pointer; }
.tqs-btn-gold { background: var(--tqs-gold); color: var(--tqs-primary) !important; }
.tqs-btn-outline { background: transparent; color: var(--tqs-white) !important; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.5); }
.tqs-btn-outline-dark { background: transparent; color: var(--tqs-primary) !important; font-weight: 600; border: 1.5px solid var(--tqs-primary); }

/* ==========================================================================
   12. PAGE HERO (inner pages)
   ========================================================================== */
.tqs-page-hero { background: linear-gradient(120deg, var(--tqs-dark) 0%, var(--tqs-primary) 100%); padding: 64px 40px; position: relative; overflow: hidden; }
.tqs-page-hero::after { content: ""; position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(139,47,201,0.18); }
.tqs-page-hero-inner { position: relative; z-index: 1; max-width: var(--container-max); margin: 0 auto; }
.tqs-breadcrumb { font-size: 13.5px; color: var(--tqs-muted-light); margin-bottom: 18px; }
.tqs-breadcrumb a { color: var(--tqs-muted-light); }
.tqs-breadcrumb a:hover { color: var(--tqs-gold-light); }
.tqs-breadcrumb .sep { margin: 0 8px; opacity: .5; }
.tqs-breadcrumb .current { color: var(--tqs-gold); }
.tqs-page-title { font-weight: 800; font-size: 44px; color: var(--tqs-white); margin: 0 0 16px; }
.tqs-page-subtitle { font-size: 16px; line-height: 1.7; color: var(--tqs-muted-light); margin: 0; max-width: 700px; }
@media (max-width: 640px) { .tqs-page-hero { padding: 40px 20px !important; } .tqs-page-title { font-size: 32px !important; } }

/* ==========================================================================
   13. ONZE DIENSTEN ARCHIVE
   ========================================================================== */
.tqs-services-archive { background: var(--tqs-light); padding: 64px 40px; }
.tqs-services-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tqs-service-card { background: var(--tqs-white); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(45,10,78,0.08); }
.tqs-service-card-media { position: relative; height: 220px; overflow: hidden; }
.tqs-service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tqs-service-card-illustration { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tqs-service-card-body { padding: 28px 26px; }
.tqs-service-card-title { font-weight: 800; font-size: 22px; color: var(--tqs-primary); margin: 0 0 12px; }
.tqs-service-card-desc { font-size: 15px; line-height: 1.7; color: var(--tqs-text); margin: 0 0 18px; }
.tqs-service-card-link { color: var(--tqs-secondary); font-weight: 700; font-size: 14.5px; }
@media (max-width: 860px) { .tqs-services-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 640px) { .tqs-services-archive { padding: 48px 20px !important; } .tqs-service-card-title { font-size: 21px !important; } }

/* ==========================================================================
   14. SINGLE SERVICE PAGE
   ========================================================================== */
.tqs-service-single { background: var(--tqs-white); padding: 64px 40px; }
.tqs-service-single-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr; gap: 48px; align-items: start; }
.tqs-service-hero-media { border-radius: 16px; overflow: hidden; margin-bottom: 32px; height: 320px; position: relative; }
.tqs-service-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.tqs-service-hero-media .tqs-service-card-illustration { background: linear-gradient(150deg, var(--tqs-primary) 0%, var(--tqs-secondary) 100%); position: absolute; inset: 0; }
.tqs-service-h2 { font-weight: 800; font-size: 26px; color: var(--tqs-primary); margin: 36px 0 16px; }
.tqs-service-content p { font-size: 16px; line-height: 1.8; color: var(--tqs-text); margin: 0 0 16px; }
.tqs-service-sidebar { position: sticky; top: 110px; }
.tqs-cta-card { background: linear-gradient(135deg, var(--tqs-primary), var(--tqs-secondary)); border-radius: 14px; padding: 28px 24px; margin-bottom: 24px; }
.tqs-cta-card h3 { color: var(--tqs-white); font-weight: 800; font-size: 19px; margin: 0 0 10px; }
.tqs-cta-card p { color: #E8DFF5; font-size: 13.5px; line-height: 1.6; margin: 0 0 20px; }
.tqs-related-card { background: var(--tqs-white); border: 1px solid var(--tqs-border); border-radius: 14px; padding: 22px; }
.tqs-related-card h4 { font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--tqs-primary); margin: 0 0 16px; text-transform: uppercase; }
.tqs-related-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14.5px; font-weight: 600; color: var(--tqs-text); border-top: 1px solid var(--tqs-border); }
.tqs-related-item:first-of-type { border-top: none; }
.tqs-related-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--tqs-light); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
@media (max-width: 900px) { .tqs-service-single-grid { grid-template-columns: 1fr !important; } .tqs-service-sidebar { position: static; } }
@media (max-width: 640px) { .tqs-service-single { padding: 44px 20px !important; } }

/* ==========================================================================
   15. CONTACT PAGE
   ========================================================================== */
.tqs-contact-info-row { max-width: var(--container-max); margin: -70px auto 0; padding: 0 40px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; z-index: 2; }
.tqs-contact-info-card { background: var(--tqs-white); border-radius: 14px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 16px 40px rgba(45,10,78,0.12); }
.tqs-contact-info-icon { width: 48px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, var(--tqs-primary), var(--tqs-secondary)); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.tqs-contact-info-card h4 { font-weight: 700; font-size: 15px; color: var(--tqs-primary); margin: 0 0 6px; }
.tqs-contact-info-card p { font-size: 14px; color: var(--tqs-muted); margin: 0; line-height: 1.5; }
.tqs-contact-main { max-width: var(--container-max); margin: 0 auto; padding: 64px 40px 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.tqs-contact-form-title { font-weight: 800; font-size: 26px; color: var(--tqs-primary); margin: 0 0 8px; }
.tqs-contact-form-sub { font-size: 15px; color: var(--tqs-muted); margin: 0 0 28px; }
.tqs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.tqs-form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--tqs-primary); margin-bottom: 7px; }
.tqs-input, .tqs-textarea, .tqs-select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--tqs-border); border-radius: 8px; font-size: 14.5px; font-family: var(--tqs-font-body); color: var(--tqs-text); transition: border-color .2s; background: var(--tqs-white); }
.tqs-textarea { resize: vertical; }
.tqs-form-submit { margin-top: 8px; }
.tqs-form-message { padding: 16px; border-radius: 10px; margin-bottom: 20px; font-size: 14.5px; display: none; }
.tqs-form-message.is-success { display: block; background: #E8F7EE; color: #1F7A44; }
.tqs-form-message.is-error { display: block; background: #FCE8E8; color: #A32626; }
.tqs-sidebar-card { background: var(--tqs-light); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.tqs-sidebar-card h4 { font-weight: 700; font-size: 15px; color: var(--tqs-primary); letter-spacing: 0.3px; margin: 0 0 18px; }
.tqs-hours-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--tqs-text); padding: 8px 0; }
.tqs-hours-row strong { color: var(--tqs-primary); }
.tqs-hours-note { color: var(--tqs-gold); font-weight: 600; font-size: 13.5px; margin-top: 10px; }
.tqs-whatsapp-card { background: #25D366; border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.tqs-whatsapp-card-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.tqs-whatsapp-card-text { color: var(--tqs-white); }
.tqs-whatsapp-card-text .title { font-weight: 700; font-size: 15px; }
.tqs-whatsapp-card-text .sub { font-size: 12.5px; opacity: 0.9; }
.tqs-map-embed { border-radius: 14px; overflow: hidden; background: var(--tqs-primary); min-height: 220px; }
.tqs-map-embed iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }
@media (max-width: 900px) {
  .tqs-contact-info-row { grid-template-columns: 1fr !important; margin-top: -40px !important; }
  .tqs-contact-main { grid-template-columns: 1fr !important; padding: 44px 20px 0 !important; }
  .tqs-form-row { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   16. WIE ZIJN WIJ
   ========================================================================== */
.tqs-story-section { background: var(--tqs-white); padding: 64px 40px; }
.tqs-story-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tqs-story-media { border-radius: 16px; overflow: hidden; min-height: 340px; background: linear-gradient(150deg, var(--tqs-primary), var(--tqs-secondary)); display: flex; align-items: center; justify-content: center; }
.tqs-story-media img { width: 100%; height: 100%; object-fit: cover; }
.tqs-values-section { background: var(--tqs-light); padding: 56px 40px; }
.tqs-values-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.tqs-values-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.tqs-value-card { background: var(--tqs-white); border-radius: 12px; padding: 28px 22px; text-align: center; border: 1px solid var(--tqs-border); }
.tqs-value-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--tqs-primary), var(--tqs-secondary)); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 16px; }
.tqs-guarantee-band { background: var(--tqs-dark); padding: 48px 40px; }
.tqs-guarantee-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.tqs-guarantee-item h4 { color: var(--tqs-white); font-weight: 700; font-size: 15px; margin: 12px 0 6px; }
.tqs-guarantee-item p { color: var(--tqs-muted); font-size: 13px; margin: 0; }
@media (max-width: 900px) { .tqs-story-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 860px) { .tqs-values-grid, .tqs-guarantee-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 480px) { .tqs-values-grid, .tqs-guarantee-grid { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   17. FOTOGALERIJ
   ========================================================================== */
.tqs-gallery-section { background: var(--tqs-light); padding: 64px 40px; }
.tqs-gallery-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.tqs-gallery-tile { position: relative; border-radius: 12px; overflow: hidden; height: 220px; cursor: pointer; background: linear-gradient(150deg, var(--tqs-primary), var(--tqs-secondary)); }
.tqs-gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.tqs-gallery-tile:hover img { transform: scale(1.08); }
.tqs-gallery-tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(26,5,51,0.85), transparent); color: var(--tqs-white); font-weight: 700; font-size: 14px; }
.tqs-gallery-tile-zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition-base); }
.tqs-gallery-tile:hover .tqs-gallery-tile-zoom { opacity: 1; }
.tqs-lightbox { display: none; position: fixed; inset: 0; background: rgba(26,5,51,0.94); z-index: 1000; align-items: center; justify-content: center; }
.tqs-lightbox.is-open { display: flex; }
.tqs-lightbox img { max-width: 88vw; max-height: 82vh; border-radius: 8px; }
.tqs-lightbox-close { position: absolute; top: 24px; right: 30px; color: var(--tqs-white); font-size: 32px; cursor: pointer; background: none; border: none; }
.tqs-lightbox-prev, .tqs-lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: var(--tqs-white); font-size: 30px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.tqs-lightbox-prev { left: 24px; }
.tqs-lightbox-next { right: 24px; }
@media (max-width: 1024px) { .tqs-gallery-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (max-width: 640px) { .tqs-gallery-section { padding: 48px 20px !important; } .tqs-gallery-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; } }
@media (max-width: 420px) { .tqs-gallery-grid { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   18. LEGAL PAGES
   ========================================================================== */
.tqs-legal-section { background: var(--tqs-white); padding: 56px 40px 80px; }
.tqs-legal-content { max-width: 800px; margin: 0 auto; }
.tqs-legal-updated { font-size: 14px; color: var(--tqs-muted); margin: 0 0 30px; padding-bottom: 20px; border-bottom: 1px solid var(--tqs-border); }
.tqs-legal-content h2 { font-weight: 800; font-size: 22px; color: var(--tqs-primary); margin: 0 0 16px; }
.tqs-legal-content p { font-size: 16px; line-height: 1.85; color: var(--tqs-text); margin: 0 0 32px; }
.tqs-legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.tqs-legal-content li { font-size: 16px; line-height: 1.85; color: var(--tqs-text); margin-bottom: 6px; }
.tqs-legal-content a { color: var(--tqs-secondary); font-weight: 600; }

/* ==========================================================================
   19. FOOTER
   ========================================================================== */
.tqs-footer { background: var(--tqs-dark); padding: 56px 40px 0; }
.tqs-footer-grid { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tqs-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.tqs-footer-brand-logo { display: flex; align-items: center; justify-content: center; line-height: 0; flex-shrink: 0; }
.tqs-footer-brand-logo--fallback { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--tqs-gold), var(--tqs-gold-light)); font-weight: 800; color: var(--tqs-primary); font-size: 16px; line-height: 40px; text-align: center; }
.tqs-footer-brand-logo--has-image { width: auto; height: auto; background: none; border-radius: 0; }
.tqs-footer-brand-logo .tqs-site-logo-img { max-height: 48px; max-width: 200px; }
.tqs-footer-brand-name { font-weight: 800; font-size: 17px; color: var(--tqs-white); }
.tqs-footer-desc { font-size: 14px; line-height: 1.7; color: var(--tqs-muted); margin: 0 0 22px; max-width: 280px; }
.tqs-footer-socials { display: flex; gap: 10px; }
.tqs-social { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: var(--tqs-gold-light); font-size: 14px; transition: all .2s; }
.tqs-footer h5 { font-weight: 700; font-size: 14px; color: var(--tqs-white); letter-spacing: 1px; margin: 0 0 20px; }
.tqs-footer-links { display: flex; flex-direction: column; gap: 13px; }
.tqs-footer-links a { color: var(--tqs-muted); font-size: 14px; transition: color .2s; }
.tqs-footer-contact-row { font-size: 14px; color: var(--tqs-muted); display: flex; gap: 10px; margin-bottom: 15px; }
.tqs-footer-contact-row span.ic { color: var(--tqs-gold); }
.tqs-footer-bottom { max-width: var(--container-max); margin: 0 auto; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.tqs-footer-copy { font-size: 13px; color: var(--tqs-muted); }
.tqs-footer-legal-links { display: flex; gap: 24px; }
.tqs-footer-legal-links a { color: var(--tqs-muted); font-size: 13px; }
@media (max-width: 900px) { .tqs-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; } }
@media (max-width: 560px) { .tqs-footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; } .tqs-footer { padding: 40px 20px 0 !important; } }

/* ==========================================================================
   20. GDPR COOKIE BANNER + WHATSAPP FAB + BACK TO TOP
   ========================================================================== */
.tqs-cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 620px; margin: 0 auto; background: var(--tqs-dark); color: var(--tqs-muted-light); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 22px 26px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); z-index: 900; display: none; }
.tqs-cookie-banner.is-visible { display: block; }
.tqs-cookie-banner p { font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; }
.tqs-cookie-banner a { color: var(--tqs-gold-light); text-decoration: underline; }
.tqs-cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tqs-cookie-accept { background: var(--tqs-gold); color: var(--tqs-primary); font-weight: 700; font-size: 13.5px; padding: 10px 20px; border-radius: 6px; border: none; }
.tqs-cookie-decline { background: transparent; color: var(--tqs-muted-light); font-weight: 600; font-size: 13.5px; padding: 10px 20px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); }

.tqs-whatsapp-fab { position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 800; transition: transform .2s; }
.tqs-whatsapp-fab:hover { transform: scale(1.08); }

.tqs-back-to-top { position: fixed; right: 24px; bottom: 92px; width: 44px; height: 44px; border-radius: 50%; background: var(--tqs-primary); color: var(--tqs-white); display: none; align-items: center; justify-content: center; font-size: 18px; border: none; box-shadow: 0 8px 20px rgba(0,0,0,0.25); z-index: 800; cursor: pointer; }
.tqs-back-to-top.is-visible { display: flex; }
@media (max-width: 640px) { .tqs-whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 24px; } .tqs-back-to-top { right: 16px; bottom: 78px; } }

/* ==========================================================================
   21. 404 PAGE
   ========================================================================== */
.tqs-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; background: var(--tqs-light); }
.tqs-404 .code { font-family: var(--tqs-font-heading); font-weight: 800; font-size: 120px; color: var(--tqs-primary); line-height: 1; margin-bottom: 10px; }
.tqs-404 h1 { font-size: 26px; color: var(--tqs-primary); margin-bottom: 14px; }
.tqs-404 p { color: var(--tqs-muted); margin-bottom: 28px; }

/* ==========================================================================
   22. ELEMENTOR COMPATIBILITY
   ========================================================================== */
.elementor-section, .e-con { max-width: var(--container-max); }
.tqs-elementor-btn-primary { background: linear-gradient(135deg, var(--tqs-gold), var(--tqs-gold-light)) !important; color: var(--tqs-primary) !important; }

/* ==========================================================================
   23. BREADCRUMBS / SEMANTIC HELPERS
   ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
