:root {
  color: #f7f5ef;
  background: #000;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  --gold: #d8b564;
  --line: rgba(255, 255, 255, 0.14);
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #000;
}

body {
  min-height: 100svh;
}

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

.site-shell {
  display: grid;
  grid-template-rows: minmax(380px, 62svh) minmax(260px, 38svh);
  min-height: 100svh;
  background: #000;
}

.brand-area {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(12px, 2.3svh, 28px);
  padding: var(--safe-top) clamp(18px, 5vw, 72px) 18px;
  border-bottom: 1px solid var(--line);
  background: #000;
}

.brand-logo {
  display: block;
  width: min(72vw, 720px);
  height: auto;
  max-height: min(37svh, 390px);
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(216, 181, 100, 0.12));
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 5vw, 58px);
  width: min(100%, 760px);
}

.contact-action {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.78rem, 1.4vw, 0.98rem);
  line-height: 1.25;
  text-align: center;
  transition: color 160ms ease, transform 160ms ease;
}

.contact-action > span:last-child {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-action:hover,
.contact-action:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.action-icon {
  display: grid;
  width: clamp(46px, 5.6vw, 58px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: #111;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.action-icon img {
  width: 48%;
  height: 48%;
}

.contact-action:hover .action-icon,
.contact-action:focus-visible .action-icon {
  border-color: var(--gold);
  background: #171717;
}

.action-icon.whatsapp {
  color: #25d366;
}

.action-icon.instagram,
.action-icon.route {
  color: var(--gold);
}

.location-area {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #0a0a0a;
}

.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  filter: grayscale(1) invert(0.91) contrast(1.08);
  opacity: 0.82;
}

.location-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 56px) var(--safe-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}

.address {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.8rem, 1.5vw, 0.96rem);
}

.address img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.address span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.developer {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.58rem;
  font-weight: 700;
}

.developer img {
  display: block;
  width: 94px;
  height: auto;
}

@media (max-width: 640px) {
  .site-shell {
    grid-template-rows: minmax(390px, 65svh) minmax(235px, 35svh);
  }

  .brand-area {
    gap: clamp(18px, 3svh, 26px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: min(94vw, 560px);
    max-height: 35svh;
  }

  .contact-actions {
    gap: 8px;
  }

  .contact-action {
    gap: 7px;
    font-size: clamp(0.68rem, 3vw, 0.8rem);
  }

  .action-icon {
    width: 46px;
  }

  .location-area,
  .map-frame {
    min-height: 235px;
  }

  .location-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-height: 76px;
    padding-top: 8px;
  }

  .address {
    justify-content: center;
  }

  .developer {
    justify-content: center;
  }
}

@media (max-height: 680px) {
  .site-shell {
    grid-template-rows: minmax(330px, 64svh) minmax(210px, 36svh);
  }

  .brand-logo {
    max-height: 31svh;
  }

  .location-area,
  .map-frame {
    min-height: 210px;
  }

  .location-strip {
    gap: 4px;
    min-height: 72px;
    padding-top: 6px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .address {
    font-size: 0.72rem;
  }

  .developer {
    gap: 6px;
    font-size: 0.5rem;
  }

  .developer img {
    width: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
