/* Baldwin Pergolas - page-contact.css
   Replacement contact questionnaire styles.
   Loaded after the legacy Bluehost theme. */

:root {
  --stone:    #2a2420;
  --warm:     #1c1714;
  --gold:     #b8966e;
  --gold-lt:  #d4b896;
  --cream:    #f5f0e8;
  --cream-dk: #e8e0d0;
  --muted:    #8a7f72;
  --white:    #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

body.page-contact-legacy {
  background: #fbf8f2;
  color: var(--stone);
  font-family: 'Open Sans', Arial, sans-serif;
  overflow-x: hidden;
}

/* Legacy Bluehost header: keep the old navbar from inheriting fixed prototype nav styles. */
body.page-contact-legacy nav.navbar.navbar-fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto;
  display: block;
  align-items: initial;
  justify-content: initial;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}
body.page-contact-legacy nav.navbar.navbar-fixed-top.scrolled {
  background: transparent;
  box-shadow: none;
}
body.page-contact-legacy .header-navigation > ul > li > a:hover,
body.page-contact-legacy .header-navigation > ul > li > a:focus,
body.page-contact-legacy .header-navigation ul > li.open > a,
body.page-contact-legacy .header-navigation ul > li.open > a:hover,
body.page-contact-legacy .header-navigation ul > li.open > a:focus {
  color: var(--gold);
  background: #fcfcfc;
}
body.page-contact-legacy .header-navigation ul > li.active > a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
body.page-contact-legacy .header-navigation .dropdown-menu > li:first-child {
  border-top-color: var(--gold);
}
body.page-contact-legacy .header-navigation .dropdown-menu li > a:hover,
body.page-contact-legacy .header-navigation .dropdown-menu li > a:focus,
body.page-contact-legacy .header-navigation .dropdown-menu li.active > a {
  background: var(--stone);
  color: var(--cream);
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
  color: var(--stone);
  background:
    radial-gradient(circle at 88% 12%, rgba(184,150,110,0.16), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(184,150,110,0.22);
}
.contact-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,110,0.65), transparent);
}
.contact-hero .container { position: relative; z-index: 1; }
.contact-hero-copy {
  max-width: 1120px;
}
.contact-eyebrow,
.section-label,
.panel-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.contact-hero h1 {
  margin: 18px 0 18px;
  color: var(--stone);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.contact-hero h1 em,
.contact-intro h2 em {
  color: var(--gold);
  font-style: italic;
}
.contact-hero p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.mike-intro {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 38px 0 0 6%;
}
.mike-card {
  flex: 0 0 288px;
  margin: 0;
  padding: 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(42,36,32,0.1);
  box-shadow: 0 12px 30px rgba(28,23,20,0.1);
}
.mike-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(184,150,110,0.22);
}
.mike-card figcaption {
  padding: 10px 2px 0;
}
.mike-card figcaption span {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.mike-card figcaption strong {
  display: block;
  margin-top: 4px;
  color: var(--stone);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 400;
}
.mike-bio {
  max-width: 560px;
}
.mike-bio-kicker {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.mike-bio p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-main { padding: 74px 0 86px; }
.contact-intro {
  max-width: 900px;
  margin-bottom: 34px;
}
.contact-intro h2 {
  margin: 14px 0 16px;
  color: var(--stone);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.contact-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.bp-alert {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid transparent;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(28,23,20,0.08);
}
.bp-alert strong { display: block; margin-bottom: 8px; }
.bp-alert ul { margin: 0; padding-left: 20px; }
.bp-alert-error {
  border-color: rgba(154,63,47,0.28);
  color: #7a3327;
  background: #fff7f4;
}
.bp-alert-success {
  border-color: rgba(184,150,110,0.45);
  color: var(--stone);
  background: #fbf8f2;
}

.questionnaire-form .row {
  display: flex;
  flex-wrap: wrap;
}
.questionnaire-form .row > [class*="col-"] {
  display: flex;
}
.question-panel {
  width: 100%;
  height: 100%;
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(42,36,32,0.08);
  box-shadow: 0 18px 46px rgba(28,23,20,0.09);
}
.client-panel { border-top: 3px solid var(--gold); }
.site-panel { border-top: 3px solid var(--stone); }
.panel-heading-block {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(42,36,32,0.1);
}
.panel-kicker-muted { color: var(--muted); }
.panel-heading-block h3 {
  margin: 10px 0 8px;
  color: var(--stone);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}
.panel-heading-block p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.question-panel .form-group { margin-bottom: 20px; }
.question-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--stone);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.required-mark { color: var(--gold); }
.question-panel .form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  color: var(--stone);
  background: #fff;
  border: 1px solid rgba(42,36,32,0.18);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.form-control { height: auto; resize: vertical; }
.question-panel .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,110,0.16);
  outline: none;
}
.question-panel .form-control::placeholder { color: #a79b8d; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.choice-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.choice-stack-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice {
  display: flex !important;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 12px;
  color: var(--stone) !important;
  background: #fbf9f5;
  border: 1px solid rgba(42,36,32,0.12);
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.35;
  text-transform: none !important;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.choice:hover {
  border-color: rgba(184,150,110,0.55);
  background: #f7f1e7;
}
.choice input {
  margin: 0;
  accent-color: var(--gold);
}

.upload-grid { align-items: stretch; }
.upload-box {
  min-height: 150px;
  padding: 18px;
  background: #fbf9f5;
  border: 1px dashed rgba(42,36,32,0.24);
}
.upload-box input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.upload-box p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.vision-group { margin-top: 4px; }

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(42,36,32,0.1);
}
.bp-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  color: var(--cream);
  background: var(--stone);
  border: 1px solid var(--gold);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.bp-submit:hover,
