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

/* --- PREMIUM LIGHT THEME VARIABLES --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  ----bg-light: #f1f1f1;

  --accent-red: #dc2626;
  /* Vibrant Brand Red */
  --accent-red-rgb: 220, 38, 38;
  --accent-red-hover: #b91c1c;

  --accent-blue: #0284c7;
  /* Brand Tech Blue */
  --accent-blue-rgb: 2, 132, 199;
  --accent-blue-hover: #0369a1;

  --accent-green: #22c55e;

  --text-primary: #111827;
  /* Deep Charcoal Typography */
  --text-secondary: #4b5563;
  /* Slate Grey Typography */
  --text-muted: #9ca3af;
  /* Soft Muted Grey */
  --text-white: #ffffff;
  /* White */

  --border-soft: rgba(17, 24, 39, 0.08);
  /* Minimalist border */
  --border-red: rgba(220, 38, 38, 0.18);
  --border-red-focus: rgba(220, 38, 38, 0.45);

  --glow-red: 0 10px 30px rgba(220, 38, 38, 0.06);
  --glow-red-strong: 0 15px 40px rgba(220, 38, 38, 0.14);
  --glow-blue: 0 10px 30px rgba(2, 132, 199, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(----bg-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  background-color: var(--bg-light);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.12);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

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

/* --- LIGHT AMBIENT GLOW BACKDROPS --- */
.ambient-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.035) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow-top-right {
  top: -15vw;
  right: -15vw;
}

.glow-mid-left {
  top: 130vw;
  left: -25vw;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.025) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-bottom-right {
  bottom: 12vw;
  right: -15vw;
}

/* --- LIGHT GLASSMORPHISM CARDS --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 10px 40px -10px rgba(17, 24, 39, 0.04);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(220, 38, 38, 0.15);
  box-shadow: 0 20px 50px -10px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.glass-panel-gold {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-red);
  border-radius: 24px;
  box-shadow: var(--glow-red), 0 15px 45px -10px rgba(17, 24, 39, 0.06);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 7%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 75px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(17, 24, 39, 0.03);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Styled text mimicking the red & charcoal logo */
.logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo span .red-text {
  color: var(--accent-red);
}

.logo-badge {
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(2, 132, 199, 0.03);
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
  line-height: 1.2;
}

nav ul li a:hover,
nav ul li.active a {
  color: var(--accent-red);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: var(--transition-smooth);
}

nav ul li a:hover::after,
nav ul li.active a::after {
  width: 100%;
}

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

/* --- HAMBURGER MENU --- */
.hamburger {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Scrim overlay for active mobile drawer */
.nav-overlay {

  top: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1040;
}

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

body.no-scroll {
  overflow: hidden !important;
}


.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.nav-phone:hover {
  color: var(--accent-red);
}

.nav-phone i {
  font-size: 0.95rem;
  color: var(--accent-red);
}

/* --- BUTTONS --- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-gold {
  /* Rebranded to Brand Red Primary */
  background: linear-gradient(135deg, var(--accent-red) 0%, #991b1b 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-red-hover) 0%, var(--accent-red) 100%);
  transform: translateY(-2px);
  box-shadow: var(--glow-red-strong);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.btn-outline:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: translateY(-2px);
}

.btn-outline-gold {
  /* Rebranded to Brand Red Outline */
  background: transparent;
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.03);
}

.btn-outline-gold:hover {
  background: var(--accent-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--glow-red-strong);
}

.btn-arrow {
  transition: var(--transition-fast);
}

.btn-premium:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- MAIN SECTIONS CONTAINER --- */
main {
  padding-top: 85px;
}

.section-container {
  padding: 7% 7%;
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 750px;
  margin-bottom: 4.5rem;
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-red);
  margin-bottom: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.15);
  padding: 5px 14px;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.03);
}

.section-title {
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 1. HERO SECTION WITH LEAD FORM --- */
.hero {
  position: relative;
  min-height: calc(92vh - 85px);
  display: flex;
  align-items: center;
  padding: 0 7%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Premium light overlay with a clean fade-out */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6%;
  align-items: center;
}

.hero-text {
  max-width: 780px;
}

.hero-badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(220, 38, 38, 0.04);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--accent-red);
  position: relative;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 650px;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  padding-top: 1rem;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-trust-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-red);
}

