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

/* --- Reset & Base Variables --- */
:root {
  /* Colors */
  --color-primary: #0EA5E9; /* Sky Blue */
  --color-primary-hover: #0284C7;
  --color-secondary: #38BDF8;
  --color-cta: #F97316; /* Orange CTA */
  --color-cta-hover: #EA580C;
  --color-background: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-text: #0C4A6E; /* Dark Navy */
  --color-text-muted: #64748B; /* Slate Gray */
  --color-border: #E2E8F0;
  --color-dark-blue: #072F45;
  --color-top-bar: #0B2545;
  --color-accent: #0EA5E9;
  --color-accent-2: #0284C7;
  --color-gold: #FBBF24;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(12, 74, 110, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(12, 74, 110, 0.08), 0 2px 4px -1px rgba(12, 74, 110, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(12, 74, 110, 0.1), 0 4px 6px -2px rgba(12, 74, 110, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(12, 74, 110, 0.12), 0 10px 10px -5px rgba(12, 74, 110, 0.04);
  
  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --top-bar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 200ms ease;
}

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

/* --- Common Components & Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section-padding {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-2xl) auto;
}

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-cta {
  background-color: var(--color-cta);
  color: #ffffff;
}

.btn-cta:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-dark {
  background-color: var(--color-dark-blue);
  color: white;
}

.btn-dark:hover {
  background-color: var(--color-top-bar);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- Mapped Pill Buttons --- */
.btn-pill-navy {
  background: var(--color-top-bar);
  color: #FFFFFF !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn-pill-navy:hover {
  background: var(--color-dark-blue);
  transform: translateY(-1px);
}
.btn-pill-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.btn-pill-navy:hover .btn-pill-arrow {
  transform: rotate(45deg);
}

.btn-pill-white {
  background: #FFFFFF;
  color: var(--color-text) !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.btn-pill-white:hover {
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.btn-pill-white .btn-pill-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}
.btn-pill-white:hover .btn-pill-arrow {
  transform: rotate(45deg);
}

.btn-pill-brand {
  background: var(--color-primary);
  color: #FFFFFF !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-pill-brand:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}
.btn-pill-brand .btn-pill-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary) !important;
  transition: transform 0.3s ease;
}
.btn-pill-brand:hover .btn-pill-arrow {
  transform: translateY(2px);
}

/* --- Top Bar --- */
.top-bar {
  background-color: var(--color-top-bar);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-left {
  display: flex;
  gap: var(--space-lg);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.top-bar-item svg {
  color: var(--color-primary);
  width: 14px;
  height: 14px;
}

.top-bar-right {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.top-bar-social {
  color: rgba(255, 255, 255, 0.6);
}

.top-bar-social:hover {
  color: var(--color-primary);
}

.top-bar-social svg {
  width: 14px;
  height: 14px;
}

/* ======= Copied Navbar Design from Roofing ======= */
.navbar {
  position: fixed;
  top: var(--top-bar-height); /* Starts below top-bar */
  left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: top 300ms ease, background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 45%, rgba(255,255,255,0.0) 100%);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  top: 0; /* Sticks to top when scrolled */
  background: rgba(255,255,255,0.88);
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Beautiful custom logo container next to the logo text */
.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: 8px; /* matching the roofing logo image radius */
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.logo-circle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5px;
}

/* Floating Glassmorphism active pill styles */
.nav-links {
  background: rgba(241, 245, 249, 0.7) !important;
  padding: 0.25rem !important;
  border-radius: 99px !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  list-style: none;
}
.nav-link {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #64748B !important; /* slate-500 */
  padding: 0.35rem 0.65rem !important;
  border-radius: 99px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  white-space: nowrap !important;
}
.nav-link::after {
  display: none !important;
}
.nav-link:hover {
  color: #0F172A !important;
}
.nav-link.active {
  background: #FFFFFF !important;
  color: #0F172A !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05) !important;
}

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

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 300ms ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--top-bar-height) + var(--header-height)); /* Starts below navbar */
  left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1rem 0 2rem;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  transition: top 300ms ease;
}
body.scrolled .mobile-menu {
  top: var(--header-height); /* Sticks up with navbar */
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.75rem 2rem;
  width: 100%;
  text-align: center;
  transition: color 200ms ease;
}
.mobile-menu a:hover { color: var(--color-primary); }

