:root {
  --color-cream: #ebe6d1;
  --color-footer: #e7e2c9;
  --color-bordo: #c24332;
  --color-teal: #63948c;
  --color-charcoal: #333333;
  --color-white: #ffffff;
  --font-rounded: "Quicksand", sans-serif;
  --content-width: 1280px;
  --section-radius: 40px;
  --soft-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --deep-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-cream);
  color: var(--color-teal);
  font-family: var(--font-rounded);
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(194, 67, 50, 0.65);
  outline-offset: 4px;
}

/* Header and mobile menu */
.site-header {
  position: relative;
  z-index: 50;
}

.main-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 16px 32px;
  background: #ebe5d2;
  border-bottom: 1px solid rgba(99, 148, 140, 0.5);
  box-shadow: 0 4px 12px rgba(55, 79, 75, 0.1);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  margin-right: 64px;
  color: var(--color-teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav-links a,
.footer-nav-column a,
.mobile-nav-links a {
  transition: color 180ms ease;
}

.desktop-nav-links a:hover,
.footer-nav-column a:hover,
.mobile-nav-links a:hover {
  color: var(--color-bordo);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--color-bordo);
  color: var(--color-white);
  font-weight: 700;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-button:hover {
  background: #a03628;
  transform: translateY(-1px);
}

.desktop-contact {
  min-width: 144px;
  padding: 10px 32px;
  box-shadow: 0 10px 20px rgba(194, 67, 50, 0.18);
  font-size: 14px;
}

.desktop-contact i {
  font-size: 18px;
}

.menu-toggle,
.menu-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--color-teal);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: var(--color-cream);
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.menu-close {
  display: block;
  align-self: flex-end;
  width: 48px;
  height: 48px;
  font-size: 40px;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 80px;
  color: var(--color-teal);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-contact {
  margin-top: 40px;
  padding: 16px 32px;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
}

/* Hero */
.hero-section {
  position: relative;
  padding: 192px 24px 128px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.hero-copy,
.hero-media-wrap {
  flex: 1 1 0;
  min-width: 0;
}

.hero-copy {
  text-align: left;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 0 0 32px;
  color: var(--color-bordo);
  font-weight: 700;
  line-height: 0.95;
}

.hero-title-primary,
.hero-title-secondary {
  display: block;
}

.hero-title-primary {
  white-space: nowrap;
  font-size: clamp(2.6rem, 10vw, 5rem);
}

.hero-title-secondary {
  color: var(--color-teal);
  font-size: clamp(1.8rem, 7vw, 4.5rem);
}

.construction-notice {
  max-width: 620px;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid rgba(194, 67, 50, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--soft-shadow);
}

.construction-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--color-bordo);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.construction-kicker i {
  font-size: 24px;
}

.construction-copy {
  margin: 14px 0 0;
  color: var(--color-teal);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.construction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.construction-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--color-bordo);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.construction-button:hover {
  transform: translateY(-1px);
}

.construction-button-primary {
  background: var(--color-bordo);
  color: var(--color-white);
}

.construction-button-primary:hover {
  background: #a03628;
}

.construction-button-secondary {
  background: var(--color-white);
  color: var(--color-bordo);
}

.construction-button-secondary:hover {
  background: var(--color-bordo);
  color: var(--color-white);
}

.hours-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}

.hours-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 24px;
  border: 1px solid rgba(99, 148, 140, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.hours-icon {
  color: var(--color-teal);
  font-size: 24px;
}

.hours-icon-red {
  color: var(--color-bordo);
}

.hours-label,
.hours-value {
  margin: 0;
  line-height: 1.1;
}

.hours-label {
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hours-value {
  margin-top: 5px;
  color: var(--color-bordo);
  font-size: 20px;
  font-weight: 700;
}

.hero-media-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  inset: -40px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(99, 148, 140, 0.1);
  filter: blur(48px);
}

.hero-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 12px solid var(--color-white);
  border-radius: 60px;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.16);
  transform: rotate(2deg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(194, 67, 50, 0.2), transparent);
  pointer-events: none;
}

/* Branches */
.branches-section {
  position: relative;
  overflow: hidden;
  padding: 160px 0;
  background: var(--color-bordo);
}

