/* =========================
   Contact Page Hero
========================= */

.contact-hero {
  padding: 2.25rem 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.14),
      transparent 35%
    ),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid #e5e7eb;
}

.contact-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-title {
  max-width: 900px;
  margin-bottom: 0.45rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-subtitle {
  max-width: 720px;
  margin-bottom: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =========================
   Contact Layout
========================= */

.contact-section {
  padding: 5rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(320px, 0.85fr);
  grid-template-areas:
    "contact address"
    "map address";
  align-items: start;
  gap: 1.5rem;
}

.contact-card,
.contact-address-card,
.contact-map-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.contact-card {
  grid-area: contact;
  padding: 2rem;
}

.contact-address-card {
  position: sticky;
  top: 150px;
  grid-area: address;
  padding: 2rem;
}

.contact-map-card {
  grid-area: map;
  padding: 2rem;
  overflow: hidden;
}

/* =========================
   Contact Headings
========================= */

.contact-card-heading {
  margin-bottom: 2rem;
}

.contact-card-heading h2,
.contact-address-card h2,
.opening-hours-heading h2,
.contact-map-heading h2 {
  margin-bottom: 0.65rem;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 950;
}

.contact-card-heading p,
.contact-map-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: #64748b;
  line-height: 1.7;
}

.contact-section-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* =========================
   Contact Information
========================= */

.contact-information-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-information-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem;
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
}

.contact-information-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-information-value {
  display: block;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
}

a.contact-information-value:hover,
a.contact-information-value:focus {
  color: #2563eb;
}

.contact-action-button {
  flex-shrink: 0;
  min-width: 145px;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.contact-action-button:hover,
.contact-action-button:focus,
.contact-map-button:hover,
.contact-map-button:focus {
  color: #ffffff;
  background-color: #2563eb;
  border-color: #2563eb;
}

/* =========================
   Store Address
========================= */

.contact-address-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-address-details > div {
  padding: 1rem;
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
}

.contact-address-details span {
  display: block;
  margin-bottom: 0.35rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-address-details strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-weight: 900;
  line-height: 1.55;
}

.contact-divider {
  margin: 1.5rem 0;
  border-color: #e5e7eb;
  opacity: 1;
}

.contact-address-note {
  margin-bottom: 1.5rem;
  color: #64748b;
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1.5;
}

/* =========================
   Opening Hours
========================= */

.contact-opening-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.opening-hours-heading {
  margin-bottom: 1rem;
}

.opening-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.opening-hours-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem;
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
}

.opening-hours-day {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 950;
}

.opening-hours-time {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.45;
}

.opening-hours-time small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.opening-hours-closed {
  color: #b91c1c;
}

/* =========================
   Google Map
========================= */

.contact-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.contact-map-button {
  flex-shrink: 0;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.contact-map-wrapper {
  position: relative;
  width: 100%;
  min-height: 430px;
  overflow: hidden;
  background-color: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 1.2rem;
}

.contact-map {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

/* =========================
   Tablet Responsive
========================= */

@media (max-width: 991.98px) {
  .contact-hero {
    padding: 1.75rem 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "contact"
      "address"
      "map";
  }

  .contact-address-card {
    position: static;
  }
}

/* =========================
   Mobile Responsive
========================= */

@media (max-width: 767.98px) {
  .contact-section {
    padding: 3rem 0;
  }

  .contact-card,
  .contact-address-card,
  .contact-map-card {
    padding: 1.35rem;
  }

  .contact-information-item {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-action-button,
  .contact-map-button {
    width: 100%;
  }

  .contact-map-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-map-wrapper,
  .contact-map {
    min-height: 340px;
    height: 340px;
  }
}

@media (max-width: 575.98px) {
  .contact-hero {
    padding: 1.4rem 0;
  }

  .contact-title {
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .contact-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}