:root, [data-theme="dark"] {
  --gold: #c9a84c;
  --gold2: #e8c96a;
  --navy: #0d1b2a;
  --navy2: #162032;
  --navy3: #1e2d40;
  --bg: #ffffff;
  --bg2: #f8f4ef;
  --bg3: #f0ece6;
  --card: #ffffff;
  --card-border: #e8e4df;
  --text: #1a1a2e;
  --text2: #555;
  --text3: #888;
  --header-bg: rgba(13,27,42,0.97);
  --header-border: rgba(201,168,76,.25);
  --hero-from: #0d1b2a;
  --hero-to: #1a2f45;
  --footer-bg: #0d1b2a;
  --shadow: 0 10px 40px rgba(13,27,42,0.12);
  --radius: 12px;
  --section-alt: #f8f4ef;
}

[data-theme="light"] {
  --navy: #1e3a5f;
  --navy2: #2a4a70;
  --navy3: #3a5a80;
  --bg: #ffffff;
  --bg2: #f0f4f8;
  --bg3: #e8eef4;
  --card: #ffffff;
  --card-border: #dde3ea;
  --text: #1a2a3a;
  --text2: #445566;
  --text3: #778899;
  --header-bg: rgba(255,255,255,0.97);
  --header-border: rgba(30,58,95,.15);
  --hero-from: #1e3a5f;
  --hero-to: #2a5080;
  --footer-bg: #1e3a5f;
  --shadow: 0 10px 40px rgba(30,58,95,0.10);
  --section-alt: #f0f4f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  transition: background .3s, color .3s;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  padding: 0 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-letter {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.logo-text-col {
  color: #fff;
}

[data-theme="light"] .logo-text-col {
  color: var(--navy);
}

.logo-text-col strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: .03em;
  line-height: 1.2;
}

.logo-text-col small {
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  font-family: 'Lato', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 6px;
  transition: all .2s;
  border-bottom: 2px solid transparent;
}

[data-theme="light"] .nav-btn {
  color: var(--text2);
}

.nav-btn:hover {
  color: var(--gold);
  background: rgba(201,168,76,.1);
}

.nav-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}

[data-theme="light"] .theme-toggle {
  background: var(--bg2);
  border-color: var(--card-border);
  color: var(--navy);
}

.theme-toggle:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-cfg {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all .25s;
  white-space: nowrap;
}

.btn-cfg:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.4rem;
  padding: 6px;
}

[data-theme="light"] .hamburger {
  color: var(--navy);
}

.page-section {
  display: none;
  animation: fadeUp .35s ease;
}

.page-section.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(13,27,42,0.85) 0%, rgba(26,47,69,0.85) 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at 20% 60%, rgba(201,168,76,.09) 0%, transparent 55%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  font-size: .73rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 30px;
  margin-bottom: 30px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.18;
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  color: rgba(255,255,255,.68);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 34px;
  border-radius: 9px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: .04em;
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(201,168,76,.45);
}

.btn-outline-w {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  padding: 14px 34px;
  border-radius: 9px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: all .25s;
}

.btn-outline-w:hover {
  border-color: #fff;
  background: rgba(255,255,255,.07);
}

.hero-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  display: block;
  font-weight: 700;
  letter-spacing: .05em;
}

.stat-lbl {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

.search-bar {
  background: var(--navy2);
  padding: 28px 24px;
  border-bottom: 1px solid rgba(201,168,76,.12);
}

.search-bar h3 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: .06em;
}

.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.search-form select, .search-form input[type="text"] {
  padding: 11px 16px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: .88rem;
  min-width: 170px;
  transition: border .2s;
  flex: 1;
}

.search-form select option {
  background: #162032;
}

.search-form select:focus, .search-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.search-form input::placeholder {
  color: rgba(255,255,255,.35);
}

.btn-search {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: .88rem;
  white-space: nowrap;
  transition: all .2s;
}

.btn-search:hover {
  background: var(--gold2);
}

.btn-search-clear {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.12);
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: .85rem;
  white-space: nowrap;
  transition: all .2s;
}

