/* ============================================================
   AALIYAN CAMERAS — PREMIUM STYLESHEET
   Theme: Luxury Tech / Apple-Inspired
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-grey: #f1f3f8;
  --mid-grey: #e4e8f0;
  --text-dark: #0d1117;
  --text-body: #3a4254;
  --text-muted: #7a8499;
  --blue-accent: #2563eb;
  --blue-light: #dbeafe;
  --blue-mid: #3b82f6;
  --blue-soft: #eff6ff;
  --blue-glow: rgba(59, 130, 246, 0.12);
  --green-wa: #25d366;
  --shadow-soft: 0 2px 20px rgba(13, 17, 23, 0.06);
  --shadow-card: 0 4px 40px rgba(13, 17, 23, 0.08);
  --shadow-hover: 0 16px 60px rgba(13, 17, 23, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Inter', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --navbar-height: 72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ── UTILITIES ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 110px 0; }

/* ── LOADING SCREEN ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--transition), visibility 0.8s var(--transition);
}
#loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
  animation: loaderFadeUp 0.8s var(--transition) both;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.logo-accent{
  color: var(--blue-accent);
}
.loader-logo-accent { color: var(--blue-accent); }
.loader-bar-track {
  width: 200px;
  height: 2px;
  background: var(--mid-grey);
  border-radius: 2px;
  margin: 0 auto 20px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-accent));
  border-radius: 2px;
  width: 0%;
  animation: loaderFill 2s var(--transition) forwards;
}
.loader-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: loaderFadeUp 1.2s var(--transition) 0.4s both;
}
@keyframes loaderFill {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}
@keyframes loaderFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Always has a subtle background so it's visible anywhere on the page */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.4s var(--transition), box-shadow 0.4s var(--transition), padding 0.4s var(--transition);
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--mid-grey), var(--shadow-soft);
  padding: 14px 0;
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative; /* needed so hamburger z-index stacks correctly */
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  flex-shrink: 0;
  position: relative;
  z-index: 1001; /* always above the mobile overlay */
}
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--blue-accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--transition);
}
.nav-link:hover { color: var(--blue-accent); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--blue-accent);
  color: white;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  position: relative;
  z-index: 1002; /* always on top of everything, including the overlay */
  background: transparent;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.hamburger:hover { background: var(--light-grey); }
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s var(--transition);
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO SECTION ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 32px 80px;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-light);
  color: var(--blue-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--transition) 0.2s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--transition) 0.35s both;
}
.hero-title em {
  font-style: italic;
  color: var(--blue-accent);
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--transition) 0.5s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.8s var(--transition) 0.6s both;
}
.btn-primary {
  background: var(--text-dark);
  color: white;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--blue-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.28);
}
.btn-ghost {
  color: var(--text-dark);
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--mid-grey);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
  transform: translateY(-2px);
}
.btn-outline {
  color: var(--text-dark);
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--mid-grey);
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-outline:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

.hero-trust {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: fadeUp 0.8s var(--transition) 0.75s both;
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1;
}
.trust-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--mid-grey);
}

/* 3D Canvas Area */
.hero-3d {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s var(--transition) 0.5s both;
}
#threeCanvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: var(--radius-xl);
}
.canvas-glow {
  position: absolute;
  inset: 20%;
  background: radial-gradient(ellipse, var(--blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
  z-index: -1;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: fadeIn 1.5s var(--transition) 1.5s both;
}
.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Hero background orbs */
.hero-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(219,234,254,0.5) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: 0;
  left: -100px;
  background: radial-gradient(circle, rgba(239,246,255,0.6) 0%, transparent 70%);
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── SERVICES SECTION ── */
#services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ── SERVICE CARD BASE ── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
  cursor: default;
  /* Reset any inherited display so inner content is always block-flow */
  display: block;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Force inner to always be block — prevents grid bleed */
.service-card-inner {
  position: relative;
  z-index: 1;
  display: block; /* never a grid child itself */
}

/* Featured card — desktop only gets the top accent bar */
.service-card--featured {
  border: 1.5px solid var(--blue-light);
}
.service-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-accent));
}
.service-card-bg {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.service-tag {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-icon--cctv { background: var(--blue-soft);  color: var(--blue-accent); }
.service-icon--solar { background: #fefce8; color: #ca8a04; }
.service-icon--reno  { background: #f0fdf4; color: #16a34a; }

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.service-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.service-features { margin-bottom: 28px; }
.service-features li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 7px 0;
  border-bottom: 1px solid var(--light-grey);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-accent);
  flex-shrink: 0;
}
.service-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-cta:hover { gap: 10px; }
.service-cta span { transition: transform 0.2s; }
.service-cta:hover span { transform: translateX(3px); }

/* WhatsApp button on each service card */
.service-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 20px;
  padding: 13px 20px;
  background: var(--green-wa);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.service-wa-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.service-wa-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.service-wa-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* ── STATS SECTION ── */
.stats-section {
  background: var(--white);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: var(--mid-grey);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  display: inline;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--blue-accent);
  display: inline;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── ABOUT SECTION ── */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-placeholder {
  aspect-ratio: 4/3;
  background: var(--light-grey);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-img-inner {
  text-align: center;
  color: var(--text-muted);
}
.about-img-inner svg { width: 64px; margin: 0 auto 12px; }
.about-img-inner p { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--blue-accent);
  line-height: 1;
}
.about-badge-txt {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.about-text {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 18px;
}
.about-pillars {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar-icon {
  width: 32px;
  height: 32px;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--blue-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-pillar h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.about-pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PRICING SECTION ── */
.pricing-section { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
  border: 1.5px solid var(--mid-grey);
  box-shadow: var(--shadow-card);
  cursor: default;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.pricing-card--featured {
  background: var(--white);
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-card);
}
.pricing-card--featured::before {
  display: none;
}
.pricing-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--blue-accent);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.pricing-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-accent);
}
.pricing-icon svg { width: 24px; height: 24px; }
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.pricing-from {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue-accent);
  margin-bottom: 24px;
}
.pricing-features { margin-bottom: 32px; }
.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 8px 0;
  border-bottom: 1px solid var(--mid-grey);
  display: flex;
  gap: 10px;
  align-items: center;
}
.pricing-features li::before {
  content: '✓';
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 40px;
}
.pricing-note strong { color: var(--text-body); }

