/* =============================================
   DR. EXTÉRIEUR — Mobile-First Stylesheet
   ============================================= */

/* --- Bilingual Language Switching --- */
.en { display: none !important; }
span.en { display: none !important; }
body.lang-en .fr { display: none !important; }
body.lang-en span.fr { display: none !important; }
body.lang-en .en { display: block !important; }
body.lang-en span.en { display: inline !important; }

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0A0A0A;
  --red: #D62828;
  --red-dark: #B01E1E;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --grey: #888888;
  --grey-light: #E8E8E8;
  --text: #1A1A1A;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-strong: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 6px;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* --- Typography (mobile-first) --- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.section-title { margin-bottom: 0.75rem; }
.section-subtitle {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
}

/* --- Buttons (mobile-first — big touch targets) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  min-height: 52px;
  width: 100%;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:active { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:active { background: rgba(255,255,255,0.1); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* --- Navigation (mobile-first) --- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

#navbar.scrolled {
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 18px;
}

.nav-logo img {
  height: 46px;
  width: auto;
  max-width: 220px;
}

/* Desktop nav links — hidden on mobile */
.nav-links { display: none; }

/* Language toggle in navbar */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 12px;
  border-radius: 16px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: transparent;
  min-height: 32px;
}

.lang-btn.active {
  background: var(--red);
  color: var(--white);
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  margin-left: 8px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-y: auto;
  padding: 2rem 0;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding: 1rem 2rem;
  width: 100%;
  text-align: center;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu a:active { color: var(--red); }

.mobile-menu .btn {
  margin: 1.5rem 2rem 0;
  width: calc(100% - 4rem);
}

/* --- Hero (mobile-first) --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/house1-after.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 18px 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214,40,40,0.15);
  border: 1px solid rgba(214,40,40,0.4);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 1.25rem;
}

.hero-badge span {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-badge::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 7vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num span { color: var(--red); }

.hero-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* --- Services Strip --- */
.services-strip {
  background: var(--black);
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.services-strip-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  min-width: max-content;
  padding: 0 18px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

.strip-item:last-child { border-right: none; }

.strip-item svg {
  width: 14px; height: 14px;
  fill: var(--red);
  flex-shrink: 0;
}

/* --- Sections (mobile-first) --- */
section { padding: 56px 0; }

.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--white); }

.section-light { background: var(--light); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Services Cards (mobile: 1 col) --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width var(--transition);
}

.service-icon {
  width: 44px; height: 44px;
  background: #FFF0F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 20px; height: 20px;
  fill: var(--red);
}

.service-card-body { flex: 1; }

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.service-card p {
  font-size: 0.87rem;
  color: #666;
  margin: 0;
}

.section-dark .service-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.section-dark .service-card h3 { color: var(--white); }
.section-dark .service-card p { color: rgba(255,255,255,0.55); }
.section-dark .service-icon { background: rgba(214,40,40,0.15); }

/* --- Why Choose Us --- */
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
}

.why-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--red);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-strong);
}

.why-badge-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.why-badge-text {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0;
}

.why-point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.why-point-icon {
  width: 40px; height: 40px;
  background: #FFF0F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-point-icon svg {
  width: 18px; height: 18px;
  fill: var(--red);
}

.why-point-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.why-point-text p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* --- Gallery / Before-After (mobile-first) --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 9px 16px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--grey-light);
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 40px;
}

.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.section-dark .filter-btn {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}

.section-dark .filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ba-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ba-images {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.ba-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.4s ease;
}

.ba-images .img-after { opacity: 0; }
/* Mobile tap toggle */
.ba-card.flipped .img-before { opacity: 0; }
.ba-card.flipped .img-after { opacity: 1; }
.ba-card.flipped .ba-label-after { opacity: 1; }
.ba-card.flipped .ba-label-before { opacity: 0; }

/* Tap hint for mobile */
.ba-tap-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.68rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s;
}

.ba-card.flipped .ba-tap-hint { opacity: 0.7; }

.ba-labels {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
}

.ba-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  color: var(--white);
}

.ba-label-before { background: rgba(0,0,0,0.55); }
.ba-label-after { background: var(--red); opacity: 0; transition: opacity 0.4s; }
.ba-card.flipped .ba-label-after { opacity: 1; }
.ba-card.flipped .ba-label-before { opacity: 0; }

.ba-info {
  background: var(--white);
  padding: 0.75rem 1rem;
}

.ba-info-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.ba-info-tag {
  font-size: 0.75rem;
  color: var(--grey);
}

.ba-card.hidden { display: none; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.testimonial-author {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- CTA Banner --- */
.cta-section { background: var(--red); }

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.cta-text h2 { color: var(--white); }
.cta-text p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.95rem; }

.cta-inner .btn-dark { min-width: 200px; }

/* --- Warranty Banner --- */
.warranty-banner {
  background: var(--black);
  border-left: 4px solid var(--red);
  padding: 1.25rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem 0 0;
}

.warranty-icon {
  font-size: 1.8rem;
}

.warranty-text h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.warranty-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin: 0;
}

