/**
 * Brookfield Group Switzerland — Premium Contact & Enquiry Experience
 * Designed to strictly match Brookfield School of Computing Reference Render
 * Multi-Tenant Architecture (BBS · BSC · BSHS)
 * Author: Antigravity DeepMind Team
 * Version: 1.0 · October 2026
 */

:root {
  --bc-navy: #061D3B;
  --bc-navy-dark: #04142B;
  --bc-navy-surface: #09264C;
  --bc-gold: #C89D45;
  --bc-gold-warm: #E8C777;
  --bc-gold-soft: rgba(200, 157, 69, 0.15);
  --bc-gold-border: rgba(200, 157, 69, 0.35);
  
  --bc-paper: #F8F9FA;
  --bc-white: #FFFFFF;
  --bc-border: #E2E8F0;
  --bc-border-subtle: #EDF2F7;
  
  --bc-text-dark: #0F172A;
  --bc-text-muted: #64748B;
  --bc-text-light: #94A3B8;
  
  /* School Accent Fallbacks */
  --bc-accent: #254B7C; /* BSC Blue */
  --bc-accent-soft: rgba(37, 75, 124, 0.08);
  
  --bc-radius-sm: 6px;
  --bc-radius-md: 10px;
  --bc-radius-lg: 14px;
  
  --bc-shadow-card: 0 10px 30px rgba(6, 29, 59, 0.06);
  --bc-shadow-hover: 0 16px 36px rgba(6, 29, 59, 0.12);
  
  --bc-font-serif: 'Cormorant Garamond', Georgia, serif;
  --bc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bc-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tenant Scoped Accents */
.bc-contact--bbs {
  --bc-accent: #A51C30; /* BBS Crimson / Burgundy */
  --bc-accent-soft: rgba(165, 28, 48, 0.08);
}

.bc-contact--bsc {
  --bc-accent: #254B7C; /* BSC Technology Blue */
  --bc-accent-soft: rgba(37, 75, 124, 0.08);
}

.bc-contact--bshs {
  --bc-accent: #247E86; /* BSHS Clinical Teal */
  --bc-accent-soft: rgba(36, 126, 134, 0.08);
}

/* Base Wrapper */
.bc-contact {
  font-family: var(--bc-font-sans);
  color: var(--bc-text-dark);
  background-color: var(--bc-paper);
  position: relative;
  overflow-x: hidden;
}

.bc-container {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

/* ================= 1. CINEMATIC HERO ================= */
.bc-hero {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  padding: 60px 0;
  color: var(--bc-white);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

.bc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 29, 59, 0.94) 0%, rgba(6, 29, 59, 0.86) 45%, rgba(6, 29, 59, 0.45) 85%, rgba(6, 29, 59, 0.25) 100%);
  z-index: 1;
}

.bc-hero .bc-container {
  position: relative;
  z-index: 2;
}

.bc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
}

.bc-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bc-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bc-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--bc-gold);
}

.bc-hero-title,
.bc-contact .bc-hero-title,
.bc-contact h1.bc-hero-title {
  font-family: var(--bc-font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: #FFFFFF !important;
  margin: 0 0 18px 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.bc-gold-text {
  color: var(--bc-gold) !important;
  font-style: italic;
}

.bc-hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #F1F5F9 !important;
  max-width: 620px;
  margin: 0 0 28px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.bc-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.bc-benefit-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bc-benefit-chip i {
  color: var(--bc-gold);
  font-size: 0.875rem;
}

/* Hero Floating Card (Right) */
.bc-hero-card {
  background: #FFFFFF;
  border-radius: var(--bc-radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 45px rgba(6, 29, 59, 0.25);
  color: var(--bc-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.bc-hero-card-title {
  font-family: var(--bc-font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bc-navy);
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.bc-hero-card-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bc-text-muted);
  margin: 0 0 22px 0;
}

.bc-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--bc-gold);
  color: #071E39;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: var(--bc-radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--bc-transition);
}

.bc-btn-gold:hover {
  background: var(--bc-gold-warm);
  color: #04142B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 157, 69, 0.35);
}

/* ================= 2. QUICK CONTACT MODES (4 CARDS) ================= */
.bc-modes-section {
  padding: 40px 0 0 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.bc-modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bc-mode-card {
  background: #FFFFFF;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-md);
  padding: 24px;
  box-shadow: var(--bc-shadow-card);
  transition: var(--bc-transition);
  display: flex;
  flex-direction: column;
}

.bc-mode-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bc-shadow-hover);
  border-color: var(--bc-gold-border);
}

.bc-mode-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bc-gold-soft);
  color: var(--bc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.bc-mode-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bc-navy);
  margin: 0 0 6px 0;
}

