/* ==========================================================================
   davélo location page
   Append this block to the end of the main stylesheet.
   All custom selectors are namespaced with .location- to avoid collisions.
   ========================================================================== */

.location-page {
  --location-black: #0b0b0b;
  --location-black-soft: #151515;
  --location-white: #ffffff;
  --location-muted: #69707a;
  --location-surface: var(--bg-panel, #ffffff);
  --location-border: var(--color-border, #e7e7e7);
  --location-radius: var(--theme-border-radius, 15px);
  --location-transition: var(--theme-transistion, 0.25s ease);
  background: var(--bg, #ffffff);
  color: var(--color-text, #111111);
  padding-bottom: 80px;
}

.location-page *,
.location-page *::before,
.location-page *::after {
  box-sizing: border-box;
}

.location-page a {
  text-decoration: none;
}

.location-page img {
  display: block;
  max-width: 100%;
}

.location-page .svg-inline--fa,
.location-page i {
  color: currentColor;
}

.location-page h1,
.location-page h2,
.location-page h3,
.location-page p {
  margin-top: 0;
}

.location-eyebrow {
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Hero
   ========================================================================== */

.location-hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: var(--location-black);
  color: var(--location-white);
}

.location-hero__media,
.location-hero__media img,
.location-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.location-hero__media img {
  object-fit: cover;
  object-position: center 50%;
}

.location-hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.66) 42%,
      rgba(0, 0, 0, 0.18) 76%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 45%);
}

.location-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 70px;
  padding-bottom: 70px;
}

.location-hero .location-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.location-hero h1 {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--location-white);
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.location-hero__lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.location-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-hero__actions .btn,
.location-team-banner__content .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.location-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  color: var(--location-white);
}

.location-btn-outline:hover,
.location-btn-outline:focus {
  border-color: var(--location-white);
  background: var(--location-white);
  color: var(--location-black);
}

/* Quick facts
   ========================================================================== */

.location-quickfacts {
  background: var(--location-black);
  color: var(--location-white);
}

.location-quickfacts__row > [class*="col-"] {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.location-quickfacts__row > [class*="col-"]:last-child {
  border-right: 0;
}

.location-fact {
  display: flex;
  min-height: 158px;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 22px;
  color: var(--location-white);
  transition:
    background var(--location-transition),
    color var(--location-transition);
}

a.location-fact:hover,
a.location-fact:focus {
  background: rgba(255, 255, 255, 0.07);
  color: var(--location-white);
}

.location-fact__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.location-fact__icon .svg-inline--fa,
.location-fact__icon i {
  width: 16px;
  height: 16px;
}

.location-fact__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.location-fact__label {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-fact__link {
  margin-top: 4px;
  font-weight: 700;
}

.location-status {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.location-status.is-open {
  color: #7fe7a4;
}

/* Notice
   ========================================================================== */

.location-notice {
  border-bottom: 1px solid #dedede;
  background: #f5f5f5;
  color: #171717;
}

.location-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.location-notice__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
}

.location-notice__copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-notice__copy p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* Shared section structure
   ========================================================================== */

.location-section {
  padding-top: 82px;
}

.location-section__heading {
  max-width: 650px;
  margin-bottom: 34px;
}

.location-section__heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.location-section__heading .location-eyebrow {
  color: var(--location-muted);
}

.location-section__heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.location-section__heading p:last-child {
  margin-bottom: 0;
  color: var(--location-muted);
  font-size: 1.03rem;
}

/* Map and arrival card
   ========================================================================== */

.location-visit__row {
  align-items: stretch;
}

.location-visit__row > [class*="col-"] {
  display: flex;
}

.location-map {
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--location-border);
  border-radius: var(--location-radius);
  background: #eeeeee;
}

.location-map iframe {
  display: block;
  width: 100%;
  min-height: 520px;
}

.location-arrival-card {
  display: flex;
  width: 100%;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border: 1px solid var(--location-border);
  border-radius: var(--location-radius);
  background: var(--location-surface);
}

.location-arrival-card__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--location-border);
}

.location-arrival-card__item:first-child {
  padding-top: 0;
}

.location-arrival-card__item:last-of-type {
  border-bottom: 0;
}

.location-arrival-card__item > .svg-inline--fa,
.location-arrival-card__item > i {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--color-primary, #111111);
}

.location-arrival-card__item h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.location-arrival-card__item p {
  margin-bottom: 0;
  color: var(--location-muted);
  font-size: 0.92rem;
}

.location-arrival-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

/* Service cards
   ========================================================================== */

.location-services {
  padding-bottom: 8px;
}

.location-services .row > [class*="col-"] {
  display: flex;
  margin-bottom: 30px;
}

.location-service-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 315px;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--location-border);
  border-radius: var(--location-radius);
  background: var(--location-surface);
  color: var(--color-text, #111111);
  transition:
    transform var(--location-transition),
    box-shadow var(--location-transition),
    border-color var(--location-transition);
}

