:root {
  --bg: #090806;
  --bg-soft: #120f0c;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --hover-light: rgba(255, 255, 255, 0.09);
  --gold: #b4976b;
  --gold-soft: #d8bf91;
  --text: #f7f3ec;
  --muted: #c7bcac;
  --line: rgba(180, 151, 107, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(180, 151, 107, 0.14), transparent 32rem),
    radial-gradient(circle at 90% 15%, rgba(180, 151, 107, 0.09), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.8;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  inset: auto 50% -220px auto;
  width: 620px;
  height: 620px;
  transform: translateX(50%);
  background: radial-gradient(circle, rgba(180, 151, 107, 0.22), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding-block: 56px 64px;
}

.brand-logo {
  width: min(420px, 76vw);
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

.company-name {
  margin: 0 0 6px;
  color: var(--gold-soft);
  font-size: 0.98rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.hero-actions,
.contact-actions,
.card-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn,
.mini-btn {
  border-radius: 999px;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn {
  min-height: 48px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #16110b;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #c7ab7d, #ead4ab);
  filter: brightness(1.04);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--hover-light);
}

.nearest-section {
  padding-top: 30px;
}

.info-card,
.nearest-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 20px 22px;
  color: var(--muted);
  text-align: center;
}

.nearest-card {
  padding: 24px;
  margin-top: 18px;
  /* background: linear-gradient(135deg, rgba(180, 151, 107, 0.16), rgba(255, 255, 255, 0.035)); */
  background: linear-gradient(135deg, #48ff0029, rgba(255, 255, 255, 0.035));
}

.nearest-card,
.branch-card {
  transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.nearest-card:hover,
.branch-card:hover {
  background: var(--hover-light);
  border-color: rgba(216, 191, 145, 0.42);
  transform: translateY(-2px);
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
}

.nearest-card h2,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.35;
}

.distance {
  color: var(--gold-soft);
  margin: 8px 0 2px;
  font-weight: 600;
}

.address {
  color: var(--muted);
  margin: 0 0 16px;
}

.mini-btn {
  min-height: 40px;
  padding: 7px 16px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
}

.mini-btn:hover {
  background: var(--hover-light);
}

.mini-btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #16110b;
  border-color: transparent;
  font-weight: 700;
}

.mini-btn-gold:hover {
  background: linear-gradient(135deg, #c7ab7d, #ead4ab);
}

.location-message {
  margin: 14px 4px 0;
  min-height: 1.8em;
  color: var(--muted);
}

.branches-section {
  padding-block: 56px;
}

.section-heading {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}

.search-box {
  width: min(360px, 100%);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 10px 18px;
  font: inherit;
}

.search-box input::placeholder {
  color: #998f83;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.branch-card {
  min-height: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.branch-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.branch-card .branch-address {
  color: var(--muted);
  margin: 0 0 18px;
  flex: 1;
}

.branch-meta {
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.branch-card .card-actions {
  justify-content: flex-start;
}

.contact-section {
  padding-bottom: 56px;
}

.contact-card {
  border: 1px solid var(--line);
  background: var(--panel-strong);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-card p {
  color: var(--muted);
  margin: 6px 0 0;
}

.socials {
  width: min(420px, 75%);
  /* width: min(420px, 100%); */
  margin: 24px auto 0;
  display: grid;
  gap: 12px;
}

.social-link {
  min-height: 56px;
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.social-link svg .filled {
  fill: currentColor;
  stroke: none;
}

.social-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.social-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 55%, #cc2366 78%, #bc1888 100%);
}

.social-whatsapp {
  background: #25d366;
}

.social-snapchat {
  background: #ffcc00;
  color: #191919;
}

.social-tiktok {
  /* background: #050505; */
  background: #363535;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner img {
  width: 70px;
  height: auto;
  opacity: 0.9;
}

.hidden {
  display: none !important;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  margin-top: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .branches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 500px;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .nearest-card,
  .info-card,
  .contact-card {
    border-radius: 20px;
  }

  .branch-card .card-actions {
    justify-content: stretch;
  }

  .branch-card .mini-btn {
    flex: 1;
    justify-content: center;
  }
}