/* --- Redesigned Hero Section (From Roofing) --- */
.hero {
  padding: calc(var(--header-height) + 1.5rem) 0 1rem; 
  background: var(--color-background);
  text-align: left;
}

.hero-card-container {
  margin: 0.5rem auto 1.5rem;
  max-width: 1300px;
  width: calc(100% - 3rem);
  min-height: 540px;
  height: calc(100vh - var(--header-height) - 30px);
  max-height: 680px;
  border-radius: 40px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: url('assets/technician_fixing_ac.png') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 2.25rem 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 37, 69, 0.88) 0%, rgba(11, 37, 69, 0.6) 50%, rgba(11, 37, 69, 0.1) 100%);
  z-index: 1;
}

/* White Quote Card */
.quote-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 1.75rem 2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  position: relative;
  z-index: 5;
}

/* Underline Inputs */
.input-line {
  border: none !important;
  border-bottom: 1.5px solid #E2E8F0 !important;
  border-radius: 0 !important;
  padding: 0.45rem 0 !important;
  width: 100% !important;
  font-size: 0.88rem !important;
  color: #0F172A !important;
  outline: none !important;
  background: transparent !important;
  transition: border-color 0.3s ease !important;
  font-family: var(--font-body) !important;
}
.input-line::placeholder {
  color: #94A3B8 !important;
}
.input-line:focus {
  border-color: var(--color-primary) !important;
}
.select-line {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2394a3b8' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 1.5rem !important;
}

.btn-orange-pill {
  background: var(--color-cta);
  color: #FFFFFF;
  border: none;
  border-radius: 99px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  font-family: var(--font-body);
}
.btn-orange-pill:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

/* Social Rating Overlaps */
.reviews-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.social-avatar-group {
  display: flex;
  align-items: center;
}
.social-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
}
.social-avatar:first-child {
  margin-left: 0;
}
.social-avatar.green-star {
  background: #22C55E; /* Trustpilot Green */
}
.social-avatar.google {
  background: #EA4335; /* Google Red */
}
.social-avatar.facebook {
  background: #1877F2; /* Facebook Blue */
}

/* --- Trust Bar Section --- */
.trust-bar {
  background-color: #ffffff;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.brands-container {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.brands-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #94A3B8;
  transition: all 200ms;
}

.brand-name:hover {
  color: var(--color-primary);
}

/* --- Services Section (Ref. Cards Layout) --- */
.services {
  background-color: var(--color-background);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-content h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.service-card-content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.service-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.service-arrow-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(14, 165, 233, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 250ms;
}

.service-card:hover .service-arrow-box {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* --- Redesigned Symptoms Section --- */
.problems {
  background-color: #ffffff;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}
@media (max-width: 960px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

.problem-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(14, 165, 233, 0.2);
}

.problem-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.problem-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-card:hover .problem-card-image {
  transform: scale(1.04);
}

/* Floating badge for icons */
.problem-icon-floating {
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  z-index: 5;
  transition: background 0.3s ease, transform 0.3s ease;
}
.problem-card:hover .problem-icon-floating {
  background: var(--color-cta);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
  transform: scale(1.05);
}
.problem-icon-floating svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5px;
}

.problem-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 0.25rem;
}

.problem-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.problem-card-action-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  transition: color 0.3s ease;
}
.problem-card:hover .problem-card-action-text {
  color: var(--color-cta);
}
.problem-card-action-text svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.problem-card:hover .problem-card-action-text svg {
  transform: translateX(3px);
}

/* --- Redesigned How It Works Section (From Roofing) --- */
.how-it-works {
  background-color: var(--color-background);
}