.branches-watermark {
  position: absolute;
  top: 0;
  right: 0;
  padding: 80px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 240px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.branches-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 64px, var(--content-width));
  margin: 0 auto;
}

.branches-heading {
  max-width: 900px;
  margin-bottom: 96px;
  text-align: left;
}

.branches-heading h2 {
  margin: 0 0 32px;
  color: var(--color-white);
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.branches-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 48px;
}

.branch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 40px;
  background: var(--color-white);
  box-shadow: var(--soft-shadow);
  transition:
    transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.branch-card:nth-child(2),
.branch-card:nth-child(5) {
  translate: 0 80px;
}

.branch-card:hover,
.branch-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -16px rgba(71, 29, 23, 0.28);
}

.branch-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f5f5;
}

.branch-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.branch-tag i {
  color: var(--color-bordo);
  font-size: 16px;
}

.branch-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px;
}

.branch-card-content h3 {
  margin: 0 0 4px;
  color: var(--color-bordo);
  font-size: 30px;
  font-weight: 700;
}

.branch-card-content p {
  margin: 0 0 32px;
  color: var(--color-teal);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.branch-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 180ms ease;
}

.branch-action:hover {
  background: #527a73;
}

.branch-action.pending {
  background: var(--color-charcoal);
}

.branch-map-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 280ms ease,
    opacity 220ms ease,
    visibility 0s linear 280ms;
}

.branch-map-panel.is-open {
  max-height: 380px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.branch-map-panel-inner {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid rgba(99, 148, 140, 0.25);
  border-radius: 16px;
  background: #f8f7f1;
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.45);
}

.branch-map-canvas {
  width: 100%;
  height: 220px;
  border-radius: 11px;
  background: #e1e5dc;
}

