/* =====================================================
   RESPONSIVE.CSS
===================================================== */

@media (max-width: 1180px) {
  .hero-content {
    padding-right: 0;
  }

  .hero-side-card {
    position: static;
    width: min(100%, 520px);
    margin: 34px auto 0;
  }

  .hero {
    padding-bottom: 42px;
  }
}

@media (max-width: 1100px) {
  .split-layout,
  .message-grid,
  .business-grid,
  .adv-grid,
  .contact-layout,
  .guide-grid,
  .project-row,
  .process-flow,
  .business-process-flow,
  .featured-projects {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .overlay-panel,
  .overlay-menu-inner {
    width: 100%;
    padding: 60px 24px;
    justify-content: center;
  }

  .menu-close {
    top: 16px;
    right: 18px;
    font-size: 48px;
  }

  .overlay-nav {
    gap: 14px;
  }

  .overlay-nav a {
    font-size: clamp(36px, 9.6vw, 54px);
  }

  .overlay-meta {
    left: 24px;
    bottom: 18px;
    font-size: 13px;
  }
}

@media (max-width: 860px) {
  .container,
  .header-inner {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-header {
    height: 82px;
  }

  .logo {
    height: 38px;
  }

  .site-header.scrolled .logo {
    height: 32px;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2,
  .section-copy h2,
  .contact-panel h2,
  .contact-info-panel h2,
  .contact-brand-box h2 {
    margin-bottom: 14px;
    font-size: 38px;
    line-height: 1.14;
  }

  .hero {
    min-height: auto;
    align-items: flex-end;
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .sub-hero {
    min-height: 58vh;
    padding-top: 102px;
    padding-bottom: 18px;
  }

  .hero-content,
  .sub-hero-content {
    width: calc(100% - 28px);
    text-align: left;
  }

  .sub-hero-content .hero-desc {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-kicker {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.15em;
  }

  .hero-kicker::after {
    width: 34px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(50px, 15vw, 78px);
    line-height: 1.02;
  }

  .sub-hero-content h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 8vw, 58px);
    line-height: 1.05;
  }

  .hero-desc {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-actions {
    width: 100%;
    margin-bottom: 20px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  /* A안: 모바일 Hero 미니멀 */
  .hero-meta,
  .hero-scroll {
    display: none;
  }

  .hero-side-card {
    position: static;
    width: 100%;
    margin-top: 0;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .hero-side-card strong {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .hero-side-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .hero-side-card li {
    font-size: 14px;
    line-height: 1.6;
  }

  .sub-hero-content .hero-desc,
  .section-copy p,
  .contact-desc,
  .section-subtext {
    margin-top: 16px;
  }

  .value-row,
  .value-row.reverse {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .value-row.reverse .value-image,
  .value-row.reverse .value-copy {
    order: initial;
  }

  .value-image img {
    min-height: 260px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 26px 20px;
  }

  .contact-brand-box {
    padding: 52px 20px;
  }

  .project-row {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 78px);
    line-height: 1.02;
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-side-card p,
  .hero-side-card li,
  .project-info p,
  .process-item p,
  .process-step p,
  .guide-card p,
  .message-card p,
  .business-card p {
    font-size: 14px;
  }

  .project-tabs {
    gap: 8px;
  }

  .project-tab {
    width: 100%;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .image-modal {
    padding: 20px;
  }

  .image-modal-close {
    top: 10px;
    right: 16px;
    font-size: 44px;
  }

  .featured-card {
    min-height: 340px;
  }
}

/* =====================================================
   HERO INTERACTION RESPONSIVE
===================================================== */
@media (max-width: 860px) {
  .hero-reveal {
    transform: translateY(24px);
    filter: blur(4px);
  }

  .hero-animated .hero-video {
    transform: scale(1.03);
  }

  .overlay-nav a {
    transform: translateY(14px);
  }
}