/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #10b981;
  --destructive: #ef4444;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --foreground: #0f172a;
  --border: #e2e8f0;
  --background: #ffffff;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.navigation {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted-foreground);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.emergency-phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #dc2626;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.emergency-phone-header:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.emergency-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.emergency-text {
  line-height: 1.1;
}

.emergency-label {
  font-size: 0.65rem;
  opacity: 0.9;
  font-weight: 500;
}

.emergency-number {
  font-size: 0.75rem;
  font-weight: 700;
}

.login-btn-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.login-btn-header:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero Variant Selector */
.hero-selector {
  background: #f8fafc;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.selector-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.selector-btn {
  padding: 8px 24px;
  border: 2px solid var(--border);
  background: white;
  color: var(--muted-foreground);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.selector-btn.active,
.selector-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* Hero Variants Container */
.hero-variants {
  position: relative;
}

.hero-variant {
  display: none;
}

.hero-variant.active {
  display: block;
}

/* Hero Section with Background Slider (Variant 1) */
/*.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}*/

.background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
          135deg,
          rgba(59, 130, 246, 0.3) 0%,
          rgba(16, 185, 129, 0.3) 100%
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  color: white;
}

.trust-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.9);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Hero Variant 2 - Compact style */
.hero.compact {
  height: 400px;
}

.hero.compact .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero.compact .trust-badge {
  margin-bottom: 32px;
}

.trust-badge-content {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.trust-badge-content svg {
  color: #10b981;
}

.trust-badge-content span {
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
}

.hero-text .hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text .hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Variant 3 - Full-screen with bottom cards */
.hero-fullscreen {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-bg-fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-fullscreen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
          135deg,
          rgba(0, 0, 0, 0.7) 0%,
          rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 2;
}

.hero-content-fullscreen {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
  padding-top: 80px;
}

.trust-badge-fullscreen {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title-fullscreen {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-company-fullscreen {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-description-fullscreen {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions-fullscreen {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-fullscreen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary-fullscreen {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary-fullscreen:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary-fullscreen {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

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

/* Bottom Cards */
.hero-bottom-cards {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 40px 0;
  background: linear-gradient(
          180deg,
          transparent 0%,
          rgba(0, 0, 0, 0.8) 100%
  );
}

.bottom-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bottom-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.bottom-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.bottom-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.bottom-card-icon.blue-bg {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.bottom-card-icon.green-bg {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
}

.bottom-card-icon.purple-bg {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.bottom-card-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--foreground);
}

.bottom-card-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.4;
  margin: 0;
}

/* Our Houses Section */
.our-houses-section {
  padding: 80px 0;
  background: var(--background);
}

/* Houses Controls */
.houses-controls {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.houses-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--muted-foreground);
}

.houses-filter {
  min-width: 200px;
}

.filter-select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Houses Grid */
.houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.house-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.house-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.house-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.house-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.house-status {
  position: absolute;
  top: 16px;
  right: 16px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.status-badge.managed {
  background: var(--secondary);
}

.house-info {
  padding: 24px;
}

.house-address {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--foreground);
}

.house-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.house-detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-icon {
  font-size: 1rem;
  width: 20px;
}

.detail-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.house-actions {
  display: flex;
  gap: 12px;
}

.house-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.house-btn.primary {
  background: var(--primary);
  color: white;
}

.house-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.house-btn.secondary {
  background: var(--muted);
  color: var(--foreground);
  border: 2px solid var(--border);
}

.house-btn.secondary:hover {
  background: var(--border);
  transform: translateY(-2px);
}

/* Load More Button */
.houses-load-more {
  text-align: center;
}

.load-more-btn {
  padding: 16px 32px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* House Detail Modal */
.house-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.house-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--muted);
  color: var(--foreground);
}

.modal-body {
  padding: 24px;
}

/* Modal content styles */
.house-detail-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--foreground);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.detail-label {
  font-weight: 500;
  color: var(--muted-foreground);
}

.detail-value {
  font-weight: 600;
  color: var(--foreground);
}

.infrastructure-list,
.manager-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infrastructure-item,
.manager-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.infrastructure-icon,
.manager-icon {
  font-size: 1.2rem;
  width: 24px;
}

.manager-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.manager-item a:hover {
  text-decoration: underline;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.modal-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn.primary {
  background: var(--primary);
  color: white;
}

.modal-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.modal-btn.secondary {
  background: var(--muted);
  color: var(--foreground);
  border: 2px solid var(--border);
}

.modal-btn.secondary:hover {
  background: var(--border);
  transform: translateY(-2px);
}

/* Hero Variant 3 - Full screen style */
.hero-variant[data-variant="2"] .hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background slider for variant 3 */
.background-slider__slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.background-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.background-slider__slide--active {
  opacity: 1;
}

.background-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.background-slider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.background-slider__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
          135deg,
          rgba(59, 130, 246, 0.2) 0%,
          rgba(16, 185, 129, 0.2) 100%
  );
  z-index: 2;
}

.background-slider__indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.background-slider__indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.background-slider__indicator--active {
  background: white;
  transform: scale(1.2);
}

/* Hero content for variant 3 */
.hero__content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
}

.hero__trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 32px;
  width: fit-content;
}

.hero__trust-icon {
  color: #10b981;
}

.hero__trust-text {
  font-weight: 500;
  font-size: 0.875rem;
}

.hero__heading {
  margin-bottom: 40px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__title-gradient {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn--primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn--outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

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

/* Hero features */
.hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hero__feature {
  text-align: center;
}

.hero__feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
}

.hero__feature-icon--blue {
  background: rgba(59, 130, 246, 0.8);
}

.hero__feature-icon--green {
  background: rgba(16, 185, 129, 0.8);
}

.hero__feature-icon--purple {
  background: rgba(139, 92, 246, 0.8);
}

.hero__feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__feature-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Quick Access Panel */
.quick-access-panel {
  background: linear-gradient(
          135deg,
          #f0f9ff 0%,
          #e0f2fe 50%,
          #f8fafc 100%
  );
  padding: 80px 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.quick-access-header {
  text-align: center;
  margin-bottom: 64px;
}

.quick-access-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quick-access-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.quick-access-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quick-access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.quick-access-card.emergency::before {
  background: var(--destructive);
}

.quick-access-card.account::before {
  background: var(--primary);
}

.quick-access-card.payment::before {
  background: var(--secondary);
}

.quick-access-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.quick-access-card:hover::before {
  transform: scaleX(1);
}

.quick-access-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.quick-access-card.emergency .quick-access-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--destructive);
}

.quick-access-card.account .quick-access-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.quick-access-card.payment .quick-access-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
}

