.contact-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero .ch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(14,41,64,0.90) 0%,
    rgba(14,41,64,0.65) 45%,
    rgba(14,41,64,0.30) 100%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.contact-hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin: 14px 0 12px;
}

.contact-hero-content p {
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  font-size: 1.08rem;
  margin-bottom: 0;
}

.contact-breadcrumb {
  position: relative;
  z-index: 2;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-top: 18px;
}

.contact-breadcrumb a { color: rgba(255,255,255,0.85); }
.contact-breadcrumb a:hover { color: var(--gold-light); }

.contact-main {
  padding: 100px 0 110px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 50px;
  align-items: start;
}

.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(25,65,105,0.07);
  padding: 46px 44px;
  position: relative;
  overflow: hidden;
}

.contact-form-panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(201,149,47,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-panel h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contact-form-panel > p.cf-sub {
  margin-bottom: 32px;
  font-size: 0.96rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .full-width { grid-column: 1 / -1; }

.form-field {
  position: relative;
  margin-bottom: 4px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-field label .req { color: var(--gold); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid rgba(25,65,105,0.14);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 0.94rem;
  color: var(--text-dark);
  background: var(--gray-bg);
  transition: var(--transition);
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,149,47,0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23194169' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-submit-row .fs-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-submit-row .fs-note i { color: var(--gold); }

.btn-gold[type="submit"] {
  border: none;
  font-size: 0.96rem;
  padding: 14px 36px;
}

.btn-gold[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Spinner shown inside button while sending */
.btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  animation: cf-spin 0.7s linear infinite;
  display: none;
}

.btn-gold.is-loading .btn-spinner { display: inline-block; }
.btn-gold.is-loading .btn-label-text { display: none; }

@keyframes cf-spin { to { transform: rotate(360deg); } }

/* Success / Error banners */
.form-alert {
  display: none;
  align-items: flex-start;
  gap: 14px;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 600;
  animation: cf-pop 0.4s ease;
}

.form-alert.show { display: flex; }

.form-alert i {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-alert.success {
  background: rgba(46,160,67,0.08);
  border: 1px solid rgba(46,160,67,0.25);
  color: #1f7a32;
}

.form-alert.success i { color: #2ea043; }

.form-alert.error {
  background: rgba(214,69,69,0.08);
  border: 1px solid rgba(214,69,69,0.25);
  color: #b73636;
}

.form-alert.error i { color: #d64545; }

@keyframes cf-pop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(201,149,47,0.22), transparent 70%);
  border-radius: 50%;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.cic-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.cic-row:last-child { margin-bottom: 0; }

.cic-row .cic-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.cic-row .cic-text span.cic-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.cic-row .cic-text a,
.cic-row .cic-text p {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.cic-row .cic-text a:hover { color: var(--gold-light); }

.cic-divider {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 22px 0;
  position: relative;
  z-index: 2;
}

.cic-social {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.cic-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.cic-social a:hover { background: var(--gold); }

/* Office hours card */
.hours-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(25,65,105,0.07);
  padding: 28px 30px;
}

.hours-card h4 {
  font-size: 1.02rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours-card h4 i { color: var(--gold); }

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(25,65,105,0.1);
  font-size: 0.88rem;
}

.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { font-weight: 700; color: var(--navy); }
.hours-row span:last-child { color: var(--text-muted); font-weight: 600; }

.hours-row.is-open span:last-child { color: #2ea043; }

/* Map embed card */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(25,65,105,0.07);
  height: 220px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(8%) contrast(1.02);
}

.pre-footer-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pre-footer-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pre-footer-banner .pfb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14,41,64,0.55) 0%,
    rgba(14,41,64,0.78) 100%);
}

.pre-footer-banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
  padding: 0 24px;
}

.pre-footer-banner-content h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 10px;
}

.pre-footer-banner-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 1rem;
}

.qc-card, .contact-form-panel, .contact-info-card, .hours-card, .map-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.qc-card.active, .contact-form-panel.active, .contact-info-card.active,
.hours-card.active, .map-card.active {
  opacity: 1;
  transform: translateY(0);
}

.main-navbar-2tier {
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 18px rgba(11,46,79,0.08);
  background: var(--white);
}

.navbar-top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(25,65,105,0.07);
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  overflow: hidden;
  max-height: 90px;
  opacity: 1;
  transition:
    max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease,
    padding 0.3s ease;
  will-change: max-height, opacity, padding;
}

.navbar-brand-center {
  transform: translateX(-350px);
  display: inline-flex;
}

.navbar-brand-center img {
  height: 65px;
}

.main-navbar-2tier.nav-collapsed .navbar-top-strip {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom: none;
  pointer-events: none;
}

.navbar-download-btn {
  position: absolute;
  right: 300px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 8px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.navbar-download-btn:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.navbar-bottom-strip {
  background: var(--white);
  border-top: 1px solid #1941690d;
}

.navbar-bottom-strip .nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 10px 24px;
  justify-content: center;
}

.navbar-bottom-strip .nav-link {
  color: var(--navy) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.navbar-bottom-strip .nav-link:hover,
.navbar-bottom-strip .nav-link.active {
  color: var(--gold) !important;
}
.navbar-bottom-strip .nav-link::after {
  background: var(--gold) !important;
}
.navbar-bottom-strip .nav-link.nav-cta {
  color: var(--white) !important;
}
.navbar-bottom-strip .nav-link.nav-cta:hover {
  color: var(--white) !important;
}
.navbar-bottom-strip .mega-dropdown li a {
  color: var(--text-dark) !important;
  opacity: 1 !important;
}
.navbar-bottom-strip .mega-dropdown li a:hover {
  color: var(--navy) !important;
}

@media (max-width: 991px) {
  .navbar-brand-center img { transform: none; }
  .navbar-download-btn { position: static; transform: none; margin-left: auto; }
  .navbar-top-strip { flex-wrap: wrap; }
}

.site-footer {
  padding: 36px 0 20px;
}
.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid-v2 {
  grid-template-columns: 1fr 0.6fr 0.7fr 1.7fr;
  align-items: start;
}

.footer-offices-compact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0px 26px;
}

.foc-col-1 { grid-column: 1; }
.foc-col-2 { grid-column: 2; }

.footer-offices-compact::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.footer-offices-compact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(30px + (100% - 30px) / 2);
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.site-footer .footer-logo {
  height: 140px;
}

.site-footer p {
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-grid-v2 h5,
.site-footer h5 {
  margin-top: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
  line-height: 1.9;
  font-size: 0.85rem;
}

.foc-heading {
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--gold-light);
  padding-bottom: 1px;
  margin-bottom: 10px;
}

.site-footer .footer-grid-v2 ul li {
  margin-bottom: 7px;
  line-height: 2.5;
}
.site-footer .footer-grid-v2 ul li a {
  font-size: 0.82rem;
}

.site-footer .footer-social a {
  width: 34px;
  height: 34px;
  font-size: 0.82rem;
}

.foc-item {
  padding: 18px 0;
}
.foc-item strong {
  display: block;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.foc-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 3px;
}
.foc-line:last-child { margin-bottom: 0; }
.foc-line i {
  color: rgba(227,184,94,0.75);
  font-size: 0.66rem;
  margin-top: 3px;
  width: 12px;
  text-align: center;
  flex-shrink: 0;
}
.foc-line span {
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.62);
}

.site-footer .footer-bottom {
  font-size: 0.76rem;
  margin-top: 18px;
  padding-top: 14px;
}