/* ── WHATSAPP SECTION ── */
.wa-section { background: var(--off-white); }
.wa-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.wa-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
}
.wa-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--mid-grey);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.85rem;
}
.wa-preview {
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
  border-left: 3px solid var(--blue-accent);
}
.wa-preview-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-accent);
  display: block;
  margin-bottom: 6px;
}
#waPreviewText {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}
.btn-whatsapp {
  width: 100%;
  background: var(--green-wa);
  color: white;
  border-radius: 100px;
  padding: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn-whatsapp-sm {
  background: var(--green-wa);
  color: white;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.btn-whatsapp-sm:hover { background: #1da851; transform: translateY(-1px); }
.wa-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── CONTACT SECTION ── */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: start;
}
.contact-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--mid-grey);
}
.contact-item:first-child { padding-top: 0; }
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-accent);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item a,
.contact-item p,
.contact-item span {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}
.contact-item a:hover { color: var(--blue-accent); }
.contact-actions {
  display: flex;
  gap: 12px;
  padding-top: 28px;
  flex-wrap: wrap;
}
.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #16a34a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.88rem;
  margin-top: 16px;
  text-align: center;
}
.form-success.show { display: block; }

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.map-container iframe { display: block; }
.map-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}
.map-pin-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-pin-card strong {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
}
.map-pin-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── FOOTER ── */
#footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: white;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  border-color: rgba(255,255,255,0.5);
  color: white;
  transform: translateY(-2px);
}
.footer-nav h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul li a,
.footer-nav ul li span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-nav ul li a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  z-index: 9998;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: floatPop 0.6s var(--transition) 3s both;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.float-wa svg { width: 26px; height: 26px; }
.float-wa:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.45);
}
@keyframes floatPop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* ── SCROLL REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

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

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Services: 2-column, featured spans full width */
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card--featured {
    grid-column: 1 / -1; /* span both columns */
    /* Never use display:grid here — keep it block */
    display: block;
  }

  .about-grid { gap: 48px; }
  .wa-inner   { gap: 48px; }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }
  .footer-top .footer-nav:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section   { padding: 72px 0; }

  /* ── Navbar mobile ── */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    margin: 0;
    padding: 0;
    max-width: none;

    /* Smooth slide + fade */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px) scale(0.98);
    transition:
      opacity 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      visibility 0.38s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-link {
    font-size: 1.4rem;
    font-weight: 500;
    padding: 14px 32px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: background 0.15s, color 0.15s;

    /* Staggered fade-in for each link */
    opacity: 0;
    transform: translateY(12px);
    transition: background 0.15s, color 0.15s,
                opacity 0.35s ease, transform 0.35s ease;
  }

  .nav-links.open .nav-link:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0.10s; }
  .nav-links.open .nav-link:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.17s; }
  .nav-links.open .nav-link:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.24s; }
  .nav-links.open .nav-link:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.31s; }
  .nav-links.open .nav-link:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.38s; }
  .nav-links.open .nav-cta            { opacity:1; transform:translateY(0); transition-delay: 0.45s; }
  .nav-link:hover,
  .nav-link:active {
    background: var(--blue-soft);
    color: var(--blue-accent);
  }
  /* "Get a Quote" CTA shown inside the mobile overlay */
  .nav-cta {
    display: inline-flex;
    margin-top: 16px;
    font-size: 1rem;
    padding: 14px 36px;
  }
  /* Show hamburger, hide desktop CTA in nav-container */
  .hamburger { display: flex; }
  /* The nav-cta in nav-container (desktop) stays hidden; the one inside overlay shows */
  .nav-cta--desktop { display: none; }
  /* ── Hero ── */
  #hero { padding: 120px 20px 60px; min-height: auto; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-3d { height: 300px; order: -1; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
  .trust-divider { display: none; }

  /* ── Services: single column, all cards identical ── */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Featured card: plain block, same width as siblings */
  .service-card--featured {
    grid-column: auto;
    display: block;
  }
  /* All cards same comfortable padding */
  .service-card {
    padding: 28px 24px;
  }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item::after { display: none; }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge-card { right: 0; }

  /* ── Pricing ── */
  .pricing-grid { grid-template-columns: 1fr; }

  /* ── WhatsApp ── */
  .wa-inner { grid-template-columns: 1fr; gap: 40px; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* ── Float WA ── */
  .float-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title  { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .stat-number { font-size: 2.4rem; }
  .service-card,
  .pricing-card,
  .contact-card,
  .contact-form,
  .wa-form { padding: 24px 18px; }
  /* Keep hero 3D canvas a fixed height on tiny screens */
  .hero-3d { height: 260px; }
}
