/* ==========================================================================
   Utility Bar (Top)
   ========================================================================== */

.utility-bar {
  background: linear-gradient(135deg, #FCD34D 0%, #FBBF24 100%);
  color: #1a2a4c;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.utility-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-bar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1a2a4c;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.utility-bar-phone:hover {
  opacity: 0.8;
}

.utility-bar-text {
  color: #1a2a4c;
  margin-right: 1rem;
}

/* ==========================================================================
   Main Header
   ========================================================================== */

.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

/* Logo - PROMINENT and READABLE */
.site-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.site-logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.site-logo:hover {
  transform: scale(1.02);
}

/* Main Navigation */
.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: #374151;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header-phone:hover {
  transform: translateY(-2px);
}

.phone-label {
  font-size: 0.75rem;
  color: #6B7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.btn-emergency-header {
  background: #DC2626;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  white-space: nowrap;
}

.btn-emergency-header:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid #E5E7EB;
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: #F3F4F6;
  color: var(--color-primary);
}

.mobile-menu .mobile-phone {
  background: var(--color-primary);
  color: white;
  text-align: center;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Hero Section (Clean Split Layout)
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  padding: 4rem 0;
  overflow: hidden;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left Content */
.hero-left {
  animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-aqua), var(--color-primary));
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.hero-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1a2a4c;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.125rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1F2937;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-aqua), #4ade80);
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-light:hover {
  background: var(--color-primary);
  color: white;
}

.btn-icon {
  margin-right: 0.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-stars {
  color: #F59E0B;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.trust-text {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 600;
}

/* Right Visual - Curved Border Frame */
.hero-right {
  position: relative;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 8px #FCD34D,
    0 0 0 12px rgba(252, 211, 77, 0.3);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-image-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.badge-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge-text strong {
  font-size: 0.75rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.badge-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.badge-price sup {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: super;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .utility-bar {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu.active {
    display: flex;
  }

  .site-logo img {
    height: 85px;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-left {
    text-align: center;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-description {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-logo img {
    height: 70px;
  }

  .hero-section {
    padding: 3rem 0;
  }

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

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image-badge {
    bottom: 1rem;
    left: 1rem;
    padding: 1rem;
  }

  .badge-price {
    font-size: 2rem;
  }
}
