/* =========================================================
   Page : Contact
   ========================================================= */

.contact-page {
  padding-bottom: 18px;
  background:
    radial-gradient(circle at 5% 14%, rgba(248, 222, 196, 0.22), transparent 18%),
    radial-gradient(circle at 96% 8%, rgba(224, 232, 206, 0.34), transparent 20%),
    #fffdf8;
}

.contact-page h1,
.contact-page h2 {
  font-family: var(--script);
  font-weight: 700;
  line-height: 1;
}

.contact-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 32%) minmax(0, 68%);
  min-height: 300px;
  background: linear-gradient(90deg, #fffaf3 0%, #fffdf8 38%, rgba(255,255,255,0) 68%);
  overflow: visible;
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  padding: 38px 28px 28px 66px;
}

.contact-hero-copy h1 {
  color: var(--terracotta-dark);
  font-size: clamp(4rem, 6vw, 6.2rem);
  letter-spacing: 0.02em;
}

.contact-hero-copy p {
  max-width: 310px;
  color: #111f1d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.38;
}


.contact-hero-image {
  position: relative;
  overflow: hidden;
  min-height: 300px;

  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    54% 100%,
    54% calc(100% - 44px),
    0 calc(100% - 44px)
  );
}

.contact-hero-image img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center center;
}

/* INTRO */


.contact-intro-card {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 940px;
  min-height: 110px;
  margin: -43px 0 18px 50px;
  padding: 18px 28px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(189, 142, 101, 0.38);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(63, 47, 31, 0.04);
}

.contact-intro-leaf {
  width: 78px;
  opacity: 0.75;
  mix-blend-mode: multiply;
  transform: translateY(0) rotate(0deg);
}

.contact-intro-card p {
  color: #1f302d;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact-card-heart {
  align-self: end;
  color: var(--terracotta);
  font-family: var(--script);
  font-size: 3rem;
}

/* METHOD CARDS */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto 18px;
  padding-inline: 0;
}

.contact-method-card {
  min-height: auto;
  padding: 22px 18px 3px;
  text-align: center;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(189, 142, 101, 0.36);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(63, 47, 31, 0.04);
}

.contact-method-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 12px;
  background: transparent !important;
  box-shadow: none;
  color: #fff;
  border-radius: 0;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.contact-method-icon img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.contact-method-card h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.contact-method-card:nth-child(odd) h2 {
  color: var(--green);
}

.contact-method-card:nth-child(even) h2 {
  color: var(--terracotta);
}

.contact-method-card a,
.contact-method-card p {
  color: #1f302d;
  font-size: 0.98rem;
  font-weight: 800;
}

/* LOCATION */

.contact-location-card {
  position: relative;
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  max-width: 1300px;
  min-height: 190px;
  margin: 0 auto 18px;
  padding: 24px 62px 24px 40px;
  background: linear-gradient(135deg, #fffaf2, #f6f4e8);
  border: 1px solid rgba(189, 142, 101, 0.36);
  border-radius: 12px;
  overflow: hidden;
}

.contact-location-image {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-location-content {
  display: grid;
  gap: 18px;
}

.contact-location-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-location-card h2 {
  color: var(--green);
  font-size: 2.35rem;
}

.contact-location-card p {
  color: #1f302d;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.42;
}

.contact-location-card strong {
  color: var(--terracotta);
  font-size: 1.06rem;
  font-weight: 900;
}

.contact-location-btn {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* FORM */

.contact-form-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto 18px;
  padding: 24px 28px 20px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(189, 142, 101, 0.36);
  border-radius: 12px;
  overflow: hidden;
}

.contact-form-area h2 {
  margin-bottom: 16px;
  color: var(--terracotta);
  font-size: 2.4rem;
}

.contact-form-area {
  position: relative;
}

.contact-form-title-line {
  position: absolute;
  top: -20px;
  left: 340px;
  display: inline-block;
  width: 120px;
  height: auto;
  object-fit: contain;
  transform: translateY(2px);
  pointer-events: none;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: block;
  color: #1f302d;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form label span {
  display: inline;
  margin-left: 4px;
  color: var(--terracotta);
}


.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 13px;
  color: #1f302d;
  font-family: var(--body);
  font-size: 0.95rem;
  background: #fffdf9;
  border: 1px solid rgba(189, 142, 101, 0.52);
  border-radius: 7px;
  outline: none;
  margin-top: 5px;
}

.contact-form-submit .btn span {
  display: inline-block;
  margin-left: 10px;
}

.contact-form textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(201, 91, 61, 0.12);
}

