:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  --accent-light: #e0f2fe;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --card-border: rgba(226, 232, 240, 0.9);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 45px rgba(2, 132, 199, 0.12);
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Luxury Lift & Hover Utility */
.luxury-btn-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}
.luxury-btn-lift:hover {
  transform: translateY(-3px);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-spacing {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background-color: var(--accent-light);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* 3D Perspective Utilities */
.perspective-container {
  perspective: 1000px;
}

.card-3d {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  padding: 10px 0;
  color: var(--text-muted);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sub {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.nav-link:hover {
  color: var(--accent-blue);
  background-color: var(--bg-secondary);
}

.nav-cta-btn {
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.nav-cta-btn:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
}

/* Services Mega Dropdown */
.services-dropdown-container {
  position: relative;
}
.services-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 650px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  padding: 24px;
  display: none;
  z-index: 60;
  margin-top: 10px;
}
.services-dropdown-container:hover .services-menu,
.services-dropdown-container.open .services-menu {
  display: block;
  animation: fadeInDown 0.2s ease;
}

.services-grid-dropdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-col-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-light);
  margin-bottom: 12px;
}
.dropdown-item {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.dropdown-item:hover {
  background-color: var(--bg-secondary);
}
.dropdown-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}
.dropdown-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
.hero-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}
.hero-title {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--accent-blue);
}
.hero-desc {
  font-size: 19px;
  max-width: 660px;
  margin: 0 auto 40px auto;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.4);
}
.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: #cbd5e1;
  color: var(--accent-blue);
  transform: translateY(-3px);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}
.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}
.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-blue);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Before / After Slider */
.before-after-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.slider-canvas {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
  border: 1px solid var(--border-color);
}
.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.slider-reveal {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}
.slider-reveal img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
}
.slider-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.slider-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.slider-tag {
  position: absolute;
  top: 16px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  z-index: 10;
}
.slider-tag.after {
  right: 16px;
  color: var(--accent-blue);
}
.slider-tag.before {
  left: 16px;
  color: var(--text-main);
}

/* 3-Column / 9-Image Grid Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay-text {
  color: #ffffff;
}
.gallery-overlay-title {
  font-size: 15px;
  font-weight: 700;
  display: block;
}
.gallery-overlay-sub {
  font-size: 12px;
  color: var(--accent-light);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  text-align: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s ease;
}
.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* 5 Left-Side Floating Action Buttons */
.floating-actions-container {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-btn {
  display: flex;
  align-items: center;
  height: 48px;
  width: 48px;
  border-radius: 0 24px 24px 0;
  color: #ffffff;
  padding-left: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  white-space: nowrap;
}
.floating-btn:hover {
  width: 145px;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.floating-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.floating-btn span {
  opacity: 0;
  margin-left: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease 0.08s;
}
.floating-btn:hover span {
  opacity: 1;
}

.floating-btn.btn-phone { background-color: #1a73e8; }
.floating-btn.btn-phone:hover { background-color: #1557b0; }
.floating-btn.btn-whatsapp { background-color: #25d366; }
.floating-btn.btn-whatsapp:hover { background-color: #1da851; }
.floating-btn.btn-quote { background-color: #ea4335; }
.floating-btn.btn-quote:hover { background-color: #c5221f; }
.floating-btn.btn-review { background-color: #f9ab00; color: #0f172a; }
.floating-btn.btn-review:hover { background-color: #e89e00; }
.floating-btn.btn-share { background-color: #34a853; }
.floating-btn.btn-share:hover { background-color: #2d7a3a; }

/* Services 3D Grid */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}
.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: var(--accent-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.service-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-feature-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-bottom: 24px;
}
.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.service-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}
.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-blue);
}
.service-quote-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.service-quote-btn:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

/* Interactive Estimator */
.estimator-container {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.estimator-controls {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.estimator-results {
  background: #ffffff;
  border: 2px solid var(--accent-blue);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.option-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.estimator-btn {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.estimator-btn.active {
  border-color: var(--accent-blue);
  background-color: var(--accent-light);
  color: var(--accent-blue);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.15);
}
.price-display {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  margin: 12px 0 8px 0;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  border-color: var(--accent-blue);
  background-color: #ffffff;
}

/* Footer (Light Luxury) */
.footer-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px 0;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 2fr 3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-color);
}
.footer-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-blue);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .services-card-grid { grid-template-columns: repeat(2, 1fr); }
  .estimator-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-links { display: none; }
  .hero-title { font-size: 34px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .services-card-grid { grid-template-columns: 1fr; }
  .option-btn-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-spacing { padding-top: 60px; padding-bottom: 60px; }
  .slider-canvas { height: 320px; }
}
