/* ========================================
   B&T Reno — Global Styles
   Bath & Tile Renovation Specialists
   ======================================== */

:root {
  --primary: #623e2a;
  --primary-light: #8b5e3c;
  --primary-dark: #4a2e1e;
  --accent: #304254;
  --accent-light: #4a6278;
  --cream: #f4f1ed;
  --cream-light: #f8f5f2;
  --white: #ffffff;
  --black: #1a1a1a;
  --text-primary: #2d2d2d;
  --text-secondary: #5a5a5a;
  --text-light: #888888;
  --border-color: #e0dbd5;
  --success: #2d7a4f;
  --star-color: #d4a017;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* ========================================
   DEMO PROTECTION — Remove after payment
   ======================================== */

/* Bottom banner */
.demo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(26,26,26,0.92);
  color: #ffffff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.demo-banner span {
  color: var(--primary-light, #8b5e3c);
}

/* Diagonal watermark overlay */
.demo-watermark {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  overflow: hidden;
}
.demo-watermark-inner {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 300%;
  height: 300%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  transform: rotate(-30deg);
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.04);
  user-select: none;
  -webkit-user-select: none;
}
.demo-watermark-row {
  white-space: nowrap;
  line-height: 1;
  padding: 2rem 0;
}

/* Disable text selection (except inputs) */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Disable image dragging */
img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Pad bottom of page so banner doesn't cover footer */
.footer-bottom {
  padding-bottom: 3rem;
}

/* ========================================
   END DEMO PROTECTION
   ======================================== */

/* ========================================
   View Transitions
   ======================================== */

@view-transition {
  navigation: auto;
}

/* Default page crossfade */
::view-transition-old(root) {
  animation: vt-fade-out 0.3s ease forwards;
}
::view-transition-new(root) {
  animation: vt-fade-in 0.3s ease forwards;
}

@keyframes vt-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes vt-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Shared elements that morph between pages */
.nav-logo       { view-transition-name: site-logo; }
.nav-cta        { view-transition-name: nav-cta; }
.page-header h1 { view-transition-name: page-title; }
.site-footer    { view-transition-name: footer; }

/* Slide up for page header title */
::view-transition-old(page-title) {
  animation: vt-slide-out 0.3s ease forwards;
}
::view-transition-new(page-title) {
  animation: vt-slide-in 0.3s ease forwards;
}

