/* ===== CSS Variables ===== */
:root {
  --background: 220 40% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 11%;
  --primary: 200 85% 37%;
  --primary-foreground: 0 0% 100%;
  --secondary: 219 30% 94%;
  --secondary-foreground: 222 47% 14%;
  --muted: 219 25% 95%;
  --muted-foreground: 220 10% 42%;
  --accent: 0 80% 96%;
  --accent-foreground: 0 70% 40%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 98%;
  --border: 219 20% 88%;
  --input: 219 20% 84%;
  --ring: 221 75% 55%;
  --radius: 0.75rem;
  --chart-1: 221 75% 50%;
  --chart-2: 0 72% 51%;
  --chart-3: 214 60% 65%;
  --chart-4: 0 55% 68%;
  --chart-5: 222 30% 35%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.7);
  background-color: hsl(var(--background) / 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 5rem;
  }
}

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

.logo-mark {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
}

footer .logo-mark {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.25rem;
  background-color: hsl(var(--background));
  border-radius: 0.25rem;
}

.logo-text-main {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.logo-text-sub {
  display: block;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: hsl(var(--foreground));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .phone-link {
    display: flex;
  }
}

.phone-link:hover {
  color: hsl(var(--primary));
}

.phone-link svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background-color: hsl(var(--secondary));
}

.btn-sm {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 1rem;
}

.btn-icon {
  padding: 0.375rem;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  display: block;
  text-align: center;
  padding: 0.625rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.mobile-menu a:hover {
  background-color: hsl(var(--secondary));
}

.mobile-menu .mobile-contacts {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -8rem;
  right: -10%;
  width: 26.25rem;
  height: 26.25rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  filter: blur(3rem);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 23.75rem;
  height: 23.75rem;
  border-radius: 50%;
  background-color: hsl(var(--destructive) / 0.05);
  filter: blur(3rem);
  z-index: -1;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  padding: 3rem 0;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .hero-inner {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding-bottom: 5rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.05);
  border: 1px solid hsl(var(--primary) / 0.25);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.badge svg {
  width: 1.375rem;
  height: 1.375rem;
}

.hero h1 {
  position: relative;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.4rem;
  }
}

.hero h1 .highlight {
  position: relative;
  white-space: nowrap;
  color: hsl(var(--primary));
}

.hero-description {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.hero-description strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-cta-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-cta-note svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stats dt {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: hsl(var(--muted-foreground));
}

.hero-stats dd {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.hero-card {
  position: absolute;
  bottom: -1.5rem;
  left: 1rem;
  right: 1rem;
  max-width: 23rem;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .hero-card {
    left: 2rem;
    right: auto;
  }
}

.hero-card-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary));
}

.hero-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-card-text p:first-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-card-text p:last-child {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-card-text p:last-child .price-bold {
  font-weight: 700;
  white-space: nowrap;
  color: hsl(var(--foreground));
}

.hero-banks {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

.hero-banks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-banks-inner {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

.hero-banks-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.hero-banks-label svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.hero-banks-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.25rem;
}

.hero-banks-list li {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground) / 0.7);
}

/* ===== Section Heading ===== */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading.align-left {
  text-align: left;
}

.section-heading .eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .section-heading h2 {
    font-size: 2.5rem;
  }
}

.section-heading .subtitle {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.align-left .subtitle {
  margin-left: 0;
}

/* ===== Sections Common ===== */
section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

section.scroll-mt {
  scroll-margin-top: 5rem;
}

/* ===== Comparison Section ===== */
.comparison-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.comparison-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2rem;
}

.comparison-card.featured {
  border: 2px solid hsl(var(--primary));
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.comparison-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  background-color: hsl(var(--destructive));
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-card .label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
}

.comparison-card.featured .label {
  color: hsl(var(--primary));
}

.comparison-card .price {
  margin-top: 0.5rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
}

.comparison-card.featured .price {
  color: hsl(var(--primary));
}

.comparison-card .price-sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.comparison-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.comparison-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comparison-list .negative svg {
  color: hsl(var(--muted-foreground) / 0.5);
}

.comparison-list .positive svg {
  color: hsl(var(--primary));
}

.comparison-list li span {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.comparison-list li.positive span {
  font-weight: 500;
  color: hsl(var(--foreground));
}

.comparison-summary {
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--secondary) / 0.5);
  padding: 1.5rem;
  text-align: center;
}

.comparison-summary p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
}

.comparison-summary strong {
  font-weight: 700;
  color: hsl(var(--primary));
}

.comparison-summary .calc-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card-content {
  padding: 1.5rem;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

/* ===== Properties Section ===== */
.properties-section {
  background-color: hsl(var(--secondary) / 0.4);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  height: 2.25rem;
  border-radius: 9999px;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.filter-btn:not(.active) {
  background-color: hsl(var(--card));
}

.properties-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: all 0.3s;
}

.property-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.property-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.property-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: white;
  font-weight: 600;
}

.property-image-placeholder.cat-ready {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.property-image-placeholder.cat-townhouse {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.property-image-placeholder.cat-duplex {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.property-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--accent-foreground));
  background-color: hsl(var(--accent));
  border: none;
  border-radius: 9999px;
}

.property-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.property-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.property-price {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: hsl(var(--primary));
}

.property-note {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--destructive));
}

