.contact-page {
  min-height: 100vh;
  background: #f5f8f9;
  color: #12343a;
  font-family: "Cairo", sans-serif;
}

.contact-page .contact-shell-header {
  position: relative;
  z-index: 20;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 42px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 48, 52, .94), rgba(0, 94, 88, .88)),
    url("../img/logo-final.png") left 8% center / 360px auto no-repeat;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 56px 56px;
}

.contact-hero .container,
.contact-methods-section .container,
.contact-main-section .container,
.contact-newsletter .container {
  position: relative;
  z-index: 1;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: center;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 800;
}

.contact-breadcrumb a,
.contact-breadcrumb strong {
  color: #fff;
  text-decoration: none;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #ffb21a;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 900;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 16px 0 14px;
  color: #fff;
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-primary-btn,
.contact-secondary-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.contact-primary-btn {
  color: #102f34;
  background: #ffb21a;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .18);
}

.contact-secondary-btn {
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.contact-hero-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.contact-hero-panel div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
}

.contact-hero-panel i {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #12343a;
  background: #ffb21a;
  font-size: 18px;
}

.contact-hero-panel span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
}

.contact-hero-panel a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-methods-section {
  position: relative;
  z-index: 2;
  margin-top: -22px;
  padding-bottom: 34px;
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-methods-grid article,
.contact-form-card,
.contact-info-card,
.contact-help-card,
.contact-map-card {
  border: 1px solid #d8e8e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(12, 58, 62, .08);
}

.contact-methods-grid article {
  min-height: 154px;
  padding: 20px;
}

.contact-methods-grid i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #fff;
  background: #0b8f84;
  font-size: 18px;
}

.contact-methods-grid h2 {
  margin: 0 0 8px;
  color: #073f45;
  font-size: 17px;
  font-weight: 900;
}

.contact-methods-grid p {
  margin: 0;
  color: #607982;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

.contact-main-section {
  padding: 16px 0 64px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.contact-form-card {
  padding: 26px;
}

.contact-section-heading {
  margin-bottom: 22px;
}

.contact-section-heading span,
.contact-info-card > span,
.contact-newsletter span {
  color: #0b8f84;
  font-size: 13px;
  font-weight: 900;
}

.contact-section-heading h2,
.contact-info-card h2,
.contact-help-card h2,
.contact-map-card h2,
.contact-newsletter h2 {
  margin: 6px 0 8px;
  color: #073f45;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-section-heading p {
  margin: 0;
  color: #607982;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.contact-form-card form {
  display: grid;
  gap: 16px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-grid.compact {
  grid-template-columns: 1fr 1fr;
}

.contact-form-card label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-form-card label > span {
  color: #234a50;
  font-size: 13px;
  font-weight: 900;
}

.contact-form-card em {
  color: #e04f2f;
  font-style: normal;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d8e8e8;
  border-radius: 8px;
  padding: 12px 14px;
  color: #12343a;
  background: #f8fbfb;
  outline: 0;
  font-weight: 700;
}

.contact-form-card textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.8;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: #0b8f84;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 143, 132, .12);
}

.contact-form-card small,
.contact-error {
  color: #c0362c;
  font-size: 12px;
  font-weight: 800;
}

.contact-file-field {
  position: relative;
  grid-template-columns: 46px 1fr;
  gap: 2px 12px !important;
  align-items: center;
  padding: 16px;
  border: 1px dashed #9bc7c4;
  border-radius: 8px;
  background: #f7fbfb;
  cursor: pointer;
}

.contact-file-field i {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #0b8f84;
  background: #e7f6f4;
}

.contact-file-field input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.contact-file-field small {
  color: #607982;
}

.contact-consent {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  color: #405d64;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 800;
}

.contact-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 5px;
  accent-color: #0b8f84;
}

.contact-send-btn,
.contact-newsletter button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #12343a;
  background: #ffb21a;
  font-weight: 900;
}

.contact-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(230px, 100%);
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-info-card,
.contact-help-card,
.contact-map-card {
  padding: 20px;
}

.contact-info-card a,
.contact-info-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  color: #34585e;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-info-card i,
.contact-help-card i {
  color: #0b8f84;
}

.contact-help-card {
  display: grid;
  gap: 10px;
}

.contact-help-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #234a50;
  background: #f6faf9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.contact-map {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 143, 132, .14), rgba(255, 178, 26, .18)),
    linear-gradient(90deg, #eef8f7, #dbeeed);
}

.contact-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 63, 69, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 63, 69, .12) 1px, transparent 1px);
  background-size: 34px 34px;
}

.contact-map span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #0b8f84;
  box-shadow: 0 0 0 10px rgba(11, 143, 132, .18);
}

.contact-map span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.contact-map-card p {
  margin: 14px 0 0;
  color: #607982;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
}

.contact-newsletter {
  padding: 0 0 64px;
}

.contact-newsletter .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, #073f45, #0b8f84);
}

.contact-newsletter h2 {
  color: #fff;
}

.contact-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.contact-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
}

.contact-newsletter input {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  outline: 0;
}

.contact-newsletter input::placeholder {
  color: rgba(255, 255, 255, .76);
}

.contact-page .qw-footer {
  margin-top: 0;
}

@media (max-width: 1199px) {
  .contact-hero-grid,
  .contact-layout,
  .contact-newsletter .container {
    grid-template-columns: 1fr;
  }

  .contact-methods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero-panel {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    padding: 38px 0 32px;
    background:
      linear-gradient(135deg, rgba(0, 48, 52, .96), rgba(0, 94, 88, .9)),
      url("../img/logo-final.png") center 18px / 240px auto no-repeat;
  }

  .contact-hero-grid,
  .contact-form-grid,
  .contact-form-grid.compact,
  .contact-methods-grid,
  .contact-newsletter form {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 40px;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-form-card,
  .contact-newsletter .container {
    padding: 18px;
  }

  .contact-section-heading h2,
  .contact-info-card h2,
  .contact-help-card h2,
  .contact-map-card h2,
  .contact-newsletter h2 {
    font-size: 24px;
  }
}
