/* ============================================
   MijnVloerOnderdeel BV - Main Stylesheet
   v2.0 — Polished, Mobile-First, Consistent
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg: #FDFBF7;
  --color-bg-alt: #F7F3ED;
  --color-bg-warm: #F0EBE1;
  --color-text: #2E2A25;
  --color-text-light: #6B6560;
  --color-text-muted: #9C9590;
  --color-heading: #1E1A15;
  --color-accent: #D4792C;
  --color-accent-hover: #BF6A20;
  --color-accent-light: #F5E6D5;
  --color-accent-subtle: #E8C9A8;
  --color-white: #FFFFFF;
  --color-card: #FFFFFF;
  --color-border: #E8E2DA;
  --color-success: #5A8F5A;
  --color-star: #F0A830;
  --color-whatsapp: #25D366;

  --shadow-sm: 0 2px 8px rgba(46,42,37,0.06);
  --shadow-md: 0 4px 24px rgba(46,42,37,0.08);
  --shadow-lg: 0 8px 40px rgba(46,42,37,0.1);
  --shadow-card: 0 2px 20px rgba(46,42,37,0.06);
  --shadow-card-hover: 0 12px 48px rgba(46,42,37,0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Poppins', sans-serif;
  --max-width: 1200px;

  --section-pad: 120px;
  --section-pad-mobile: 80px;
}

/* --- Reset & Base --- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color:var(--color-accent); text-decoration:none; transition:var(--transition); }
a:hover { color:var(--color-accent-hover); }
ul { list-style:none; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { color:var(--color-heading); font-weight:700; line-height:1.2; letter-spacing:-0.02em; }
h1 { font-size:clamp(2.2rem,5vw,3.4rem); font-weight:800; line-height:1.12; letter-spacing:-0.03em; }
h2 { font-size:clamp(1.7rem,3.5vw,2.5rem); line-height:1.18; }
h3 { font-size:clamp(1.15rem,2.5vw,1.4rem); line-height:1.3; letter-spacing:-0.01em; }
p { margin-bottom:1rem; line-height:1.75; }

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

/* --- Utility --- */
.section-padding { padding:var(--section-pad) 0; }
.section-padding-lg { padding:calc(var(--section-pad) + 20px) 0; }
.text-center { text-align:center; }
.text-accent { color:var(--color-accent); }
.text-muted { color:var(--color-text-muted); }

.section-label {
  display:inline-block; font-size:0.78rem; font-weight:600;
  text-transform:uppercase; letter-spacing:2.5px;
  color:var(--color-accent); margin-bottom:14px;
}
.section-title { margin-bottom:16px; }
.section-subtitle {
  color:var(--color-text-light); font-size:1.05rem;
  max-width:600px; margin:0 auto 56px; font-weight:400; line-height:1.75;
}
.bg-alt { background-color:var(--color-bg-alt); }
.bg-warm { background-color:var(--color-bg-warm); }

/* --- Buttons --- */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:15px 34px; border-radius:50px;
  font-family:var(--font); font-size:0.93rem; font-weight:600;
  cursor:pointer; border:none; transition:var(--transition);
  text-decoration:none; white-space:nowrap;
}
.btn-primary { background:var(--color-accent); color:var(--color-white); box-shadow:0 4px 20px rgba(212,121,44,0.3); }
.btn-primary:hover { background:var(--color-accent-hover); color:var(--color-white); transform:translateY(-2px); box-shadow:0 8px 28px rgba(212,121,44,0.4); }
.btn-secondary { background:transparent; color:var(--color-text); border:2px solid var(--color-border); }
.btn-secondary:hover { border-color:var(--color-accent); color:var(--color-accent); transform:translateY(-2px); }
.btn-white { background:var(--color-white); color:var(--color-accent); }
.btn-white:hover { background:var(--color-bg-alt); color:var(--color-accent-hover); transform:translateY(-2px); }
.btn-sm { padding:11px 24px; font-size:0.85rem; }

/* ===== STICKY HEADER ===== */
.header {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  background:rgba(253,251,247,0.88); backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid transparent; transition:var(--transition);
}
.header.scrolled { border-bottom-color:var(--color-border); box-shadow:var(--shadow-sm); background:rgba(253,251,247,0.96); }
.header-inner {
  display:flex; align-items:center; justify-content:space-between;
  height:76px; max-width:var(--max-width); margin:0 auto; padding:0 24px;
}
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-icon { width:40px; height:40px; background:var(--color-accent); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.logo-icon svg { width:22px; height:22px; fill:white; }
.logo-text { font-size:1.12rem; font-weight:700; color:var(--color-heading); letter-spacing:-0.01em; }
.logo-text span { color:var(--color-accent); }

.nav { display:flex; align-items:center; gap:32px; }
.nav-links { display:flex; gap:28px; }
.nav-links a { font-size:0.88rem; font-weight:500; color:var(--color-text); position:relative; padding:4px 0; }
.nav-links a::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:2px; background:var(--color-accent); border-radius:2px; transition:var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-links a:hover, .nav-links a.active { color:var(--color-accent); }
.header-cta { padding:10px 24px; font-size:0.84rem; }

/* Mobile menu */
.menu-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; background:none; border:none; }
.menu-toggle span { width:24px; height:2px; background:var(--color-heading); border-radius:2px; transition:var(--transition); }
.mobile-nav { display:none; position:fixed; top:76px; left:0; width:100%; background:var(--color-bg); border-bottom:1px solid var(--color-border); box-shadow:var(--shadow-lg); padding:16px 24px 24px; z-index:999; }
.mobile-nav.active { display:block; }
.mobile-nav a { display:block; padding:14px 0; font-size:1rem; font-weight:500; color:var(--color-text); border-bottom:1px solid var(--color-border); }
.mobile-nav a:last-child { border:none; }
.mobile-nav a:hover { color:var(--color-accent); }
.mobile-nav .btn { margin-top:16px; width:100%; justify-content:center; }