.process-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.process-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.process-card {
  background: rgba(14, 165, 233, 0.04);
  border-radius: 24px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 380px;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 27, 61, 0.06);
  border-color: var(--color-primary);
}
.process-card-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.process-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.process-card:hover .process-card-image {
  transform: scale(1.05);
}
.process-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}
.process-card-desc {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  padding-bottom: 2rem; /* space for absolute number */
}
.process-card-num {
  position: absolute;
  bottom: 0.5rem;
  right: 1.25rem;
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: rgba(14, 165, 233, 0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* --- Redesigned Why Choose Us Section (From Roofing) --- */
.why-choose-us {
  background-color: #ffffff;
}

/* --- Booking & Contact Form --- */
.booking {
  background-color: var(--color-background);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-3xl);
  align-items: start;
}

.booking-details-box h2 {
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-weight: 800;
}

.booking-details-box p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.booking-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.booking-point-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.booking-point-bullet {
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-point-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.booking-form-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.ac-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.span-all {
  grid-column: span 2;
}

.form-element {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-element label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
}

.form-text-input, .form-select-input, .form-textarea-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: #F8FAFC;
  transition: all 200ms;
}

.form-text-input:focus, .form-select-input:focus, .form-textarea-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-textarea-input {
  resize: vertical;
  min-height: 80px;
}

/* Success Modal Overlay */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
}

.success-modal {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 450px;
  width: 90%;
  text-align: center;
  animation: modalPop 300ms ease;
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg) auto;
}

.success-modal h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.success-modal p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

/* --- Redesigned Testimonials Section (From Roofing) --- */
.testimonials-modern {
  background-color: #FAFAFA;
}

.shadcn-testimonials-wrapper {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-height: 740px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.shadcn-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  animation: shadcn-scroll var(--duration) linear infinite;
}
@keyframes shadcn-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes shadcn-scroll-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.shadcn-col-2 {
  animation: shadcn-scroll-down var(--duration) linear infinite !important;
}
.shadcn-card {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 15px -3px rgba(30,41,59,0.05), 0 4px 6px -4px rgba(30,41,59,0.05);
  max-width: 320px;
  width: 100%;
  background: #FFFFFF;
}
.shadcn-card-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
}
.shadcn-card-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.shadcn-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.shadcn-card-name {
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  font-size: 0.95rem;
}
.shadcn-card-role {
  font-size: 0.8rem;
  opacity: 0.7;
  color: #94A3B8;
  line-height: 1.2;
  margin-top: 0.1rem;
  font-weight: 600;
}

/* --- Service Areas & Map --- */
.areas {
  background-color: var(--color-background);
}

.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.areas-info h3 {
  font-size: 1.75rem;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-weight: 800;
}

.areas-list-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.area-list-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.area-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-md);
}

.area-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #F0F9FF;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.area-card-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5px;
}

.area-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.area-list-card.active {
  background-color: #F0F9FF;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.area-list-card.active .area-card-icon {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.area-list-card.active .area-card-name {
  color: var(--color-text);
  font-weight: 700;
}

/* Leaflet custom styling & animated pins */
.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.custom-leaflet-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: auto !important;
  height: auto !important;
}

.custom-leaflet-pin:hover {
  transform: scale(1.1);
  z-index: 1000 !important;
}

.custom-leaflet-pin .pin-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  margin-left: -14px;
  border-radius: 50%;
  background-color: rgba(14, 165, 233, 0.4);
  animation: pulse 1.8s infinite ease-out;
  z-index: 1;
  pointer-events: none;
}

.custom-leaflet-pin .pin-dot {
  width: 14px;
  height: 14px;
  background-color: var(--color-primary);
  border: 3.5px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  z-index: 2;
  position: relative;
}

.custom-leaflet-pin .pin-text {
  background: var(--color-text);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2.5px 6px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 2;
  position: relative;
  pointer-events: none;
}

/* HQ pin specific modifications */
.custom-leaflet-pin.hq .pin-dot {
  background-color: var(--color-cta);
  width: 16px;
  height: 16px;
  border-width: 3.5px;
}
.custom-leaflet-pin.hq .pin-wave {
  background-color: rgba(249, 115, 22, 0.4);
}

/* Highlight state for active card / clicked pin */
.custom-leaflet-pin.highlight {
  z-index: 9999 !important;
  transform: scale(1.2);
}

.custom-leaflet-pin.highlight .pin-dot {
  background-color: var(--color-cta) !important;
  box-shadow: 0 0 12px var(--color-cta);
}

