/*
 * Brecollive Contact UI polish • 2026-11-22
 * Scoped to the existing .bc-contact React page.
 * Safe to append after the existing stylesheets; no checkout or API changes.
 */
.bc-contact {
  --bcp-ink: #102f43;
  --bcp-muted: #5c7182;
  --bcp-blue: #078fc6;
  --bcp-blue-deep: #076f9f;
  --bcp-gold: #c49b45;
  --bcp-border: #dfeaf2;
  --bcp-shadow: 0 16px 38px rgba(13, 54, 79, .075);
  background: #f7fafc;
  color: var(--bcp-ink);
}
.bc-contact .bc-contact-shell {
  width: min(1220px, calc(100% - 64px));
}
/* Lead hero: premium, airy but not oversized. */
.bc-contact .bc-contact-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(52px, 6vw, 84px) 0;
  overflow: hidden;
  background: linear-gradient(124deg, #f5fafd 0%, #edf6fb 51%, #fdfdfe 100%);
}
.bc-contact .bc-contact-hero::before {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: -1;
  right: -130px;
  top: -230px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 164, 206, .14), transparent 67%);
}
.bc-contact .bc-contact-hero-layout {
  gap: clamp(28px, 4.5vw, 64px);
}
.bc-contact .bc-contact-kicker {
  color: #9a7228;
  font-weight: 800;
  letter-spacing: .12em;
}
.bc-contact .bc-contact-hero-copy > .bc-contact-kicker,
.bc-contact .bc-contact-heading > .bc-contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff9e9;
  border: 1px solid #f0ddb0;
  font-size: 11px;
}
.bc-contact .bc-contact-hero-copy > .bc-contact-kicker::before,
.bc-contact .bc-contact-heading > .bc-contact-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bcp-gold);
}
.bc-contact .bc-contact-hero h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  max-width: 630px;
  line-height: 1.09;
  letter-spacing: -.045em;
  margin: 18px 0 19px;
}
.bc-contact .bc-contact-hero h1 em,
.bc-contact .bc-contact-heading h2 em,
.bc-contact .bc-contact-form-intro h2 em {
  font-style: normal;
  color: var(--bcp-blue-deep);
}
.bc-contact .bc-contact-hero-copy > p {
  line-height: 1.68;
  max-width: 600px;
}
.bc-contact .bc-contact-hero-actions { margin: 24px 0 20px; }
.bc-contact .bc-contact-photo {
  border: 1px solid rgba(212, 231, 241, .9);
  border-radius: 28px;
  background: #fff;
  padding: 9px;
  box-shadow: var(--bcp-shadow);
  min-height: 0;
}
.bc-contact .bc-contact-photo img {
  border-radius: 20px;
  height: clamp(315px, 33vw, 455px);
}
.bc-contact .bc-contact-photo figcaption {
  bottom: 22px;
  left: 22px;
  right: 22px;
}
/* Reach-us cards: intentional heights, readable content and no overlapping directions button. */
.bc-contact .bc-contact-section.bc-contact-shell {
  padding-block: clamp(44px, 5vw, 72px);
}
.bc-contact .bc-contact-heading {
  max-width: 850px;
  margin-bottom: 26px;
}
.bc-contact .bc-contact-heading h2 {
  margin: 15px 0 0;
  line-height: 1.14;
  font-size: clamp(31px, 3.45vw, 47px);
  letter-spacing: -.04em;
}
.bc-contact .bc-contact-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.bc-contact .bc-contact-info {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--bcp-border);
  border-radius: 22px;
  box-shadow: var(--bcp-shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
  .bc-contact .bc-contact-info:hover {
    transform: translateY(-3px);
    border-color: #b7d8e9;
    box-shadow: 0 20px 45px rgba(13, 54, 79, .11);
  }
}
.bc-contact .bc-contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 23px;
  right: 23px;
  height: 3px;
  background: linear-gradient(90deg, var(--bcp-blue), transparent);
  border-radius: 0 0 4px 4px;
  opacity: .6;
}
.bc-contact .bc-contact-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--bcp-blue-deep);
  background: #eaf7fc;
  box-shadow: none;
}
.bc-contact .bc-contact-icon svg {width: 21px;height: 21px;}
.bc-contact .bc-contact-info h3 {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.3;
  margin: 17px 0 9px;
  letter-spacing: -.025em;
}
.bc-contact .bc-contact-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bcp-muted);
  margin: 0 0 9px;
  overflow-wrap: anywhere;
}
.bc-contact .bc-contact-info a[href^="tel:"],
.bc-contact .bc-contact-info a[href^="mailto:"] {
  margin-top: auto;
  text-decoration: none;
  color: #006fa4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #8bc9df;
}
.bc-contact .bc-contact-small-note,
.bc-contact .bc-coast-note {
  display: block;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #697d8d !important;
  margin: 2px 0 0 !important;
  overflow-wrap: anywhere;
}
.bc-contact .bc-map-button {
  position: static !important;
  inset: auto !important;
  float: none !important;
  margin: 12px 0 8px !important;
  min-height: 39px;
  display: inline-flex;
  width: auto;
  max-width: 100%;
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff !important;
  background: #097cad;
  box-shadow: none;
  text-decoration: none;
}
.bc-contact .bc-map-button:hover { background: #075c83; }
/* Give the third card sufficient room for the full Nairobi address. */
.bc-contact .bc-contact-info:nth-child(3) { min-height: 280px; }
.bc-contact .bc-contact-button {
  min-height: 46px;
  border-radius: 12px;
  padding: 12px 19px;
  box-shadow: none;
}
.bc-contact .bc-contact-button-primary {
  background: #078ac1;
  color: #fff;
}
.bc-contact .bc-contact-button-primary:hover {background:#086f9e;}
/* Inquiry section: an editorial navy help panel beside an easy-to-read white form. */
.bc-contact .bc-contact-form-section {
  padding: clamp(48px, 5.5vw, 78px) 0;
  background: linear-gradient(140deg, #eef6fb 0%, #f7fafc 100%);
}
.bc-contact .bc-contact-form-layout {
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: stretch;
}
.bc-contact .bc-contact-form-intro {
  padding: clamp(24px, 3.1vw, 42px);
  border-radius: 27px;
  background: linear-gradient(145deg, #0a344e 0%, #0d4965 100%);
  box-shadow: 0 18px 44px rgba(7, 56, 79, .13);
  color: #e9f3f8;
}
.bc-contact .bc-contact-form-intro > .bc-contact-kicker {color:#ebcd8b;}
.bc-contact .bc-contact-form-intro h2 {
  color: white;
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.13;
  margin: 14px 0 18px;
}
.bc-contact .bc-contact-form-intro h2 em {color:#6fd1ef;}
.bc-contact .bc-contact-form-intro > p {color:#d4e6f0;line-height:1.72;}
.bc-contact .bc-contact-mini-card {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 17px;
  box-shadow: none;
  padding: 17px;
  color: #f7fbff;
  margin-top: 13px;
}
.bc-contact .bc-contact-mini-card > svg {color:#e9c980;}
.bc-contact .bc-contact-mini-card strong {color:#fff;}
.bc-contact .bc-contact-mini-card p {color:#d3e6f0;line-height:1.55;font-size:14px;}
.bc-contact .bc-contact-mini-card button {color:#8bdef5;}
.bc-contact .bc-contact-form {
  padding: clamp(24px, 3.1vw, 38px);
  border: 1px solid #dce9f2;
  border-radius: 27px;
  background: #fff;
  box-shadow: var(--bcp-shadow);
}
.bc-contact .bc-contact-form h3 {
  font-size: clamp(24px, 2.1vw, 30px);
  letter-spacing: -.03em;
  margin: 0 0 6px;
}
.bc-contact .bc-contact-form > p {font-size:14px;margin:0 0 22px;}
.bc-contact .bc-contact-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 13px;
  row-gap: 15px;
}
.bc-contact .bc-contact-fields label {
  min-width: 0;
  gap: 7px;
  font-weight: 700;
  color: #28495a;
}
.bc-contact .bc-contact-fields label:last-child {grid-column:1/-1;}
.bc-contact .bc-contact-fields input,
.bc-contact .bc-contact-fields textarea {
  border: 1px solid #cadce7;
  border-radius: 12px;
  background: #fbfdff;
  box-shadow: none;
  padding: 12px 14px;
  min-height: 47px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bc-contact .bc-contact-fields textarea {min-height: 145px;}
.bc-contact .bc-contact-fields input:focus,
.bc-contact .bc-contact-fields textarea:focus {
  outline: none;
  border-color: #168dbd;
  box-shadow: 0 0 0 3px rgba(10,146,195,.15);
}
.bc-contact .bc-contact-submit {border-radius:12px;margin-top:20px;min-height:49px;}
/* FAQs and final CTA: consistent visual system. */
.bc-contact .bc-contact-faq-grid {gap:14px;}
.bc-contact .bc-contact-faq {
  background:#fff;
  border:1px solid var(--bcp-border);
  border-radius:19px;
  box-shadow: 0 8px 24px rgba(14,58,80,.05);
  padding:24px;
}
.bc-contact .bc-contact-faq h3 {font-size:18px;margin:0 0 8px;}
.bc-contact .bc-contact-faq p {color:var(--bcp-muted);}
.bc-contact .bc-contact-bottom {
  padding:clamp(43px,5vw,65px) 0;
  background: linear-gradient(105deg, #092f45, #0e5477);
}
.bc-contact .bc-contact-bottom h2 {font-size:clamp(28px,3.1vw,44px);}
.bc-contact a:focus-visible,
.bc-contact button:focus-visible {
  outline: 3px solid #e3ab48;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .bc-contact .bc-contact-info-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .bc-contact .bc-contact-info {min-height:225px;}
  .bc-contact .bc-contact-info:nth-child(3){min-height:225px;}
}
@media (max-width: 800px) {
  .bc-contact .bc-contact-shell {width:min(calc(100% - 36px), 620px);}
  .bc-contact .bc-contact-hero-layout,
  .bc-contact .bc-contact-form-layout {grid-template-columns:minmax(0,1fr);}
  .bc-contact .bc-contact-hero {padding:45px 0 53px;}
  .bc-contact .bc-contact-photo img {height:320px;}
  .bc-contact .bc-contact-form-intro {padding:27px;}
  .bc-contact .bc-contact-form {padding:26px;}
  .bc-contact .bc-contact-form-section {padding:46px 0;}
}
@media (max-width: 600px) {
  .bc-contact .bc-contact-shell {width:calc(100% - 28px);}
  .bc-contact .bc-contact-info-grid {grid-template-columns:minmax(0,1fr);gap:12px;}
  .bc-contact .bc-contact-info,
  .bc-contact .bc-contact-info:nth-child(3) {min-height:0;padding:22px;}
  .bc-contact .bc-contact-info h3 {font-size:19px;margin:12px 0 7px;}
  .bc-contact .bc-contact-heading h2 {font-size:clamp(29px,8.5vw,38px);}
  .bc-contact .bc-contact-hero h1 {font-size:clamp(35px,10vw,47px);}
  .bc-contact .bc-contact-hero-actions .bc-contact-button {width:100%;}
  .bc-contact .bc-contact-fields {grid-template-columns:minmax(0,1fr);}
  .bc-contact .bc-contact-fields label:last-child {grid-column:auto;}
  .bc-contact .bc-contact-form-intro,
  .bc-contact .bc-contact-form {border-radius:22px;padding:22px;}
  .bc-contact .bc-contact-form-section {padding:32px 0;}
  .bc-contact .bc-contact-section.bc-contact-shell {padding-block:40px;}
  .bc-contact .bc-contact-photo img {height:245px;}
}
@media (prefers-reduced-motion:reduce) {
  .bc-contact .bc-contact-info {transition:none;}
  .bc-contact .bc-contact-info:hover {transform:none;}
}