@keyframes vt-slide-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-20px); }
}
@keyframes vt-slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-cta {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-cta:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ========================================
   Navigation
   ======================================== */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Dark nav for homepage — fixed overlay on top of hero */
.main-nav.nav-dark {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.main-nav.nav-dark.nav-scrolled {
  background: rgba(42,31,23,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-dark .nav-links a { color: rgba(255,255,255,0.7); }
.nav-dark .nav-links a:hover,
.nav-dark .nav-links a.active { color: #ffffff; background: rgba(255,255,255,0.1); }
.nav-dark .logo-bt { color: #ffffff; }
.nav-dark .logo-reno { color: rgba(255,255,255,0.7); }
.nav-dark .nav-toggle span { background: #ffffff; }
.nav-dark .nav-cta { background: var(--primary); border-color: var(--primary); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.875rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  width: 36px;
  height: auto;
  border-radius: 4px;
}
.logo-bt {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}
.logo-reno {
  font-family: 'DM Sans', sans-serif;
  color: var(--accent);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--cream);
}

.nav-cta { white-space: nowrap; }
.nav-mobile-cta { display: none; }
@media (max-width: 768px) {
  .nav-mobile-cta { display: block; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; }
  .nav-cta { display: none; }
}

/* ========================================
   Hero Section — Dark with Mosaic Background
   ======================================== */

.hero-dark {
  background: #2a1f17;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Flowing wave lines texture */
.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.12;
}

.hero-waves svg {
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: -50%;
  animation: wavesDrift 20s linear infinite;
}

@keyframes wavesDrift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(25%); }
}

/* ---- Background mosaic: horizontal rows flowing from the right ---- */
.hero-mosaic-bg {
  position: absolute;
  inset: -40px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.mosaic-col {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-shrink: 0;
}

.mosaic-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.mosaic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Horizontal drift animations — images float in from the left */
@keyframes driftRight {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(35px); }
  100% { transform: translateX(0); }
}

@keyframes driftLeft {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-35px); }
  100% { transform: translateX(0); }
}

.mosaic-col-1 {
  animation: driftRight 10s ease-in-out infinite;
  transform: translateX(-60px);
}
.mosaic-col-1 .mosaic-img { width: 420px; height: 280px; }

.mosaic-col-2 {
  animation: driftLeft 12s ease-in-out infinite;
  transform: translateX(20px);
}
.mosaic-col-2 .mosaic-img { width: 440px; height: 300px; }

.mosaic-col-3 {
  animation: driftRight 11s ease-in-out infinite;
  transform: translateX(-80px);
}
.mosaic-col-3 .mosaic-img { width: 400px; height: 270px; }

.mosaic-col-4 {
  animation: driftLeft 9.5s ease-in-out infinite;
  transform: translateX(10px);
}
.mosaic-col-4 .mosaic-img { width: 430px; height: 290px; }

.mosaic-col-5 {
  animation: driftRight 11.5s ease-in-out infinite;
  transform: translateX(-70px);
}
.mosaic-col-5 .mosaic-img { width: 410px; height: 275px; }

/* ---- Dark overlay with radial fade ---- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* left-side darkness for text legibility */
    linear-gradient(to right,
      rgba(42,31,23,0.88) 0%,
      rgba(42,31,23,0.7) 35%,
      rgba(42,31,23,0.4) 65%,
      rgba(42,31,23,0.15) 100%
    ),
    /* vertical vignette */
    linear-gradient(to bottom,
      rgba(42,31,23,0.5) 0%,
      rgba(42,31,23,0.1) 40%,
      rgba(42,31,23,0.1) 60%,
      rgba(42,31,23,0.6) 100%
    );
  pointer-events: none;
}

/* ---- Text content layer ---- */
.hero-dark-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
}

.hero-dark-content {
  max-width: 600px;
}

.hero-tagline-dark {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-dark-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  font-weight: 700;
  animation: fadeSlideUp 0.8s 0.15s ease both;
}

.hero-dark-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.75;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}

.hero-dark-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s 0.45s ease both;
}

.btn-hero-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.btn-hero-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(98,62,42,0.4);
}

.btn-hero-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
.btn-hero-ghost:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hero-dark-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.6s ease both;
}
.hero-dark-trust span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  display: inline-block;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-dark { min-height: 90vh; }
  .hero-dark-container {
    text-align: center;
    padding: 4rem 1.5rem;
  }
  .hero-dark-content { max-width: 100%; }
  .hero-dark-subtitle { margin-left: auto; margin-right: auto; }
  .hero-dark-ctas { justify-content: center; }
  .hero-dark-trust { justify-content: center; }

  .hero-overlay {
    background:
      radial-gradient(ellipse at center, rgba(42,31,23,0.5), rgba(42,31,23,0.75) 70%),
      linear-gradient(to bottom, rgba(42,31,23,0.4) 0%, rgba(42,31,23,0.7) 100%) !important;
  }
  .mosaic-col-4, .mosaic-col-5 { display: none; }
  .mosaic-col .mosaic-img { width: 280px !important; height: 200px !important; }
}

@media (max-width: 480px) {
  .mosaic-col-3 { display: none; }
  .mosaic-col .mosaic-img { width: 220px !important; height: 160px !important; }
}

/* Seamless blend into stats bar below */
.hero-dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #2a1f17);
  z-index: 3;
  pointer-events: none;
}

/* Legacy hero classes kept for inner pages */
.trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.trust-icon { font-size: 1rem; }

/* ========================================
   Stats Bar
   ======================================== */

