/* 2026-05-21-v3 Hero 문구·파티클·푸터 균형 보정 */
/* 수정 범위: Hero 대표 문구, 파티클 가시성, 푸터 좌우 배치 */

/* =========================
   1. Hero 배경 + 문구 정리
========================= */

.hero {
  position: relative !important;
  overflow: hidden !important;
  background-image:
    linear-gradient(90deg, rgba(7,11,20,.92) 0%, rgba(7,11,20,.76) 34%, rgba(7,11,20,.38) 62%, rgba(7,11,20,.74) 100%),
    linear-gradient(180deg, rgba(7,11,20,.26) 0%, rgba(7,11,20,.18) 42%, rgba(7,11,20,.70) 100%),
    url("../images/hero/2026-05-21-v3-clean-premium-car-hero.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  isolation: isolate;
}

.anyncar-hero-main-copy {
  max-width: 830px !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-height: 1.16 !important;
  letter-spacing: -0.065em !important;
  font-size: clamp(42px, 5vw, 76px) !important;
}

.anyncar-hero-title-text {
  position: relative;
  z-index: 8;
  display: inline-block;
  text-shadow:
    0 0 24px rgba(255,255,255,.13),
    0 12px 36px rgba(0,0,0,.36);
}

.anyncar-hero-main-copy br {
  display: block;
}

/* =========================
   2. 파티클 효과 가시성 강화
========================= */

.anyncar-hero-wide-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
}

.anyncar-hero-particle-canvas {
  position: absolute;
  left: -135px;
  top: -105px;
  width: calc(100% + 270px);
  height: calc(100% + 210px);
  pointer-events: none;
  z-index: 7;
  mix-blend-mode: screen;
  opacity: 1;
  filter: saturate(1.35) contrast(1.12);
}

.anyncar-particle-title {
  position: relative !important;
  isolation: isolate;
}

.anyncar-particle-title::after {
  content: "";
  position: absolute;
  inset: -44px -70px;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 34%, rgba(255,210,103,.34), transparent 29%),
    radial-gradient(circle at 78% 56%, rgba(80,180,255,.24), transparent 35%);
  filter: blur(2px);
  opacity: .95;
}

/* 통계 박스 뒤 배경 비침 보정 */
.hero-stats {
  background: rgba(7,11,20,.50) !important;
  backdrop-filter: blur(12px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.28) !important;
}

/* =========================
   3. 푸터 좌우 균형 정리
========================= */

.anyncar-balanced-footer {
  background: #171827;
  color: rgba(255,255,255,.82);
}

.anyncar-footer-balanced-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr) !important;
  gap: clamp(40px, 7vw, 120px) !important;
  align-items: start !important;
}

.footer-company-info {
  text-align: left;
}

.footer-company-title {
  font-size: 20px !important;
  font-weight: 1000 !important;
  color: #fff !important;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.footer-slogan {
  margin: 12px 0 0 !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 15px;
  line-height: 1.72 !important;
  font-weight: 700;
  word-break: keep-all;
}

.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 18px !important;
  margin-top: 18px !important;
}

.footer-links a {
  color: rgba(255,255,255,.58) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff !important;
}

.footer-business-line {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 700;
}

.anyncar-footer-contact-right {
  text-align: right !important;
  justify-self: end !important;
  min-width: 280px;
}

.footer-contact-label {
  font-size: 13px;
  color: rgba(255,255,255,.48);
  margin-bottom: 8px;
}

.anyncar-footer-contact-right .phone {
  font-size: 34px !important;
  line-height: 1.05;
  font-weight: 1000;
  color: #fff;
  letter-spacing: -0.04em;
}

.footer-direct {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin-top: 8px;
}

.footer-fax {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-top: 5px;
}

.anyncar-footer-contact-right .email {
  margin-top: 8px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 800;
}

.footer-hours {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.42);
}

.anyncar-footer-bottom-balanced {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  color: rgba(255,255,255,.36);
  font-size: 12px;
}

.hidden-admin-link {
  color: inherit !important;
  text-decoration: none !important;
  cursor: default !important;
}

.hidden-admin-link:hover {
  color: inherit !important;
  text-decoration: none !important;
}

/* =========================
   4. 모바일 보정
========================= */

@media (max-width: 768px) {
  .hero {
    background-position: 66% center !important;
  }

  .anyncar-hero-main-copy {
    max-width: 100% !important;
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.18 !important;
  }

  .anyncar-hero-particle-canvas {
    left: -60px;
    top: -58px;
    width: calc(100% + 120px);
    height: calc(100% + 118px);
    opacity: .95;
  }

  .anyncar-hero-wide-particles {
    opacity: .9;
  }

  .anyncar-particle-title::after {
    inset: -24px -30px;
    opacity: .68;
  }

  .anyncar-footer-balanced-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .anyncar-footer-contact-right {
    text-align: left !important;
    justify-self: stretch !important;
    min-width: 0;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
  }

  .anyncar-footer-contact-right .phone {
    font-size: 32px !important;
  }

  .footer-slogan br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anyncar-hero-wide-particles,
  .anyncar-hero-particle-canvas {
    display: none !important;
  }
}