.hero-trust-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- HERO GLASS FORM --- */
.lead-form-container {
  z-index: 2;
  position: relative;
}

.lead-form {
  padding: 40px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.lead-form-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.lead-form-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.form-group {
  position: relative;
  margin-bottom: 1.4rem;
}

.form-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.08);
  outline: none;
}

.form-label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: 0;
  font-size: 0.72rem;
  color: var(--accent-red);
  background: #ffffff;
  padding: 0 6px;
  border-radius: 4px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.98rem;
  margin-top: 0.8rem;
}

/* --- 2. SERVICE CATEGORIES / OFFERINGS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  box-shadow: 0 8px 30px -10px rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium light gradient scrim */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

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

.service-content {
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.342);
  border: 1px solid rgba(220, 38, 38, 0.534);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-white);
}

.service-desc {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-red);
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* --- 3. TRUST & GUARANTEE CARDS --- */
.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-card {
  padding: 45px 40px;
  border-radius: 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 30px -10px rgba(17, 24, 39, 0.03);
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-red);
}

.trust-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
}

.trust-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.trust-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.trust-card-metric {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent-blue);
  /* Tech Blue */
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  padding-top: 1.2rem;
  margin-top: auto;
}

/* --- 4. TECHNOLOGY / QUALITY ASSURANCE SECTION --- */
#tech-section {
  padding-top: 3.5% !important;
}

@media (max-width: 992px) {
  #tech-section {
    padding-top: 4% !important;
  }
}

.tech-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6%;
  align-items: center;
}

.tech-visual-hub {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 520px;
  box-shadow: 0 15px 45px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.tech-screen-img {
  width: 100%;
  height: 100%;
  object-fit: inherit;
  filter: brightness(0.95);
}

.tech-overlay-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  padding: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tech-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
}

.tech-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(2, 132, 199, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
  }
}

.tech-checklist {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tech-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tech-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.tech-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.tech-item-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- 5. COST ESTIMATOR & INVESTMENT CALCULATOR CTA --- */
.calc-cta-section {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 6%;
  align-items: stretch;
}

.calc-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-interactive-card {
  padding: 40px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.15);
  box-shadow: var(--glow-red), 0 10px 40px -10px rgba(0, 0, 0, 0.04);
}

.calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-tertiary);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  margin-bottom: 2.5rem;
}

.calc-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calc-tab-btn.active {
  background: #ffffff;
  color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.03);
}

.calc-control {
  margin-bottom: 2rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.calc-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-val {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--accent-red);
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-red);
  cursor: pointer;
  box-shadow: var(--glow-red-strong);
  transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2.5rem;
}

.calc-option-btn {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  padding: 12px 6px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.calc-option-btn.active {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(220, 38, 38, 0.03);
}

.calc-results-box {
  background: rgba(220, 38, 38, 0.03);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: center;
}

.calc-result-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.calc-result-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
}

/* --- 6. PROPERTY PACKAGES / CATEGORIES --- */
.packages-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  padding-bottom: 1.5rem;
}

.filter-tabs {
  display: flex;
  gap: 12px;
}

.filter-tab-btn {
  background: transparent;
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 26px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab-btn.active {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(220, 38, 38, 0.04);
}

.search-filter-box {
  display: flex;
  gap: 12px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.prop-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 8px 30px -10px rgba(17, 24, 39, 0.04);
}

.prop-img-box {
  position: relative;
  height: 255px;
  overflow: hidden;
}

.prop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.prop-status-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.prop-apprec-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent-blue);
  /* Rebranded to tech blue */
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
}

.prop-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.prop-meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  align-items: center;
}

.prop-locality {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.prop-locality i {
  color: var(--accent-red);
}

.prop-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.prop-specs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(17, 24, 39, 0.05);
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
  padding: 1.2rem 0;
}

.prop-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.prop-spec-item i {
  color: var(--accent-red);
}

.prop-trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 24, 39, 0.04);
}

.prop-trust-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.prop-trust-score i {
  color: var(--accent-blue);
}

.score-badge {
  background: rgba(2, 132, 199, 0.06);
  color: var(--accent-blue);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.prop-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.prop-price-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.prop-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-red);
}