/* ===== HERO ===== */
.hero { padding:150px 0 var(--section-pad); position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; top:-100px; right:-200px; width:600px; height:600px; background:radial-gradient(circle,rgba(212,121,44,0.06) 0%,transparent 70%); border-radius:50%; z-index:0; }
.hero-grid { display:grid; grid-template-columns:1fr 1.15fr; gap:48px; align-items:center; position:relative; z-index:1; }
.hero-content { max-width:560px; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:var(--color-accent-light); color:var(--color-accent); padding:8px 18px; border-radius:50px; font-size:0.8rem; font-weight:600; margin-bottom:28px; }
.hero-badge svg { width:16px; height:16px; }
.hero h1 { margin-bottom:22px; }
.hero h1 .highlight { color:var(--color-accent); position:relative; }
.hero-text { font-size:1.08rem; color:var(--color-text-light); margin-bottom:36px; line-height:1.8; }
.hero-buttons { display:flex; gap:16px; margin-bottom:44px; flex-wrap:wrap; }
.hero-stats { display:flex; gap:40px; padding-top:32px; border-top:1px solid var(--color-border); }
.hero-stat { text-align:left; }
.hero-stat .number { font-size:1.8rem; font-weight:800; color:var(--color-heading); letter-spacing:-0.02em; }
.hero-stat .label { font-size:0.82rem; color:var(--color-text-muted); font-weight:500; }
.hero-image { position:relative; }
.hero-image-wrapper { border-radius:var(--radius-2xl); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:5/4; background:var(--color-bg-warm); position:relative; }
.hero-image-wrapper img { width:100%; height:100%; object-fit:cover; }
.hero-image-float { position:absolute; bottom:-20px; left:-20px; background:var(--color-white); border-radius:var(--radius-md); padding:16px 20px; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:12px; }
.hero-image-float .stars { color:var(--color-star); font-size:0.9rem; }
.hero-image-float .rating-text { font-weight:700; font-size:0.9rem; }
.hero-image-float .rating-sub { font-size:0.75rem; color:var(--color-text-muted); }

/* ===== TRUST BAR ===== */
.trust-bar { padding:52px 0; border-top:1px solid var(--color-border); border-bottom:1px solid var(--color-border); }
.trust-items { display:flex; justify-content:center; gap:48px; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:14px; }
.trust-icon { width:50px; height:50px; background:var(--color-accent-light); border-radius:var(--radius-md); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.trust-icon svg { width:22px; height:22px; stroke:var(--color-accent); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.trust-label { font-weight:600; font-size:0.95rem; color:var(--color-heading); }
.trust-sub { font-size:0.8rem; color:var(--color-text-muted); }

/* ===== SERVICE CARDS (homepage icon cards) ===== */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card {
  background:var(--color-card); border-radius:var(--radius-xl);
  padding:36px 28px 32px; text-align:center;
  box-shadow:var(--shadow-card); border:1px solid var(--color-border);
  transition:var(--transition); text-decoration:none;
  display:flex; flex-direction:column; align-items:center;
}
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-card-hover); border-color:var(--color-accent-subtle); }
.service-card-icon { width:68px; height:68px; background:var(--color-accent-light); border-radius:var(--radius-lg); display:flex; align-items:center; justify-content:center; margin-bottom:22px; flex-shrink:0; }
.service-card-icon svg { width:28px; height:28px; stroke:var(--color-accent); fill:none; stroke-width:2; }
.service-card h3 { font-size:1.05rem; margin-bottom:10px; }
.service-card p { font-size:0.88rem; color:var(--color-text-light); margin-bottom:18px; line-height:1.7; }
.service-card .card-link { font-size:0.85rem; font-weight:600; color:var(--color-accent); display:inline-flex; align-items:center; gap:4px; margin-top:auto; transition:var(--transition); }
.service-card:hover .card-link { gap:8px; }

/* ===== WHY CHOOSE US ===== */
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.why-card {
  background:var(--color-card); border-radius:var(--radius-xl);
  padding:36px 28px; border:1px solid var(--color-border);
  transition:var(--transition); text-align:center;
  display:flex; flex-direction:column; align-items:center;
}
.why-card:hover { box-shadow:var(--shadow-md); border-color:var(--color-accent-subtle); }
.why-icon { width:56px; height:56px; background:var(--color-accent-light); border-radius:var(--radius-md); display:flex; align-items:center; justify-content:center; margin-bottom:20px; font-size:1.5rem; flex-shrink:0; stroke:var(--color-accent); }
.why-card h3 { font-size:1.05rem; margin-bottom:10px; }
.why-card p { font-size:0.9rem; color:var(--color-text-light); margin-bottom:0; line-height:1.7; }