/* --- Contact --- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-light);
  align-items: flex-start;
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 40px; height: 40px;
  background: #FFF0F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px; height: 18px;
  fill: var(--red);
}

.contact-detail-label {
  font-size: 0.72rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-detail-value a:hover { color: var(--red); }

/* --- Forms --- */
.estimate-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-head);
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { resize: vertical; min-height: 120px; }

#form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-weight: 600;
}

/* --- Services Full (services page) --- */
.services-page-hero {
  background: var(--black);
  padding: 100px 0 48px;
  text-align: center;
}

.services-page-hero h1 { color: var(--white); }
.services-page-hero p { color: rgba(255,255,255,0.65); }

.service-full {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-full-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s;
}

.service-full:hover .service-full-img img { transform: scale(1.03); }

.service-full-text {
  padding: 1.5rem;
  background: var(--white);
}

.service-full-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.service-full-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-full-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--grey-light);
}

.benefit-item:last-child { border-bottom: none; }

.benefit-item::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- About page --- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.team-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 0.75rem;
}

.team-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.team-title {
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-head);
  font-weight: 600;
}

/* --- Scroll animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease calc(var(--i, 0) * 0.08s),
              transform 0.55s ease calc(var(--i, 0) * 0.08s);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.social-link:hover { background: var(--red); }

.social-link svg {
  width: 16px; height: 16px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a { transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--white); }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 0.4rem; }

/* --- Privacy / Terms page --- */
.legal-hero {
  background: var(--black);
  padding: 90px 0 40px;
}

.legal-hero h1 { color: var(--white); font-size: 1.8rem; }
.legal-hero p { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.prose p, .prose li { font-size: 0.92rem; color: #444; line-height: 1.8; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }

/* =============================================
   TABLET — min-width: 600px
   ============================================= */
@media (min-width: 600px) {
  .container { padding: 0 24px; }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }

  .hero-actions { flex-direction: row; }
  .btn { width: auto; min-width: 180px; }

  .hero-stat-num { font-size: 2rem; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .ba-images { height: 280px; }

  .why-image img { height: 340px; }

  .form-row { grid-template-columns: 1fr 1fr; }

  .cta-inner { flex-direction: row; align-items: center; }
  .cta-inner .btn-dark { width: auto; white-space: nowrap; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* =============================================
   DESKTOP — min-width: 1024px
   ============================================= */
@media (min-width: 1024px) {
  .container { padding: 0 40px; }

  h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
  h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
  h3 { font-size: 1.25rem; }

  section { padding: 96px 0; }

  /* Nav — show desktop links, hide hamburger */
  .nav-inner { height: 90px; padding: 0 40px; }
  .nav-logo img { height: 70px; max-width: 280px; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-links a {
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 4px;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: width var(--transition);
  }
  .nav-links a:hover::after,
  .nav-links a.active::after { width: 100%; }
  .nav-links a:hover { color: var(--white); }
  .nav-cta { padding: 10px 22px !important; font-size: 0.8rem !important; }
  .nav-hamburger { display: none; }
  .mobile-menu { top: 90px; }

  /* Navbar transparent on hero pages */
  #navbar { background: transparent; }
  #navbar.scrolled { background: var(--black); }

  /* Hero */
  .hero { align-items: center; }
  .hero-content { padding: 160px 40px 100px; }
  .hero-sub { font-size: 1.1rem; }
  .hero-stat-num { font-size: 2.4rem; }
  .hero-stats { gap: 3rem; grid-template-columns: repeat(3, auto); }

  /* Strip */
  .services-strip-inner {
    flex-wrap: wrap;
    min-width: unset;
    justify-content: center;
    padding: 0 40px;
  }

  /* Services grid */
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }

  /* Service cards — stack vertically again (original style) */
  .service-card { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .service-icon { margin-bottom: 1rem; }

  /* Why grid */
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    flex-direction: unset;
  }
  .why-image img { height: 520px; }
  .why-badge {
    bottom: -20px; right: -20px;
    padding: 20px 24px;
  }
  .why-badge-num { font-size: 2.2rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .ba-images { height: 300px; }

  /* Services full (services page) */
  .service-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .service-full-img { height: 440px; }
  .service-full-text { padding: 3rem; }
  .service-full:nth-child(even) .service-full-img { order: 2; }
  .service-full:nth-child(even) .service-full-text { order: 1; }

  /* About */
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .about-img { height: 480px; }

  /* Contact */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

  /* Hover effects — only on desktop */
  .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214,40,40,0.35);
  }
  .btn-outline:hover { background: rgba(255,255,255,0.1); }
  .btn-dark:hover { background: #2a2a2a; transform: translateY(-2px); }
  .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
  .service-card:hover::before { width: 100%; }
  /* Desktop: pure CSS hover, smooth, no click interference */
  .ba-card:hover .img-before { opacity: 0; }
  .ba-card:hover .img-after { opacity: 1; }
  .ba-card:hover .ba-label-after { opacity: 1; }
  .ba-card:hover .ba-label-before { opacity: 0; }
  .ba-card:hover .ba-tap-hint { opacity: 0; }
  .testimonial-card:hover { border-color: rgba(255,255,255,0.2); }
}

/* =============================================
   MISSING / ADDITIONAL CLASSES
   ============================================= */

/* Nav logo */
.nav-logo img {
  height: 46px;
  width: auto;
  max-width: 220px;
}

/* Quote mark on testimonials */
.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--red);
  line-height: 0.5;
  margin-bottom: 1rem;
  display: block;
}

/* Stars */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}
.stars svg {
  width: 16px; height: 16px;
  fill: #FFD700;
}

/* Testimonial text */
.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  background: var(--red);
  padding: 40px 0;
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cta-text h2 { color: var(--white); margin-bottom: 0.25rem; }
.cta-text p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.95rem; }
.cta-banner .btn {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  width: auto;
  align-self: flex-start;
}