/* --- 7. PREMIUM OFFERINGS SHOWCASE --- */
.premium-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
}

.showcase-slider-wrapper {
  position: relative;
}

.showcase-slider {
  border-radius: 24px;
  overflow: hidden;
  height: 500px;
  box-shadow: 0 15px 40px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.showcase-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.showcase-feature-item {
  display: flex;
  gap: 20px;
}

.showcase-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.showcase-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.showcase-feature-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- 8. CLIENT TESTIMONIALS --- */
.testimonial-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testi-card {
  padding: 45px 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.03);
}

.testi-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  position: relative;
}

.testi-quote::before {
  content: '“';
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 4.5rem;
  color: rgba(220, 38, 38, 0.06);
  font-family: serif;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(17, 24, 39, 0.05);
  padding-top: 1.5rem;
}

.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-red);
}

.testi-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testi-role {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.testi-stars {
  color: var(--accent-red);
  font-size: 0.78rem;
  display: flex;
  gap: 2px;
  margin-top: 4px;
}

/* --- 9. FEATURED BANGALORE PROJECTS (LOCALITY HUB) --- */
.localities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.locality-card {
  padding: 40px 35px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 35px -10px rgba(17, 24, 39, 0.03);
}

.locality-card-top {
  margin-bottom: 2.5rem;
}

.locality-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.locality-card-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.18);
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.03);
}

.locality-card-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
}

.locality-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.locality-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(17, 24, 39, 0.05);
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
  padding: 1.5rem 0;
  margin-bottom: 1.8rem;
}

.locality-stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.locality-stat-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-red);
}

.locality-stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.locality-card-verdict {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  border-left: 2px solid var(--accent-red);
  padding-left: 10px;
}

/* --- 10. STEP-BY-STEP PROCESS SECTION --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-card {
  padding: 45px 30px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.02);
}

.process-step-num {
  position: absolute;
  top: 25px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(220, 38, 38, 0.06);
  line-height: 1;
}

.process-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.4rem;
  margin: 0 auto 2rem auto;
}

.process-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.process-card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --- 11. FINAL STRONG CTA --- */
.final-cta {
  padding: 6% 0;
}

.cta-banner {
  padding: 85px;
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.2);
  box-shadow: var(--glow-red), 0 20px 50px -10px rgba(17, 24, 39, 0.06);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 850px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.8rem;
  max-width: 650px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* --- 12. FOOTER --- */
footer {
  background: #f8fafc;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  padding: 90px 7% 50px 7%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 1.25fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(17, 24, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  background: #ffffff;
}

.social-icon:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(220, 38, 38, 0.03);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-links li a:hover {
  color: var(--accent-red);
  padding-left: 4px;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 30px;
  padding: 12px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  flex-grow: 1;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-red);
}

.newsletter-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-red);
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.newsletter-btn:hover {
  background: var(--accent-red-hover);
  box-shadow: var(--glow-red-strong);
}

.footer-bottom {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-bottom-links a:hover {
  color: var(--accent-red);
}

/* --- LEAD MODAL WINDOW --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-content {
  width: 100%;
  max-width: 550px;
  padding: 50px 30px !important;
  position: relative;
  transform: scale(0.92);
  transition: var(--transition-smooth);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent-red);
}

/* --- MULTI-STEP LEAD WIZARD --- */
.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  position: relative;
}

.wizard-steps-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bg-tertiary);
  z-index: 1;
}

.indicator-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(17, 24, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.indicator-step.active {
  border-color: var(--accent-red);
  color: var(--accent-red);
  box-shadow: var(--glow-red);
  background: rgba(220, 38, 38, 0.03);
}

.indicator-step.completed {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  color: #ffffff;
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-option-card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.wizard-option-card:hover {
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.01);
}

.wizard-option-card.selected {
  border-color: var(--accent-red);
  background: rgba(220, 38, 38, 0.03);
  box-shadow: var(--glow-red);
}

.wizard-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
}

.wizard-option-card.selected .wizard-option-icon {
  background: var(--accent-red);
  color: #ffffff;
}

.wizard-option-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 15px;
}

.wizard-navigation button {
  flex-grow: 1;
}

/* --- SUCCESS STATE WIDGET --- */
.success-screen {
  text-align: center;
  padding: 20px 0;
}