.quick-access-card.service::before {
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
}

.quick-access-card.contact::before {
  background: linear-gradient(90deg, #ea580c, #dc2626);
}

.quick-access-card.documents::before {
  background: linear-gradient(90deg, #0891b2, #0e7490);
}

.quick-access-card.service .quick-access-icon {
  background: linear-gradient(135deg, #faf5ff, #e9d5ff);
  color: #7c3aed;
}

.quick-access-card.contact .quick-access-icon {
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  color: #ea580c;
}

.quick-access-card.documents .quick-access-icon {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  color: #0891b2;
}


.quick-access-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--foreground);
}

.quick-access-card p {
  color: var(--muted-foreground);
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.875rem;
}

.quick-access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.875rem;
  width: 100%;
}

.emergency-btn {
  background: var(--destructive);
  color: white;
}

.emergency-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.account-btn {
  background: var(--primary);
  color: white;
}

.account-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.payment-btn {
  background: var(--secondary);
  color: white;
}

.payment-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-btn {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white;
}

.service-btn:hover {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  transform: translateY(-1px);
}

.contact-btn {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: white;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
}

.documents-btn {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  color: white;
}

.documents-btn:hover {
  background: linear-gradient(135deg, #0e7490, #155e75);
  transform: translateY(-1px);
}
/* Services Section */
.services-section {
  margin: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
}

.service-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  margin-left: 16px;
}

