:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-muted: #f2f2f3;

  --text-main: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-light: #8a8a8a;

  --brand: #c41e1e;
  --brand-dark: #a01818;
  --brand-light: #e8d4d4;
  --accent: #c41e1e;
  --accent-hover: #a01818;

  --border: #e0e0e0;

  --radius: 12px;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.1), 0 4px 8px -4px rgb(0 0 0 / 0.06);
  --shadow-xl: 0 20px 40px -8px rgb(0 0 0 / 0.15);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: 12px;
  
  --brand-gradient: linear-gradient(135deg, #c41e1e 0%, #e84444 100%);
}

[data-theme="dark"] {
  --bg: #0f0f11;
  --surface: #1a1a1f;
  --surface-muted: #222228;
  --text-main: #f0f0f2;
  --text-muted: #a0a0a8;
  --text-light: #707078;
  --border: #2a2a32;
  --glass-bg: rgba(26, 26, 31, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 20px 40px -8px rgb(0 0 0 / 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
}

/* ===== Loading Screen ===== */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  height: 80px;
  animation: loaderPulse 1.2s ease-in-out infinite;
  border-radius: 8px;
}
.loader-bar {
  width: 120px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  margin-top: 24px;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
  animation: loaderSlide 1s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 30, 30, 0.3);
  padding: 0 20px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  text-decoration: none;
}

.brand img.logo {
  height: 56px;
  width: auto;
  border-radius: 4px;
}

.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand .brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.brand .brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand .dot { display: none; }

.brand .badge {
  font-size: 0.65rem;
  background: rgba(196, 30, 30, 0.15);
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--brand);
  font-weight: 600;
  margin-left: 8px;
  border: 1px solid rgba(196, 30, 30, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

nav a:hover { color: #ffffff; }

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s;
}
nav a:hover::after { width: 100%; }

.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}
.theme-toggle:hover {
  border-color: rgba(255,255,255,0.4);
  color: white;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* ===== Hero ===== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 50%, #1a1a2d 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(196, 30, 30, 0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 30%, rgba(196, 30, 30, 0.08) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(196, 30, 30, 0.3);
  border-radius: 50%;
  animation: particleFloat 15s linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}
@keyframes pulse-marker {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196,30,30,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(196,30,30,0); }
}

.map-marker {
  background: transparent !important;
  border: none !important;
}
.marker-pin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marker-inner {
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.marker-area .marker-inner {
  width: 12px;
  height: 12px;
  background: #c41e1e;
}
.marker-base .marker-inner {
  width: 20px;
  height: 20px;
  background: #c41e1e;
  border-width: 4px;
  box-shadow: 0 3px 12px rgba(196,30,30,0.4);
}
.marker-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(196,30,30,0.3);
  animation: pulse-marker 2s ease-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.marker-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 4px);
  white-space: nowrap;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  background: rgba(255,255,255,0.92);
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  pointer-events: none;
  line-height: 1.3;
}
.marker-label-base {
  font-size: 12px;
  font-weight: 700;
  color: #c41e1e;
  background: #fff;
  padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(196,30,30,0.15);
  border: 1px solid rgba(196,30,30,0.2);
}

.custom-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  padding: 0;
  overflow: hidden;
  border: none;
}
.custom-popup .leaflet-popup-content {
  margin: 0;
  width: auto !important;
}
.custom-popup .leaflet-popup-tip-container {
  display: none;
}
.map-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 20px;
  font-family: Inter, sans-serif;
  gap: 3px;
  min-width: 140px;
}
.map-popup b {
  font-size: 15px;
  color: #1a1a1a;
}
.map-popup span {
  font-size: 12px;
  color: #666;
}
.map-popup-badge {
  background: #c41e1e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.map-popup-link {
  display: inline-block;
  margin-top: 6px;
  background: #c41e1e;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.map-popup-link:hover { opacity: 0.85; }

.map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #444;
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c41e1e;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.map-legend-dot.base {
  width: 14px;
  height: 14px;
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(196,30,30,0.2), 0 1px 3px rgba(0,0,0,0.2);
}
.map-legend-line {
  width: 20px;
  height: 0;
  border-top: 2.5px dashed #c41e1e;
  opacity: 0.6;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .map-legend {
    bottom: 8px;
    left: 8px;
    padding: 8px 12px;
    font-size: 11px;
  }
  #coverageMap { height: 380px !important; }
  .marker-label { font-size: 10px; padding: 1px 5px; }
}

.hero {
  position: relative;
  z-index: 2;
  padding: 0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: #ffffff;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 36px;
  line-height: 1.7;
}

.hero b { color: var(--brand); font-weight: 600; }

.ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-wrapper .feature-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ===== Custom Cursor ===== */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(196, 30, 30, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transition: transform 0.15s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
    transform: translate(-50%, -50%);
  }
  .cursor-ring.hovering {
    width: 48px;
    height: 48px;
    border-color: var(--brand);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn.accent {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(196, 30, 30, 0.3);
  border: none;
}

.btn.accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 30, 30, 0.4);
}