.success-icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.06);
  border: 1.5px solid var(--accent-blue);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 2rem auto;
  box-shadow: var(--glow-blue);
  animation: scaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- DYNAMIC CUSTOM VIEWS FOR THE APP --- */
.view-panel {
  display: none;
}

.view-panel.active {
  display: block;
  animation: fadeInView 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInView {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4%;
  }
}

@media (max-width: 992px) {
  header {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 5% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  header.scrolled {
    height: 60px !important;
  }

  .logo {
    display: flex !important;
    align-items: center !important;
  }

  .logo img {
    height: 38px !important;
    /* Smaller logo footprint */
    width: auto !important;
  }

  .nav-cta {
    display: none !important;
    /* Hide Consult Advisor CTA and phone link completely from navbar under 992px */
  }

  .hamburger {
    display: flex !important;
    position: absolute !important;
    right: 5% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 24px !important;
    height: 18px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 1100 !important;
    padding: 0 !important;
  }

  .hamburger-line {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    background-color: #111827 !important;
    border-radius: 2px !important;
    transition: var(--transition-fast) !important;
  }

  /* Hamburger Slide-In Drawer */
  header nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 60px rgba(17, 24, 39, 0.281);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 40px;
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
    z-index: 1050;
    visibility: hidden;
  }

  header nav.active {
    right: 0;
    visibility: visible;
  }

  header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  header nav ul li a {
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    padding: 8px 0;
    width: 100%;
  }

  header nav ul li a::after {
    display: none;
    /* Hide standard underline on mobile menu */
  }

  .section-container {
    padding: 8% 4%;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-text {
    text-align: left;
    margin: 0 auto;
    max-width: 650px;
  }

  .hero-badge-container {
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  /* Keep trust badges in one single horizontal line with native touch scrolling */
  .hero-trust-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px !important;
    padding: 0.75rem 0 !important;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    width: 100%;
    justify-content: flex-start !important;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
  }

  .hero-trust-badges::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }

  .hero-trust-item {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
    min-width: 96px !important;
    text-align: left !important;
  }

  .hero-trust-val {
    font-size: 1.25rem !important;
  }

  .hero-trust-label {
    font-size: 0.65rem !important;
  }

  .services-grid,
  .trust-cards-grid,
  .properties-grid,
  .testimonial-carousel,
  .localities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .tech-container,
  .calc-cta-section,
  .premium-showcase-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

@media (max-width: 768px) {
  .logo span {
    font-size: 1.15rem;
  }

  .btn-premium {
    padding: 11px 22px;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 85px !important;
    padding-bottom: 45px !important;
  }

  /* Lock hero text to max-width 320px on mobile */
  .hero-text {
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .hero-badge-container {
    flex-direction: column !important;
    align-items: start !important;
    gap: 6px !important;
    margin-bottom: 1rem !important;
  }

  .hero-tag {
    padding: 4px 10px !important;
    font-size: 0.68rem !important;
    border-width: 1px !important;
  }

  /* Bleed metrics list off screen for nice thumb swiping feel */
  .hero-trust-badges {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: calc(100% + 8%) !important;
  }

  .hero-trust-val {
    font-size: 1.1rem !important;
  }

  .hero-trust-label {
    font-size: 0.48rem !important;
  }

  .services-grid,
  .trust-cards-grid,
  .properties-grid,
  .testimonial-carousel,
  .localities-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Balanced typography on 320px mobile width */
  .hero-title {
    font-size: 2.3rem !important;
    line-height: 1.22 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em !important;
  }

  .hero-subtitle {
    font-size: 0.88rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 2.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons button,
  .cta-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .packages-filter-bar {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .search-filter-box input {
    width: 100% !important;
  }

  .lead-form-container {
    width: 100% !important;
    max-width: 370px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .lead-form {
    padding: 24px 20px !important;
    /* Compact padding */
    border-radius: 16px !important;
  }

  .lead-form-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.25rem !important;
  }

  .lead-form-subtitle {
    font-size: 0.78rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.4 !important;
  }

  .form-group {
    margin-bottom: 1rem !important;
    /* Compact spacing */
  }

  .form-input {
    padding: 11px 14px !important;
    /* Compact padding */
    font-size: 0.9rem !important;
    border-radius: 6px !important;
  }

  .form-label {
    left: 14px !important;
    font-size: 0.85rem !important;
  }

  .form-input:focus~.form-label,
  .form-input:not(:placeholder-shown)~.form-label {
    font-size: 0.68rem !important;
    left: 14px !important;
  }

  .form-submit-btn {
    padding: 13px !important;
    /* Compact button */
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    margin-top: 0.5rem !important;
  }

  /* Lead Wizard Modal Mobile Enhancements */
  .modal {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 88% !important;
    height: 100%;
    overflow-y: auto !important;
    padding: 20px 16px !important;
    box-sizing: border-box !important;
  }

  .modal-content {
    width: calc(100vw - 32px) !important;
    max-width: 420px !important;
    margin: auto !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .modal-close {
    top: 14px !important;
    right: 14px !important;
    font-size: 1.25rem !important;
  }

  .wizard-steps-indicator {
    margin-bottom: 1.4rem !important;
  }

  .indicator-step {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
  }

  .modal-content .lead-form-title {
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
    padding-right: 20px !important;
    /* Avoid overlapping the close mark */
  }

  .modal-content .lead-form-subtitle {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
  }

  .wizard-option-card {
    padding: 10px 12px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .wizard-option-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 5px !important;
    font-size: 0.85rem !important;
  }

  .wizard-option-title {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word !important;
    flex: 1 !important;
  }

  .wizard-navigation {
    margin-top: 1.4rem !important;
    gap: 8px !important;
  }

  .wizard-navigation button {
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
  }

  /* Compact form groups inside step 4 form on mobile */
  .modal-content .form-group {
    margin-bottom: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .modal-content .form-input {
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .modal-content .form-label {
    left: 12px !important;
    font-size: 0.8rem !important;
  }

  .modal-content .form-input:focus~.form-label,
  .modal-content .form-input:not(:placeholder-shown)~.form-label {
    left: 12px !important;
    font-size: 0.65rem !important;
  }
}

/* --- REAL ESTATE SPECIFIC CUSTOM STYLES --- */
.builder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.builder-card {
  padding: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.builder-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.12);
  box-shadow: 0 15px 35px rgba(17, 24, 39, 0.05);
}

.builder-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: -0.02em;
}

.builder-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.builder-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.builder-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* FAQ Accordion Styles */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(17, 24, 39, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(220, 38, 38, 0.15);
  background: #ffffff;
  box-shadow: var(--glow-red), 0 10px 30px rgba(17, 24, 39, 0.02);
}

.faq-trigger {
  width: 100%;
  padding: 24px 30px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.faq-item:hover .faq-question {
  color: var(--accent-red);
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-box {
  background: var(--accent-red);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 30px 24px 30px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

@media (max-width: 576px) {
  .builder-grid {
    grid-template-columns: 1fr;
  }

  .faq-trigger {
    padding: 18px 20px;
  }

  .faq-answer {
    padding: 0 20px 18px 20px;
  }

  .faq-question {
    font-size: 0.98rem;
  }
}

/* --- LOCALITY HUB SPECIFIC COMPONENT STYLES --- */
.locality-hub-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 7% 60px 7%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.locality-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.locality-search-bar {
  display: flex;
  max-width: 650px;
  margin: 2.5rem auto 1.5rem auto;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(212, 163, 115, 0.25);
  box-shadow: 0 15px 35px -10px rgba(17, 24, 39, 0.08);
}

.locality-search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
}

.locality-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.locality-filter-tab {
  background: transparent;
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 22px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.locality-filter-tab.active {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(220, 38, 38, 0.03);
}

/* Premium Locality Grid & Cards */
.locality-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.locality-premium-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 30px -10px rgba(17, 24, 39, 0.03);
  transition: var(--transition-smooth);
}

.locality-premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(17, 24, 39, 0.08);
}

.locality-premium-img-box {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.locality-premium-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.locality-premium-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.locality-score-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(2, 132, 199, 0.9);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
}

.locality-premium-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.locality-premium-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.locality-premium-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.locality-premium-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(17, 24, 39, 0.05);
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
}

.locality-metric-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}

.locality-metric-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-red);
}

.locality-metric-label {
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.locality-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.locality-details-list p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.locality-details-list p i {
  color: var(--accent-red);
  margin-top: 2px;
  width: 14px;
  text-align: center;
}

.locality-premium-verdict {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  border-left: 2px solid var(--accent-emerald);
  padding-left: 12px;
  margin-top: auto;
  background: rgba(16, 185, 129, 0.02);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
}

/* Locality Comparison Dashboard */
.comparison-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 3.5rem;
}

.comparison-column {
  padding: 35px;
  border-radius: 24px;
}

.comparison-select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 15px;
}

.comparison-select {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  background: #ffffff;
  outline: none;
  cursor: pointer;
  min-width: 180px;
}

.comparison-select:focus {
  border-color: var(--accent-red);
}

.comparison-metric-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
  padding: 1.25rem 0;
  font-size: 0.95rem;
}