.custom-leaflet-pin.highlight .pin-wave {
  background-color: rgba(249, 115, 22, 0.6) !important;
  animation-duration: 1s;
}

.custom-leaflet-pin.highlight .pin-text {
  background-color: var(--color-cta);
  color: #FFFFFF;
}

/* Pulse animation keyframes */
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.interactive-map-frame {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  height: 450px;
}

/* --- FAQ Section --- */
.faq {
  background-color: #ffffff;
  padding-bottom: 140px;
}

/* FAQ Layout grid */
.faq-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Rounded white FAQ cards with nice borders and animations */
.faq-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md); /* rounder radius! */
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.faq-card.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-card-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: white;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  gap: 1.5rem;
}

.faq-trigger-icon {
  color: var(--color-text-muted);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-card.active .faq-trigger-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #FFFFFF;
}

.faq-card-content-inner {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Right Column grey info card */
.faq-info-card {
  background: #F8FAFC; /* Slate 50 or similar light grey */
  border-radius: 28px;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-info-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}

.faq-info-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

/* Image container and overlays */
.faq-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.faq-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-stat-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: #FFFFFF;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
}

.faq-stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.faq-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- Footer & Curved Questionnaire Banner --- */
.footer {
  background-color: var(--color-dark-blue);
  color: #E2E8F0;
  padding-top: 140px;
  padding-bottom: var(--space-md);
  position: relative;
}

/* Nested curved questions banner */
.footer-curve-banner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: var(--max-width);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-xl);
  z-index: 10;
  color: white;
}

.curve-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.curve-banner-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.curve-banner-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.curve-banner-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.btn-whatsapp-chat {
  background-color: #25D366;
  color: white;
}

.btn-whatsapp-chat:hover {
  background-color: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Main footer links structure */
.footer-content {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  padding-top: 40px; /* clear room for the top absolute banner */
}

.footer-about-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  color: white;
}

.footer-about-text {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.6;
}

.footer-social-handles {
  display: flex;
  gap: var(--space-md);
}

.social-circle {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms;
}