.btn.secondary {
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn.secondary:hover {
  background: var(--surface-muted);
  border-color: #c0c0c0;
  transform: translateY(-1px);
}

/* ===== Grid Layout ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ===== Glassmorphism Cards ===== */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.section-header {
  grid-column: span 12;
  margin-bottom: 16px;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.02em;
}


.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-gradient);
  margin: 14px auto 0;
  border-radius: 2px;
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% auto;
}

.section-header p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Services Grid V2 ===== */
.services-grid {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card-v2 {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.service-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 30, 0.15);
}

.service-card-v2:hover::before {
  transform: scaleX(1);
}

.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.06;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  transition: opacity 0.3s;
}

.service-card-v2:hover .service-number {
  opacity: 0.12;
}

.service-icon-v2 {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(196, 30, 30, 0.1), rgba(196, 30, 30, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.service-card-v2:hover .service-icon-v2 {
  background: linear-gradient(135deg, rgba(196, 30, 30, 0.15), rgba(196, 30, 30, 0.08));
  transform: scale(1.08);
}

.service-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: rgba(196, 30, 30, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.service-card-v2 h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.service-card-v2 > p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.3;
  transition: opacity 0.3s;
}

.service-card-v2:hover .service-features li::before {
  opacity: 0.6;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: all 0.3s;
  margin-top: auto;
}

.service-cta span {
  transition: transform 0.3s;
  display: inline-block;
}

.service-cta:hover {
  gap: 12px;
}

.service-cta:hover span {
  transform: translateX(4px);
}

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

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card-v2 { padding: 24px; }
}

/* ===== Stats Section ===== */
.stats-section {
  grid-column: span 12;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 100%);
  border: none;
  border-radius: var(--radius);
  padding: 48px 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ===== Why Choose Us V2 ===== */
.why-section {
  position: relative;
  background: linear-gradient(135deg, #111113 0%, #1a1a1f 40%, #2d1a1a 100%);
  padding: 80px 0;
  margin-top: 48px;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 30, 30, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(196, 30, 30, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.why-section .section-header h2::after {
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.why-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.why-card-v2 {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card-v2-inner {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(196, 30, 30, 0.3), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.why-card-v2:hover::before {
  opacity: 1;
}

.why-card-v2:hover {
  transform: translateY(-6px);
}

.why-card-v2:hover .why-card-v2-inner {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-card-featured .why-card-v2-inner {
  background: rgba(196, 30, 30, 0.08);
  border-color: rgba(196, 30, 30, 0.15);
}

.why-card-featured:hover .why-card-v2-inner {
  background: rgba(196, 30, 30, 0.12);
  border-color: rgba(196, 30, 30, 0.25);
}

.why-icon-v2 {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(196, 30, 30, 0.15), rgba(196, 30, 30, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s;
  border: 1px solid rgba(196, 30, 30, 0.1);
}

.why-card-v2:hover .why-icon-v2 {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(196, 30, 30, 0.2), rgba(196, 30, 30, 0.08));
  box-shadow: 0 4px 16px rgba(196, 30, 30, 0.15);
}

.why-card-v2 h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.why-card-v2 p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  flex-grow: 1;
}

.why-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.why-card-v2:hover .why-tag {
  opacity: 1;
}

@media (max-width: 900px) {
  .why-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .why-section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .why-grid-v2 { grid-template-columns: 1fr; }
  .why-section { padding: 48px 0; margin-top: 24px; }
  .why-card-v2-inner { padding: 24px 20px; }
}

/* ===== Project Showcase ===== */
.project-carousel-wrapper {
  grid-column: span 12;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding-bottom: 20px;
}

.project-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  position: relative;
  z-index: 1;
}

.carousel-slide {
  min-width: 100%;
  cursor: pointer;
  position: relative;
}

.carousel-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}

.carousel-slide-image {
  position: relative;
  overflow: hidden;
}

.carousel-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-slide:hover .carousel-slide-image img {
  transform: scale(1.03);
}

.carousel-slide-image .photo-count {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-slide-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-slide-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--brand-gradient);
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: fit-content;
}

.carousel-slide-info h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.carousel-slide-info > p {
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.carousel-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.carousel-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.carousel-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: fit-content;
}

.carousel-view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 30, 0.3);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
}

.carousel-arrow:hover {
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(-60%) scale(1.08);
}

.carousel-arrow-left { left: 16px; }
.carousel-arrow-right { right: 16px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-light);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.2);
}