.comparison-metric-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.comparison-metric-val {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
}

.comparison-bar-group {
  margin-top: 1.5rem;
}

.comparison-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.comparison-bar-container {
  height: 8px;
  background: rgba(17, 24, 39, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.comparison-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Vector Map */
.locality-map-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6%;
  align-items: center;
}

.locality-map-container {
  position: relative;
  height: 480px;
  background: radial-gradient(circle at center, #fbfbfb 0%, #f3f4f6 100%);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 15px 45px rgba(17, 24, 39, 0.04);
}

.map-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-bg-grid iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.5) contrast(1.05) brightness(0.98);
  opacity: 0.9;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.map-bg-grid iframe:hover {
  filter: grayscale(0.15) contrast(1) brightness(1);
  opacity: 1;
}

.map-hotspot {
  position: absolute;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.map-hotspot-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: var(--transition-fast);
}

.map-hotspot-pin::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1px solid inherit;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-fast);
}

.map-hotspot-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.03);
  transition: var(--transition-fast);
}

.map-hotspot.active .map-hotspot-label,
.map-hotspot:hover .map-hotspot-label {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

/* North Pin (Red/Gold Accent) */
.map-hotspot[data-corridor="north"] {
  top: 25%;
  left: 45%;
}

.map-hotspot[data-corridor="north"] .map-hotspot-pin {
  background: var(--accent-red);
}

.map-hotspot[data-corridor="north"].active .map-hotspot-pin,
.map-hotspot[data-corridor="north"]:hover .map-hotspot-pin {
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.15);
}