.bc-mode-desc {
  font-size: 0.8125rem;
  color: var(--bc-text-muted);
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.bc-mode-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bc-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--bc-transition);
}

.bc-mode-link:hover {
  color: var(--bc-gold);
}

.bc-mode-link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.bc-mode-link:hover i {
  transform: translateX(3px);
}

/* ================= 3. MAIN INTERACTION ZONE (FORM + SIDEBAR) ================= */
.bc-interaction-section {
  padding: 48px 0;
}

.bc-interaction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
}

/* Form Card */
.bc-form-card {
  background: #FFFFFF;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  padding: 40px;
  box-shadow: var(--bc-shadow-card);
}

.bc-form-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--bc-border-subtle);
  padding-bottom: 20px;
}

.bc-form-title {
  font-family: var(--bc-font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--bc-navy);
  margin: 0 0 6px 0;
}

.bc-form-subtitle {
  font-size: 0.9375rem;
  color: var(--bc-text-muted);
  margin: 0;
}

/* Form Rows & Fields */
.bc-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.bc-field-single {
  margin-bottom: 20px;
}

.bc-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bc-navy);
  margin-bottom: 7px;
}

.bc-field-label .required {
  color: #DC2626;
  font-weight: bold;
}

.bc-form-card .form-control,
.bc-input,
.bc-select,
.bc-textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-sm);
  padding: 10px 14px;
  font-size: 0.9375rem;
  color: var(--bc-text-dark);
  background-color: #FFFFFF;
  transition: var(--bc-transition);
}

.bc-form-card textarea.form-control,
.bc-textarea {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

.bc-form-card .form-control:focus,
.bc-input:focus,
.bc-select:focus,
.bc-textarea:focus {
  border-color: var(--bc-gold);
  box-shadow: 0 0 0 3px var(--bc-gold-soft);
  outline: none;
}

/* International Phone Input Group */
.bc-phone-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-sm);
  background: #FFFFFF;
  transition: var(--bc-transition);
  overflow: hidden;
}

.bc-phone-group:focus-within {
  border-color: var(--bc-gold);
  box-shadow: 0 0 0 3px var(--bc-gold-soft);
}

.bc-phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--bc-paper);
  border-right: 1px solid var(--bc-border);
  height: 48px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bc-navy);
  flex-shrink: 0;
  user-select: none;
}

.bc-phone-input {
  border: none !important;
  box-shadow: none !important;
  height: 48px;
  padding: 0 14px;
  width: 100%;
}

.bc-phone-input:focus {
  outline: none !important;
}

/* Character Counter */
.bc-textarea-wrapper {
  position: relative;
}

.bc-char-counter {
  text-align: right;
  font-size: 0.75rem;
  color: var(--bc-text-light);
  margin-top: 5px;
}

/* Submit Button */
.bc-submit-btn {
  background: var(--bc-gold);
  border: none;
  color: #071E39;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: var(--bc-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--bc-transition);
  box-shadow: 0 4px 14px rgba(200, 157, 69, 0.25);
}

.bc-submit-btn:hover {
  background: var(--bc-gold-warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 157, 69, 0.35);
}

/* Sidebar Column */
.bc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Dark Navy Contact Information Card */
.bc-info-card {
  background: var(--bc-navy);
  color: #FFFFFF;
  border-radius: var(--bc-radius-lg);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--bc-shadow-card);
}

.bc-info-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: url('../images/brookfield/bsc_logo_official_white.png') no-repeat center;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
}

.bc-info-card-title {
  font-family: var(--bc-font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
}

.bc-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.bc-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(200, 157, 69, 0.15);
  color: var(--bc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.bc-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bc-gold);
  margin-bottom: 4px;
  display: block;
}

.bc-info-value {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #E2E8F0;
  margin: 0;
}

.bc-info-value a {
  color: #E2E8F0;
  text-decoration: none;
  transition: color 0.2s;
}

.bc-info-value a:hover {
  color: var(--bc-gold);
}

.bc-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bc-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--bc-transition);
}

.bc-social-btn:hover {
  background: var(--bc-gold);
  color: var(--bc-navy);
  transform: translateY(-2px);
}

/* Map Card */
.bc-map-card {
  background: #FFFFFF;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-card);
}