.stats-bar {
  background: #2a1f17;
  color: var(--white);
  padding: 3rem 2rem;
  position: relative;
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   Section Common
   ======================================== */

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================
   Services Section
   ======================================== */

.services {
  padding: 5rem 2rem;
  background: var(--cream-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--border-color);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--border-radius);
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.75rem;
  color: var(--black);
}
.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.service-link:hover { color: var(--primary-dark); }

/* ========================================
   Services V2 — Image-backed cards
   ======================================== */

.services-v2 {
  padding: 5rem 2rem;
  background: var(--cream-light);
}

.services-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sv2-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sv2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Background image */
.sv2-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sv2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.sv2-card:hover .sv2-img img {
  transform: scale(1.08);
}

/* Gradient overlay on image */
.sv2-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(42,31,23,0.95) 0%,
    rgba(42,31,23,0.7) 40%,
    rgba(42,31,23,0.25) 100%
  );
  transition: background 0.4s ease;
}
.sv2-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(42,31,23,0.95) 0%,
    rgba(42,31,23,0.6) 40%,
    rgba(42,31,23,0.15) 100%
  );
}

/* Text content */
.sv2-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sv2-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: background 0.3s ease;
}
.sv2-card:hover .sv2-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.sv2-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.sv2-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

.sv2-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.sv2-link svg {
  transition: transform 0.3s ease;
}
.sv2-card:hover .sv2-link {
  color: #ffffff;
}
.sv2-card:hover .sv2-link svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .services-v2-grid { grid-template-columns: repeat(2, 1fr); }
  .sv2-card { min-height: 340px; }
}

@media (max-width: 600px) {
  .services-v2-grid { grid-template-columns: 1fr; }
  .sv2-card { min-height: 300px; }
}

/* ========================================
   Why Choose Us — About Page Cards
   ======================================== */

.why-choose {
  padding: 5rem 2rem;
  background: var(--cream-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  overflow: hidden;
}
.why-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.why-card:hover .why-icon {
  transform: scale(1.1) rotate(-5deg);
}

.why-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--black);
}
.why-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.why-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  transition: color 0.3s ease;
}
.why-card:hover .why-number {
  color: var(--border-color);
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ========================================
   About Preview
   ======================================== */

.about-preview {
  padding: 5rem 2rem;
}

.about-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 { margin-bottom: 1.25rem; }
.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.highlight {
  text-align: center;
}
.highlight strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}
.highlight span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .about-container { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { order: -1; }
}

/* ========================================
   Portfolio Preview
   ======================================== */

