/* Match container width to about/services pages */
.contact-hero .container,
.section-empty .container {
    width: 88% !important;
    max-width: 1300px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (max-width: 991px) {
    .contact-hero .container,
    .section-empty .container {
        width: 92% !important;
    }
}
@media (max-width: 768px) {
    .contact-hero .container,
    .section-empty .container {
        width: 92% !important;
    }
}
@media (max-width: 576px) {
    .contact-hero .container,
    .section-empty .container {
        width: 95% !important;
    }
}

/* Header Font - Consistent site-wide */
h1, h2, h3, h4 {
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-weight: bold;
}

/* Subtitle/Description Font — scoped to page content, not footer */
.contact-hero p, .section-empty p, .contact-hero-description {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: normal;
}

/* ─── Contact Hero — uses --navbar-h set by JS to stay in sync with actual navbar height ─── */
.contact-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--navbar-h, 100px) * -1);
  padding: calc(var(--navbar-h, 100px) + 60px) 0 60px;
  min-height: calc(520px + var(--navbar-h, 100px));
  display: flex;
  align-items: center;
}
.contact-hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.contact-hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}
.contact-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 58, 95, 0.9);
}
.contact-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.contact-hero-content > .row {
  display: flex;
  align-items: center;
}
.contact-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f6d00b;
}
.contact-hero-description {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: normal;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
  max-width: 540px;
}
/* Breadcrumb */
.contact-breadcrumb {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 13px;
  margin-bottom: 10px;
}
.contact-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.contact-breadcrumb .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}
.contact-breadcrumb .breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

/* Tagline */
.contact-hero-tagline {
  font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f6d00b;
  margin-bottom: 8px;
}

/* Hero CTA Buttons */
.contact-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── Contact Sidebar (glassmorphic) ─── */
.contact-sidebar {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px;
  color: #fff;
}
.contact-sidebar h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.contact-sidebar h3 i {
  margin-right: 8px;
  color: #ffc107;
}
.contact-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.contact-sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}
.contact-sidebar-list li:last-child {
  border-bottom: none;
}
.contact-sidebar-list li i {
  margin-right: 10px;
  color: #ffc107;
  width: 18px;
  text-align: center;
}
.contact-sidebar-list li a {
  color: #fff;
  text-decoration: none;
}
.contact-sidebar-list li a:hover {
  color: #f6d00b;
}

/* ─── Info Cards - Uniform Height ─── */
.contact-cards-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-cards-row > [class*="col-"] {
  display: flex;
  margin-bottom: 20px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 30px 24px;
  text-align: center;
}
.contact-card-icon {
  font-size: 2.4rem;
  color: #004aad;
  margin-bottom: 16px;
}
.contact-card h4 {
  font-size: 1.2rem;
  color: #1e3a5f;
  margin-bottom: 14px;
}
.contact-card p,
.contact-card .table {
  flex: 1;
}
.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}
.contact-card a {
  color: #004aad;
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}
.contact-card .table {
  margin-bottom: 0;
  font-size: 0.9rem;
  width: 100%;
}
.contact-card .table th,
.contact-card .table td {
  padding: 8px 10px;
  border-top: 1px solid #eee;
  text-align: left;
}
.contact-card .table th {
  color: #1e3a5f;
  font-weight: 600;
}
.contact-card .table td {
  color: #555;
}

/* ─── Map Section ─── */
.contact-map-section {
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}
.contact-map-section iframe {
  display: block;
}

/* ─── CTA Section ─── */
.contact-cta-section {
  background: #1e3a5f;
  padding: 40px 0;
}
.contact-cta-title {
  color: #f6d00b;
  margin-bottom: 15px;
}
.contact-cta-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 22px;
}
.contact-cta-buttons {
  margin-bottom: 20px;
  text-align: center;
}
.contact-cta-btn-primary {
  background: #ffffff;
  color: #004aad;
  margin: 0 6px 10px;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 15px;
  display: inline-block;
  min-height: 44px;
}
.contact-cta-btn-primary:hover {
  background: #e8eef5;
  color: #004aad;
}
.contact-cta-btn-whatsapp {
  background: transparent;
  color: #fff;
  border: 2px solid #25D366;
  margin: 0 6px 10px;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 15px;
  display: inline-block;
  min-height: 44px;
}
.contact-cta-btn-whatsapp:hover {
  background: #25D366;
  color: #fff;
}

/* ─── CTA Social Icon ─── */
.contact-cta-social {
  margin-top: 24px;
}
.contact-cta-social a {
  color: rgba(255,255,255,0.7);
  font-size: 1.6rem;
  transition: color 0.3s ease;
}
.contact-cta-social a:hover {
  color: #f6d00b;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .contact-hero-content > .row { display: block; }
  .contact-sidebar { margin-top: 25px; }
  .contact-cards-row { display: flex; flex-wrap: wrap; }
  .contact-cards-row > [class*="col-"] { display: flex; flex: 0 0 33.333%; max-width: 33.333%; }
  .contact-card { width: 100%; }
}
@media (max-width: 811px) {
  .contact-cards-row { flex-direction: column; }
  .contact-cards-row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; width: 100% !important; }
}
@media (max-width: 768px) {
  .contact-hero { padding: calc(var(--navbar-h, 76px) + 30px) 0 35px; min-height: auto; }
  .contact-hero-title { font-size: 1.8rem; }
  .contact-hero-tagline { font-size: 13px; letter-spacing: 1px; }
  .contact-hero-description { font-size: 1rem; line-height: 1.6; }
  .contact-breadcrumb { font-size: 12px; margin-bottom: 8px; }
  .hero-btn { padding: 10px 24px; font-size: 13px; }
  .section-empty .container.content { padding-top: 30px; padding-bottom: 0; }
  .contact-cta-section { padding: 30px 0; }
  .contact-cta-desc { font-size: 14px; }
  .contact-cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .contact-cta-btn-primary,
  .contact-cta-btn-whatsapp { width: 100%; max-width: 280px; margin: 0; text-align: center; }
  .contact-map-section iframe { height: 300px; }
}
@media (max-width: 576px) {
  .contact-hero { padding: calc(var(--navbar-h, 62px) + 25px) 0 30px; min-height: auto; }
  .contact-hero-title { font-size: 1.5rem; }
  .contact-hero-tagline { font-size: 12px; letter-spacing: 0.8px; }
  .contact-hero-description { font-size: 0.95rem; line-height: 1.5; }
  .contact-breadcrumb { font-size: 11px; margin-bottom: 6px; }
  .hero-btn { padding: 10px 18px; font-size: 12px; }
  .contact-cta-section { padding: 24px 0; }
  .contact-cta-btn-primary,
  .contact-cta-btn-whatsapp { max-width: 100%; padding: 12px 16px; font-size: 13px; }
  .contact-map-section iframe { height: 250px; }
  .contact-card { padding: 24px 18px; }
}
