:root {
  --gold: #3F6FB5;       /* softer blue */
  --gold-dark: #2F5FA5;  /* keep strong hover */
  --dark: #111111;
  --text: #222222;
  --muted: #666666;
  --bg: #f5f5f5;
  --card: #ffffff;
  --border: #e8e8e8;
  --wa: #25D366;
  --nav-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  overflow-y: scroll;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

iframe,
video,
canvas,
svg {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gold);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  min-width: 0;
  flex-shrink: 0;
}

.brand-mark {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.brand-mark img {
  width: 150px !important;   /* change this number */
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent !important;
}

.brand-text {
  line-height: 1.05;
  min-width: 0;
}

.brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text strong {
  display: block;
  font-size: 16px;
}

.nav-shell {
  display: block;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-link,
.drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--dark);
  font-size: 14px;
  white-space: nowrap;
}

.drop-btn::after {
  content: "▾";
  font-size: 12px;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 260px;
  background: var(--gold);
  border-top: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-primary,
.btn-outline,
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: #4f5967;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(17,17,17,0.25);
  color: var(--dark);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(17,17,17,0.2);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
}

/* SAFETY OVERFLOW FIXES */
.hero,
.banner,
.section,
.search-box,
.search-card,
.search-wrap,
.hero-content,
.hero-inner,
.swiper,
.swiper-wrapper,
.swiper-slide {
  max-width: 100%;
}

.hero *,
.banner *,
.section *,
.search-box *,
.search-card *,
.search-wrap *,
.hero-content *,
.hero-inner * {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* FOOTER */
.site-footer {
  background: #06090d;
  color: #fff;
  margin-top: 48px;
  padding-top: 32px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-logo {
  width: 150px;
  margin-bottom: 18px;
}

.footer-contact p {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  color: #6EA8FF;   /* soft blue */
  margin: 10px 0 14px;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #6EA8FF;   /* same blue */
  font-weight: 700;
  font-size: 14px;
}

.footer-map-col iframe {
  width: 100%;
  min-height: 230px;
  border: 0;
}

.footer-bottom {
  padding: 18px 0 22px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.back-to-top {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.agent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 14px;
  color: #666;
  min-width: 0;
}

.agent-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-name {
  font-weight: 500;
  color: #222;
}

.agent-dot {
  color: #aaa;
}

.drop-btn::after {
  content: "▾";
  font-size: 16px;        /* ⬅ bigger arrow */
  margin-left: 6px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.dropdown.open .drop-btn::after {
  transform: rotate(180deg);
}

.brand-mark {
  background: transparent !important;
  border-radius: 0 !important;   /* 🔥 THIS removes the curve */
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.brand-mark img {
  border-radius: 0 !important;   /* 🔥 remove curve from image */
}

/* MOBILE */
@media (max-width: 820px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 24px);
  }

  .topbar {
    padding-bottom: 6px;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions"
      "menu menu";
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    min-height: auto;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    overflow: hidden;
  }

.brand-mark {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.brand-mark img {
  width: 150px !important;   /* change this number */
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent !important;
}

  .brand-text {
    min-width: 0;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .brand-text strong {
    font-size: 14px;
    line-height: 1.15;
    word-break: break-word;
  }

  .nav-actions {
    grid-area: actions;
    margin-left: 0;
    gap: 8px;
  }

  .nav-actions .btn-primary,
  .nav-actions .btn-outline,
  .nav-actions .btn-wa {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
  }

  .mobile-toggle {
    display: none !important;
  }

  .nav-shell {
    grid-area: menu;
    display: block !important;
    width: 100%;
    min-width: 0;
  }

.nav-shell,
.nav,
.topbar,
.nav-links {
  overflow: visible !important;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  align-items: start;
  width: 100%;
}

.nav-links > li {
  width: 100%;
  min-width: 0;
  align-self: start;
  position: relative;
}

.dropdown {
  position: relative;
  z-index: 50;
}

.nav-link,
.drop-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  font-size: 12px;
  line-height: 1.2;
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  white-space: normal;
  word-break: break-word;
}

.drop-btn::after {
  margin-left: 6px;
  font-size: 16px !important;
  font-weight: 700;
}

.dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 100%;
  margin-top: 0 !important;

  background: #e8c46a;
  border-top: none;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: none;

  border-radius: 10px;
  overflow: hidden;
  z-index: 999;
}

.dropdown.open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  white-space: normal;
  word-break: break-word;
  background: #e8c46a;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

  .hero,
  .banner,
  .section,
  .search-box,
  .search-card,
  .search-wrap,
  .hero-content,
  .hero-inner,
  .swiper,
  .swiper-wrapper,
  .swiper-slide {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }


}