.carousel-dot:hover:not(.active) {
  border-color: var(--text-muted);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.project-lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: 95vw;
  max-width: 1100px;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-header {
  color: #fff;
  padding: 0 0 16px;
}

.lightbox-header h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 700;
}

.lightbox-header-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.lightbox-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.lightbox-image-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 65vh;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.lightbox-image-wrapper img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s;
}

.lightbox-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 5px;
}

.lightbox-nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  padding: 14px 0 0;
  overflow-x: auto;
  justify-content: center;
  flex-wrap: wrap;
}

.lightbox-thumb {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: #222;
  transition: all 0.2s;
  flex-shrink: 0;
}

.lightbox-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(196, 30, 30, 0.4);
}

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

.lightbox-counter {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  padding-top: 8px;
}

@media (max-width: 768px) {
  .carousel-slide-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .carousel-slide-image {
    aspect-ratio: 16/10;
  }
  .carousel-slide-info {
    padding: 20px 16px;
  }
  .carousel-slide-info h3 { font-size: 1.1rem; }
  .carousel-slide-info p { font-size: 0.85rem; }
  .carousel-slide-badge { font-size: 0.6rem; }
  .carousel-slide-meta { font-size: 0.78rem; }
  .carousel-view-btn { font-size: 0.82rem; padding: 10px 20px; }
  .carousel-arrow {
    width: 36px;
    height: 36px;
    top: 25%;
  }
  .carousel-arrow svg { width: 18px; height: 18px; }
  .carousel-arrow-left { left: 6px; }
  .carousel-arrow-right { right: 6px; }
  .lightbox-content { padding: 12px; margin: 0; border-radius: 12px; max-height: 95vh; }
  .lightbox-close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 1.4rem; }
  .lightbox-header h3 { font-size: 1rem; }
  .lightbox-nav { width: 36px; height: 36px; min-width: 36px; }
  .lightbox-image-wrapper { max-height: 45vh; }
  .lightbox-image-wrapper img { max-height: 45vh; }
  .lightbox-thumbs { gap: 6px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lightbox-thumb { width: 44px; height: 33px; }
  .lightbox-counter { font-size: 0.72rem; }
}

/* ===== Testimonials Carousel ===== */
.testimonials-section {
  grid-column: span 12;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}
.testimonials-section:hover {
  transform: none;
  box-shadow: none;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
}
.testimonial-location {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}
.testimonial-quote {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 3rem;
  color: rgba(196, 30, 30, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.carousel-btn:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.carousel-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}

/* ===== Before/After Gallery ===== */
.gallery-section {
  grid-column: span 12;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-muted);
  cursor: pointer;
  group: true;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 {
  margin: 0;
  color: white;
  font-size: 1rem;
}
.gallery-overlay p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-muted), var(--surface));
  color: var(--text-light);
  font-size: 0.85rem;
  gap: 8px;
}
.gallery-placeholder .gallery-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* ===== FAQ Accordion Refinement ===== */
.faq-item.active {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.faq-item.active .faq-question {
  color: var(--brand);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-item.active {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--brand);
}

/* ===== Contact Form Refinement ===== */
form#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.faq-section {
  grid-column: span 12;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--brand); }
.faq-arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
  color: var(--text-light);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}
.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Accreditations ===== */
.accreditations-section {
  grid-column: span 12;
  text-align: center;
}
.accreditations-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.accreditation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  min-width: 140px;
  transition: transform 0.2s;
}
.accreditation-item:hover { transform: translateY(-3px); }
.accreditation-icon {
  font-size: 2rem;
}
.accreditation-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== Recent Projects ===== */
.recent-projects-grid {
  grid-column: span 12;
  max-width: 800px;
  margin: 0 auto;
}
.recent-year-group {
  margin-bottom: 28px;
}
.recent-year-group:last-child {
  margin-bottom: 0;
}
.recent-year-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.recent-year-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  padding: 5px 18px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.recent-year-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--brand), transparent);
  opacity: 0.3;
}
.recent-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.recent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.recent-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.recent-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 10px;
}
.recent-card-body {
  flex: 1;
  min-width: 0;
}
.recent-card-body h4 {
  margin: 0 0 3px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}
.recent-card-loc {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.recent-card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  background: rgba(196, 30, 30, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ===== Service Area ===== */
.area-section {
  grid-column: span 12;
}
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.area-tag {
  padding: 8px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s;
}
.area-tag:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ===== Preview Section ===== */
.preview-section {
  grid-column: span 12;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, var(--brand-dark) 100%);
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}
.preview-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(196, 30, 30, 0.2) 0%, transparent 50%);
}
.coming-soon-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 8px 0 4px;
}
.preview-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.preview-content h2 { margin: 0 0 8px; color: white; }
.preview-content p { color: rgba(255,255,255,0.65); margin: 0; }
.preview-content .btn {
  background: linear-gradient(135deg, var(--brand), #e84444);
  color: white;
  border: none;
}
.preview-content .btn:hover { box-shadow: 0 8px 25px rgba(196, 30, 30, 0.4); }

/* ===== Forms ===== */
input, select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-sans);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.1);
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ===== Canvas Container ===== */
.canvas-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ===== Status Messages ===== */
.ok {
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 8px;
  font-size: 0.92rem;
}

