/* contact.css - Auto-merged from 3 section files */
/* Do not edit directly - regenerate with merge_section_css.py */

/* ========== 01-hero-section ========== */
/* ===== Contact Hero Section ===== */
.contact-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  /* Figma: single full-bleed composite image (gradient + photo already blended) */
  background-image: url("../assets/images/contact/hero-bg-composite.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #a9a39b; /* fallback */
}

.contact-hero__inner {
  position: relative;
  width: 100%;
  max-width: 120rem; /* 1920px */
  height: 33.75rem; /* 540px */
  overflow: hidden;
}

/* ----- Content (text) ----- */
.contact-hero__content {
  position: absolute;
  top: 19.875rem; /* 318px */
  left: 0;
  right: 0;
  width: 80rem; /* 1280px 고정 */
  margin-inline: auto; /* 좌우 마진 auto → 1920 컨테이너 안에서 가운데 정렬(1920에서 left 320px와 동일) */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* 24px */
}

.contact-hero__title {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 4.375rem; /* 70px */
  line-height: 1.3;
  color: #222222;
  text-align: left;
}

.contact-hero__title .t-regular {
  font-weight: 400;
}

.contact-hero__title .t-white {
  color: #ffffff;
}

/* ===== Tablet ===== */
@media (max-width: 1199px) {
  .contact-hero__inner {
    height: auto;
    min-height: 30rem;
  }

  .contact-hero__content {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding-inline: 5%;
    padding-block: 6rem 4rem;
    z-index: 2;
  }

  .contact-hero__title {
    font-size: 3.25rem;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  /* Figma 모바일 히어로: 402x540 세로 배경, 하단 좌측 정렬, 타이틀 48px */
  .contact-hero {
    background-image: url("../assets/images/contact/hero-bg-mobile.jpg");
  }

  .contact-hero__inner {
    min-height: 0;
    height: auto;
    aspect-ratio: 402 / 540;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .contact-hero__content {
    width: 100%;
    padding: 2rem 0.9375rem; /* 32px 15px */
  }

  .contact-hero__title {
    font-size: clamp(2.5rem, 12vw, 3rem); /* 48px @402 */
    line-height: 1.19;
  }
}

/* ========== 02-section-1-contact-form ========== */
/* ============================================
   Contact - Section 1 Contact Form
   ============================================ */

.contact-form-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6.25rem 0 12.5rem; /* 100px 0 200px */
  background-color: #ffffff;
}

.contact-form-inner {
  width: 100%;
  max-width: 80rem; /* 1280px */
  padding-inline: 1.25rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7.5rem; /* 120px */
}

.cfs-indexing,
.cfs-component {
  width: 100%;
}

/* ---- Indexing / heading ---- */
.cfs-indexing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.625rem; /* 10px */
}

.cfs-breadcrumb {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1.25rem; /* 20px */
  line-height: 1.4;
  color: #0e1b2b;
}

.cfs-title-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.cfs-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 3.125rem; /* 50px */
  line-height: 1.4;
  color: #222222;
}

.cfs-light {
  font-weight: 300;
}

/* ---- Component (content + form) ---- */
.cfs-component {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 5rem; /* 80px */
}

/* ---- Left content ---- */
.cfs-content {
  flex: 0 0 26.25rem; /* 420px */
  width: 26.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

.cfs-content-block {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 16px */
}

.cfs-lead {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 2.5rem; /* 40px */
  line-height: 1.4;
  color: #454545;
}

.cfs-contact-list {
  gap: 1rem; /* 16px */
}

.cfs-contact-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem; /* 16px */
}

.cfs-contact-row--address {
  align-items: flex-start;
}

.cfs-icon {
  flex: 0 0 auto;
  width: 1.5rem; /* 24px */
  height: 1.5rem;
}

.cfs-contact-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1.125rem; /* 18px - body_large */
  line-height: 1.5;
  color: #454545;
  text-decoration: none;
}

a.cfs-contact-text:hover {
  text-decoration: underline;
}

.cfs-phone {
  font-weight: 700;
  font-size: 1.5rem; /* 24px - H5 */
}

/* ---- Form ---- */
.cfs-form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem; /* 24px */
}

.cfs-inputs-row {
  display: flex;
  flex-direction: row;
  align-self: stretch;
  gap: 1.5rem;
}

.cfs-input {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem; /* 8px */
  flex: 1 1 auto;
  width: 100%;
}

.cfs-input--message {
  align-self: stretch;
}

.cfs-label {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.5;
  color: #454545;
}

.cfs-field {
  width: 100%;
  box-sizing: border-box;
  height: 3rem; /* 48px */
  padding: 0.8125rem 1rem; /* 13px 16px */
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  background-color: #ffffff;
  font-family: "Inter", "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
  color: #222222;
}

.cfs-field::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.cfs-field:focus {
  outline: none;
  border-color: #222222;
}

.cfs-textarea {
  height: 9.375rem; /* 150px */
  resize: vertical;
  font-family: "Pretendard", sans-serif;
}