/* East Pin (Blue Accent) */
.map-hotspot[data-corridor="east"] {
  top: 48%;
  left: 70%;
}

.map-hotspot[data-corridor="east"] .map-hotspot-pin {
  background: var(--accent-blue);
}

.map-hotspot[data-corridor="east"].active .map-hotspot-pin,
.map-hotspot[data-corridor="east"]:hover .map-hotspot-pin {
  box-shadow: 0 0 0 8px rgba(2, 132, 199, 0.15);
}

/* South Pin (Emerald Accent) */
.map-hotspot[data-corridor="south"] {
  top: 72%;
  left: 30%;
}

.map-hotspot[data-corridor="south"] .map-hotspot-pin {
  background: var(--accent-green);
}

.map-hotspot[data-corridor="south"].active .map-hotspot-pin,
.map-hotspot[data-corridor="south"]:hover .map-hotspot-pin {
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15);
}

.map-panel {
  padding: 40px;
  border-radius: 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .locality-premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .comparison-dashboard {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .locality-map-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .locality-map-container {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .locality-premium-grid {
    grid-template-columns: 1fr;
  }

  .locality-search-bar {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .comparison-column {
    padding: 25px;
  }
}

/* --- TRUST CENTER SPECIFIC COMPONENT STYLES --- */
.trust-center-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 7% 70px 7%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.trust-hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
}

/* Legal & Compliance Checklist UI */
.legal-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 3rem;
}

.legal-checklist-card {
  padding: 35px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 30px -15px rgba(17, 24, 39, 0.04);
}

.legal-checklist-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-checklist-title i {
  color: var(--accent-red);
}

.legal-checklist-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.legal-checklist-item:hover {
  background: rgba(16, 185, 129, 0.02);
  border-color: rgba(16, 185, 129, 0.08);
}

.legal-checklist-item i {
  color: var(--accent-green);
  margin-top: 3px;
  font-size: 0.95rem;
}

/* Quality QA/QC Process Timeline */
.qa-timeline {
  position: relative;
  max-width: 900px;
  margin: 3.5rem auto 0 auto;
  padding-left: 40px;
}

.qa-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-red) 0%, var(--accent-blue) 50%, var(--accent-green) 100%);
  border-radius: 1px;
}