.branch-map-panel.is-loading .branch-map-canvas {
  background: linear-gradient(110deg, #e1e5dc 35%, #eef0e9 50%, #e1e5dc 65%);
}

.branch-map-fallback {
  margin: 8px 4px 12px;
  color: var(--color-charcoal);
  font-size: 14px;
  line-height: 1.4;
}

.branch-map-external {
  display: inline-flex;
  margin: 10px 4px 2px;
  color: var(--color-bordo);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.branch-map-panel.has-error .branch-map-external {
  margin-top: 0;
}

/* Footer */
.site-footer {
  padding: 96px 0 48px;
  border-top: 1px solid rgba(99, 148, 140, 0.2);
  background: var(--color-footer);
  color: var(--color-teal);
}

.footer-grid,
.footer-bottom-row {
  width: min(100% - 64px, var(--content-width));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-brand-column,
.footer-nav-column,
.footer-social-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-column {
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}

.footer-logo {
  width: auto;
  height: 80px;
}

.footer-brand-name {
  margin: 0 0 4px;
  color: var(--color-teal);
  font-size: 24px;
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  color: rgba(99, 148, 140, 0.6);
  font-size: 18px;
}

.footer-nav-column h2,
.footer-social-column h2 {
  margin: 0 0 24px;
  color: var(--color-bordo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav-column nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: var(--color-teal);
  transition: transform 180ms ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links i {
  font-size: 20px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(99, 148, 140, 0.1);
  color: rgba(99, 148, 140, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-bottom-row p {
  margin: 0;
}

/* Tablet and mobile share one fluid, centered hero composition. */
@media (max-width: 1023px) {
  .desktop-nav-links,
  .desktop-contact {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 30px;
    cursor: pointer;
  }

  .hero-section {
    --hero-composition-width: 44rem;
    --hero-notice-width: 25rem;
    --hero-media-width: 28.75rem;
    padding-block: clamp(7.25rem, 15vw, 7.5rem) clamp(4rem, 9vw, 4.5rem);
    padding-inline: clamp(1.5rem, 4vw, 2rem);
  }

  .hero-inner {
    flex-direction: column;
    gap: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-copy {
    inline-size: min(100%, var(--hero-composition-width));
    text-align: center;
  }

  .hero-title {
    margin-block-end: 1.5rem;
    line-height: 1.02;
  }

  .hero-title-primary,
  .hero-title-secondary {
    white-space: nowrap;
    letter-spacing: -0.03em;
  }

  .hero-title-primary {
    font-size: clamp(2.125rem, 10.75vw, 3.5rem);
  }

  .hero-title-secondary {
    font-size: clamp(1.875rem, 9.5vw, 3rem);
  }

  .construction-notice {
    inline-size: min(100%, var(--hero-notice-width), 84vw);
    max-inline-size: none;
    margin-inline: auto;
    margin-block-end: 1.5rem;
    padding: 1.25rem;
    text-align: start;
  }

  .hours-list {
    justify-content: center;
  }

  .hero-media-wrap {
    inline-size: min(100%, var(--hero-media-width));
    max-inline-size: none;
  }

  .branches-heading h2 {
    font-size: 72px;
  }

  .branches-heading p {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .main-nav {
    min-height: 72px;
    padding: 16px 24px;
  }

  .brand-logo {
    height: 40px;
  }

  .construction-kicker {
    font-size: 17px;
  }

  .construction-copy {
    font-size: 16px;
  }

  .construction-actions {
    flex-direction: column;
  }

  .construction-button {
    width: 100%;
  }

  .hours-list {
    gap: 16px;
  }

  .hours-card {
    padding: 8px 16px;
  }

  .hours-label {
    font-size: 10px;
  }

  .hours-value {
    font-size: 18px;
  }

  .hero-media {
    border-width: 8px;
    border-radius: 40px;
    transform: none;
  }

  .branches-section {
    padding: 80px 0;
  }

  .branches-watermark {
    padding: 40px;
    font-size: 96px;
  }

  .branches-inner {
    width: min(100% - 32px, var(--content-width));
  }

  .branches-heading {
    margin-bottom: 48px;
    text-align: center;
  }

  .branches-heading h2 {
    margin-bottom: 24px;
    font-size: 56px;
  }

  .branches-heading p {
    font-size: 20px;
    line-height: 1.35;
  }

  .branch-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: min(100%, 380px);
    margin-right: auto;
    margin-left: auto;
  }

  .branch-card {
    width: 100%;
    border-radius: 28px;
  }

  .branch-card:nth-child(2),
  .branch-card:nth-child(5) {
    translate: none;
  }

  .branch-tag {
    top: 16px;
    left: 16px;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .branch-tag i {
    font-size: 16px;
  }

  .branch-card-content {
    padding: 24px;
  }

  .branch-card-content h3 {
    margin-bottom: 4px;
    font-size: 26px;
  }

  .branch-card-content p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.3;
  }

  .branch-action {
    gap: 8px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .branch-map-panel.is-open {
    max-height: 290px;
  }

  .branch-map-panel-inner {
    margin-top: 8px;
    padding: 6px;
    border-radius: 12px;
  }

  .branch-map-canvas {
    height: 150px;
    border-radius: 8px;
  }

  .branch-map-fallback,
  .branch-map-external {
    font-size: 10px;
  }

  .site-footer {
    padding: 64px 0 32px;
  }

  .footer-grid,
  .footer-bottom-row {
    width: min(100% - 32px, var(--content-width));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-brand-column,
  .footer-nav-column,
  .footer-social-column {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    height: 64px;
  }

  .footer-brand-name {
    font-size: 20px;
  }

  .footer-tagline {
    font-size: 16px;
  }

  .footer-nav-column h2,
  .footer-social-column h2 {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .footer-nav-column nav {
    gap: 16px;
    font-size: 16px;
  }

  .footer-bottom-row {
    flex-direction: column;
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    line-height: 1.5;
  }
}

@media (min-width: 1024px) {
  /* Desktop-only proportional sizing: preserve the mobile and tablet layouts. */
  :root {
    --content-width: 1152px;
  }

  /* Hero: the fixed header overlays this section, so the section itself fills the viewport. */
  .hero-section {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: 112px 24px 72px;
  }

  .hero-inner {
    gap: 48px;
  }

  .hero-copy {
    flex: 0 0 672px;
  }

  .hero-title-primary {
    font-size: 68px;
    white-space: nowrap;
  }

  /* Keep this approved desktop line exactly 72px and prevent wrapping. */
  .hero-title-secondary {
    font-size: 72px;
    white-space: nowrap;
  }

  .hours-list {
    gap: 20px;
  }

  .hours-card {
    min-height: 60px;
    padding: 10px 20px;
  }

  .hours-icon {
    font-size: 20px;
  }

  .hours-label {
    font-size: 11px;
  }

  .hours-value {
    font-size: 18px;
  }

  .hero-media-wrap {
    max-width: 480px;
  }

  .hero-glow {
    inset: -32px;
    filter: blur(40px);
  }

  .hero-media {
    border-width: 10px;
    border-radius: 50px;
  }

  /* Remaining desktop sections use the same real, proportional dimensions. */
  .branches-section {
    padding: 128px 0;
  }

  .branches-watermark {
    padding: 64px;
    font-size: 200px;
  }

  .branches-heading {
    max-width: 768px;
    margin-bottom: 72px;
  }

  .branches-heading h2 {
    margin-bottom: 26px;
    font-size: 80px;
  }

  .branches-heading p {
    font-size: 25px;
  }

  .branch-grid {
    gap: 40px;
  }

  .branch-card:nth-child(2),
  .branch-card:nth-child(5) {
    translate: 0 64px;
  }

  .branch-card {
    border-radius: 32px;
  }

  .branch-tag {
    top: 16px;
    left: 16px;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 10px;
    font-size: 10px;
  }

  .branch-tag i {
    font-size: 14px;
  }

  .branch-card-content {
    padding: 26px;
  }

  .branch-card-content h3 {
    font-size: 25px;
  }

  .branch-card-content p {
    margin-bottom: 26px;
    font-size: 15px;
  }

  .branch-action {
    gap: 10px;
    padding: 13px;
    border-radius: 13px;
    font-size: 14px;
  }

  .branch-map-canvas {
    height: 190px;
  }

  .site-footer {
    padding: 80px 0 40px;
  }

  .footer-grid {
    gap: 27px;
  }

  .footer-brand-column {
    gap: 13px;
  }

  .footer-logo {
    height: 68px;
  }

  .footer-brand-name {
    font-size: 20px;
  }

  .footer-tagline {
    font-size: 15px;
  }

  .footer-nav-column h2,
  .footer-social-column h2 {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .footer-nav-column nav {
    gap: 13px;
    font-size: 15px;
  }

  .social-links {
    gap: 13px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

  .social-links i {
    font-size: 17px;
  }

  .footer-bottom-row {
    margin-top: 52px;
    padding-top: 27px;
    font-size: 9px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .branch-card:nth-child(2),
  .branch-card:nth-child(5) {
    translate: none;
  }
}

/* Branch maps replace the card image in-place without changing card geometry. */
.branch-map-trigger {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: default;
}

.branch-map-trigger:focus-visible {
  outline-offset: -5px;
}

.branch-logo-marker {
  border: 0;
  background: transparent;
}

.branch-map-pin {
  position: relative;
  display: block;
  width: 64px;
  height: 82px;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.3));
}

.branch-map-pin-tail {
  position: absolute;
  top: 54px;
  left: 17px;
  z-index: 0;
  width: 0;
  height: 0;
  border-top: 28px solid var(--color-bordo);
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
}

.branch-map-pin-head {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  display: block;
  width: 64px;
  height: 64px;
  padding: 4px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-bordo);
}

.branch-image-wrap .branch-map-pin-head img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

@media (hover: none), (pointer: coarse) {
  .branch-map-trigger {
    cursor: pointer;
  }
}

.branch-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 260ms ease;
}

.branch-image-wrap.is-map-open .branch-image {
  opacity: 0;
}

.branch-map-panel,
.branch-map-panel.is-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-height: none;
  overflow: hidden;
}

.branch-map-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    visibility 0s linear 260ms;
}

.branch-map-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.branch-map-panel-inner,
.branch-map-canvas {
  width: 100%;
  height: 100%;
}

.branch-map-panel-inner {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f8f7f1;
  box-shadow: none;
}

.branch-map-canvas {
  border-radius: 0;
  background: #e1e5dc;
}

.branch-map-fallback {
  position: absolute;
  inset: 50% 20px auto;
  z-index: 3;
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-charcoal);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  transform: translateY(-50%);
}

.branch-map-external,
.branch-map-panel.has-error .branch-map-external {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 500;
  display: inline-flex;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  color: var(--color-bordo);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .branch-map-fallback {
    right: 12px;
    left: 12px;
    padding: 12px;
    font-size: 14px;
  }

  .branch-map-external,
  .branch-map-panel.has-error .branch-map-external {
    top: 10px;
    right: 10px;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