.contact-form-submit {
  display: grid;
  justify-items: end;
  gap: 6px;
  margin-top: -6px;
}

.contact-form-submit .btn {
  min-width: 250px;
}

.contact-form-submit small {
  color: #9b7860;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-form-visual {
  position: relative;
  min-height: 260px;
}

.contact-form-visual img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center bottom;
}

/* SOFT CARDS */

.contact-two-cards {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto 18px;
}

.contact-soft-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  min-height: 190px;
  padding: 26px 34px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(189, 142, 101, 0.28);
}

.contact-soft-card-peach {
  background: linear-gradient(135deg, #fff2e8, #fff8ef);
}

.contact-soft-card-green {
  background: linear-gradient(135deg, #edf4e6, #fff9ef);
}

.contact-soft-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-size: 2.1rem;
}

.contact-soft-icon-green {
  background: var(--green);
  font-family: var(--script);
  font-size: 3rem;
}

.contact-soft-card h2 {
  margin-bottom: 10px;
  font-size: 2.45rem;
}

.contact-soft-card-peach h2 {
  color: var(--terracotta);
}

.contact-soft-card-green h2 {
  color: var(--green);
}

.contact-soft-card p {
  margin-top: 8px;
  color: #1f302d;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact-soft-card strong {
  font-weight: 900;
}

.contact-soft-leaf {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 70px;
  opacity: 0.72;
  mix-blend-mode: multiply;
}

/* PRIVACY */

.contact-privacy-icon-img {
  display: block;
  width: 72px;
  max-width: 72px;
  height: auto;
  transform: translateY(4px);
  object-fit: contain;
  pointer-events: none;
}

.contact-privacy-card h2 {
  margin-bottom: 2px;
  color: var(--green);
  font-size: 1.75rem;
}

.contact-privacy-card p {
  color: #1f302d;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

/* FINAL CTA */

.contact-final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1300px;
  min-height: 96px;
  margin: 0 auto;
  padding: 12px 36px 12px 18px;
  overflow: visible;
  background: linear-gradient(90deg, #fff0df, #fff8ef);
  border-radius: 12px;
}

.contact-final-cta > img:first-child {
  width: 300px;
  height: 86px;
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
}

.contact-final-cta > div {
  position: relative;
  left: -70px;
}

.contact-final-cta > div p,
.contact-final-cta > div h2 {
  white-space: nowrap;
}
.contact-final-cta p {
  margin-bottom: 6px;
  color: var(--terracotta);
  font-family: var(--script);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.contact-final-cta h2 {
  color: var(--green);
  font-size: clamp(2rem, 3vw, 3.5rem);
  text-align: center;
}

.contact-final-cta .btn {
  min-width: 270px;
  min-height: 66px;
  font-family: var(--script);
  font-size: 2.5rem;
  font-weight: 700;
}

.contact-final-flower {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 82px;
  opacity: 0.55;
  pointer-events: none;
}

.contact-final-cta .final-join-btn {
  min-width: 250px;
  min-height: 74px;
  padding: 9px 22px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  position: relative;
  left: -70px;
}

.contact-final-cta .final-join-kicker {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.contact-final-cta .final-join-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--script);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.contact-final-cta .final-join-main span {
  display: inline-block;
  margin-left: 4px;
}

.contact-method-line-img {
  display: block;
  width: 190px;
  max-width: 190px;
  height: auto;
  max-height: none;
  margin: 2px auto 0;
  object-fit: contain;
  pointer-events: none;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .contact-methods,
  .contact-location-card,
  .contact-form-card,
  .contact-two-cards,
  .contact-privacy-card,
  .contact-final-cta {
    margin-inline: 28px;
    padding-inline: 28px;
  }

  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-location-card,
  .contact-form-card,
  .contact-final-cta {
    grid-template-columns: 1fr;
  }

  .contact-location-image,
  .contact-final-cta > img:first-child {
    width: 100%;
  }

  .contact-location-btn,
  .contact-final-cta .btn {
    width: 100%;
  }
}

.contact-hesitation-decor {
  position: absolute;
  left: 400px;
  right: auto;
  bottom: 19px;
  width: 92px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 820px) {
  .contact-hero,
  .contact-intro-card,
  .contact-methods,
  .contact-two-cards,
  .contact-form-grid,
  .contact-privacy-card {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy {
    padding: 34px 24px 24px;
    text-align: center;
  }

  .contact-hero-copy p {
    margin: 0 auto;
  }

  .contact-hero-image img {
    min-height: auto;
    height: auto;
  }

  .contact-intro-card {
    margin: 18px 20px;
    text-align: center;
  }

  .contact-intro-leaf,
  .contact-card-heart {
    display: none;
  }
  .contact-location-leaf,
  .contact-soft-leaf,
  .contact-final-flower {
    display: none;
  }

  .contact-methods,
  .contact-location-card,
  .contact-form-card,
  .contact-two-cards,
  .contact-privacy-card,
  .contact-final-cta {
    margin-inline: 20px;
    padding-inline: 20px;
  }

  .contact-method-card .contact-method-line-img {
    display: block;
    width: 58px !important;
    max-width: 58px !important;
    height: auto !important;
    margin: 12px auto 0;
    object-fit: contain;
    pointer-events: none;
  }
  .contact-form-visual {
    min-height: auto;
  }

  .contact-soft-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-soft-icon {
    margin: 0 auto;
  }
}

.contact-privacy-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  column-gap: 10px;
  align-items: center;
  max-width: 1300px;
  min-height: 82px;
  margin: 0 auto 18px;
  padding: 14px 28px 14px 18px;
  background: linear-gradient(90deg, #f2f6ec, #fffaf2);
  border: 1px solid rgba(43, 98, 91, 0.22);
  border-radius: 12px;
}

.contact-privacy-shield {
  display: block;
  width: 54px;
  height: auto;
  object-fit: contain;
  align-self: center;
  margin-top: 0;
  transform: translateX(6px);
}

.contact-page .contact-location-btn,
.contact-page .contact-location-btn:hover,
.contact-page .contact-location-btn:focus,
.contact-page .contact-location-btn:active {
  transform: translateY(65px) !important;
  translate: 0 0 !important;
  top: auto !important;
  margin-top: 0 !important;
}

.contact-page .contact-coming-icon-img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex: 0 0 96px;
  position: relative;
  top: -10px;
}

.contact-page .contact-location-title,
.contact-page .contact-location-card h2 {
  display: flex;
  align-items: center;
}

.contact-page .contact-location-icon-img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-right: 18px;
  flex: 0 0 46px;
}

.contact-page .contact-time-icon-img {
  display: block;
  width: 80px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 46px;
  position: relative;
  top: -8px;
}

.contact-page .contact-location-leaf {
  position: absolute;
  width: 130px;
  height: auto;
  right: 5px;
  top: 15px;
  object-fit: contain;
  pointer-events: none;
}

.contact-page .contact-hero-line-heart {
  display: block;
  width: 250px;
  max-width: 250px;
  height: auto;
  margin: -20px 0 -10px 6px;
  object-fit: contain;
}