/* ============================================
   LOCATION PAGE STYLES
   Shared across individual location pages
   (warren, oak-park, livonia)
   ============================================ */

/* Hero */
.loc-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2D3A4C 0%, #1F2933 100%);
  overflow: hidden;
  padding: 8rem 2rem 3rem;
}

.loc-hero__gradient-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
}

.loc-hero__gradient-shape--1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #6980B5 0%, #89A4D3 100%);
  top: -150px;
  left: -100px;
}

.loc-hero__gradient-shape--2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #92CAAF 0%, #BFC8E4 100%);
  bottom: -100px;
  right: -50px;
}

.loc-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 800px;
}

.loc-hero__breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

.loc-hero__breadcrumb a {
  color: #BFC8E4;
  text-decoration: none;
  transition: color 0.2s;
}

.loc-hero__breadcrumb a:hover {
  color: #FFFFFF;
}

.loc-hero__breadcrumb span {
  color: #FFFFFF;
}

.loc-hero__title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}

.loc-hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
}

.loc-hero__buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.loc-hero__buttons .about__button {
  display: inline-block;
  padding: 16px 40px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-position 0.3s ease, color 0.3s ease;
  background: linear-gradient(90deg, #6980B5 0%, #6980B5 50%, var(--color-white) 50%, var(--color-white) 100%);
  background-size: 200%;
  background-position: 100% 0;
  color: #6980B5;
}

.loc-hero__buttons .about__button:hover {
  background-position: 0 0;
  color: var(--color-white);
}

/* Location Details */
.loc-details {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.loc-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.loc-details__map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.loc-details__map {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.loc-details__info {
  padding: 0.5rem 0;
}

.loc-details__heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.loc-details__practice-name {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.loc-details__nap {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.loc-details__nap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.4;
}

.loc-details__nap-item p {
  margin: 0;
}

.loc-details__nap-item div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.loc-details__nap-item svg {
  color: var(--color-logo-joint, #6980B5);
  flex-shrink: 0;
  margin-top: 1px;
}

.loc-details__nap-item a {
  color: #374151;
  text-decoration: none;
  border-bottom: 1px dotted #9ca3af;
  transition: color 0.2s, border-color 0.2s;
}

.loc-details__nap-item a:hover {
  color: var(--color-logo-joint, #6980B5);
  border-color: var(--color-logo-joint, #6980B5);
}

.loc-details__directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary-blue, #2D3A4C);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.loc-details__directions-btn:hover {
  background: #1F2933;
}

/* About This Location */
.loc-about {
  background: #f9fafb;
  padding: 4rem 2rem;
}

.loc-about__container {
  max-width: 900px;
  margin: 0 auto;
}

.loc-about__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.loc-about__content p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.loc-about__content a {
  color: var(--color-logo-joint, #6980B5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.loc-about__content a:hover {
  color: var(--color-primary-blue, #2D3A4C);
}

/* Services */
.loc-services {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.loc-services__container {
  max-width: 1200px;
  margin: 0 auto;
}

.loc-services__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.loc-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.loc-services__item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.loc-services__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.loc-services__item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.loc-services__item p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.loc-services__cta-text {
  text-align: center;
  font-size: 1rem;
  color: #4b5563;
}

.loc-services__cta-text a {
  color: var(--color-logo-joint, #6980B5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.loc-services__cta-text a:hover {
  color: var(--color-primary-blue, #2D3A4C);
}

/* Areas Served */
.loc-areas {
  background: linear-gradient(135deg, #2D3A4C 0%, #1F2933 100%);
  padding: 4rem 2rem;
  color: white;
}

.loc-areas__container {
  max-width: 1200px;
  margin: 0 auto;
}

.loc-areas__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-align: center;
}

.loc-areas__intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.loc-areas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.loc-areas__city {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.loc-areas__city h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.loc-areas__city p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Driving Directions */
.loc-directions {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.loc-directions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.loc-directions__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.loc-directions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.loc-directions__item {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.loc-directions__item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.loc-directions__item p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* FAQ */
.loc-faq {
  background: #f9fafb;
  padding: 4rem 2rem;
}

.loc-faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.loc-faq__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.loc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loc-faq__item {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.loc-faq__item[open] {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.loc-faq__question {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loc-faq__question::-webkit-details-marker {
  display: none;
}

.loc-faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #9ca3af;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.loc-faq__item[open] .loc-faq__question::after {
  content: '-';
}

.loc-faq__answer {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  padding: 0 1.5rem 1.25rem;
}

.loc-faq__answer a {
  color: var(--color-logo-joint, #6980B5);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Other Locations */
.loc-other {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem 4rem;
}

.loc-other__container {
  max-width: 800px;
  margin: 0 auto;
}

.loc-other__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  text-align: center;
}

.loc-other__intro {
  font-size: 1rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 2rem;
}

.loc-other__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.loc-other__card {
  display: block;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.loc-other__card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.loc-other__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.loc-other__card-address {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.loc-other__card-phone {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.loc-other__card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-logo-joint, #6980B5);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
  .loc-hero__title {
    font-size: 2.25rem;
  }

  .loc-details__grid {
    grid-template-columns: 1fr;
  }

  .loc-details__map {
    height: 300px;
  }

  .loc-services__grid {
    grid-template-columns: 1fr;
  }

  .loc-areas__grid {
    grid-template-columns: 1fr 1fr;
  }

  .loc-directions__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .loc-hero {
    padding: 7rem 1.5rem 2.5rem;
    min-height: 300px;
  }

  .loc-hero__title {
    font-size: 2rem;
  }

  .loc-hero__subtitle {
    font-size: 1rem;
  }

  .loc-hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .loc-hero__buttons .about__button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .loc-details__map {
    height: 250px;
  }

  .loc-about__heading,
  .loc-services__heading,
  .loc-areas__heading,
  .loc-directions__heading,
  .loc-faq__heading,
  .loc-other__heading {
    font-size: 1.5rem;
  }

  .loc-areas__grid {
    grid-template-columns: 1fr;
  }

  .loc-other__grid {
    grid-template-columns: 1fr;
  }
}