/* ---- Checkbox ---- */
.cfs-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  gap: 0.5rem; /* 8px */
  padding-bottom: 1rem; /* 16px */
  cursor: pointer;
}

.cfs-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cfs-checkbox-box {
  flex: 0 0 auto;
  width: 1.125rem; /* 18px */
  height: 1.125rem;
  border: 1px solid #454545;
  border-radius: 2px;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cfs-checkbox-input:checked + .cfs-checkbox-box {
  background-color: #7cc743;
  border-color: #7cc743;
}

.cfs-checkbox-input:checked + .cfs-checkbox-box::after {
  content: "";
  width: 0.3125rem;
  height: 0.5625rem;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.cfs-checkbox-input:focus-visible + .cfs-checkbox-box {
  outline: 2px solid #7cc743;
  outline-offset: 2px;
}

.cfs-checkbox-label {
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5;
  color: #454545;
}

.cfs-privacy-link {
  font-weight: 600;
  color: #7cc743;
  text-decoration: underline;
}

/* ---- Submit button ---- */
.cfs-submit {
  width: 16.25rem; /* 260px */
  padding: 1.25rem 6.25rem; /* 20px 100px */
  border: none;
  border-radius: 80px;
  background-color: #7cc743;
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1),
    0px 20px 25px -5px rgba(0, 0, 0, 0.1);
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cfs-submit:hover {
  background-color: #6bb336;
}

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

/* Tablet */
@media (max-width: 1199px) {
  .contact-form-section {
    padding: 5rem 0 7.5rem;
  }

  .contact-form-inner {
    gap: 5rem;
  }

  .cfs-title {
    font-size: 2.5rem;
  }

  .cfs-component {
    flex-direction: column;
    gap: 3rem;
    align-items: stretch; /* 세로 적층 시 폼이 전체 폭으로 늘어나도록(입력박스 좌우 여백 동일) */
  }

  .cfs-content {
    flex: 0 0 auto;
    width: 100%;
  }

  .cfs-lead {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .contact-form-section {
    padding: 3rem 0 4rem;
  }

  .contact-form-inner {
    padding-inline: 5%;
    gap: 3rem;
  }

  .cfs-breadcrumb {
    font-size: 1rem;
  }

  .cfs-title {
    font-size: 1.75rem;
  }

  .cfs-lead {
    font-size: 1.5rem;
  }

  .cfs-phone {
    font-size: 1.25rem;
  }

  .cfs-contact-text {
    font-size: 1rem;
  }

  .cfs-inputs-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cfs-form {
    align-items: stretch;
  }

  .cfs-field {
    min-height: 44px;
  }

  .cfs-submit {
    width: 100%;
    min-height: 44px;
    padding: 1rem;
  }
}

/* ========== 03-section-business-pillars ========== */
/* ==========================================================================
   Section - Business Pillars (contact / flow-3)
   Figma: 1920 x 482, BG #81C74C
   ========================================================================== */

.business-pillars {
  position: relative;
  width: 100%;
  min-height: 30.125rem; /* 482px */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #81c74c;
  overflow: hidden;
}

/* 배경 장식 패턴 (clip-path group, 섹션 영역에 의해 클립됨) */
.business-pillars__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/contact/business-pillars-bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

/* Frame 37: column, gap 62px, padding 100px 60px */
.business-pillars__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 120rem; /* 1920px */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.875rem; /* 62px */
  padding: 6.25rem 3.75rem; /* 100px 60px */
}

/* Container: column, gap 16px, max-width 1280px */
.business-pillars__text {
  width: 100%;
  max-width: 80rem; /* 1280px */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* 16px */
}

.business-pillars__title {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 3.125rem; /* 50px */
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
  color: #ffffff;
}

.business-pillars__subtitle {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 1.25rem; /* 20px */
  line-height: 1.4;
  text-align: center;
  color: #222222;
}

/* Button: pill, padding 20px 48px, shadow */
.business-pillars__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 3rem; /* 20px 48px */
  background-color: #298109;
  border-radius: 5rem; /* 80px */
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1),
    0px 20px 25px -5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-pillars__button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 12px 16px -6px rgba(0, 0, 0, 0.15),
    0px 24px 30px -5px rgba(0, 0, 0, 0.15);
}

.business-pillars__button-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  text-align: center;
  color: #ffffff;
  white-space: nowrap;
}

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

@media (max-width: 1199px) {
  .business-pillars__content {
    padding: 5rem 5%;
    gap: 3rem;
  }

  .business-pillars__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .business-pillars {
    min-height: 0;
  }

  .business-pillars__content {
    padding: 3.5rem 5%;
    gap: 2.25rem;
  }

  .business-pillars__title {
    font-size: 1.75rem;
    line-height: 1.35;
  }

  .business-pillars__subtitle {
    font-size: 1rem;
  }

  .business-pillars__button {
    width: 100%;
    max-width: 22rem;
    min-height: 44px;
    padding: 0.875rem 1.5rem;
  }

  .business-pillars__button-text {
    white-space: normal;
  }
}