.bp-submit:focus {
  color: var(--warm);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.direct-contact-card {
  margin-top: 28px;
  padding: 20px;
  background: var(--stone);
  color: rgba(245,240,232,0.72);
}
.direct-contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.direct-contact-card a {
  display: block;
  color: var(--cream);
  font-size: 15px;
  line-height: 1.9;
  text-decoration: none;
}
.direct-contact-card a:hover { color: var(--gold-lt); }

.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.info-card {
  min-height: 132px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(42,36,32,0.08);
  box-shadow: 0 12px 30px rgba(28,23,20,0.07);
}
.info-card i {
  color: var(--gold);
  font-size: 20px;
}
.info-card span {
  display: block;
  margin: 12px 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.info-card a,
.info-card p {
  margin: 0;
  color: var(--stone);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
}
.info-card a:hover { color: var(--gold); }

/* Footer - same upgraded footer language as the landing page. */
footer.site-footer {
  background: var(--warm);
  border-top: 1px solid rgba(184,150,110,0.15);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { height: 32px; filter: brightness(0) invert(1); opacity: 0.6; }
.footer-tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(245,240,232,0.4);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-person {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(184,150,110,0.16);
}
.footer-person img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(184,150,110,0.45);
}
.footer-person span {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-person strong {
  display: block;
  margin-top: 4px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}
.footer-contact {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(245,240,232,0.5);
  line-height: 2;
}
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184,150,110,0.35);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--warm);
}
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(184,150,110,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-copy,
.footer-made {
  font-size: 11px;
  color: rgba(245,240,232,0.25);
  letter-spacing: 0.05em;
}

@media (max-width: 991px) {
  .contact-hero { padding: 64px 0 54px; }
  .contact-hero-copy { max-width: none; }
  .mike-intro {
    max-width: none;
    margin-left: 0;
    gap: 18px;
  }
  .mike-card { flex-basis: 220px; }
  .mike-bio p { font-size: 13px; }
  .contact-hero h1 { font-size: 44px; }
  .contact-intro h2 { font-size: 34px; }
  .question-panel { padding: 26px; margin-bottom: 24px; }
  .field-grid,
  .choice-grid,
  .choice-stack-inline,
  .contact-info-strip { grid-template-columns: 1fr; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .bp-submit { justify-content: center; width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .contact-hero h1 { font-size: 36px; }
  .mike-intro { gap: 14px; }
  .mike-card { flex-basis: 132px; padding: 8px; }
  .mike-card figcaption { display: none; }
  .mike-bio p { font-size: 12px; line-height: 1.6; }
  .contact-intro h2 { font-size: 30px; }
  .question-panel { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Legacy mobile nav: force the old header into its collapsed mobile behavior. */
@media (max-width: 1024px) {
  body.page-contact-legacy .header .mobi-toggler { display: block; }
  body.page-contact-legacy .header .header-navigation {
    float: none !important;
    display: none !important;
    clear: both;
    margin: 0 -20px 25px;
    font-size: 16px;
  }
  body.page-contact-legacy .header.menuOpened .header-navigation,
  body.page-contact-legacy .header.bp-mobile-open .header-navigation { display: block !important; }
  body.page-contact-legacy .header .header-navigation li > a:hover,
  body.page-contact-legacy .header .header-navigation li.active > a,
  body.page-contact-legacy .header .header-navigation li.open > a:hover {
    color: var(--gold) !important;
    background: none !important;
  }
}