.urgent-badge {
  background: var(--destructive);
  color: white;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-content p {
  color: var(--muted-foreground);
  margin-bottom: 24px;
  line-height: 1.5;
}

.service-btn {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
  margin: 80px 0;
}

.stats-container {
  background: linear-gradient(
          135deg,
          #1e40af 0%,
          #06b6d4 50%,
          #10b981 100%
  );
  border-radius: 24px;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-item {
  color: white;
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.4;
}

/* Large Action Cards */
.large-actions-section {
  margin: 80px 0;
}

.large-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.large-action-card {
  padding: 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.large-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.payment-card {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #93c5fd;
}

.documents-card {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #86efac;
}

.contacts-card {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border: 2px solid #fb923c;
}

.large-action-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.payment-card .large-action-icon {
  background: #3b82f6;
  color: white;
}

.documents-card .large-action-icon {
  background: #10b981;
  color: white;
}

.contacts-card .large-action-icon {
  background: #f97316;
  color: white;
}

.large-action-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.large-action-card p {
  color: var(--muted-foreground);
  margin-bottom: 32px;
  line-height: 1.5;
  font-size: 1rem;
}

.large-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  width: 100%;
}

.payment-card .large-action-btn {
  background: #3b82f6;
  color: white;
}

.payment-card .large-action-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.documents-card .large-action-btn {
  background: #10b981;
  color: white;
}

.documents-card .large-action-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.contacts-card .large-action-btn {
  background: #f97316;
  color: white;
}

.contacts-card .large-action-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--muted);
  padding: 64px 0 32px;
  margin-top: 80px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.footer-logo-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.2;
  margin-bottom: 16px;
}

.footer-section p {
  color: var(--muted-foreground);
  line-height: 1.5;
  font-size: 0.875rem;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-section ul li a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* Spacing adjustments for variant 3 */
.hero-variant[data-variant="2"] + .quick-access-panel {
  margin-top: 120px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .selector-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .selector-btn {
    width: 200px;
  }

  /* All hero variants responsive */
  .hero {
    height: 400px !important;
  }

  .hero-variant[data-variant="2"] .hero {
    height: 100vh !important;
    min-height: 500px;
  }

  /* Variant 1 responsive */
  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-description {
    font-size: 1rem !important;
  }

  .trust-badge {
    margin-bottom: 20px !important;
  }

  /* Variant 2 responsive */
  .hero.compact {
    height: 400px !important;
  }

  .hero.compact .hero-text .hero-title {
    font-size: 2.5rem !important;
  }

  .hero.compact .hero-text .hero-description {
    font-size: 1rem !important;
  }

  .trust-badge-content {
    padding: 8px 16px;
  }

  .trust-badge-content span {
    font-size: 0.75rem;
  }

  /* Variant 3 responsive */
  .hero__content {
    max-width: 100%;
    padding-top: 40px;
  }

  .hero__title {
    font-size: 2rem !important;
  }

  .hero__subtitle {
    font-size: 1rem !important;
  }

  .hero__actions {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

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

  .hero__trust-badge {
    margin-bottom: 20px;
  }

  .hero__heading {
    margin-bottom: 30px;
  }

  /* Remove any margins that create white space */
  .quick-access-panel {
    margin-top: 0 !important;
    padding-top: 60px;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
  }

  .stat-number {
    font-size: 3rem;
  }

  .large-actions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .emergency-text,
  .login-btn-header span {
    display: none;
  }

  .emergency-phone-header,
  .login-btn-header {
    padding: 12px;
  }

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

  .quick-access-header h2 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* Extra responsive styles for very small screens */
@media (max-width: 480px) {
  .hero {
    height: 100vh !important;
    min-height: 1050px;
  }


  .hero-title,
  .hero.compact .hero-text .hero-title,
  .hero__title {
    font-size: 2rem !important;
    line-height: 1.1;
  }

  .hero__company-fullscreen,
  .hero__title-gradient {
    font-size: 2.2rem !important;
  }

  .hero-description,
  .hero.compact .hero-text .hero-description,
  .hero__subtitle {
    font-size: 0.9rem !important;
  }

  .hero__content {
    padding-top: 30px;
  }

  .hero__features {
    gap: 16px;
  }

  .hero__feature-title {
    font-size: 1rem !important;
  }

  .hero__feature-text {
    font-size: 0.8rem !important;
  }

  .selector-btn {
    width: 150px;
    padding: 6px 16px;
    font-size: 0.75rem;
  }

  .container {
    padding: 0 16px;
  }

  /* Houses section responsive */
  .houses-controls {
    flex-direction: column;
    gap: 16px;
  }

  .houses-search,
  .houses-filter {
    max-width: 100%;
  }

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

  .house-actions {
    flex-direction: column;
  }

  .house-btn {
    width: 100%;
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }
}