/* ===== GOOGLE REVIEWS — Modern Premium ===== */
.reviews-section { overflow:hidden; padding:var(--section-pad) 0; }
.reviews-header { text-align:center; margin-bottom:48px; }
.reviews-badge {
  display:inline-flex; align-items:center; gap:14px;
  background:var(--color-card); border:1px solid var(--color-border);
  border-radius:60px; padding:12px 28px; box-shadow:var(--shadow-md);
}
.reviews-badge .google-g { width:28px; height:28px; flex-shrink:0; }
.reviews-badge-info { text-align:left; }
.reviews-badge-score { font-size:1rem; font-weight:700; color:var(--color-heading); display:flex; align-items:center; gap:6px; }
.reviews-badge-score .stars { color:var(--color-star); font-size:0.85rem; letter-spacing:1px; }
.reviews-badge-count { font-size:0.78rem; color:var(--color-text-muted); font-weight:400; }

.reviews-track-wrapper {
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,transparent,black 3%,black 97%,transparent);
  mask-image:linear-gradient(to right,transparent,black 3%,black 97%,transparent);
}
.reviews-track { display:flex; gap:24px; animation:scrollReviews 80s linear infinite; width:max-content; }
.reviews-track:hover { animation-play-state:paused; }
@keyframes scrollReviews { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.review-card {
  background:var(--color-card); border-radius:var(--radius-xl);
  padding:28px; min-width:340px; max-width:340px;
  box-shadow:var(--shadow-card); border:1px solid var(--color-border);
  flex-shrink:0; display:flex; flex-direction:column; transition:var(--transition);
}
.review-card:hover { box-shadow:var(--shadow-md); }
.review-card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.review-stars { color:var(--color-star); font-size:0.95rem; letter-spacing:2px; }
.review-google-g { width:22px; height:22px; flex-shrink:0; opacity:0.7; }
.review-text { font-size:0.91rem; color:var(--color-text); line-height:1.75; margin-bottom:20px; flex-grow:1; }
.review-author { display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:16px; border-top:1px solid var(--color-border); }
.review-avatar { width:40px; height:40px; border-radius:50%; background:var(--color-accent-light); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.85rem; color:var(--color-accent); flex-shrink:0; }
.review-name { font-weight:600; font-size:0.88rem; }
.review-date { font-size:0.75rem; color:var(--color-text-muted); }

/* Legacy review-header support */
.reviews-rating { display:flex; align-items:center; gap:8px; }
.reviews-rating .stars { color:var(--color-star); font-size:1.1rem; }
.reviews-rating .score { font-weight:700; font-size:1.1rem; }
.reviews-rating .count { color:var(--color-text-muted); font-size:0.9rem; }
.google-logo { height:28px; }

/* ===== PROCESS STEPS ===== */
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; position:relative; }
.process-steps::before { content:''; position:absolute; top:36px; left:10%; right:10%; height:2px; background:var(--color-border); z-index:0; }
.process-step { text-align:center; position:relative; z-index:1; }
.process-number { width:72px; height:72px; border-radius:50%; background:var(--color-accent); color:var(--color-white); font-weight:800; font-size:1.5rem; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; box-shadow:0 4px 16px rgba(212,121,44,0.25); }
.process-step h3 { font-size:1rem; margin-bottom:10px; }
.process-step p { font-size:0.88rem; color:var(--color-text-light); line-height:1.7; }

/* ===== PROJECT CARDS ===== */
.projects-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.projects-grid--two { grid-template-columns:repeat(2,1fr); max-width:840px; margin-left:auto; margin-right:auto; }
.project-card { background:var(--color-card); border-radius:var(--radius-xl); overflow:hidden; box-shadow:var(--shadow-card); border:1px solid var(--color-border); transition:var(--transition); text-decoration:none; display:block; }
.project-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-card-hover); }
.project-card-image { aspect-ratio:16/10; background:var(--color-bg-warm); overflow:hidden; position:relative; }
.project-card-image img { width:100%; height:100%; object-fit:cover; transition:var(--transition); }
.project-card:hover .project-card-image img { transform:scale(1.05); }
.project-card-body { padding:24px; }
.project-card-tag { font-size:0.73rem; font-weight:600; color:var(--color-accent); text-transform:uppercase; letter-spacing:1.2px; margin-bottom:8px; }
.project-card h3 { font-size:1.08rem; margin-bottom:8px; }
.project-card p { font-size:0.88rem; color:var(--color-text-light); margin-bottom:0; line-height:1.7; }

/* ===== BEFORE/AFTER SLIDER ===== */
.ba-slider { position:relative; overflow:hidden; border-radius:var(--radius-xl); aspect-ratio:16/10; cursor:col-resize; user-select:none; }
.ba-slider .ba-image { position:absolute; top:0; left:0; width:100%; height:100%; }
.ba-slider .ba-image img { width:100%; height:100%; object-fit:cover; }
.ba-slider .ba-after { clip-path:inset(0 0 0 50%); z-index:1; }
.ba-slider .ba-before { z-index:0; }
.ba-slider .ba-handle { position:absolute; top:0; left:50%; width:4px; height:100%; background:var(--color-white); z-index:2; transform:translateX(-50%); box-shadow:0 0 8px rgba(0,0,0,0.3); }
.ba-slider .ba-handle::after { content:'⟨ ⟩'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:44px; height:44px; background:var(--color-white); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.85rem; font-weight:700; color:var(--color-text); box-shadow:var(--shadow-md); letter-spacing:4px; }
.ba-labels { display:flex; justify-content:space-between; padding:10px 0; }
.ba-labels span { font-size:0.78rem; font-weight:600; color:var(--color-text-muted); text-transform:uppercase; letter-spacing:1px; }