.qa-timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.qa-timeline-item:last-child {
  margin-bottom: 0;
}

.qa-timeline-dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-red);
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.95);
  transition: var(--transition-fast);
}

.qa-timeline-item:nth-child(2) .qa-timeline-dot {
  border-color: var(--accent-blue);
}

.qa-timeline-item:nth-child(3) .qa-timeline-dot {
  border-color: var(--accent-green);
}

.qa-timeline-item:hover .qa-timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.95), 0 0 10px rgba(17,24,39,0.08);
}

.qa-timeline-card {
  padding: 30px;
  border-radius: 20px;
}

.qa-timeline-step {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-red);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: inline-block;
}

.qa-timeline-item:nth-child(2) .qa-timeline-step {
  color: var(--accent-blue);
}

.qa-timeline-item:nth-child(3) .qa-timeline-step {
  color: var(--accent-green);
}

.qa-timeline-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.qa-timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Escrow & Payment Security Visuals */
.escrow-flow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 3.5rem;
  position: relative;
}

.escrow-flow-card {
  padding: 30px 25px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 8px 25px -10px rgba(17, 24, 39, 0.03);
  text-align: center;
  position: relative;
  z-index: 2;
}

.escrow-flow-arrow {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(17,24,39,0.03);
}

.escrow-flow-card:last-child .escrow-flow-arrow {
  display: none;
}

.escrow-flow-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(2, 132, 199, 0.04);
  border: 1px solid rgba(2, 132, 199, 0.15);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1.5rem auto;
}

.escrow-flow-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.escrow-flow-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Partner Logo Grid */
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 3.5rem;
}

.partner-logo-card {
  padding: 30px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.partner-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 163, 115, 0.25);
  box-shadow: 0 10px 25px -10px rgba(17, 24, 39, 0.05);
}

.partner-logo-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-red);
  letter-spacing: 0.03em;
  border: 1px solid rgba(220, 38, 38, 0.15);
  background: rgba(220, 38, 38, 0.02);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Trust Stats Metrics Grid */
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 3.5rem;
}

.trust-stats-card {
  padding: 35px 30px;
  border-radius: 24px;
  text-align: center;
}

.trust-counter-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.trust-stats-card:nth-child(2) .trust-counter-val {
  color: var(--accent-blue);
}

.trust-stats-card:nth-child(3) .trust-counter-val {
  color: var(--accent-green);
}

.trust-stats-card:nth-child(4) .trust-counter-val {
  color: var(--text-primary);
}

.trust-stats-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .partner-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .escrow-flow-arrow {
    display: none;
  }
}

@media (max-width: 992px) {
  .legal-checklist-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

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

  .escrow-flow-container {
    grid-template-columns: 1fr;
  }

  .trust-stats-grid {
    grid-template-columns: 1fr;
  }

  .qa-timeline {
    padding-left: 30px;
  }

  .qa-timeline-dot {
    left: -47px;
  }

  .qa-timeline-card {
    padding: 20px;
  }
}

/* --- PREMIUM NAVIGATION DROPDOWN STYLES --- */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  min-width: 200px;
  padding: 12px 8px;
  box-shadow: 0 15px 35px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu li {
  width: 100%;
  display: block;
}

.dropdown-menu li a {
  font-size: 0.88rem !important;
  font-weight: 600;
  color: var(--text-secondary) !important;
  padding: 10px 16px !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box;
}

.dropdown-menu li a i {
  transition: transform 0.25s ease;
}

/* Hide standard slide underline on drop menu links */
.dropdown-menu li a::after {
  display: none !important;
}

.dropdown-menu li a:hover {
  background: rgba(220, 38, 38, 0.04) !important;
  color: var(--accent-red) !important;
  padding-left: 20px !important;
}

.dropdown-menu li a:hover i {
  transform: scale(1.15);
}

.dropdown.active .dropdown-toggle {
  color: var(--accent-red) !important;
}

.dropdown.active .dropdown-toggle::after {
  width: 100% !important;
}