.section {
  padding: 76px 24px;
  background: var(--bg);
}

.section-alt {
  background: var(--section-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 54px;
}

.sec-label {
  display: inline-block;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--text);
  line-height: 1.2;
}

.sec-title span {
  color: var(--gold);
}

.sec-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.prop-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.prop-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(13,27,42,.18);
}

.pic-wrap {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: var(--bg3);
}

.pic-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.prop-card:hover .pic-wrap img {
  transform: scale(1.07);
}

.pic-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  background: var(--gold);
  color: var(--navy);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
}

.pic-badge.alq {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold);
}

.pic-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 5px;
}

.prop-body {
  padding: 20px;
}

.prop-type-lbl {
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 5px;
}

.prop-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.35;
}

.prop-addr {
  color: var(--text3);
  font-size: .83rem;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.prop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--card-border);
}

.prop-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 700;
}

.prop-cta {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}

.prop-card:hover .prop-cta {
  gap: 9px;
}

.rem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 26px;
}

.rem-card {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s;
}

.rem-card:hover {
  transform: translateY(-7px);
}

.rem-pic {
  position: relative;
  height: 215px;
  overflow: hidden;
}

.rem-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
  opacity: .75;
}

.rem-card:hover .rem-pic img {
  transform: scale(1.06);
}

.rem-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.92) 0%, transparent 55%);
}

.rem-st {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.st-upcoming {
  background: var(--gold);
  color: var(--navy);
}

.st-active {
  background: #22c55e;
  color: #fff;
}

.rem-body {
  padding: 22px;
}

.rem-date {
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .09em;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.rem-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 9px;
  line-height: 1.3;
}

.rem-loc {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.btn-rem {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 9px 19px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.btn-rem:hover {
  background: var(--gold);
  color: var(--navy);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.gal-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 195px;
  cursor: pointer;
  background: var(--bg3);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gal-item:hover img {
  transform: scale(1.08);
}

.about-grid, .gestoria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.abt-img, .gestoria-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
}

.abt-img img, .gestoria-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abt-badge, .gestoria-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
}

.abt-badge strong, .gestoria-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.val-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 28px;
}

.val-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--bg2);
  border-radius: 9px;
  padding: 13px;
  border: 1px solid var(--card-border);
}

.val-ico {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: .88rem;
  flex-shrink: 0;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.ct-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px;
}

.ct-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  margin-bottom: 7px;
}

.ct-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.ct-ico {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: .95rem;
  flex-shrink: 0;
}

.ct-lbl {
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.soc-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.soc-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
}

.soc-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 420px;
  display: block;
}

.footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 56px 24px 26px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 36px;
}

.ft-brand p {
  color: rgba(255,255,255,.48);
  font-size: .86rem;
  line-height: 1.72;
  max-width: 320px;
  margin-top: 14px;
}

.ft-col h5 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 16px;
  font-size: .92rem;
  letter-spacing: .05em;
}

.ft-col ul {
  list-style: none;
}

.ft-col li {
  margin-bottom: 9px;
}

.ft-col a {
  color: rgba(255,255,255,.48);
  font-size: .85rem;
  transition: color .2s;
}

.ft-col a:hover {
  color: var(--gold);
}

.ft-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ft-bottom p {
  color: rgba(255,255,255,.3);
  font-size: .78rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lb-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}

.lb-x {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-l {
  left: -58px;
}

.lb-r {
  right: -58px;
}

.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-bg.open {
  display: flex;
}

.login-box {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.lb-head {
  background: var(--navy);
  padding: 30px 34px 26px;
  text-align: center;
}

.lb-head-ico {
  width: 58px;
  height: 58px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: var(--navy);
}

.lb-head h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.25rem;
}

.lb-body {
  padding: 30px 34px;
}

.fg {
  margin-bottom: 17px;
}

.fg label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #2a3a4a;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.fg input {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #dde3ea;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: .92rem;
  color: #222;
}

.fg input:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-login-do {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
}