.social-circle:hover {
  background-color: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col-title {
  color: white;
  font-size: 1.15rem;
  margin-bottom: var(--space-xl);
  position: relative;
  font-weight: 700;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-navigation-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-navigation-links a {
  font-size: 0.9rem;
  color: #94A3B8;
}

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

.footer-contact-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact-node {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-contact-node svg {
  color: var(--color-primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.footer-contact-node a:hover {
  color: white;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
  .hero-card-container {
    padding: 2rem 2.5rem !important;
    min-height: 500px !important;
    height: calc(100vh - var(--header-height) - 20px) !important;
    margin: 0.5rem auto 1rem !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --space-3xl: 3.5rem;
    --space-2xl: 2.5rem;
  }
  
  .navbar {
    padding: 0 var(--space-md);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .booking-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .areas-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-content {
    grid-template-columns: 1.5fr 1fr;
  }
  
  .footer-col-links-explore, .footer-col-links-legal {
    grid-row: 2;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shadcn-col-3 {
    display: none;
  }
}

@media (max-width: 1200px) and (min-width: 961px) {
  .nav-logo span {
    font-size: 1.15rem;
  }
  .nav-logo {
    gap: 0.5rem;
  }
  .logo-circle {
    width: 32px;
    height: 32px;
  }
  .logo-circle svg {
    width: 16px;
    height: 16px;
  }
  .nav-link {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.5rem !important;
  }
  .nav-links {
    gap: 0.15rem !important;
    padding: 0.2rem !important;
  }
  .btn-pill-navy {
    font-size: 0.78rem;
    padding: 0.3rem 0.3rem 0.3rem 0.8rem;
  }
  .btn-pill-arrow {
    width: 26px;
    height: 26px;
  }
  .nav-actions {
    gap: 0.5rem;
  }
}

@media (max-width: 960px) {
  .nav-logo span { display: none !important; }
  .hero-card-container {
    padding: 3rem 1.5rem !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 1rem auto 2rem !important;
    width: calc(100% - 1.5rem) !important;
    border-radius: 24px !important;
  }
  .hero-card-overlay {
    background: linear-gradient(to bottom, rgba(11, 37, 69, 0.9) 0%, rgba(11, 37, 69, 0.75) 100%) !important;
  }
  .quote-card {
    max-width: 100% !important;
  }
  
  /* Navbar responsiveness overrides */
  .nav-links, .nav-actions {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none; /* Hide top bar on mobile */
  }
  
  .navbar {
    top: 0 !important;
  }
  
  .mobile-menu {
    top: var(--header-height) !important;
  }
  
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .curve-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .curve-banner-actions {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-col-links-explore, .footer-col-links-legal {
    grid-row: auto;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .shadcn-col-2 {
    display: none;
  }
  .faq {
    padding-bottom: 165px;
  }
  .footer {
    padding-top: 165px;
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .trust-stats {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .ac-form {
    grid-template-columns: 1fr;
  }
  
  .span-all {
    grid-column: span 1;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-curve-banner {
    padding: var(--space-md);
  }
  
  .curve-banner-text h2 {
    font-size: 1.5rem;
  }
  
  .curve-banner-actions {
    flex-direction: column;
  }
  
  .curve-banner-actions .btn, .curve-banner-actions .btn-pill-navy {
    width: 100%;
    min-width: 0 !important;
  }
}

/* --- Hero Layout Tweaks & Form Optimization --- */
.hero-container-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-left-content {
  flex: 1.1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.hero-right-content {
  flex: 0.9;
  min-width: 320px;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

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

@media (max-width: 960px) {
  .hero-container-layout {
    gap: 2.5rem;
  }
  .hero-left-content {
    flex: 1;
    width: 100%;
    text-align: center;
    align-items: center;
  }
  .hero-desc {
    margin: 0 auto !important;
  }
  .hero-buttons {
    width: 100%;
    justify-content: center;
  }
  .hero-social {
    width: 100%;
    justify-content: center;
  }
  .hero-right-content {
    flex: 1;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-card-container {
    padding: 2.5rem 1rem !important;
    width: calc(100% - 1rem) !important;
    border-radius: 16px !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   PREMIUM CUSTOM SNOWFLAKE CURSOR FOLLOWER
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor,
  .has-custom-cursor a,
  .has-custom-cursor button,
  .has-custom-cursor select,
  .has-custom-cursor input,
  .has-custom-cursor textarea,
  .has-custom-cursor .service-card,
  .has-custom-cursor .area-list-card,
  .has-custom-cursor .faq-card-trigger {
    cursor: none !important;
  }
}

.custom-snowflake-cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  margin-left: -17px;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 300ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .custom-snowflake-cursor {
    display: block;
  }
}

.custom-snowflake-cursor .snowflake-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: transform 350ms cubic-bezier(0.1, 0.8, 0.3, 1.2), 
              background-color 300ms ease, 
              border-color 300ms ease, 
              box-shadow 300ms ease;
}

.custom-snowflake-cursor .cursor-snowflake-icon {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  stroke-width: 2.2px;
  transition: transform 600ms cubic-bezier(0.1, 0.8, 0.3, 1), 
              color 300ms ease;
  filter: drop-shadow(0 0 2px rgba(14, 165, 233, 0.35));
}

/* Hover State - Scales up, fills background and spins icon */
.custom-snowflake-cursor.hovering .snowflake-wrapper {
  transform: scale(1.6);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
}

.custom-snowflake-cursor.hovering .cursor-snowflake-icon {
  color: #ffffff;
  transform: rotate(180deg);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

/* Click Active State - Compresses container and spins back */
.custom-snowflake-cursor.clicking .snowflake-wrapper {
  transform: scale(0.9);
  background-color: var(--color-cta);
  border-color: var(--color-cta);
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
}

.custom-snowflake-cursor.clicking .cursor-snowflake-icon {
  color: #ffffff;
  transform: rotate(-90deg) scale(0.85);
  filter: none;
}

/* Trailing Particle Elements */
.snowflake-particle {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  opacity: 0.75;
  transition: opacity 650ms ease, 
              transform 650ms cubic-bezier(0.1, 0.8, 0.3, 1);
  will-change: transform, opacity;
}

.snowflake-particle svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 2px rgba(14, 165, 233, 0.25));
}
