/* ============================================================
   BYPLAN — contact.css (v1)
   Purpose: make the contact section look structured and premium
   ============================================================ */

#contact .container.two-col{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
  position: relative;
}

#contact .contact-cards{
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

#contact .contact-card{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  grid-template-areas: "icon body actions";
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}

#contact .contact-card__icon{
  grid-area: icon;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(110,76,61,.08);
  border: 1px solid rgba(110,76,61,.18);
}

#contact .contact-card__icon svg{
  width: 22px;
  height: 22px;
  stroke: var(--brand);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#contact .contact-card__title{
  font-weight: 800;
  letter-spacing: -0.01em;
}

#contact .contact-card__text{
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

#contact .contact-card__actions{
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
}

#contact .contact-card__cta{
  white-space: nowrap;
}

#contact .contact-card__body{
  grid-area: body;
}

#contact .contact-form-card{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

#contact .contact-form-card__title{
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

#contact .contact-form-card__subtitle{
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

#contact .contact-form-card .btn{
  margin-top: 8px;
}

#contact .contact-next{
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0,0,0,.12);
  background: rgba(0,0,0,.02);
}

#contact .contact-next__title{
  font-weight: 700;
  margin-bottom: 8px;
}

#contact .contact-next__list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

#contact .contact-next__list li{
  margin: 0 0 6px 0;
}

/* Subtle divider between columns */
#contact .contact-form-card::before{
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -12px;
  width: 1px;
  background: rgba(0,0,0,.08);
}

#contact h2{
  margin-bottom: 10px;
}

#contact .muted{
  line-height: 1.6;
}

#contact .smallprint{
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 980px){
  #contact .container.two-col{
    grid-template-columns: 1fr;
  }
  #contact .contact-form-card::before{
    display: none;
  }
}

@media (max-width: 720px){
  #contact .contact-card{
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon body"
      "actions actions";
  }
  #contact .contact-card__icon{
    width: 40px;
    height: 40px;
  }
  #contact .contact-card__actions{
    justify-content: flex-start;
  }
}