.btn-login-cancel {
  width: 100%;
  margin-top: 9px;
  background: none;
  border: 1.5px solid #e0e6ee;
  padding: 11px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .86rem;
}

.admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  display: none;
}

.admin-backdrop.open {
  display: block;
}

.admin-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 540px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 8600;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 70px rgba(0,0,0,.25);
  transition: right .35s cubic-bezier(.4, 0, .2, 1);
}

.admin-drawer.open {
  right: 0;
}

.ad-head {
  background: var(--navy);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ad-head h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.1rem;
}

.ad-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
}

.ad-tabs {
  display: flex;
  background: #f7f8fa;
  border-bottom: 1px solid #eaeef2;
  overflow-x: auto;
  flex-shrink: 0;
}

.ad-tab {
  padding: 11px 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: #778;
  background: none;
}

.ad-tab.on {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.ad-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
}

.ad-sec {
  display: none;
}

.ad-sec.on {
  display: block;
}

.af {
  margin-bottom: 15px;
}

.af label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #2a3a4a;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.af input, .af textarea, .af select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #dde3ea;
  border-radius: 7px;
  font-family: 'Lato', sans-serif;
  font-size: .87rem;
  color: #222;
  background: #fff;
}

.af input:focus, .af textarea:focus, .af select:focus {
  outline: none;
  border-color: var(--gold);
}

.af textarea {
  min-height: 85px;
  resize: vertical;
}

.af-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-save-ad {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  font-size: .88rem;
}

.btn-save-all {
  background: var(--gold);
  color: var(--navy);
  margin-bottom: 20px;
}

.ali {
  background: #f7f8fa;
  border: 1px solid #eaeef2;
  border-radius: 9px;
  padding: 13px 15px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ali-info strong {
  display: block;
  font-size: .86rem;
}

.ali-btns {
  display: flex;
  gap: 6px;
}

.btn-ed, .btn-dl {
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  border: none;
}

.btn-ed {
  background: rgba(201,168,76,.15);
  color: #8a6020;
}

.btn-dl {
  background: #fde8e8;
  color: #c53030;
}

.btn-add-new {
  width: 100%;
  background: none;
  border: 1.5px dashed var(--gold);
  color: var(--gold);
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.up-area {
  border: 2px dashed #ccd3dc;
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}

.up-area:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,.04);
}

.thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.th-item {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  height: 68px;
  background: #eaeef4;
}

.th-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.th-del {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(220,50,50,.85);
  color: #fff;
  border: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .6rem;
}

.logo-up-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.logo-preview-box {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-bg, .rd-bg {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pd-bg.open, .rd-bg.open {
  display: flex;
}

.pd-box, .rd-box {
  background: var(--bg);
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.pd-slider {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: var(--bg3);
  flex-shrink: 0;
}

.pd-slides {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}

.pd-slide {
  min-width: 100%;
  height: 100%;
}

.pd-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.82);
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.pd-lft {
  left: 11px;
}

.pd-rgt {
  right: 11px;
}

.pd-body {
  padding: 26px;
  overflow-y: auto;
  flex: 1;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(70px);
  background: var(--navy);
  color: #fff;
  padding: 11px 26px;
  border-radius: 9px;
  font-size: .87rem;
  font-weight: 700;
  opacity: 0;
  transition: all .35s;
  z-index: 9999;
  border-left: 3px solid var(--gold);
  white-space: nowrap;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 960px) {
  .about-grid, .gestoria-grid, .ct-grid {
    grid-template-columns: 1fr;
  }
  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
  .map-wrap {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 14px;
    z-index: 800;
    border-bottom: 1px solid var(--header-border);
  }
  .main-nav.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .val-grid {
    grid-template-columns: 1fr;
  }
  .ft-grid {
    grid-template-columns: 1fr;
  }
  .lb-l {
    left: -38px;
  }
  .lb-r {
    right: -38px;
  }
  .admin-drawer {
    width: 100vw;
  }
  .af-2 {
    grid-template-columns: 1fr;
  }
  .btn-cfg span {
    display: none;
  }
  .hero-stats {
    gap: 30px;
  }
}