/* ==========================================================================
   PERFECT CLEAN - TEMSE | Modern Premium Stylesheet
   ========================================================================== */

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

:root {
  /* Brand Colors */
  --primary-navy: #061338;
  --primary-blue: #0b3fa8;
  --primary-cyan: #00d2ff;
  --accent-cyan: #38ef7d;
  --accent-sparkle-pink: #ff2a7a;
  --accent-sparkle-gold: #ffb800;
  --accent-sparkle-green: #2ecc71;
  --accent-sparkle-purple: #9b51e0;
  
  /* Backgrounds & Surfaces */
  --bg-dark: #040d24;
  --bg-card-dark: rgba(10, 25, 60, 0.75);
  --bg-light: #f4f8fc;
  --bg-white: #ffffff;
  
  /* Text */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-dim: #94a3b8;

  /* Glass & Borders */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-dark: rgba(6, 19, 56, 0.7);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-border-light: rgba(11, 63, 168, 0.12);
  --card-shadow: 0 20px 40px -15px rgba(6, 19, 56, 0.08);
  --glow-shadow: 0 0 35px rgba(0, 210, 255, 0.35);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, #00d2ff 0%, #0b3fa8 50%, #ff2a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00d2ff 0%, #38ef7d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-sparkle {
  background: rgba(0, 210, 255, 0.12);
  color: #0284c7;
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.badge-dark-sparkle {
  background: rgba(0, 210, 255, 0.15);
  color: #38ef7d;
  border: 1px solid rgba(56, 239, 125, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #0b3fa8 0%, #00d2ff 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(11, 63, 168, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary-navy);
  border: 1px solid rgba(11, 63, 168, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #f0f7ff;
  border-color: var(--primary-blue);
  transform: translateY(-3px);
}

.btn-glow {
  background: linear-gradient(135deg, #ff2a7a 0%, #ff7043 100%);
  color: white;
  box-shadow: 0 10px 25px rgba(255, 42, 122, 0.4);
}

.btn-glow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 42, 122, 0.6);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.65rem 0;
  box-shadow: 0 10px 30px rgba(6, 19, 56, 0.08);
  border-bottom: 1px solid rgba(11, 63, 168, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--primary-navy);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d2ff, #ff2a7a);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-call-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: rgba(11, 63, 168, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 30px;
}

.nav-call-btn:hover {
  background: rgba(11, 63, 168, 0.15);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section with 3D Canvas Background
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 75% 20%, #e0f2fe 0%, #f0f7ff 40%, #ffffff 100%);
}

#three-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-navy);
  line-height: 1.12;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-badges-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 63, 168, 0.15);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-navy);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(6, 19, 56, 0.2);
  border: 4px solid #ffffff;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: var(--transition-smooth);
}

.hero-image-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.4rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 15px 35px rgba(6, 19, 56, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 3;
}

.badge-location {
  bottom: -20px;
  left: -20px;
}

.badge-rating {
  top: -20px;
  right: -20px;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.badge-location .badge-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.badge-rating .badge-icon {
  background: #fef3c7;
  color: #d97706;
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-section {
  background: linear-gradient(135deg, #061338 0%, #0b2568 100%);
  color: white;
  padding: 3.5rem 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.counter-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   Before / After Interactive Slider Section
   ========================================================================== */
.ba-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-navy);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.ba-slider-card {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(6, 19, 56, 0.12);
  border: 1px solid rgba(11, 63, 168, 0.1);
  background: #ffffff;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-image-after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  overflow: hidden;
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
  z-index: 10;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff, #0b3fa8);
  border: 3px solid #ffffff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.ba-label {
  position: absolute;
  bottom: 25px;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.ba-label-before {
  right: 25px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
}

.ba-label-after {
  left: 25px;
  background: rgba(11, 63, 168, 0.85);
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.5);
}

/* ==========================================================================
   Services Section (3D Tilt Cards)
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  background: #f8fafc;
}

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

.service-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(11, 63, 168, 0.08);
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 25px 50px -10px rgba(11, 63, 168, 0.18);
  border-color: rgba(0, 210, 255, 0.4);
}

.service-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(6, 19, 56, 0.8);
  backdrop-filter: blur(8px);
  color: var(--primary-cyan);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.8rem;
}

.service-title {
  font-size: 1.35rem;
  color: var(--primary-navy);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li span.check-icon {
  color: #10b981;
  font-weight: bold;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-blue);
  margin-top: 0.8rem;
}

.service-link:hover {
  color: var(--primary-cyan);
  transform: translateX(4px);
}

/* ==========================================================================
   Interactive Price Calculator Section
   ========================================================================== */
.calculator-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #050f2e 0%, #0d225c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.calculator-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-info h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.calc-info p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.calc-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.calc-perks li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.98rem;
}

.calc-perks li i {
  color: var(--accent-sparkle-green);
  font-size: 1.1rem;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.calc-group {
  margin-bottom: 1.4rem;
}

.calc-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.calc-select, .calc-range-wrap {
  width: 100%;
}

.calc-select {
  background: rgba(6, 19, 56, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
}

.calc-select option {
  background: #061338;
  color: white;
}

.calc-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  accent-color: var(--primary-cyan);
}

.calc-result-box {
  background: rgba(0, 210, 255, 0.1);
  border: 1px dashed rgba(0, 210, 255, 0.4);
  border-radius: 16px;
  padding: 1.4rem;
  text-align: center;
  margin: 1.8rem 0 1.2rem;
}

.calc-result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-cyan);
  font-weight: 700;
}

.calc-result-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.2rem 0;
}

.price-excl {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 400;
  display: block;
}

/* ==========================================================================
   Google Maps & Location Section (Temse)
   ========================================================================== */
.location-section {
  padding: 6rem 0;
  background: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-card-box {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid rgba(11, 63, 168, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(11, 63, 168, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1rem;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
}

.info-details p, .info-details a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.info-details a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.service-region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.region-tag {
  background: #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.region-tag.highlight {
  background: #0284c7;
  color: white;
}

.map-container-frame {
  position: relative;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(6, 19, 56, 0.15);
  border: 4px solid #ffffff;
}

.map-container-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  z-index: 5;
}

/* ==========================================================================
   Contact & Quote Form Section
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: #f1f5f9;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
}

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

.contact-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(6, 19, 56, 0.08);
  border: 1px solid rgba(11, 63, 168, 0.1);
  transition: box-shadow 0.3s ease;
}

.contact-form-card.pulse-glow {
  box-shadow: 0 0 40px rgba(0, 210, 255, 0.7);
}

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

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

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

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background: #f8fafc;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 63, 168, 0.1);
}

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

.direct-mail-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

/* ==========================================================================
   Success / Quote Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 19, 56, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
}

.modal-header-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  max-height: 180px;
  overflow-y: auto;
  margin: 1.2rem 0;
  color: #334155;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #040c20;
  color: #ffffff;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-cyan);
  margin-top: 0.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary-cyan);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Floating Quick Actions Bar */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 990;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-btn:hover {
  transform: scale(1.12);
}

.btn-whatsapp {
  background: #25d366;
}

.btn-mail-float {
  background: linear-gradient(135deg, #00d2ff, #0b3fa8);
}

/* Click Sparkle FX */
.click-sparkle {
  position: absolute;
  pointer-events: none;
  font-size: 1.2rem;
  z-index: 9999;
  animation: sparkle-burst 0.75s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes sparkle-burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(1.4) rotate(180deg);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-grid, .location-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    gap: 1.2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .ba-slider-container {
    height: 340px;
  }
}