.bc-map-visual {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-map-pin {
  background: #FFFFFF;
  border-radius: 50px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bc-navy);
}

.bc-map-pin i {
  color: #DC2626;
  font-size: 1rem;
}

.bc-map-footer {
  padding: 16px 20px;
  background: #FFFFFF;
  text-align: center;
  border-top: 1px solid var(--bc-border-subtle);
}

.bc-map-btn {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bc-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--bc-transition);
}

.bc-map-btn:hover {
  color: var(--bc-gold);
}

/* ================= 4. SECONDARY HELP / EDITORIAL CARDS ================= */
.bc-editorial-section {
  padding: 20px 0 48px 0;
}

.bc-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bc-editorial-card {
  background: #FFFFFF;
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: var(--bc-shadow-card);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: var(--bc-transition);
}

.bc-editorial-card:hover {
  box-shadow: var(--bc-shadow-hover);
  border-color: var(--bc-gold-border);
}

.bc-editorial-photo {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.bc-editorial-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bc-editorial-title {
  font-family: var(--bc-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bc-navy);
  margin: 0 0 8px 0;
}

.bc-editorial-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--bc-text-muted);
  margin: 0 0 16px 0;
}

.bc-btn-editorial {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--bc-gold-soft);
  color: var(--bc-navy);
  border-radius: var(--bc-radius-sm);
  text-decoration: none;
  transition: var(--bc-transition);
}

.bc-btn-editorial:hover {
  background: var(--bc-gold);
  color: #071E39;
}

/* ================= 5. FREQUENTLY ASKED QUESTIONS ================= */
.bc-faq-section {
  padding: 48px 0 60px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--bc-border);
  border-bottom: 1px solid var(--bc-border);
}

.bc-faq-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.bc-faq-title {
  font-family: var(--bc-font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--bc-navy);
  margin: 0;
}

.bc-faq-all-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bc-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.bc-faq-all-link:hover {
  color: var(--bc-gold);
}

.bc-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bc-faq-item {
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-md);
  background: #FFFFFF;
  overflow: hidden;
  transition: var(--bc-transition);
}

.bc-faq-item:hover {
  border-color: var(--bc-gold-border);
}

.bc-faq-question {
  padding: 18px 20px;
  background: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bc-navy);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bc-faq-icon {
  font-size: 0.875rem;
  color: var(--bc-text-muted);
  transition: transform 0.25s ease;
}

.bc-faq-item.open .bc-faq-icon {
  transform: rotate(45deg);
  color: var(--bc-gold);
}

.bc-faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--bc-text-muted);
  display: none;
}

.bc-faq-item.open .bc-faq-answer {
  display: block;
}

/* ================= 6. FINAL ASSISTANCE CTA BAND ================= */
.bc-cta-band {
  background-color: var(--bc-navy-dark);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 44px 0;
  color: #FFFFFF;
}

.bc-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 29, 59, 0.92);
  z-index: 1;
}

.bc-cta-band .bc-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.bc-cta-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bc-cta-headphone-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200, 157, 69, 0.15);
  color: var(--bc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.bc-cta-heading {
  font-family: var(--bc-font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.bc-cta-sub {
  font-size: 0.875rem;
  color: #CBD5E1;
  margin: 0;
}

.bc-cta-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bc-btn-chat {
  background: var(--bc-gold);
  color: #071E39;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--bc-radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--bc-transition);
}

.bc-btn-chat:hover {
  background: var(--bc-gold-warm);
  color: #04142B;
}

.bc-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  color: #FFFFFF;
}

.bc-whatsapp-icon {
  color: #25D366;
  font-size: 1.5rem;
}

.bc-whatsapp-meta {
  display: flex;
  flex-direction: column;
}

.bc-whatsapp-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
}

.bc-whatsapp-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .bc-modes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bc-hero-grid {
    grid-template-columns: 1fr;
  }
  .bc-interaction-grid {
    grid-template-columns: 1fr;
  }
  .bc-editorial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bc-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bc-editorial-card {
    grid-template-columns: 1fr;
  }
  .bc-editorial-photo {
    height: 180px;
  }
  .bc-faq-grid {
    grid-template-columns: 1fr;
  }
  .bc-cta-band .bc-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .bc-container {
    width: min(100% - 32px, 1320px);
  }
  .bc-modes-grid {
    grid-template-columns: 1fr;
  }
  .bc-form-card {
    padding: 24px 18px;
  }
  .bc-hero {
    padding: 40px 0;
  }
  .bc-hero-title {
    font-size: 2rem;
  }
}