/* Page Hero (contact, about, gallery pages) */
.page-hero {
  background: var(--black);
  padding: 90px 0 40px;
}
.page-hero h1 { color: var(--white); font-size: 1.8rem; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-top: 0.5rem; }

/* Contact info column */
.contact-info { }
.contact-info h2 { margin-bottom: 1rem; }

/* Footer brand / col / title */
.footer-brand { }
.footer-col { }
.footer-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

/* Separator in breadcrumb */
.sep { margin: 0 0.4rem; opacity: 0.5; }

/* Stagger animation delay */
.stagger .fade-in:nth-child(1) { --i: 0; }
.stagger .fade-in:nth-child(2) { --i: 1; }
.stagger .fade-in:nth-child(3) { --i: 2; }
.stagger .fade-in:nth-child(4) { --i: 3; }
.stagger .fade-in:nth-child(5) { --i: 4; }
.stagger .fade-in:nth-child(6) { --i: 5; }
.stagger .fade-in:nth-child(7) { --i: 6; }
.stagger .fade-in:nth-child(8) { --i: 7; }

/* Why point title/desc */
.why-point-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.why-point-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}

/* RBQ Badge */
.rbq-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rbq-line {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 2px;
}

/* Service area */
.service-area { margin-top: 1.5rem; }
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.area-tag {
  background: var(--light);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: #555;
}

/* Form checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #555;
  margin-top: 0.5rem;
}
.form-checkbox input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--red);
}

/* Form title */
.form-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--grey-light);
}

/* About content grid override */
.about-content-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Form success */
#form-success, .form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* =============================================
   TABLET ADDITIONS — min-width: 600px
   ============================================= */
@media (min-width: 600px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cta-text { flex: 1; }
  .cta-banner .btn { align-self: auto; white-space: nowrap; }
  .page-hero h1 { font-size: 2.2rem; }
}

/* =============================================
   DESKTOP ADDITIONS — min-width: 1024px
   ============================================= */
@media (min-width: 1024px) {
  .nav-logo img { height: 70px; max-width: 280px; }
  .footer-logo img { height: 50px; }
  .cta-inner { padding: 0 40px; }
  .page-hero { padding: 120px 0 56px; }
  .page-hero h1 { font-size: 2.8rem; }
  .about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .why-point-desc { color: #666; }
}

/* =============================================
   TARGETED FIXES
   ============================================= */

/* Testimonials section — dark background */
#testimonials {
  background: var(--black);
}
#testimonials .section-label { color: var(--red); }
#testimonials h2 { color: var(--white); }

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* CTA banner — btn-outline on red bg */
.cta-banner .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  width: auto;
  align-self: flex-start;
}
.cta-banner .btn-outline:active { background: rgba(255,255,255,0.15); }

/* Footer — supports 4 columns properly */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 24px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* RBQ badge — inline icon + text */
.rbq-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  background: var(--light);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.rbq-badge svg {
  width: 18px; height: 18px;
  fill: var(--red);
  flex-shrink: 0;
}
.rbq-line { display: none; }

/* Contact detail — fix vertical alignment */
.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-light);
  align-items: center;
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: #FFF0F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 20px; height: 20px;
  fill: var(--red);
}
.contact-detail-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.contact-detail-value a { color: var(--text); }
.contact-detail-value a:hover { color: var(--red); }

/* Service area tags */
.service-area { margin-top: 1.5rem; }
.service-area h4 { font-size: 0.9rem; margin-bottom: 0.75rem; }
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.area-tag {
  background: var(--light);
  border: 1px solid var(--grey-light);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: #555;
}

/* Contact grid — stacked on mobile, side by side on desktop */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Estimate form */
.estimate-form {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

/* =============================================
   RESPONSIVE FIXES
   ============================================= */
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (min-width: 1024px) {
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
  }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
  .testimonial-card:hover {
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    transition: all 0.3s ease;
  }
  .cta-banner .btn-outline:hover {
    background: rgba(255,255,255,0.15);
  }
}
