/* =========================================================
   CONTACT PAGE — SINGLE WRAP CARD / MATCHED HEIGHT PANELS
========================================================= */

.contact-page{
  padding: 0 0 18px;
  background: #fff;
}

.contact-hero{
  padding: 34px 0 40px;
  background:
    radial-gradient(900px 520px at 8% 18%, rgba(11,42,91,.08), transparent 60%),
    radial-gradient(900px 520px at 92% 16%, rgba(60,120,140,.08), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

/* OUTER SINGLE CARD */

.contact-shell{
  background: rgba(245,247,251,.95);
  border: 1px solid rgba(231,235,243,.95);
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(11,18,32,.08);
}

/* TWO-COLUMN INNER LAYOUT */

.contact-layout{
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  align-items: stretch;   /* already there — keep */
}

.contact-panel{
  height: 100%;          /* CRITICAL */
  border-radius: 24px;
}

.contact-panel--form{  
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.contact-panel--office{  
  padding: 30px;
  display: flex;
}

/* LEFT: FORM */

.contact-title{
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 950;
  letter-spacing: -0.8px;
  color: var(--ink);
}

.contact-sub{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact-form{
  margin-top: 18px;
  flex: 1;
  display: flex;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.form-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label{
  font-weight: 800;
  color: var(--ink-2);
  font-size: 13px;
}

.form-row input,
.form-row textarea{
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(11,42,91,.20);
  background: #ffffff;
  font-size: 15px;
  outline: none;
  transition: border .15s ease, box-shadow .15s ease;
}

.form-row input:focus,
.form-row textarea:focus{
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(11,42,91,.12);
}

.form-row--full{
  grid-column: 1 / -1;
}

.form-row--full textarea{
  min-height: 190px;
  resize: vertical;
}

.btn--full{
  width: 100%;
}

.contact-confirm{
  display: none;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 800;
  text-align: center;
  background: rgba(11,42,91,.08);
  color: var(--navy);
  border: 1px solid rgba(11,42,91,.15);
}

/* RIGHT: OFFICE */

.office-card{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}

.office-img{
  margin-bottom: 16px;
}

.office-img img{
  width: 100%;
  height: 305px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 26px rgba(11,18,32,.10);
}

.office-body{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.office-city{
  margin: 6px 0 12px;
  font-size: 40px;
  font-weight: 950;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.office-addr{
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.45;
}

.office-phone{
  margin: 0 auto 22px;
  width: 100%;
  max-width: 420px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  padding: 18px 18px;
  font-weight: 950;
  font-size: 24px;
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 16px 34px rgba(11,42,91,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.office-phone:hover{
  transform: translateY(-1px);
  background: var(--navy-2);
  box-shadow: 0 18px 44px rgba(11,42,91,.22);
}

.office-extra{
  margin-top: auto;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.8;
  font-size: 16px;
}

/* RESPONSIVE */

@media (max-width: 980px){
  .contact-layout{
    grid-template-columns: 1fr;
  }

  .office-img img{
    height: 260px;
  }
}

@media (max-width: 640px){
  .contact-shell{
    padding: 14px;
    border-radius: 24px;
  }

  .contact-panel--form,
  .contact-panel--office{
    padding: 14px;
    border-radius: 18px;
  }

  .contact-title{
    font-size: 34px;
  }

  .office-city{
    font-size: 30px;
  }

  .office-phone{
    font-size: 20px;
    padding: 16px 14px;
  }

  .office-img img{
    height: 220px;
    border-radius: 16px;
  }
}