.portfolio-preview {
  padding: 5rem 2rem;
  background: var(--cream-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(98,62,42,0.85), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--white);
  font-weight: 600;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
  padding: 5rem 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--star-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ========================================
   CTA Banner
   ======================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
  background: var(--black);
  color: #b0b0b0;
  padding: 4rem 2rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.footer-brand p { margin-bottom: 0.25rem; font-size: 0.9rem; }
.footer-license {
  font-size: 0.8rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  color: #b0b0b0;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.footer-social a:hover {
  color: var(--white);
  background: var(--primary);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li,
.footer-services li { margin-bottom: 0.5rem; }

.footer-links a,
.footer-services a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover,
.footer-services a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-contact a {
  color: #b0b0b0;
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--white); }

.footer-hours {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-hours strong {
  display: block;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.footer-hours p { font-size: 0.85rem; line-height: 1.6; }

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #777;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Image Placeholders (replace with real images)
   ======================================== */

.image-placeholder,
.hero-image-placeholder {
  background: linear-gradient(135deg, var(--cream) 0%, #e8e0d8 100%);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  border: 2px dashed var(--border-color);
  min-height: 300px;
}

.hero-image-placeholder {
  min-height: 400px;
}

.image-placeholder span,
.hero-image-placeholder span {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.image-placeholder small,
.hero-image-placeholder small {
  font-size: 0.8rem;
  opacity: 0.7;
}

.image-placeholder.landscape {
  min-height: 250px;
}

/* ========================================
   Page Header (inner pages)
   ======================================== */

.page-header {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.page-header-content {
  max-width: 700px;
  margin: 0 auto;
}
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section { padding: 5rem 2rem; }

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.contact-item a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}
.contact-item a:hover { color: var(--primary); }

.contact-form {
  background: var(--cream-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}
.contact-form h3 {
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(98,62,42,0.1);
}

@media (max-width: 768px) {
  .contact-container { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========================================
   Gallery / Portfolio Page
   ======================================== */

.gallery-section { padding: 3rem 2rem 5rem; }

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  background: var(--white);
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; display: block; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(98,62,42,0.85), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--white);
  font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (max-width: 768px) {
  .gallery-masonry { columns: 2; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
}

/* ========================================
   Services Page Detail
   ======================================== */

.service-detail {
  padding: 5rem 2rem;
}
.service-detail.alt {
  background: var(--cream-light);
}

.service-detail-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  view-transition-name: none;
}

.service-detail.alt .service-detail-content {
  order: 2;
}
.service-detail.alt .about-image {
  order: 1;
}

.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  margin: 1.5rem 0;
}
.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}
.service-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

@media (max-width: 768px) {
  .service-detail-container { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.alt .service-detail-content,
  .service-detail.alt .about-image { order: unset; }
}

/* ========================================
   Map Section
   ======================================== */

.map-section {
  background: var(--cream-light);
  padding: 0;
}
.map-container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.map-wrapper {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 450px;
}
.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.map-overlay p {
  background: rgba(42,31,23,0.85);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  transition: var(--transition);
}
.map-overlay:hover p {
  background: var(--primary);
}
.map-overlay.active {
  display: none;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Process steps */
.process-section { padding: 5rem 2rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.process-step h3 {
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.5rem;
}
.process-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   Enhancements — Final Polish
   ======================================== */

/* --- Smooth scroll --- */
html { scroll-behavior: smooth; }

/* --- Scroll-triggered reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger > .revealed,
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- Stats counter --- */
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

/* --- Loading progress bar --- */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
}
.page-loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--primary-light), var(--primary));
  animation: pageLoad 0.8s ease forwards;
}
@keyframes pageLoad {
  0%   { width: 0; }
  60%  { width: 80%; }
  100% { width: 100%; opacity: 0; }
}

/* --- Nav animated underline --- */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}
.nav-links a:hover,
.nav-links a.active {
  background: transparent;
}

/* Dark nav underline override */
.nav-dark .nav-links a::after {
  background: var(--white);
}

/* --- Hero title text gradient --- */
.hero-title-accent {
  background: linear-gradient(135deg, #f4f1ed 0%, #c4956a 50%, #8b5e3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Parallax image wrapper --- */
.parallax-img {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}
.parallax-img img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transition: transform 0.1s linear;
  will-change: transform;
}

/* --- Portfolio cursor (disabled) --- */

/* ========================================
   Mobile & Tablet Responsive Fixes
   ======================================== */

/* --- Tablet landscape (769px - 1024px) --- */
@media (max-width: 1024px) {
  .about-container { gap: 2.5rem; }
  .service-detail-container { gap: 2.5rem; }
  .contact-container { gap: 2.5rem; }
  .footer-container { gap: 2rem; }
}

/* --- Tablet portrait / large phone (481px - 768px) --- */
@media (max-width: 768px) {
  /* Reduce section padding */
  .services-v2,
  .about-preview,
  .portfolio-preview,
  .testimonials,
  .why-choose,
  .process-section,
  .service-detail,
  .contact-section { padding: 3rem 1.25rem; }

  .cta-banner { padding: 3rem 1.25rem; }
  .stats-bar { padding: 2rem 1.25rem; }
  .page-header { padding: 2.5rem 1.25rem; }

  /* About highlights collapse */
  .about-highlights { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .highlight strong { font-size: 0.75rem; }
  .highlight span { font-size: 0.75rem; }

  /* Contact container */
  .contact-container { gap: 2rem; }

  /* Map responsive height */
  .map-wrapper iframe { height: 350px; }

  /* Button touch targets */
  .btn { padding: 0.875rem 1.75rem; min-height: 44px; }
  .btn-large { padding: 1rem 2rem; }
  .filter-btn { padding: 0.625rem 1.25rem; min-height: 44px; }

  /* Back to top - tighter position */
  .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 44px; height: 44px; }

  /* Nav CTA hidden — add CTA to mobile menu */
  .nav-links { padding-bottom: 1rem; }

  /* Footer */
  .site-footer { padding: 3rem 1.25rem 0; }

  /* Portfolio grid */
  .portfolio-grid { gap: 1rem; }
}

/* --- Mobile (max 480px) --- */
@media (max-width: 480px) {
  /* Hero */
  .hero-dark { min-height: 85vh; }
  .hero-dark-container { padding: 3rem 1rem; }
  .hero-dark-title { font-size: 2rem; }
  .hero-dark-subtitle { font-size: 0.95rem; }
  .hero-tagline-dark { font-size: 0.7rem; letter-spacing: 2px; }
  .hero-dark-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-dark-ctas .btn { width: 100%; text-align: center; }
  .hero-dark-trust { flex-direction: column; gap: 0.75rem; align-items: center; }

  /* Mosaic — disable transform offsets to prevent overflow */
  .mosaic-col-1,
  .mosaic-col-2,
  .mosaic-col-3 { transform: none !important; }

  /* Sections */
  .services-v2,
  .about-preview,
  .portfolio-preview,
  .testimonials,
  .why-choose,
  .process-section,
  .service-detail,
  .contact-section { padding: 2.5rem 1rem; }

  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.9rem; }

  .cta-banner { padding: 2.5rem 1rem; }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; text-align: center; }

  /* Stats bar */
  .stats-bar { padding: 1.5rem 1rem; }
  .stat-number { font-size: 1.35rem; }
  .stat-label { font-size: 0.7rem; }

  /* About */
  .about-container { gap: 1.5rem; }
  .about-highlights { grid-template-columns: 1fr; gap: 0.5rem; }
  .highlight { text-align: left; display: flex; gap: 0.5rem; align-items: baseline; }

  /* Service detail */
  .service-detail-container { gap: 1.5rem; }

  /* Contact */
  .contact-container { gap: 1.5rem; }
  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Map */
  .map-wrapper iframe { height: 280px; }

  /* Footer */
  .site-footer { padding: 2rem 1rem 0; }
  .footer-container { gap: 1.5rem; }
  .footer-brand h3 { font-size: 1.25rem; }

  /* Page header */
  .page-header { padding: 2rem 1rem; }
  .page-header h1 { font-size: 1.6rem; }
  .page-header p { font-size: 0.9rem; }

  /* Process steps */
  .process-grid { gap: 1rem; }
  .step-number { width: 44px; height: 44px; font-size: 1.2rem; }

  /* Gallery filters - horizontal scroll */
  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; }

  /* Back to top */
  .back-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }

  /* Why cards */
  .why-card { padding: 1.5rem; }
  .why-number { font-size: 2rem; top: 1rem; right: 1rem; }
}

/* --- Ultra-small phones (max 360px) --- */
@media (max-width: 360px) {
  .hero-dark-title { font-size: 1.75rem; }
  .nav-container { padding: 0.75rem 1rem; }
  .nav-logo { font-size: 1.25rem; }
  .logo-icon { width: 28px; }
  .stats-container { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .sv2-card { min-height: 260px; }
  .why-icon { width: 44px; height: 44px; border-radius: 10px; }
  .why-icon svg { width: 24px; height: 24px; }
}

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
  .mosaic-col { animation: none !important; }
  .hero-waves svg { animation: none !important; }
  .page-loader-bar { animation: none !important; width: 100%; opacity: 0; }
}