/* Responsive Hamburger Menu Dropdown Overrides */
@media (max-width: 992px) {
  .dropdown {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 100% !important;
    gap: 8px !important;
    
    /* Smooth expand/collapse accordion animation */
    display: flex !important;
    flex-direction: column !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 0 0 16px !important;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .dropdown.active-mobile .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 200px !important;
    padding: 12px 0 6px 16px !important;
  }

  .dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .dropdown.active-mobile .dropdown-toggle i {
    transform: rotate(180deg) !important;
  }

  .dropdown-menu li a {
    font-size: 1.05rem !important;
    padding: 8px 12px !important;
  }

  .dropdown-menu li a:hover {
    padding-left: 16px !important;
    background: transparent !important;
  }
}

/* --- PREMIUM CONTACT US PAGE SPECIFIC STYLES --- */
.contact-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 120px 7% 10px 7%;
  background: radial-gradient(circle at top left, rgba(212, 163, 115, 0.03) 0%, rgba(255, 255, 255, 0) 60%);
  overflow: hidden;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3.5rem;
}

.contact-info-card {
  padding: 35px 30px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 24px;
  box-shadow: 0 10px 30px -15px rgba(17, 24, 39, 0.04);
  text-align: center;
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(17, 24, 39, 0.08);
  border-color: rgba(212, 163, 115, 0.25);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(2, 132, 199, 0.04);
  border: 1px solid rgba(2, 132, 199, 0.15);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.5rem auto;
}

.contact-info-card:nth-child(2) .contact-info-icon {
  background: rgba(220, 38, 38, 0.04);
  border-color: rgba(220, 38, 38, 0.15);
  color: var(--accent-red);
}

.contact-info-card:nth-child(3) .contact-info-icon {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-info-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-info-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.contact-info-link:hover {
  color: var(--accent-red);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 3.5rem;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  padding: 50px;
  box-shadow: 
    0 30px 60px -20px rgba(17, 24, 39, 0.05),
    0 0 50px rgba(212, 163, 115, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

/* Glow Accent Circle */
.contact-form-card::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.form-group-full {
  grid-column: 1 / -1;
}

/* Premium Inputs Overrides */
.contact-form-card .form-group {
  position: relative;
}

.contact-form-card .form-input {
  width: 100%;
  background: rgba(17, 24, 39, 0.02);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(17, 24, 39, 0.01);
  box-sizing: border-box;
}

.contact-form-card .form-input:hover {
  background: rgba(17, 24, 39, 0.04);
  border-color: rgba(17, 24, 39, 0.15);
}

.contact-form-card .form-input:focus {
  background: #ffffff;
  border-color: var(--accent-red);
  box-shadow: 
    0 8px 25px rgba(220, 38, 38, 0.04),
    inset 0 1px 1px rgba(17, 24, 39, 0.01);
  outline: none;
}

.contact-form-card .form-label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form-card textarea.form-input ~ .form-label {
  top: 25px;
  transform: none;
}

.contact-form-card .form-input:focus ~ .form-label,
.contact-form-card .form-input:not(:placeholder-shown) ~ .form-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-red);
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(17, 24, 39, 0.02);
}

.contact-form-card .btn-premium {
  position: relative;
  z-index: 1;
  border: none;
  padding: 18px 45px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(17, 24, 39, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form-card .btn-premium:hover {
  background: linear-gradient(135deg, var(--accent-red) 0%, #b91c1c 100%);
  box-shadow: 0 15px 35px -5px rgba(220, 38, 38, 0.25);
  transform: translateY(-2px);
}

.contact-form-card .btn-premium:active {
  transform: translateY(0);
}

.contact-map-layout {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 480px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 15px 45px rgba(17, 24, 39, 0.04);
}

.contact-map-layout iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) contrast(1.05) brightness(0.98);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-map-layout iframe:hover {
  filter: grayscale(0.1) contrast(1) brightness(1);
}

.connect-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3.5rem;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3.5rem;
}

.final-cta-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 8px 25px -10px rgba(17, 24, 39, 0.03);
  transition: var(--transition-smooth);
}

.final-cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 163, 115, 0.25);
}

.final-cta-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1.2rem auto;
}

@media (max-width: 1200px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .connect-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .final-cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .connect-reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .final-cta-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 30px 20px;
  }
}