/* ===== CTA SECTION ===== */
.cta-section { background:var(--color-accent); padding:var(--section-pad) 0; text-align:center; position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; top:-80px; right:-80px; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,0.08); }
.cta-section::after { content:''; position:absolute; bottom:-60px; left:-60px; width:200px; height:200px; border-radius:50%; background:rgba(255,255,255,0.05); }
.cta-section h2 { color:var(--color-white); margin-bottom:16px; }
.cta-section p { color:rgba(255,255,255,0.85); font-size:1.05rem; max-width:540px; margin:0 auto 36px; line-height:1.75; }
.cta-section .btn { position:relative; z-index:1; }

/* ===== FOOTER ===== */
.footer-service-area {
  border-bottom:1px solid rgba(255,255,255,0.1);
  padding-bottom:24px;
  margin-bottom:48px;
  font-size:0.82rem;
  color:rgba(255,255,255,0.45);
}
.footer-service-area a { color:rgba(255,255,255,0.45); text-decoration:none; }
.footer-service-area a:hover { color:var(--color-accent); }

.footer { background:var(--color-heading); color:rgba(255,255,255,0.7); padding:72px 0 24px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand p { font-size:0.9rem; margin-top:16px; line-height:1.8; }
.footer h4 { color:var(--color-white); font-size:0.95rem; margin-bottom:20px; }
.footer-links a { display:block; color:rgba(255,255,255,0.6); font-size:0.88rem; padding:5px 0; }
.footer-links a:hover { color:var(--color-accent); }
.footer-contact-item { display:flex; gap:10px; align-items:flex-start; font-size:0.88rem; margin-bottom:12px; }
.footer-contact-item svg { width:18px; height:18px; stroke:var(--color-accent); fill:none; stroke-width:2; flex-shrink:0; margin-top:3px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; text-align:center; font-size:0.8rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:0.9rem; font-weight:600; margin-bottom:8px; color:var(--color-heading); }
.form-group input, .form-group textarea, .form-group select { width:100%; padding:14px 18px; border:2px solid var(--color-border); border-radius:var(--radius-md); font-family:var(--font); font-size:0.95rem; color:var(--color-text); background:var(--color-white); transition:var(--transition); -webkit-appearance:none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline:none; border-color:var(--color-accent); box-shadow:0 0 0 4px rgba(212,121,44,0.1); }
.form-group textarea { min-height:140px; resize:vertical; }

/* ===== PAGE HEADER ===== */
.page-header { padding:150px 0 64px; text-align:center; background:var(--color-bg-alt); position:relative; }
.page-header .section-label { margin-bottom:12px; }
.page-header h1 { margin-bottom:16px; }
.page-header p { color:var(--color-text-light); font-size:1.05rem; max-width:560px; margin:0 auto; line-height:1.75; }
.breadcrumb { display:flex; justify-content:center; gap:8px; margin-top:20px; font-size:0.82rem; color:var(--color-text-muted); }
.breadcrumb a { color:var(--color-text-muted); }
.breadcrumb a:hover { color:var(--color-accent); }

/* ===== ABOUT PAGE ===== */
.about-story { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-image { border-radius:var(--radius-2xl); overflow:hidden; aspect-ratio:4/3; background:var(--color-bg-warm); }
.about-image img { width:100%; height:100%; object-fit:cover; }
.about-values { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:24px; }
.value-card { background:var(--color-card); border-radius:var(--radius-xl); padding:36px 28px; border:1px solid var(--color-border); text-align:center; display:flex; flex-direction:column; align-items:center; transition:var(--transition); }
.value-card:hover { box-shadow:var(--shadow-md); border-color:var(--color-accent-subtle); }
.value-card .icon { font-size:2rem; margin-bottom:18px; }
.value-card h3 { font-size:1.05rem; margin-bottom:10px; }
.value-card p { font-size:0.88rem; color:var(--color-text-light); margin:0; line-height:1.7; }

/* ===== FAQ SECTION GRID (homepage) ===== */
.faq-section-grid {
  display:grid;
  grid-template-columns:1fr 1.6fr;
  gap:64px;
  align-items:start;
}
.faq-section-grid .faq-list { max-width:none; }
@media (max-width:992px) {
  .faq-section-grid { grid-template-columns:1fr; gap:32px; }
}

/* ===== ABOUT STATS ===== */
.about-stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
}
.about-stat-number {
  font-size:clamp(2.2rem,5vw,3.2rem);
  font-weight:800;
  color:var(--color-accent);
  letter-spacing:-0.03em;
  line-height:1;
  margin-bottom:8px;
}
.about-stat-label {
  font-size:0.88rem;
  color:var(--color-text-light);
  font-weight:500;
}
@media (max-width:768px) {
  .about-stats { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px) {
  .about-stats { grid-template-columns:repeat(2,1fr); gap:16px; }
}

/* ===== SERVICE DETAIL ===== */
.service-detail-grid { display:grid; grid-template-columns:2fr 1fr; gap:48px; }
.service-content h2 { margin-top:44px; margin-bottom:16px; }
.service-content h3 { margin-top:28px; margin-bottom:12px; }
.benefit-list { list-style:none; }
.benefit-list li { padding:10px 0; padding-left:32px; position:relative; font-size:0.95rem; line-height:1.7; }
.benefit-list li::before { content:'✓'; position:absolute; left:0; color:var(--color-success); font-weight:700; }
.service-sidebar { position:sticky; top:100px; }
.sidebar-card { background:var(--color-card); border-radius:var(--radius-xl); padding:28px; box-shadow:var(--shadow-card); border:1px solid var(--color-border); margin-bottom:24px; }
.sidebar-card h4 { font-size:1rem; margin-bottom:16px; }
.sidebar-nav a { display:block; padding:10px 14px; font-size:0.9rem; color:var(--color-text); border-radius:var(--radius-sm); margin-bottom:4px; transition:var(--transition); }
.sidebar-nav a:hover, .sidebar-nav a.active { background:var(--color-accent-light); color:var(--color-accent); }

/* ===== FAQ ===== */
.faq-list { max-width:720px; margin:0 auto; }
.faq-item { border:1px solid var(--color-border); border-radius:var(--radius-md); margin-bottom:12px; overflow:hidden; background:var(--color-card); transition:var(--transition); }
.faq-item:hover { border-color:var(--color-accent-subtle); }
.faq-question { width:100%; display:flex; justify-content:space-between; align-items:center; padding:20px 24px; font-family:var(--font); font-size:0.95rem; font-weight:600; color:var(--color-heading); background:none; border:none; cursor:pointer; text-align:left; gap:16px; }
.faq-question::after { content:'+'; font-size:1.3rem; font-weight:300; color:var(--color-accent); transition:var(--transition); flex-shrink:0; }
.faq-item.active .faq-question::after { transform:rotate(45deg); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.3s ease; }
.faq-answer-inner { padding:0 24px 20px; font-size:0.9rem; color:var(--color-text-light); line-height:1.8; }

/* ===== BLOG ===== */
/* Blog cards now defined below with editorial style */

.blog-article { max-width:780px; margin:0 auto; padding:56px 24px var(--section-pad); }
.blog-article h2 { margin-top:44px; margin-bottom:16px; }
.blog-article h3 { margin-top:28px; margin-bottom:12px; }
.blog-article p { font-size:1.02rem; line-height:1.85; margin-bottom:18px; }
.blog-article ul { margin:16px 0; padding-left:24px; }
.blog-article ul li { padding:6px 0; padding-left:16px; position:relative; font-size:0.98rem; }
.blog-article ul li::before { content:'•'; position:absolute; left:0; color:var(--color-accent); font-weight:700; }
.blog-cta-box { background:var(--color-accent-light); border-radius:var(--radius-xl); padding:44px; text-align:center; margin:48px 0; border:1px solid var(--color-accent-subtle); }
.blog-cta-box h3 { margin-top:0; }
.blog-cta-box p { max-width:480px; margin:0 auto 22px; }

/* ===== QUOTE PAGE ===== */
.quote-grid { display:grid; grid-template-columns:5fr 4fr; gap:64px; align-items:start; }
.quote-trust { display:flex; gap:20px; margin-top:32px; flex-wrap:wrap; }
.quote-trust-item { display:flex; align-items:center; gap:8px; font-size:0.88rem; font-weight:500; color:var(--color-text-light); }
.quote-trust-item svg { width:18px; height:18px; stroke:var(--color-success); fill:none; stroke-width:2.5; }
.form-card { background:var(--color-card); border-radius:var(--radius-xl); padding:40px; box-shadow:var(--shadow-lg); border:1px solid var(--color-border); }
.form-card h3 { margin-bottom:24px; }

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position:fixed; bottom:24px; right:24px; z-index:900;
  width:60px; height:60px; background:var(--color-whatsapp);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,0.35);
  transition:var(--transition); text-decoration:none; border:none; cursor:pointer;
}
.whatsapp-float:hover { transform:scale(1.1) translateY(-2px); box-shadow:0 6px 28px rgba(37,211,102,0.45); }
.whatsapp-float svg { width:30px; height:30px; fill:#fff; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease,transform 0.6s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }
.fade-in-left { opacity:0; transform:translateX(-32px); transition:opacity 0.6s ease,transform 0.6s ease; }
.fade-in-left.visible { opacity:1; transform:translateX(0); }
.fade-in-right { opacity:0; transform:translateX(32px); transition:opacity 0.6s ease,transform 0.6s ease; }
.fade-in-right.visible { opacity:1; transform:translateX(0); }
.stagger-children .fade-in:nth-child(1) { transition-delay:0ms; }
.stagger-children .fade-in:nth-child(2) { transition-delay:80ms; }
.stagger-children .fade-in:nth-child(3) { transition-delay:160ms; }
.stagger-children .fade-in:nth-child(4) { transition-delay:240ms; }
.stagger-children .fade-in:nth-child(5) { transition-delay:320ms; }

/* ===== PYRAMID LAYOUT — Homepage only, desktop only ===== */
/* 6-col grid: top 2 cards centered (cols 2-4, 4-6), bottom 3 fill width (cols 1-3, 3-5, 5-7) */
/* All 5 cards are equal width (2 cols each), top row is narrower = pyramid shape */
@media (min-width:993px) {
  .pyramid {
    grid-template-columns:repeat(6,1fr) !important;
  }
  .pyramid > :nth-child(1) { grid-column:2/4; }
  .pyramid > :nth-child(2) { grid-column:4/6; }
  .pyramid > :nth-child(3) { grid-column:1/3; }
  .pyramid > :nth-child(4) { grid-column:3/5; }
  .pyramid > :nth-child(5) { grid-column:5/7; }
}

/* ===== RESPONSIVE — Tablet (≤992px) ===== */
@media (max-width:992px) {
  .hero-grid { grid-template-columns:1fr; gap:40px; }
  .hero-content { max-width:100%; text-align:center; }
  .hero-buttons { justify-content:center; }
  .hero-stats { justify-content:center; }
  .hero-image-float { left:auto; right:16px; bottom:16px; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .services-page-grid { grid-template-columns:repeat(2,1fr); }
  .projects-grid { grid-template-columns:repeat(2,1fr); }
  .blog-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .about-story { grid-template-columns:1fr; gap:32px; }
  .service-detail-grid { grid-template-columns:1fr; }
  .service-sidebar { position:static; }
  .quote-grid { grid-template-columns:1fr; }
  .process-steps { grid-template-columns:repeat(2,1fr); }
  .process-steps::before { display:none; }
}

/* ===== RESPONSIVE — Mobile (≤768px) ===== */
@media (max-width:768px) {
  :root { --section-pad:var(--section-pad-mobile); }
  .nav-links, .header-cta { display:none; }
  .menu-toggle { display:flex; }
  .hero { padding:130px 0 var(--section-pad-mobile); }
  .page-header { padding:100px 0 28px; }
  .page-header h1 { font-size:1.6rem; margin-bottom:8px; }
  .page-header p { font-size:0.9rem; margin-bottom:4px; }
  .page-header .section-label { margin-bottom:8px; font-size:0.72rem; }
  .page-header .breadcrumb { margin-top:12px; }

  /* Trust bar — vertical stack, centered */
  .trust-bar { padding:40px 0; }
  .trust-items { flex-direction:column; gap:20px; align-items:center; }
  .trust-item { flex-direction:column; text-align:center; gap:10px; }

  /* Hero stats — centered */
  .hero-stats { display:none; }
  .hero-stat { text-align:center; }

  /* Mobile nav button fix */
  .mobile-nav .btn { text-align:center; display:flex; align-items:center; justify-content:center; padding:14px 24px; }

  /* Quote page: hide intro heading + text on mobile */
  .quote-intro-heading, .quote-intro-text { display:none; }
  /* Quote page: less top whitespace on mobile */
  .page-header-compact { padding:84px 0 20px; }
  .page-header-compact + .section-padding { padding-top:24px; }

  /* Cards — single column, icon above text */
  .services-grid { grid-template-columns:1fr; gap:16px; }
  .service-card { flex-direction:column; align-items:center; text-align:center; padding:32px 24px 28px; }
  .why-grid { grid-template-columns:1fr; gap:16px; }
  .why-card { flex-direction:column; align-items:center; text-align:center; }
  .services-page-grid { grid-template-columns:1fr; gap:20px; }

  /* Reviews */
  .review-card { min-width:290px; max-width:290px; padding:24px; }

  /* Grids */
  .projects-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }

  /* Smaller padding on cards */
  .blog-cta-box { padding:32px 24px; }
  .form-card { padding:28px 24px; }

  /* WhatsApp */
  .whatsapp-float { width:54px; height:54px; bottom:20px; right:20px; }
  .whatsapp-float svg { width:26px; height:26px; }
}

/* ===== RESPONSIVE — Small (≤480px) ===== */
@media (max-width:480px) {
  .container { padding:0 18px; }
  .hero-buttons { flex-direction:column; align-items:stretch; }
  .hero-buttons .btn { width:100%; justify-content:center; }
  .process-steps { grid-template-columns:1fr; gap:28px; }
  .about-values { grid-template-columns:1fr; }
  h1 { font-size:1.9rem; }
  .section-subtitle { font-size:0.95rem; margin-bottom:40px; }
}

/* ===== SERVICES PAGE CARDS (distinct from homepage icon cards) ===== */
.services-page-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.sp-card {
  background:var(--color-card);
  border-radius:var(--radius-xl);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  border:1px solid var(--color-border);
  transition:var(--transition);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  height:100%;
  color:var(--color-text);
}
.sp-card:hover {
  transform:translateY(-6px);
  box-shadow:var(--shadow-card-hover);
  border-color:var(--color-accent-subtle);
  color:var(--color-text);
}
.sp-card-img {
  aspect-ratio:16/10;
  background:var(--color-bg-warm);
  overflow:hidden;
  position:relative;
  flex-shrink:0;
}
.sp-card-img img,
.sp-card-img .placeholder-img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:var(--transition);
}
.sp-card:hover .sp-card-img img,
.sp-card:hover .sp-card-img .placeholder-img {
  transform:scale(1.04);
}
.sp-card-body {
  padding:28px 24px 24px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.sp-card-body h3 {
  font-size:1.15rem;
  margin-bottom:10px;
}
.sp-card-body p {
  font-size:0.9rem;
  color:var(--color-text-light);
  line-height:1.7;
  flex:1;
  margin-bottom:16px;
}
.sp-card-link {
  font-size:0.85rem;
  font-weight:600;
  color:var(--color-accent);
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:auto;
  transition:var(--transition);
}
.sp-card:hover .sp-card-link { gap:10px; }

/* ===== BLOG CARDS — editorial style (distinct from project cards) ===== */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.blog-card {
  background:var(--color-card);
  border-radius:var(--radius-xl);
  overflow:hidden;
  border:1px solid var(--color-border);
  transition:var(--transition);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  height:100%;
  color:var(--color-text);
}
.blog-card:hover {
  transform:translateY(-5px);
  box-shadow:var(--shadow-card-hover);
  color:var(--color-text);
}
.blog-card-image {
  aspect-ratio:16/9;
  background:var(--color-bg-warm);
  overflow:hidden;
  flex-shrink:0;
}
.blog-card-image img,
.blog-card-image .placeholder-img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:var(--transition);
}
.blog-card:hover .blog-card-image img,
.blog-card:hover .blog-card-image .placeholder-img {
  transform:scale(1.05);
}
.blog-card-body {
  padding:24px;
  flex:1;
  display:flex;
  flex-direction:column;
  border-left:3px solid var(--color-accent);
  margin:0;
}
.blog-card-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.blog-card-tag {
  font-size:0.7rem;
  font-weight:700;
  color:var(--color-white);
  background:var(--color-accent);
  padding:3px 10px;
  border-radius:50px;
  text-transform:uppercase;
  letter-spacing:0.8px;
}
.blog-card-date {
  font-size:0.73rem;
  color:var(--color-text-muted);
}
.blog-card h3 {
  font-size:1.08rem;
  margin-bottom:10px;
  line-height:1.35;
}
.blog-card p {
  font-size:0.88rem;
  color:var(--color-text-light);
  line-height:1.7;
  flex:1;
  margin-bottom:14px;
}
.blog-card-read {
  font-size:0.82rem;
  font-weight:600;
  color:var(--color-accent);
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:auto;
  transition:var(--transition);
}
.blog-card:hover .blog-card-read { gap:8px; }