.location-service-card:hover,
.location-service-card:focus {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow:
    0 5px 10px rgba(50, 50, 93, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.14);
  color: var(--color-text, #111111);
}

.location-service-card__icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: var(--location-black);
  color: var(--location-white);
}

.location-service-card__icon .svg-inline--fa,
.location-service-card__icon i {
  width: 19px;
  height: 19px;
}

.location-service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.location-service-card p {
  margin-bottom: 26px;
  color: var(--location-muted);
  font-size: 0.94rem;
}

.location-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--color-links, var(--color-primary, #111111));
  font-size: 0.88rem;
  font-weight: 700;
}

.location-service-card__link .svg-inline--fa,
.location-service-card__link i {
  width: 13px;
  height: 13px;
  transition: transform var(--location-transition);
}

.location-service-card:hover .location-service-card__link .svg-inline--fa,
.location-service-card:hover .location-service-card__link i {
  transform: translateX(4px);
}

/* Team banner
   ========================================================================== */

.location-team-banner {
  display: grid;
  min-height: 470px;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
  overflow: hidden;
  border-radius: var(--location-radius);
  background: var(--location-black);
  color: var(--location-white);
}

.location-team-banner__media {
  min-height: 470px;
  overflow: hidden;
}

.location-team-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.location-team-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 55px;
}

.location-team-banner__content .location-eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.location-team-banner__content h2 {
  margin-bottom: 16px;
  color: var(--location-white);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
}

.location-team-banner__content p:not(.location-eyebrow) {
  margin-bottom: 27px;
  color: rgba(255, 255, 255, 0.82);
}

/* FAQ
   ========================================================================== */

.location-faq {
  padding-bottom: 10px;
}

.location-faq__list {
  border-top: 1px solid var(--location-border);
}

.location-faq details {
  border-bottom: 1px solid var(--location-border);
}

.location-faq summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 4px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.location-faq summary::-webkit-details-marker {
  display: none;
}

.location-faq summary .svg-inline--fa,
.location-faq summary i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  transition: transform var(--location-transition);
}

.location-faq details[open] summary .svg-inline--fa,
.location-faq details[open] summary i {
  transform: rotate(180deg);
}

.location-faq details > p {
  max-width: 760px;
  margin-bottom: 0;
  padding: 0 42px 24px 4px;
  color: var(--location-muted);
}

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

@media (max-width: 1199px) {
  .location-quickfacts__row > [class*="col-"]:nth-child(2) {
    border-right: 0;
  }

  .location-quickfacts__row > [class*="col-"]:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .location-team-banner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .location-page {
    padding-bottom: 60px;
  }

  .location-hero,
  .location-hero__content {
    min-height: 520px;
  }

  .location-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.86) 0%,
        rgba(0, 0, 0, 0.55) 62%,
        rgba(0, 0, 0, 0.24) 100%
      ),
      linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 50%);
  }

  .location-section {
    padding-top: 62px;
  }

  .location-visit__row > [class*="col-"] + [class*="col-"] {
    margin-top: 25px;
  }

  .location-map,
  .location-map iframe {
    min-height: 440px;
    height: 440px;
  }

  .location-arrival-card {
    min-height: auto;
  }

  .location-team-banner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .location-team-banner__media {
    min-height: 420px;
  }

  .location-team-banner__content {
    padding: 42px;
  }
}

@media (max-width: 767px) {
  .location-hero,
  .location-hero__content {
    min-height: 570px;
  }

  .location-hero__media img {
    object-position: 58% center;
  }

  .location-hero__overlay {
    background:
      linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.94) 0%,
        rgba(0, 0, 0, 0.66) 58%,
        rgba(0, 0, 0, 0.28) 100%
      );
  }

  .location-hero__content {
    justify-content: flex-end;
    padding-top: 55px;
    padding-bottom: 46px;
  }

  .location-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
  }

  .location-hero__actions {
    width: 100%;
  }

  .location-hero__actions .btn {
    width: 100%;
  }

  .location-quickfacts__row > [class*="col-"] {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .location-quickfacts__row > [class*="col-"]:last-child {
    border-bottom: 0;
  }

  .location-fact {
    min-height: 0;
    padding: 24px 7px;
  }

  .location-notice__inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .location-section__heading h2 {
    font-size: 2rem;
  }

  .location-map,
  .location-map iframe {
    min-height: 360px;
    height: 360px;
  }

  .location-arrival-card,
  .location-service-card {
    padding: 27px;
  }

  .location-team-banner__media {
    min-height: 360px;
  }

  .location-team-banner__media img {
    object-position: center 38%;
  }

  .location-team-banner__content {
    padding: 34px 27px 38px;
  }

  .location-team-banner__content .btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .location-hero__content,
  .location-notice__inner,
  .location-section > .container,
  .location-quickfacts > .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .location-notice__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .location-map,
  .location-map iframe {
    min-height: 320px;
    height: 320px;
  }

  .location-team-banner__media {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-page *,
  .location-page *::before,
  .location-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
