/* ==========================================================================
   Baby Safety Inc. — Contact page
   Sections unique to contact.html; the shell comes from site.css.
   1. hero  2. contact cards  3. message form  4. statement  5. responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.contact-hero .page-banner-inner {
  min-height: clamp(280px, 22.6vw, 326px);
}

.contact-hero h1 {
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
}

.contact-hero .page-banner-media img {
  object-position: 50% 34%;
}

/* --------------------------------------------------------------------------
   2. Contact cards
   -------------------------------------------------------------------------- */
.contact-cards {
  padding: clamp(26px, 2.4vw, 34px) 0 clamp(30px, 2.7vw, 40px);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid #e4ebf2;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.contact-card-head img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.contact-card-head strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-dark);
}

.contact-card address {
  font-size: 14px;
  font-style: normal;
  line-height: 1.62;
  color: var(--text-body);
}

.contact-card-links {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.contact-card-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text);
  transition: color var(--ease);
}

.contact-card-links a:hover,
.contact-card-links a:focus-visible {
  color: var(--navy);
}

.contact-card-links img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Reassurance panel that closes the row. */
.contact-card--note {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  border-color: #dde7f4;
  background: #eaf1fa;
  box-shadow: none;
  text-align: center;
}

.contact-card--note img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact-card--note p {
  font-size: clamp(1rem, 1.28vw, 1.15rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-dark);
}

/* --------------------------------------------------------------------------
   3. Message form
   -------------------------------------------------------------------------- */
.contact-message {
  background: #f6f9fc;
  padding: clamp(30px, 2.7vw, 40px) 0 clamp(34px, 3vw, 44px);
}

.contact-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 3.4vw, 48px);
  align-items: start;
}

.contact-message-copy h2 {
  margin-top: 2px;
  font-size: clamp(1.7rem, 2.85vw, 2.5rem);
  line-height: 1.12;
}

.contact-message-copy p {
  margin-top: 14px;
  max-width: 24rem;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-body);
}

.contact-message-still {
  margin-top: clamp(20px, 2vw, 28px);
  width: 100%;
  height: clamp(190px, 18.5vw, 266px);
  border-radius: 12px;
  object-fit: cover;
}

.contact-form-card {
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid #e4ebf2;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-form-card .form-grid {
  gap: 16px 18px;
}

.contact-form-card .field label {
  font-size: 13px;
}

.contact-form-card .field input,
.contact-form-card .field textarea,
.contact-form-card .field select {
  border-color: #d7e0e9;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14px;
}

.contact-form-card .field textarea {
  min-height: 116px;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  margin-top: 20px;
}

.contact-form-actions .btn {
  min-height: 46px;
  padding-inline: 26px;
  border-radius: 6px;
  flex-shrink: 0;
}

.contact-form-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   4. Statement
   -------------------------------------------------------------------------- */
.contact-statement .statement-band-inner {
  align-items: center;
}

.contact-statement .statement-band-media img {
  object-position: 62% 46%;
}

/* --------------------------------------------------------------------------
   5. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card--note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .contact-message-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-message-still {
    max-width: 460px;
  }

  .contact-statement .statement-band-inner {
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .contact-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-card .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .contact-form-actions .btn {
    width: 100%;
  }
}