/* ===== CARD HEIGHT CONSISTENCY ===== */
.service-card,
.project-card,
.blog-card {
  display:flex;
  flex-direction:column;
  height:100%;
}
.service-card .service-card-body,
.project-card-body,
.blog-card-body {
  flex:1;
  display:flex;
  flex-direction:column;
}
.service-card p,
.project-card p,
.blog-card p {
  flex:1;
}
.project-card-image,
.blog-card-image {
  flex-shrink:0;
}
/* Service page cards with image: enforce consistent image height */
.service-card-img {
  aspect-ratio:16/9;
  background:var(--color-bg-warm);
  overflow:hidden;
  flex-shrink:0;
  border-radius:var(--radius-xl) var(--radius-xl) 0 0;
}
.service-card-img img,
.service-card-img .placeholder-img {
  width:100%;
  height:100%;
  object-fit:cover;
}
/* When a service card has an image, remove default padding */
.service-card:has(.service-card-img) {
  padding:0;
  overflow:hidden;
  text-align:left;
  border-radius:var(--radius-xl);
}
.service-card-content {
  padding:28px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.service-card-content p {
  flex:1;
}
.service-card-content .card-link {
  margin-top:auto;
}

/* ===== PROJECT OVERLAY / MODAL ===== */
.project-overlay {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:2000;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  pointer-events:none;
  opacity:0;
  transition:opacity 0.3s ease;
}
.project-overlay.active {
  pointer-events:auto;
  opacity:1;
}
.project-overlay-backdrop {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(30,26,21,0.6);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.project-overlay-panel {
  position:relative;
  width:100%;
  max-width:900px;
  max-height:90vh;
  background:var(--color-bg);
  border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;
  overflow-y:auto;
  transform:translateY(100%);
  transition:transform 0.4s cubic-bezier(0.32,0.72,0,1);
  box-shadow:0 -8px 60px rgba(30,26,21,0.2);
}
.project-overlay.active .project-overlay-panel {
  transform:translateY(0);
}
.project-overlay-close {
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  justify-content:flex-end;
  padding:20px 24px 0;
  background:linear-gradient(to bottom,var(--color-bg) 60%,transparent);
}
.project-overlay-close button {
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid var(--color-border);
  background:var(--color-card);
  cursor:pointer;
  font-size:1.2rem;
  color:var(--color-text);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:var(--transition);
  box-shadow:var(--shadow-sm);
}
.project-overlay-close button:hover {
  background:var(--color-bg-alt);
  border-color:var(--color-accent-subtle);
}
.project-overlay-body {
  padding:8px 40px 48px;
}
.project-overlay-tag {
  font-size:0.75rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--color-accent);
  margin-bottom:8px;
}
.project-overlay-body h2 {
  margin-bottom:20px;
}
.project-overlay-body p {
  color:var(--color-text-light);
  line-height:1.8;
  margin-bottom:20px;
}
.project-overlay-images {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:28px 0;
}
.project-overlay-images .po-img {
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--color-bg-warm);
}
.project-overlay-images .po-img.full {
  grid-column:1/-1;
  aspect-ratio:16/9;
}
.project-overlay-images .po-img img,
.project-overlay-images .po-img .placeholder-img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.project-overlay-images .po-img:not(.full) {
  aspect-ratio:1/1;
}
.project-overlay-images .po-img:not(.full) img {
  object-fit:cover;
}
.project-overlay-details {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:24px 0;
}
.project-overlay-detail {
  background:var(--color-bg-alt);
  padding:16px 20px;
  border-radius:var(--radius-md);
}
.project-overlay-detail .detail-label {
  font-size:0.75rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--color-text-muted);
  margin-bottom:4px;
}
.project-overlay-detail .detail-value {
  font-size:1rem;
  font-weight:600;
  color:var(--color-heading);
}
/* Project card clickable cursor */
.project-card[data-project] {
  cursor:pointer;
}
@media (max-width:768px) {
  .project-overlay-body { padding:8px 24px 40px; }
  .project-overlay-images { grid-template-columns:1fr; }
  .project-overlay-details { grid-template-columns:1fr; }
  .project-overlay-panel { max-height:95vh; border-radius:var(--radius-xl) var(--radius-xl) 0 0; }
}

