/*
 * thebamboostudio-v1 theme — "Contact Us" page.
 * Styles markup rendered by catalog/view/template/information/contact.twig
 * (a stock OpenCart route, restyled in place rather than ported to a bamboo
 * extension, matching how product.twig/header.twig/footer.twig were done).
 * Reuses .bb-page-head-hero + .bb-cta-band (story-page.css), .bb-pd-crumb
 * (product.css), .bb-btn / .bb-btn-filled / .bb-btn-outline (theme.css), and
 * .bb-organic + .bb-echo + blob-A/B/C (hero.css) as-is — only new classes
 * for the "find us" card and contact form are defined here.
 */

/* ============ Section spacing (same rhythm as story-page.css/how-page.css) ============
 * Each boundary is governed by exactly one side's padding (the entering
 * section's own top). The last section's bottom relies solely on the
 * footer's own margin-top, same as the other pages.
 */
.thebamboostudio-v1 .bb-contact-page > section { padding-top: clamp(3.2rem, 6vw, 5.5rem); }
.thebamboostudio-v1 .bb-contact-page .bb-page-head {
  padding-top: clamp(1.8rem, 4vw, 2.8rem);
  padding-bottom: 0; /* .bb-page-head's shared base rule (menu-page.css) sets a small
    bottom padding; zero it here so #get-in-touch's own top padding is the sole
    source of this gap (one-side-owns-the-boundary rule). */
}

/* ============ FIND US + FORM ============ */
.thebamboostudio-v1 .bb-contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .thebamboostudio-v1 .bb-contact-grid { grid-template-columns: 1fr; }
}

.thebamboostudio-v1 .bb-contact-info h2,
.thebamboostudio-v1 .bb-contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2vw + 1.2rem, 2.2rem);
  font-weight: 600;
  color: var(--color-heading);
  margin-top: .5rem;
}

.thebamboostudio-v1 .bb-contact-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.thebamboostudio-v1 .bb-contact-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.thebamboostudio-v1 .bb-contact-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thebamboostudio-v1 .bb-contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1.05rem;
}
.thebamboostudio-v1 .bb-contact-item address,
.thebamboostudio-v1 .bb-contact-item p {
  font-style: normal;
  color: var(--color-text-muted);
  margin: .2rem 0 0;
  white-space: pre-line;
}
.thebamboostudio-v1 .bb-contact-item .bb-btn { margin-top: .7rem; }

.thebamboostudio-v1 .bb-contact-other {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--color-border);
}
.thebamboostudio-v1 .bb-contact-other-label {
  font-family: var(--font-eyebrow);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-primary-light);
}
.thebamboostudio-v1 .bb-contact-other-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.thebamboostudio-v1 .bb-contact-other-item strong {
  display: block;
  font-weight: 600;
  color: var(--color-heading);
}
.thebamboostudio-v1 .bb-contact-other-item address,
.thebamboostudio-v1 .bb-contact-other-item p {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin: .15rem 0 0;
}

/* ============ FORM CARD ============ */
.thebamboostudio-v1 .bb-contact-form-wrap {
  background: var(--color-paper);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.thebamboostudio-v1 .bb-contact-form { margin-top: 1.6rem; }
.thebamboostudio-v1 .bb-contact-form .form-label {
  font-family: var(--font-eyebrow);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: .4rem;
}
.thebamboostudio-v1 .bb-contact-form .form-control {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--color-bg);
  color: var(--color-text);
}
.thebamboostudio-v1 .bb-contact-form .form-control:focus {
  border-color: var(--brand-primary-light);
  box-shadow: 0 0 0 3px rgba(124, 143, 106, 0.18);
  background: var(--color-paper);
}
.thebamboostudio-v1 .bb-contact-form .invalid-feedback { color: var(--brand-accent); font-size: var(--fs-sm); }
.thebamboostudio-v1 .bb-contact-form .is-invalid { border-color: var(--brand-accent); }
.thebamboostudio-v1 .bb-contact-form .bb-btn { margin-top: .4rem; width: 100%; justify-content: center; }

/* Breadcrumb sits above the hero with its own small top gap, matching
   the product page's placement. */
.thebamboostudio-v1 .bb-contact-page .bb-pd-crumb { padding-block: var(--space-4) 0; }