.property-title {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.property-location {
  margin-top: 0.375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.property-location svg {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.property-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.property-meta li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.property-meta li svg {
  width: 1.375rem;
  height: 1.375rem;
}

/* ===== Advantages Section ===== */
.advantages-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.advantages-image {
  position: relative;
  order: 2;
}

@media (min-width: 1024px) {
  .advantages-image {
    order: 1;
  }
}

.advantages-image-inner {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.advantages-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
}

.advantages-badge {
  position: absolute;
  bottom: -1.25rem;
  right: 1rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary));
  padding: 1.25rem;
  color: hsl(var(--primary-foreground));
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .advantages-badge {
    right: 2rem;
  }
}

.advantages-badge .year {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.advantages-badge .year-sub {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.9;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.advantages-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.advantages-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--primary));
}

.advantages-list li span {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
}

/* ===== Steps Section ===== */
.steps-section {
  background-color: hsl(var(--secondary) / 0.4);
}

.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
}

.step-number {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
  color: hsl(var(--muted-foreground) / 0.25);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.step-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

/* ===== Reviews Section ===== */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.5rem;
}

.review-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
  color: hsl(var(--destructive));
}

.review-stars svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.review-card blockquote {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
}

.review-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
}

.review-name {
  display: flex;
  flex-direction: column;
}

.review-name .name {
  font-size: 0.875rem;
  font-weight: 600;
}

.review-name .meta {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ===== FAQ Section ===== */
.faq-container {
  max-width: 48rem;
}

.accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid hsl(var(--border));
}

.accordion-item:first-child {
  border-top: 1px solid hsl(var(--border));
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: hsl(var(--foreground));
  font-family: inherit;
  transition: color 0.2s;
}

.accordion-trigger:hover {
  color: hsl(var(--primary));
}

.accordion-trigger svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
  color: hsl(var(--muted-foreground));
}

.accordion-trigger.active svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.open {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.accordion-content p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

/* ===== Lead Form Section ===== */
.lead-section {
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .lead-section {
    padding-bottom: 6rem;
  }
}

.lead-grid {
  display: grid;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lead-info {
  padding: 2rem;
}

@media (min-width: 768px) {
  .lead-info {
    padding: 3rem;
  }
}

.lead-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(254 202 202);
  margin-bottom: 0.75rem;
}

.lead-info h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .lead-info h2 {
    font-size: 2.25rem;
  }
}

.lead-info > p {
  margin-top: 1rem;
  max-width: 28rem;
  line-height: 1.75;
  opacity: 0.9;
}

.lead-perks {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-perk {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.lead-perk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary-foreground) / 0.1);
}

.lead-perk-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lead-perk span {
  font-size: 0.9375rem;
  line-height: 1.75;
  opacity: 0.9;
}

.lead-contacts {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.lead-contacts a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: opacity 0.2s;
}

.lead-contacts a:hover {
  opacity: 1;
}

.lead-contacts .phone-big {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lead-contacts svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.lead-contacts .address {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  opacity: 0.9;
}

.lead-contacts .address svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
}

/* ===== Form Styles ===== */
.lead-form-wrapper {
  background: hsl(var(--card));
  padding: 2rem;
  color: hsl(var(--card-foreground));
}

@media (min-width: 768px) {
  .lead-form-wrapper {
    padding: 3rem;
  }
}

.lead-form-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead-form-wrapper .form-subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.form-group {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input,
.form-select {
  height: 2.5rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--input));
  background: hsl(var(--background));
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

/* Success State */
.form-success {
  display: none;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-success.visible {
  display: flex;
}

.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  margin-bottom: 1.25rem;
}

.form-success-icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.form-success p {
  margin-top: 0.75rem;
  max-width: 20rem;
  color: hsl(var(--muted-foreground));
}

/* ===== Footer ===== */
.footer {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-about .logo-inverted .logo-text-main {
  color: hsl(var(--primary-foreground));
}

.footer-about .logo-inverted .logo-text-sub {
  color: hsl(var(--primary-foreground) / 0.7);
}

.footer-about p {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.75;
  opacity: 0.8;
}

.footer-nav p,
.footer-contacts p {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a {
  font-size: 0.875rem;
  opacity: 0.9;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contacts ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-contacts a:hover {
  opacity: 1;
}

.footer-contacts svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.footer-contacts .address-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  opacity: 0.9;
}

.footer-contacts .address-line svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.15);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ===== 404 Page ===== */
.page-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--background));
}

.page-404-inner {
  text-align: center;
}

.page-404 h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.page-404 p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.page-404 a {
  color: hsl(var(--primary));
  text-decoration: underline;
  transition: color 0.2s;
}

.page-404 a:hover {
  color: hsl(var(--primary) / 0.8);
}

/* ===== Footer ===== */
.footer {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-brand p {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.75;
  opacity: 0.8;
}

.footer-nav-title {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a {
  font-size: 0.875rem;
  opacity: 0.9;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contacts ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-contacts a:hover {
  opacity: 1;
}

.footer-contacts svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.footer-contacts .address {
  align-items: flex-start;
}

.footer-contacts .address svg {
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.15);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ===== Loading Spinner ===== */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Selection ===== */
::selection {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* ===== Responsive Helpers ===== */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

/* ===== Hidden utility ===== */
.hidden {
  display: none !important;
}

/* ===== Print ===== */
@media print {
  .header,
  .mobile-menu-trigger {
    display: none;
  }
}

/* ===== Edit icons — hidden by default, shown in admin mode ===== */
.edit-icon {
  display: none;
}