/* ===== BEFORE/AFTER SHOWCASE GRID ===== */
.ba-showcase-grid {
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:64px;
  align-items:center;
}
@media (max-width:992px) {
  .ba-showcase-grid { grid-template-columns:1fr; gap:40px; }
}

/* ===== TEAM CARDS ===== */
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.team-card {
  background:var(--color-card); border-radius:var(--radius-xl);
  padding:36px 28px; border:1px solid var(--color-border);
  text-align:center; transition:var(--transition);
  display:flex; flex-direction:column; align-items:center;
}
.team-card:hover { box-shadow:var(--shadow-md); border-color:var(--color-accent-subtle); }
.team-avatar {
  width:80px; height:80px; border-radius:50%;
  background:var(--color-accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem; font-weight:800; margin-bottom:20px;
  box-shadow:0 4px 16px rgba(212,121,44,0.25); flex-shrink:0;
}
.team-card-body h3 { font-size:1.15rem; margin-bottom:4px; }
.team-role { font-size:0.82rem; font-weight:600; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.8px; margin-bottom:12px; }
.team-card-body p { font-size:0.88rem; color:var(--color-text-light); line-height:1.7; margin:0; }

/* SVG icon inside why-icon and value-icon */
.why-icon svg { width:26px; height:26px; stroke:var(--color-accent); }
.value-icon {
  width:64px; height:64px; background:var(--color-accent-light);
  border-radius:var(--radius-md); display:flex; align-items:center;
  justify-content:center; margin-bottom:20px; flex-shrink:0;
}
.value-icon svg { width:26px; height:26px; stroke:var(--color-accent); }
.value-card .icon { display:none; }

@media (max-width:992px) {
  .team-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .team-grid { grid-template-columns:1fr; }
  .team-card { text-align:center; align-items:center; }
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:0.78rem; color:var(--color-text-muted); text-align:center; padding:16px; }
.img-hero { background:linear-gradient(135deg,#E8D5C0 0%,#D4C4B0 100%); }
.img-about { background:linear-gradient(135deg,#D5C8B8 0%,#C9B9A5 100%); }
.img-project { background:linear-gradient(135deg,#E0D5C5 0%,#D0C0AA 100%); }
.img-service { background:linear-gradient(135deg,#DDD2C2 0%,#CCBFAF 100%); }
.img-blog { background:linear-gradient(135deg,#E5D8C8 0%,#D8C8B5 100%); }
.img-before { background:linear-gradient(135deg,#C5B8A5 0%,#B5A58F 100%); }

/* ===== PHOTO GALLERY MARQUEE ===== */
.photo-gallery-section { overflow:hidden; }
.photo-marquee-wrapper {
  overflow:hidden;
  position:relative;
  width:100%;
}
.photo-marquee-wrapper::before,
.photo-marquee-wrapper::after {
  content:'';
  position:absolute;
  top:0; bottom:0;
  width:120px;
  z-index:2;
  pointer-events:none;
}
.photo-marquee-wrapper::before {
  left:0;
  background:linear-gradient(to right, var(--color-bg), transparent);
}
.photo-marquee-wrapper::after {
  right:0;
  background:linear-gradient(to left, var(--color-bg), transparent);
}
.photo-marquee-track {
  display:flex;
  gap:20px;
  padding:8px 0 20px;
  animation:photo-marquee 65s linear infinite;
  width:max-content;
}
.photo-marquee-track:hover { animation-play-state:paused; }
.photo-marquee-item {
  flex-shrink:0;
  width:380px;
  height:260px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.photo-marquee-item img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s ease;
}
.photo-marquee-item:hover img { transform:scale(1.05); }
@keyframes photo-marquee {
  from { transform:translateX(0); }
  to { transform:translateX(-50%); }
}
@media (max-width:768px) {
  .photo-marquee-item { width:260px; height:185px; }
  .photo-marquee-wrapper::before,
  .photo-marquee-wrapper::after { width:60px; }
}
.img-after { background:linear-gradient(135deg,#E0D5C5 0%,#D5CAB8 100%); }
