/* Hero */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 38vw, 320px);
  background-image: url("../image/contactsBanner.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.36));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  transform: translateY(clamp(-12px, -2vw, -6px));
  width: min(94vw, 1100px);
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 4.25rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-breadcrumb {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.hero-breadcrumb a:hover {
  color: #fff;
}

.hero-breadcrumb span {
  margin: 0 0.45rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
body.page-contact .contact-section {
  background: #fff;
  padding: clamp(24px, 5vw, 40px) 0;
}

body.page-contact .contact-section .container {
  padding-inline: clamp(12px, 4vw, 40px);
}

body.page-contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

body.page-contact .contact-heading {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 2vw, 18px);
  margin-bottom: clamp(12px, 2.4vw, 22px);
}

body.page-contact .contact-heading h2 {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.125rem, 2.8vw, 1.375rem);
  color: #333;
}

body.page-contact .contact-heading .heading-line {
  flex: 1;
  border: 0;
  border-top: 1px solid #e6e9ef;
}

body.page-contact .quote-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
}

body.page-contact .quote-form .form-control input,
body.page-contact .quote-form .form-control textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: clamp(10px, 2vw, 12px) clamp(10px, 2.2vw, 14px);
  font-size: clamp(0.875rem, 1.7vw, 0.95rem);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.page-contact .quote-form .form-control textarea {
  resize: vertical;
  min-height: clamp(120px, 24vw, 160px);
}

body.page-contact .quote-form .form-control input::placeholder,
body.page-contact .quote-form .form-control textarea::placeholder {
  color: #9aa0a6;
}

body.page-contact .quote-form .form-control input:focus,
body.page-contact .quote-form .form-control textarea:focus {
  border-color: #cfd8e3;
  box-shadow: 0 0 0 3px rgba(207, 216, 227, 0.3);
}

body.page-contact .quote-form .form-full {
  grid-column: 1 / -1;
}

body.page-contact .quote-form .form-actions {
  margin-top: clamp(12px, 2.4vw, 18px);
  text-align: center;
}

body.page-contact .quote-form .submit-btn {
  background: #ff8a5b;
  color: #fff;
  border: none;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 clamp(18px, 3.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: clamp(0.8125rem, 1.7vw, 0.9375rem);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

body.page-contact .quote-form .submit-btn:hover,
body.page-contact .quote-form .submit-btn:focus {
  background: #ff7a45;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  outline: none;
}

body.page-contact .quote-form .form-status {
  margin-top: 8px;
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  color: #2b6cb0;
  min-height: 20px;
}

body.page-contact .info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 18px) clamp(16px, 3.5vw, 40px);
}

body.page-contact .info-item .label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
}

body.page-contact .info-item .value {
  color: #666;
  font-size: clamp(0.8125rem, 1.7vw, 0.95rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body.page-contact .contact-divider {
  border: 0;
  border-top: 1px solid #e6e9ef;
  margin: clamp(12px, 2.4vw, 22px) 0;
}

body.page-contact .focus-us {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  flex-wrap: wrap;
}

body.page-contact .focus-us .focus-label {
  font-weight: 600;
  color: #333;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
}

body.page-contact .focus-us .focus-icons {
  display: flex;
  gap: clamp(8px, 1.8vw, 12px);
  flex-wrap: wrap;
}

.page-contact .focus-us .social-icon {
  background: transparent;
  color: #777;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  padding: 0;
}

.page-contact .focus-us .social-icon:hover,
.page-contact .focus-us .social-icon:focus {
  color: #333;
  transform: none;
}

/* Map */
.page-contact .map-section .map-frame {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 5;
}

.page-contact .map-section .map-frame iframe {
  width: 100%;
  height: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  body.page-contact .contact-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 3.8vw, 32px);
  }
}

@media (max-width: 768px) {
  body.page-contact .quote-form .form-grid {
    grid-template-columns: 1fr;
  }

  body.page-contact .info-grid {
    grid-template-columns: 1fr;
  }

  .page-contact .map-section .map-frame {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .hero-content {
    width: min(92vw, 520px);
  }

  body.page-contact .contact-heading {
    align-items: center;
  }

  body.page-contact .contact-heading h2 {
    white-space: nowrap;
  }

  .page-contact .map-section .map-frame {
    aspect-ratio: 1 / 1;
  }
}

/* Final responsive tuning for contact page */
.page-contact img,
.page-contact iframe {
  max-width: 100%;
}

@media (max-width: 900px) {
  .hero-banner {
    min-height: clamp(200px, 52vw, 280px);
  }

  .hero-content {
    transform: none;
    width: min(94vw, 760px);
    padding-inline: 10px;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
  }

  .hero-breadcrumb {
    font-size: clamp(0.72rem, 2.8vw, 0.86rem);
  }

  body.page-contact .contact-section {
    padding: clamp(20px, 6vw, 34px) 0;
  }

  body.page-contact .contact-section .container {
    padding-inline: 12px;
  }

  body.page-contact .contact-heading h2 {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
  }

  body.page-contact .quote-form .form-control input,
  body.page-contact .quote-form .form-control textarea {
    font-size: clamp(0.82rem, 3.1vw, 0.93rem);
  }

  body.page-contact .info-item .label {
    font-size: clamp(0.84rem, 3vw, 0.98rem);
  }

  body.page-contact .info-item .value {
    font-size: clamp(0.8rem, 2.9vw, 0.92rem);
  }
}

@media (max-width: 560px) {
  body.page-contact .contact-grid {
    gap: 16px;
  }

  body.page-contact .contact-heading {
    gap: 8px;
    margin-bottom: 12px;
  }

  body.page-contact .contact-heading h2 {
    white-space: normal;
  }

  body.page-contact .quote-form .form-grid {
    gap: 10px;
  }

  body.page-contact .quote-form .submit-btn {
    width: min(100%, 320px);
    min-height: 42px;
    font-size: 0.84rem;
  }

  body.page-contact .focus-us {
    justify-content: center;
    text-align: center;
  }

  .page-contact .map-section .map-frame {
    aspect-ratio: 4 / 3;
  }
}