.err {
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 8px;
  font-size: 0.92rem;
}

.notice {
  padding: 12px 16px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  color: #9a3412;
  border-radius: 8px;
  font-size: 0.92rem;
}

/* ===== Footer ===== */
.site-footer {
  background: #1a1a1a;
  border-top: 3px solid var(--brand);
  margin-top: 80px;
  padding: 48px 20px 24px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 48px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0;
}
.footer-col h4 {
  color: white;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-credit-logo {
  height: 45px;
  width: auto;
  opacity: 1;
  transition: opacity 0.3s;
}
.footer-credit-logo:hover {
  opacity: 0.85;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--brand);
  color: white;
}

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: linear-gradient(135deg, var(--brand), #e84444);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(196, 30, 30, 0.4);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-sans);
  opacity: 0;
  transform: translateY(20px);
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
}
.sticky-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(196, 30, 30, 0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* ===== Table ===== */
.table-container { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.table th, .table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--surface-muted);
}
.table tr:hover td { background: var(--surface-muted); }

/* ===== Mobile Responsiveness ===== */
@media (max-width: 900px) {
  nav { gap: 14px; }
  nav a { font-size: 0.78rem; }
  .hero h1 { font-size: 2.4rem; }
  .grid { gap: 16px; }
  .card { grid-column: span 12 !important; }
  .preview-content { flex-direction: column; text-align: center; gap: 20px; }
  .ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .recent-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-wrapper { padding: 48px 0 36px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1rem; }
  nav a { font-size: 0.75rem; }
  .card { padding: 20px; }
  .brand img.logo { height: 40px; }
  .brand .brand-name { font-size: 0.88rem; }
  .brand .brand-sub { font-size: 0.62rem; }
  .brand .badge { font-size: 0.58rem; padding: 2px 8px; }
  .container { padding: 16px 12px; }
  .grid { margin-top: 24px; padding: 0 12px; }
  .section-header h2 { font-size: 1.45rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-pill { font-size: 0.82rem; padding: 8px 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item .stat-number { font-size: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .sticky-cta { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 0.82rem; }
  .back-to-top { bottom: 16px; left: 16px; }
  .area-tag { padding: 6px 14px; font-size: 0.8rem; }
  .recent-projects-grid { max-width: 100%; }
  .recent-card { padding: 12px 14px; gap: 10px; }
  .recent-card-icon { width: 32px; height: 32px; font-size: 1.1rem; }
  .recent-card-body h4 { font-size: 0.82rem; }
  .recent-card-loc { font-size: 0.72rem; }
  .recent-card-tag { font-size: 0.6rem; padding: 2px 8px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-row span:last-child { word-break: break-all; }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--brand-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(196, 30, 30, 0.5);
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav#mainNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 105;
  }
  nav#mainNav.open { right: 0; }
  nav#mainNav a {
    font-size: 1.1rem;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }
  nav#mainNav a::after { display: none; }
  .header-content { flex-direction: row !important; height: 70px !important; padding: 0 !important; }
}

/* ===== Gradient Shimmer Text ===== */
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--brand), #e84444, #ff6b6b, #e84444, var(--brand));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.section-header h2 .accent {
  background: linear-gradient(90deg, var(--brand), #e84444, var(--brand));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}

/* ===== 3D Tilt Card Effect ===== */
.why-card {
  transform-style: preserve-3d;
  perspective: 800px;
}
.why-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
}
.why-icon {
  transition: transform 0.3s;
}
.why-card:hover .why-icon {
  transform: scale(1.15) translateZ(10px);
}

/* ===== Testimonial Avatars ===== */
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial-card {
  border-left: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-card:hover {
  border-left-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== Section Wave Divider ===== */
.section-wave {
  margin-top: 80px;
  line-height: 0;
  overflow: hidden;
}
.section-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ===== Enhanced Footer ===== */
.site-footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #111113 100%);
  border-top: none;
  margin-top: 0;
  padding: 60px 20px 30px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.footer-brand .footer-social {
  margin-top: 20px;
}

/* ===== Enhanced Input Focus ===== */
input, select {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.12), 0 4px 12px rgba(196, 30, 30, 0.08);
  transform: translateY(-1px);
}

/* ===== Utilities ===== */
.hr { height: 1px; background: var(--border); margin: 20px 0; }
.text-small { font-size: 0.875rem; color: var(--text-muted); }
.badge-group { display: flex; flex-direction: column; gap: 12px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 12px; }
}
