:root{
  color-scheme: light;
  --bg: #f6f2ed;
  --bg-2: #eef1f5;
  --surface: rgba(255,255,255,.92);
  --surface-2: rgba(255,255,255,.80);
  --surface-dark: rgba(10,16,28,.96);
  --surface-dark-2: rgba(18,27,42,.92);
  --about-visual: linear-gradient(145deg, #f5f7fa, #e8edf2);
  --about-visual-line: rgba(13,22,36,.10);
  --contact-surface: #171b22;
  --control-surface: rgba(255,255,255,.92);
  --card-fill: rgba(255,255,255,.74);
  --card-fill-subtle: rgba(255,255,255,.62);
  --content-bg: linear-gradient(180deg, #f4f0eb 0%, #f7f7f5 100%);
  --listing-surface: #fff;
  --line: rgba(13,22,36,.10);
  --line-strong: rgba(13,22,36,.16);
  --text: #132033;
  --muted: #5e687b;
  --muted-2: #7a8598;
  --gold: #d8a24c;
  --gold-2: #e0b15f;
  --gold-soft: rgba(216,162,76,.14);
  --dark: #0b1322;
  --shadow: 0 24px 48px -30px rgba(18,26,42,.28);
  --shadow-strong: 0 30px 64px -42px rgba(18,26,42,.40);
  --radius: 18px;
}

html[data-theme='dark']{
  color-scheme: dark;
  --bg: #07111d;
  --bg-2: #0b1625;
  --surface: rgba(13, 22, 36, .76);
  --surface-2: rgba(17, 27, 43, .92);
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.16);
  --text: #f6f7fb;
  --muted: #aab3c6;
  --muted-2: #7f89a0;
  --gold: #ffbe5c;
  --gold-2: #f2c774;
  --gold-soft: rgba(255,190,92,.14);
  --dark: #f6f7fb;
  --about-visual: linear-gradient(160deg, rgba(21,34,52,.96), rgba(10,18,31,.96));
  --about-visual-line: rgba(255,255,255,.14);
  --contact-surface: rgba(13,22,36,.96);
  --control-surface: rgba(17,27,43,.92);
  --card-fill: rgba(13,22,36,.76);
  --card-fill-subtle: rgba(17,27,43,.72);
  --content-bg: linear-gradient(180deg, #081422 0%, #0b1625 100%);
  --listing-surface: rgba(17,27,43,.92);
  --shadow: 0 24px 52px -34px rgba(0,0,0,.45);
  --shadow-strong: 0 34px 72px -44px rgba(0,0,0,.62);
}
html[data-theme='dark'] .panel-summary > div,
html[data-theme='dark'] .admin-form,
html[data-theme='dark'] .panel-table-wrap{
  border-color:var(--line);
  background:var(--card-fill-subtle);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Manrope', sans-serif;
  color:var(--text);
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  transition:color .36s ease, background .36s ease;
}

html.is-theme-transitioning *,
html.is-theme-transitioning *::before,
html.is-theme-transitioning *::after{
  transition:
    background-color .38s ease,
    border-color .38s ease,
    color .38s ease,
    box-shadow .38s ease,
    fill .38s ease,
    stroke .38s ease,
    opacity .38s ease,
    transform .38s ease;
}

body.is-curtain-active{
  overflow:hidden;
  touch-action:none;
}

body::before,
body::after{
  content:'';
  position:fixed;
  inset:-20vh -12vw;
  pointer-events:none;
  z-index:-1;
}

body::before{
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(255,255,255,.04) 47% 48%, transparent 48%),
    linear-gradient(65deg, transparent 0 48%, rgba(255,255,255,.03) 48% 49%, transparent 49%);
  background-size:140px 140px, 180px 180px;
  opacity:.72;
  animation:gridDrift 34s linear infinite;
}

body::after{
  background:
    linear-gradient(125deg, transparent 0 43%, rgba(216,162,76,.06) 43% 44%, transparent 44% 100%),
    linear-gradient(55deg, transparent 0 46%, rgba(255,255,255,.04) 46% 47%, transparent 47% 100%);
  opacity:.42;
  animation:fieldPulse 12s ease-in-out infinite alternate;
}

a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
button, a.button{ border:none; font:inherit; }
h1,h2,h3,.brand-copy{ font-family:'Poppins', sans-serif; }

.button,
.icon-button,
.nav a,
.search-submit,
.fav{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

.curtain{
  position:fixed;
  inset:0;
  z-index:999;
  pointer-events:none;
  overflow:hidden;
  background:transparent;
  will-change:opacity;
}
.curtain-canvas{
  display:block;
  width:100%;
  height:100%;
}
.curtain-panel{ display:none; }
.curtain-panel,
.curtain-canvas{ position:absolute; inset:0; }
.curtain-panel{
  width:50%;
  height:100%;
}
.curtain-panel--right{ left:50%; }
.curtain-panel::before{
  content:'';
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,.04) 18px 19px, transparent 19px 36px);
  opacity:.42;
}
.curtain-panel--left{ transform-origin:left center; }
.curtain-panel--right{
  transform-origin:right center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 34%, rgba(0,0,0,.04) 100%),
    linear-gradient(135deg, rgba(20,31,49,.96), rgba(11,17,29,.98));
}
html[data-theme='light'] .curtain-panel{
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 34%, rgba(13,22,36,.05) 100%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,242,246,.94));
  box-shadow:inset 0 0 0 1px rgba(13,22,36,.08);
}
html[data-theme='light'] .curtain-panel--right{
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 34%, rgba(13,22,36,.05) 100%),
    linear-gradient(135deg, rgba(238,242,246,.94), rgba(255,255,255,.96));
}
html[data-theme='light'] .curtain-panel::before{ opacity:.18; }

.theme-wash{
  position:fixed;
  inset:0;
  z-index:998;
  pointer-events:none;
  opacity:0;
  background:rgba(246,242,237,0);
  backdrop-filter:saturate(1.02) blur(0);
  -webkit-backdrop-filter:saturate(1.02) blur(0);
}
html[data-theme='dark'] .theme-wash{
  background:rgba(7,17,29,0);
}

.site-shell{
  width:min(1200px, calc(100% - 28px));
  margin:0 auto;
  padding:16px 0 40px;
}

.hero{
  position:relative;
  min-height:100vh;
  border-radius:26px;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(8,13,24,.97) 0%, rgba(8,13,24,.92) 28%, rgba(8,13,24,.55) 54%, rgba(8,13,24,.22) 72%, rgba(8,13,24,.14) 100%),
    url('https://storables.com/wp-content/uploads/2023/08/17-contemporary-style-homes-with-modern-curb-appeal-1693402961.jpg') 76% center/cover no-repeat;
  box-shadow:var(--shadow-strong);
  transition:box-shadow .35s ease;
}

.hero-sky{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,186,110,.24), transparent 14%),
    radial-gradient(circle at 80% 26%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(180deg, rgba(7,11,20,.08), rgba(7,11,20,.44));
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  padding:22px 22px 28px;
}

.topbar{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  color:#fff;
}

.brand-mark{
  width:54px;
  height:54px;
  color:var(--gold);
  flex:0 0 auto;
}
.brand-mark svg{ width:100%; height:100%; }

.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-copy strong{
  font-size:22px;
  letter-spacing:.5px;
}
.brand-copy span{
  font-size:11px;
  letter-spacing:5px;
  margin-top:5px;
  color:var(--gold);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  color:#fff;
  font-size:14px;
  font-weight:700;
}
.nav a{
  position:relative;
  opacity:.88;
  padding-bottom:10px;
}
.nav a.active{
  opacity:1;
  color:var(--gold);
}
.nav a.active::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:var(--gold);
}
.nav-login{
  min-height:38px;
  padding:0 12px;
  margin-left:2px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:13px;
  line-height:1;
}
.nav-login:hover{
  background:rgba(255,255,255,.14);
}

.topbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-button{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  cursor:pointer;
  box-shadow:0 16px 28px -22px rgba(0,0,0,.45);
  transition:transform .2s ease, background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.icon-button .icon-moon{ display:none; }
html[data-theme='light'] .icon-button .icon-sun{ display:none; }
html[data-theme='light'] .icon-button .icon-moon{ display:block; }

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 18px;
  border-radius:12px;
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
  transition:transform .2s ease, filter .2s ease, background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.button:hover{ transform:translateY(-1px); }
.button--login{
  min-height:38px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  gap:8px;
  font-size:13px;
  font-weight:800;
  box-shadow:0 14px 22px -20px rgba(0,0,0,.35);
}
.button--login:hover{
  background:rgba(255,255,255,.14);
}
.button--cta{
  background:linear-gradient(135deg, #f1c15c, #dca34e);
  color:#24190b;
  box-shadow:0 18px 28px -18px rgba(224,177,95,.55);
}
.whats-mark{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
}
.button--hero{
  background:linear-gradient(135deg, #f1c15c, #dca34e);
  color:#22170b;
  box-shadow:0 18px 28px -18px rgba(224,177,95,.55);
  padding-inline:24px;
}
.button--hero svg{ transition:transform .2s ease; }
.button--hero:hover svg{ transform:translateX(4px); }
.button--secondary,
.button--ghost{
  background:var(--card-fill);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.button--ghost{ background:var(--card-fill); }

.hero-grid{
  flex:1;
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  align-items:center;
  gap:24px;
  padding:40px 4px 0;
}

.hero-copy{
  max-width:540px;
  color:#fff;
  padding:24px 0 0 8px;
}
.hero-copy h1{
  margin:0;
  font-size:clamp(46px, 6vw, 66px);
  line-height:1.02;
  letter-spacing:-1px;
  text-transform:uppercase;
}
.hero-copy h1 span{ color:var(--gold); }
.hero-copy p{
  margin:24px 0 0;
  max-width:28ch;
  font-size:19px;
  line-height:1.5;
  color:rgba(255,255,255,.88);
}
.hero-copy .button{
  margin-top:28px;
}

.hero-visual{
  display:none;
}

.content{
  background:var(--content-bg);
  padding-bottom:24px;
}

.search-strip{
  width:min(1100px, calc(100% - 40px));
  margin:-46px auto 24px;
  padding:10px;
  border-radius:18px;
  background:var(--listing-surface);
  box-shadow:0 18px 42px -22px rgba(18,26,42,.42);
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr)) 74px;
  gap:0;
  position:relative;
  z-index:5;
  overflow:visible;
  transition:background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.search-filter{
  position:relative;
  min-width:0;
}
.search-filter + .search-filter{ border-left:1px solid rgba(13,22,36,.08); }
.search-field{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  width:100%;
  padding:18px 18px 18px 20px;
  min-width:0;
  color:var(--text);
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.search-field__icon{
  width:40px;
  height:40px;
  border-radius:50%;
  border:2px solid var(--gold);
  color:var(--gold);
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.search-field__copy{
  min-width:0;
}
.search-field__copy span{
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--muted);
}
.search-field__copy strong{
  display:block;
  font-size:16px;
  margin-top:3px;
  font-weight:700;
}
.search-field__chev{
  color:#aab1bf;
  transition:transform .24s ease;
}
.search-filter.is-open .search-field__chev{ transform:rotate(180deg); }
.search-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  left:10px;
  right:10px;
  z-index:20;
  min-width:230px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--control-surface);
  box-shadow:var(--shadow-strong);
  backdrop-filter:blur(18px);
}
.search-dropdown[hidden]{ display:none; }
.search-options{
  display:grid;
  gap:4px;
  max-height:250px;
  overflow:auto;
  padding:2px;
}
.search-option,
.search-clear{
  width:100%;
  min-height:42px;
  padding:9px 10px;
  border:1px solid transparent;
  border-radius:9px;
  color:var(--text);
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.search-option:hover,
.search-option:focus-visible,
.search-option.is-selected,
.search-clear:hover,
.search-clear:focus-visible{
  border-color:var(--gold-soft);
  background:var(--gold-soft);
  outline:none;
}
.search-dropdown--price{ padding:16px; }
.price-values{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--text);
  font-size:13px;
  font-weight:800;
}
.range-slider{
  --range-start:0%;
  --range-end:100%;
  position:relative;
  height:42px;
  margin:6px 0 4px;
}
.range-slider__track,
.range-slider__selected{
  position:absolute;
  top:19px;
  height:4px;
  border-radius:999px;
}
.range-slider__track{ inset-inline:0; background:var(--line-strong); }
.range-slider__selected{
  left:var(--range-start);
  right:calc(100% - var(--range-end));
  background:var(--gold);
}
.range-slider input[type='range']{
  appearance:none;
  -webkit-appearance:none;
  position:absolute;
  inset:0;
  width:100%;
  margin:0;
  background:transparent;
  pointer-events:none;
}
.range-slider input[type='range']::-webkit-slider-runnable-track{ height:4px; background:transparent; }
.range-slider input[type='range']::-moz-range-track{ height:4px; background:transparent; }
.range-slider input[type='range']::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;
  width:18px;
  height:18px;
  margin-top:-7px;
  border:3px solid var(--listing-surface);
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 2px 8px rgba(13,22,36,.22);
  pointer-events:auto;
  cursor:grab;
}
.range-slider input[type='range']::-moz-range-thumb{
  width:14px;
  height:14px;
  border:3px solid var(--listing-surface);
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 2px 8px rgba(13,22,36,.22);
  pointer-events:auto;
  cursor:grab;
}
.search-clear{
  min-height:36px;
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.search-submit{
  margin-left:10px;
  border-radius:12px;
  background:#11141b;
  color:#d7a64f;
  display:grid;
  place-items:center;
  box-shadow:0 14px 22px -16px rgba(0,0,0,.45);
}

.services,
.featured{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
}
.about{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
  padding:16px 0 8px;
}
.about-card{
  display:grid;
  grid-template-columns:minmax(240px, 320px) minmax(0, 1fr);
  gap:24px;
  align-items:stretch;
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.about-card__visual{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border-radius:18px;
  background:var(--about-visual);
  color:var(--text);
}
.about-avatar{
  width:120px;
  height:120px;
  border-radius:24px;
  display:grid;
  place-items:center;
  border:1px solid var(--about-visual-line);
  background:var(--card-fill-subtle);
  box-shadow:0 22px 34px -24px rgba(0,0,0,.45);
}
.about-avatar span{
  font-family:'Poppins', sans-serif;
  font-size:38px;
  font-weight:800;
  color:var(--gold);
  letter-spacing:1px;
}
.about-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.about-card__content{
  padding:8px 4px 8px 0;
}
.about-lead{
  margin:18px 0 0;
  font-size:18px;
  line-height:1.55;
  color:var(--muted);
  max-width:60ch;
  white-space:pre-line;
}
.about-details{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
.about-details > div{
  border-radius:18px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--card-fill-subtle);
  padding:16px;
}
.about-details span{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--muted);
  text-transform:uppercase;
}
.about-details strong{
  display:block;
  margin-top:8px;
  font-size:17px;
  line-height:1.35;
  color:var(--text);
}

.team{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
  padding:20px 0 8px;
}
.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(132px, 1fr));
  gap:14px;
}
.team-person{
  display:grid;
  justify-items:center;
  gap:10px;
  padding:18px 14px 16px;
  border-radius:16px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--card-fill-subtle);
  text-align:center;
  box-shadow:0 10px 24px -26px rgba(18,26,42,.28);
}
.team-person.is-admin{
  border-color:rgba(216,162,76,.34);
  background:linear-gradient(180deg, var(--gold-soft), var(--card-fill-subtle));
}
.team-person__avatar{
  width:84px;
  height:84px;
  border-radius:50%;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:var(--listing-surface);
  border:1px solid rgba(13,22,36,.08);
  color:var(--gold);
  font-family:'Poppins', sans-serif;
  font-size:22px;
  font-weight:800;
}
.team-person__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.team-person strong{
  font-size:14px;
  line-height:1.35;
  color:var(--text);
}
.team-person span{
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--muted);
}
.detail-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 10px;
}
.detail-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:9px;
  background:#203b35;
  color:#f6fbf8;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}
.services{
  padding:42px 0 30px;
  margin-bottom:14px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:0;
  border-top:1px solid rgba(13,22,36,.08);
  border-bottom:1px solid rgba(13,22,36,.08);
}

.service-card{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:18px;
  padding:30px 18px 28px;
  transition:background-color .35s ease, border-color .35s ease, color .35s ease;
}
.service-card + .service-card{
  border-left:1px solid rgba(13,22,36,.08);
  padding-left:32px;
}
.service-icon{
  width:70px;
  height:70px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:2px solid rgba(216,162,76,.42);
  color:var(--gold);
  background:var(--control-surface);
  box-shadow:0 10px 20px -16px rgba(18,26,42,.18);
  flex:0 0 auto;
  transition:background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.service-copy h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.05;
  color:var(--text);
}
.service-copy p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.45;
  max-width:16ch;
}

.featured{
  padding:42px 0 32px;
  margin-top:10px;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.eyebrow{
  margin:0 0 8px;
  color:var(--gold);
  font-size:13px;
  font-weight:800;
  letter-spacing:1.6px;
}
.section-head h2{
  margin:0;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.8px;
  color:var(--text);
  text-transform:uppercase;
}
.view-all{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  font-weight:700;
  font-size:14px;
}

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

.listing-card{
  position:relative;
  display:block;
  border-radius:14px;
  background:var(--listing-surface);
  box-shadow:var(--shadow);
  overflow:hidden;
  border:1px solid rgba(13,22,36,.08);
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --shine-x: 50%;
  --shine-y: 50%;
  transform:perspective(1200px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .35s ease, opacity .4s ease;
}
.listing-card.is-updating{ opacity:.55; }
.listing-card.is-entering{
  opacity:0;
  animation:listingCardIn .5s cubic-bezier(.22,.75,.32,1) forwards;
}
.listing-card.is-leaving{
  opacity:1;
  pointer-events:none;
  animation:listingCardOut .35s ease forwards;
}
@keyframes listingCardIn{
  from{ opacity:0; transform:translateY(14px) scale(.97); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}
@keyframes listingCardOut{
  from{ opacity:1; transform:scale(1); }
  to{ opacity:0; transform:scale(.96); }
}
@media (prefers-reduced-motion: reduce){
  .listing-card.is-entering,
  .listing-card.is-leaving{ animation:none; opacity:1; }
}
.listing-card,
.listing-card:hover,
.listing-card:focus-visible{
  text-decoration:none;
  color:inherit;
}
.listing-card::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(130deg, transparent 34%, rgba(255,255,255,.14) 50%, transparent 66%);
  background-size:200% 200%;
  background-position:var(--shine-x) var(--shine-y);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:1;
}
.listing-card:hover{
  box-shadow:0 24px 48px -30px rgba(18,26,42,.42);
  border-color:rgba(216,162,76,.22);
}
.listing-card:hover::before{ opacity:1; }

.card-media{
  position:relative;
  aspect-ratio: 4 / 3;
  overflow:hidden;
}
.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  transition:transform .5s ease;
}
.listing-card:hover .card-media img{ transform:scale(1.06); }

.badge,
.fav{
  position:absolute;
  top:14px;
  z-index:2;
}
.badge{
  background:#111316;
  color:#fff;
  border-radius:9px;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px;
  padding:8px 10px;
}
.listing-badges{
  position:absolute;
  top:14px;
  left:14px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  z-index:2;
  pointer-events:none;
}
.listing-badges .badge{
  position:static;
}
.badge--promo{
  background:var(--gold);
  color:#182033;
}
.badge--launch{
  background:#203b35;
  color:#f6fbf8;
}
.fav{
  right:14px;
  width:24px;
  height:24px;
  color:#fff;
  display:grid;
  place-items:center;
  opacity:.92;
}

.card-body{
  padding:18px 16px 16px;
}
.card-body h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
  color:var(--text);
}
.location{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}
.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px 14px;
  align-items:center;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(13,22,36,.08);
  color:var(--text);
  font-size:13px;
}
.meta{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.meta svg{ color:var(--gold); }
.property-price{
  margin-top:12px;
  color:var(--gold);
  font-size:21px;
  font-weight:800;
}
.listing-excerpt{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.5;
  font-size:14px;
}
.listing-card--empty{
  min-height:260px;
  display:flex;
  align-items:center;
}
.listing-empty{
  margin:10px 0 0;
  color:var(--muted);
}

.about-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.about-avatar img[hidden]{ display:none; }

.contact-bar{
  width:min(1100px, calc(100% - 40px));
  margin:18px auto 0;
  border-radius:16px;
  background:var(--contact-surface);
  color:#fff;
  box-shadow:0 22px 42px -26px rgba(0,0,0,.42);
  transition:background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.contact-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 28px;
}
.contact-spot,
.contact-license{
  display:flex;
  align-items:center;
  gap:18px;
}
.contact-spot{
  color:inherit;
  text-decoration:none;
}
.contact-spot:hover,
.contact-spot:focus-visible{
  text-decoration:none;
}
.contact-icon{
  width:82px;
  height:82px;
  border-radius:12px;
  background:linear-gradient(135deg, #e2b15d, #c68d3f);
  color:#fff;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  transition:background-color .35s ease, color .35s ease;
}
.contact-spot p,
.contact-license p{
  margin:0 0 5px;
  color:var(--gold);
  font-size:13px;
  letter-spacing:1px;
  font-weight:800;
}
.contact-spot strong{
  display:block;
  font-size:30px;
  line-height:1.05;
  font-weight:800;
}
.contact-divider{
  width:1px;
  height:58px;
  background:rgba(255,255,255,.16);
}
.contact-license strong{
  display:block;
  color:var(--gold);
  font-size:28px;
  line-height:1;
  font-weight:800;
}
.contact-license__icon{
  color:var(--gold);
}

.site-footer{
  width:min(1100px, calc(100% - 40px));
  margin:18px auto 0;
  padding:0 0 6px;
}
.site-footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 22px;
  border-top:1px solid rgba(13,22,36,.08);
  color:var(--muted);
}
.site-footer__brand{
  display:flex;
  align-items:baseline;
  gap:10px;
}
.site-footer__brand p{
  margin:0;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--gold);
}
.site-footer__brand strong{
  font-size:20px;
  line-height:1;
  color:var(--dark);
}
.site-footer__whatsapp{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:800;
  color:var(--dark);
  white-space:nowrap;
}
.site-footer__whatsapp-icon{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, #e2b15d, #c68d3f);
  color:#fff;
  flex:0 0 auto;
}
.site-footer__links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
}
.site-footer__link{
  display:inline-flex;
  align-items:center;
  padding:0;
  border:none;
  background:none;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  cursor:pointer;
}
.site-footer__link:hover,
.site-footer__link:focus-visible{
  color:var(--gold);
}

.legal-page .site-shell{
  width:min(1160px, calc(100% - 28px));
}
.legal-header{
  padding:10px 0 0;
}
.legal-hero{
  margin-top:26px;
  padding:34px 32px;
  border-radius:22px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.legal-hero h1{
  margin:0;
  max-width:14ch;
  font-size:clamp(34px, 4vw, 52px);
  line-height:1.04;
  color:var(--dark);
}
.legal-hero p{
  margin:16px 0 0;
  max-width:72ch;
  color:var(--muted);
  line-height:1.65;
}
.legal-content{
  display:grid;
  gap:16px;
  margin-top:18px;
}
.legal-section,
.legal-note{
  padding:26px 28px;
  border-radius:20px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.legal-section h2{
  margin:0;
  font-size:24px;
  line-height:1.1;
  color:var(--dark);
}
.legal-section p,
.legal-note p{
  margin:12px 0 0;
  color:var(--muted);
  line-height:1.7;
}
.legal-list{
  margin:14px 0 0;
  padding:0 0 0 18px;
  display:grid;
  gap:8px;
  color:var(--muted);
  line-height:1.6;
}
.legal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

.cookie-consent{
  border:none;
  padding:0;
  width:min(920px, calc(100% - 20px));
  max-height:calc(100dvh - 20px);
  background:transparent;
}
.cookie-consent::backdrop{
  background:rgba(8,13,24,.56);
  backdrop-filter:blur(8px);
}
.cookie-consent__panel{
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--surface);
  box-shadow:var(--shadow-strong);
  max-height:calc(100dvh - 20px);
  overflow:auto;
}
.cookie-consent__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.cookie-consent__head h2{
  margin:0;
  font-size:28px;
  line-height:1.1;
  color:var(--dark);
}
.cookie-consent__copy{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.65;
}
.cookie-consent__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}
.cookie-consent__item{
  display:grid;
  gap:8px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--card-fill);
}
.cookie-consent__item-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.cookie-consent__item-head strong{
  font-size:15px;
  color:var(--dark);
}
.cookie-consent__item-head small{
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1px;
}
.cookie-consent__item-copy{
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}
.cookie-consent__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:12px;
  margin-top:20px;
}
.cookie-consent__actions .button,
.cookie-consent__actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.cookie-consent__actions .button--login{
  background:transparent;
  color:var(--text);
  border-color:var(--line-strong);
  box-shadow:none;
}
html[data-theme='light'] .cookie-consent__actions .button--login{
  background:#f3f7fb;
  color:#132033;
  border-color:#c6d2e0;
}
.cookie-consent__actions .button--login:hover,
.cookie-consent__actions .button--login:focus-visible{
  background:var(--card-fill);
  color:var(--text);
}
html[data-theme='light'] .cookie-consent__actions .button--login:hover,
html[data-theme='light'] .cookie-consent__actions .button--login:focus-visible{
  background:#e7eef7;
  color:#132033;
}
.cookie-consent__actions .button--ghost{
  background:var(--card-fill);
  color:var(--text);
  border-color:var(--line-strong);
}
html[data-theme='light'] .cookie-consent__actions .button--ghost{
  background:#edf3f9;
  color:#132033;
  border-color:#c6d2e0;
}
.cookie-consent__actions .button--ghost:hover,
.cookie-consent__actions .button--ghost:focus-visible{
  background:var(--surface-2);
}
html[data-theme='light'] .cookie-consent__actions .button--ghost:hover,
html[data-theme='light'] .cookie-consent__actions .button--ghost:focus-visible{
  background:#e2ebf4;
}
.cookie-consent__item input[type='checkbox']{
  align-self:start;
}

.auth-shell{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px 16px;
}
.auth-card{
  width:min(960px, 100%);
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  border:1px solid rgba(13,22,36,.08);
  box-shadow:var(--shadow-strong);
}
html[data-theme='dark'] .auth-card{
  background:linear-gradient(180deg, rgba(13,22,36,.96), rgba(17,27,43,.92));
}
.auth-grid{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(360px, .85fr);
  min-height:640px;
}
.auth-aside{
  position:relative;
  padding:32px;
  color:#fff;
  background:
    linear-gradient(180deg, rgba(8,13,24,.54), rgba(8,13,24,.90)),
    url('https://storables.com/wp-content/uploads/2023/08/17-contemporary-style-homes-with-modern-curb-appeal-1693402961.jpg') center/cover no-repeat;
}
.auth-aside::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(8,13,24,.18), rgba(8,13,24,.52));
  pointer-events:none;
}
.auth-aside > *{
  position:relative;
  z-index:1;
}
.auth-copy{
  max-width:24ch;
  margin-top:120px;
}
.auth-copy h1{
  margin:0;
  font-size:clamp(38px, 4vw, 54px);
  line-height:1.02;
  text-transform:uppercase;
}
.auth-copy p{
  margin:18px 0 0;
  font-size:17px;
  line-height:1.5;
  color:rgba(255,255,255,.88);
}
.auth-panel{
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.auth-panel__head{
  margin-bottom:24px;
}
.auth-kicker{
  margin:0 0 10px;
  color:var(--gold);
  font-size:13px;
  font-weight:800;
  letter-spacing:1.5px;
}
.auth-panel h2{
  margin:0;
  font-size:30px;
  line-height:1.08;
  color:var(--dark);
}
.auth-panel p{
  margin:12px 0 0;
  color:var(--muted);
  line-height:1.5;
}
.auth-form{
  display:grid;
  gap:14px;
}
.auth-field label{
  display:block;
  margin:0 0 8px;
  font-size:13px;
  font-weight:800;
  color:var(--dark);
}
.auth-field input{
  width:100%;
  min-height:52px;
  border-radius:14px;
  border:1px solid rgba(13,22,36,.12);
  background:rgba(255,255,255,.92);
  color:var(--text);
  padding:0 16px;
  font:inherit;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .35s ease;
}
.auth-password-field{
  position:relative;
}
.auth-password-field input{
  padding-right:58px;
}
.password-toggle{
  position:absolute;
  top:50%;
  right:8px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  color:var(--muted-2);
  cursor:pointer;
  box-shadow:none;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.password-toggle:hover{
  background:rgba(216,162,76,.10);
  border-color:rgba(216,162,76,.16);
  color:var(--dark);
}
.password-toggle:focus-visible{
  outline:none;
  background:rgba(216,162,76,.12);
  border-color:rgba(216,162,76,.28);
  box-shadow:0 0 0 4px rgba(216,162,76,.14);
}
.password-toggle__icon--hide{
  display:none;
}
.password-toggle[aria-pressed='true'] .password-toggle__icon--show{
  display:none;
}
.password-toggle[aria-pressed='true'] .password-toggle__icon--hide{
  display:block;
}
.auth-field input:focus{
  border-color:rgba(216,162,76,.55);
  box-shadow:0 0 0 4px rgba(216,162,76,.14);
}
.auth-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:4px;
}
.auth-status{
  min-height:20px;
  margin:4px 0 0;
  font-size:14px;
  color:var(--muted);
}
.auth-status.is-error{ color:#b84d4d; }
.auth-status.is-success{ color:#2f7d4d; }
.auth-meta{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--muted-2);
  font-size:13px;
}
.auth-back{
  color:var(--dark);
  font-weight:800;
}
.auth-panel .button{
  width:auto;
}
.auth-panel .button--login{
  justify-self:start;
  background:linear-gradient(135deg, #f1c15c, #dca34e);
  color:#24190b;
  border:none;
}
.auth-panel .button--login:hover{
  background:linear-gradient(135deg, #f3c86c, #e1ad57);
}
.auth-dashboard{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:32px 16px;
}
.auth-dashboard__card{
  width:min(720px, 100%);
  border-radius:22px;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding:28px;
}
.auth-dashboard__actions{
  display:flex;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}

.panel-shell{
  min-height:100vh;
  padding:18px;
}
.panel-layout{
  min-height:calc(100vh - 36px);
  display:grid;
  grid-template-columns:minmax(280px, 360px) minmax(0, 1fr);
  gap:18px;
}
.panel-sidebar,
.panel-main{
  border-radius:24px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.panel-sidebar{
  position:relative;
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:22px;
}
.panel-theme-toggle{
  position:absolute;
  top:24px;
  right:24px;
  color:var(--text);
  background:var(--card-fill);
  border-color:var(--line);
}
.panel-theme-toggle:hover{
  background:var(--gold-soft);
  border-color:var(--gold-soft);
}
.panel-sidebar .button--login{
  background:#0b1322;
  border-color:#0b1322;
  color:#fff;
}
.panel-sidebar .button--login:hover{
  background:#1c2b40;
}
.panel-intro h1{
  margin:0;
  font-size:32px;
  line-height:1.05;
  color:var(--dark);
}
.panel-intro p{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.5;
}
.panel-summary{
  display:grid;
  gap:12px;
}
.panel-summary > div{
  border-radius:18px;
  border:1px solid rgba(13,22,36,.08);
  background:rgba(255,255,255,.55);
  padding:16px;
}
.panel-summary span{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--muted);
  text-transform:uppercase;
}
.panel-summary strong{
  display:block;
  margin-top:8px;
  font-size:20px;
  color:var(--dark);
}
.panel-main{
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
}
.panel-header,
.panel-table-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.panel-header h2,
.panel-table-head h2{
  margin:0;
  font-size:28px;
  line-height:1.08;
  color:var(--dark);
}
.panel-header p,
.panel-table-head p{
  margin:10px 0 0;
  color:var(--muted);
}
.admin-form{
  padding:20px;
  border-radius:20px;
  border:1px solid rgba(13,22,36,.08);
  background:rgba(255,255,255,.52);
}
.admin-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
.auth-field--full{
  grid-column:1 / -1;
}
.auth-field textarea{
  width:100%;
  resize:vertical;
  min-height:110px;
  border-radius:14px;
  border:1px solid rgba(13,22,36,.12);
  background:rgba(255,255,255,.92);
  color:var(--text);
  padding:14px 16px;
  font:inherit;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .35s ease;
}
.auth-field textarea:focus{
  border-color:rgba(216,162,76,.55);
  box-shadow:0 0 0 4px rgba(216,162,76,.14);
}
.panel-table-wrap{
  padding:20px;
  border-radius:20px;
  border:1px solid rgba(13,22,36,.08);
  background:rgba(255,255,255,.52);
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:0;
}
.panel-table-scroll{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow:auto;
  border-radius:16px;
  border:1px solid rgba(13,22,36,.08);
  background:rgba(255,255,255,.84);
}
.panel-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}
.panel-table th,
.panel-table td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid rgba(13,22,36,.08);
  font-size:14px;
  color:var(--text);
}
.panel-table th{
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--muted);
  background:rgba(246,242,237,.72);
}
.panel-empty{
  padding:20px;
  color:var(--muted);
}
.panel-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:var(--gold-soft);
  color:var(--gold);
  font-size:12px;
  font-weight:800;
}

.panel-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.panel-tab{
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(13,22,36,.10);
  background:var(--card-fill);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.panel-tab.is-active{
  background:linear-gradient(135deg, #f1c15c, #dca34e);
  color:#24190b;
  border-color:transparent;
}
.panel-section{
  display:flex;
  flex-direction:column;
  gap:18px;
  min-width:0;
}
.panel-actions{
  display:flex;
  gap:10px;
  align-items:flex-end;
  flex-wrap:wrap;
}
.panel-select{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:180px;
}
.panel-select span{
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  letter-spacing:1px;
  text-transform:uppercase;
}
.panel-select input,
.panel-select select{
  min-height:42px;
  border-radius:12px;
  border:1px solid rgba(13,22,36,.12);
  background:var(--control-surface);
  color:var(--text);
  padding:0 12px;
}
.overview-cards{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}
.overview-cards--compact{
  margin-top:16px;
}
.overview-card{
  position:relative;
  border-radius:18px;
  padding:18px;
  background:var(--card-fill);
  border:1px solid rgba(13,22,36,.08);
}
.overview-card span{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--muted);
  text-transform:uppercase;
}
.overview-card strong{
  display:block;
  margin-top:8px;
  font-size:28px;
  color:var(--text);
}
.overview-card--metric{
  min-height:142px;
  overflow:hidden;
}
.overview-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.overview-card__top > span{ margin:0; }
.metric-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:11px;
  color:var(--gold);
  background:var(--gold-soft);
}
.overview-card__foot{
  position:absolute;
  right:16px;
  bottom:14px;
  display:flex;
  align-items:center;
  gap:7px;
}
.overview-card__foot small{
  color:var(--muted-2);
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}
.metric-trend{
  display:inline-flex;
  align-items:center;
  gap:2px;
  font-size:11px;
  font-weight:800;
}
.metric-trend.is-positive{ color:#24875c; }
.metric-trend.is-negative{ color:#c35d5d; }
.metric-trend.is-neutral{ color:var(--muted-2); }
.insight-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(270px, .75fr);
  gap:14px;
}
.insight-grid--stats{ grid-template-columns:minmax(0, 1.15fr) minmax(300px, .85fr); }
.insight-panel,
.ranking-panel{
  min-width:0;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card-fill-subtle);
}
.insight-panel__head,
.ranking-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.insight-panel__head h3,
.ranking-panel__head h3{
  margin:0;
  color:var(--text);
  font-size:20px;
  line-height:1.15;
}
.insight-panel__head p:not(.auth-kicker){
  max-width:44ch;
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.insight-panel__meta,
.ranking-panel__head > span{
  color:var(--muted-2);
  font-size:11px;
  font-weight:800;
  text-align:right;
}
.line-chart{ margin-top:18px; }
.line-chart svg{ display:block; width:100%; height:190px; overflow:visible; }
.line-chart__grid{ fill:none; stroke:var(--line); stroke-width:1; stroke-dasharray:3 5; }
.line-chart__area{ fill:var(--gold-soft); }
.line-chart__line{ fill:none; stroke:var(--gold); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.line-chart__labels{ display:flex; justify-content:space-between; gap:12px; margin-top:4px; color:var(--muted-2); font-size:11px; font-weight:700; }
.distribution-chart{
  display:grid;
  grid-template-columns:132px minmax(0, 1fr);
  gap:12px;
  align-items:center;
  margin-top:16px;
}
.distribution-ring{ position:relative; width:128px; height:128px; display:grid; place-items:center; }
.distribution-ring svg{ width:100%; height:100%; transform:rotate(-90deg); }
.distribution-ring__base{ fill:none; stroke:var(--line); stroke-width:12; }
.distribution-ring__segment{ fill:none; stroke-width:12; stroke-linecap:butt; }
.distribution-ring strong{ position:absolute; margin-top:-14px; font-size:28px; color:var(--text); }
.distribution-ring span{ position:absolute; margin-top:28px; font-size:11px; color:var(--muted-2); font-weight:800; text-transform:uppercase; }
.distribution-legend{ display:grid; gap:10px; }
.distribution-legend > div{ display:grid; grid-template-columns:10px minmax(0, 1fr) auto; gap:8px; align-items:center; font-size:12px; color:var(--muted); }
.distribution-legend i{ width:8px; height:8px; border-radius:50%; background:var(--gold); }
.distribution-legend i.is-paused{ background:#7488a8; }
.distribution-legend i.is-deleted{ background:#cb6c64; }
.distribution-legend strong{ color:var(--text); font-size:13px; }
.ranking-panel{ padding:0; overflow:hidden; }
.ranking-panel__head{ padding:20px 20px 14px; }
.ranking-panel .table-shell{ border-width:1px 0 0; border-radius:0; }
.workspace-signal,
.contact-snapshot,
.agenda-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--line);
}
.workspace-signal > div,
.agenda-summary > div{
  position:relative;
  min-height:82px;
  padding:14px 16px;
  background:var(--card-fill-subtle);
}
.workspace-signal i{
  position:absolute;
  top:14px;
  right:14px;
  color:var(--gold);
}
.workspace-signal span,
.agenda-summary span,
.contact-snapshot span,
.team-brief span{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.workspace-signal strong,
.agenda-summary strong,
.contact-snapshot strong,
.team-brief strong{
  display:block;
  margin-top:7px;
  color:var(--text);
  font-size:24px;
}
.workspace-signal--announcements > div:first-child{ border-top:2px solid var(--gold); }
.workspace-signal--announcements > div:nth-child(2){ border-top:2px solid #7488a8; }
.workspace-signal--announcements > div:last-child{ border-top:2px solid #cb6c64; }
.team-brief{
  display:grid;
  grid-template-columns:auto minmax(110px, .35fr) minmax(140px, .45fr) minmax(220px, 1fr);
  gap:16px;
  align-items:center;
  padding:16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--card-fill-subtle);
}
.team-brief__mark{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:var(--gold);
  background:var(--gold-soft);
}
.team-brief p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.contact-snapshot{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  background:transparent;
  border:0;
  overflow:visible;
  gap:14px;
}
.contact-snapshot > div{
  min-height:100px;
  padding:18px;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--card-fill-subtle);
}
.contact-snapshot > div:last-child{
  background:var(--gold-soft);
  border-color:transparent;
}
.agenda-summary{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}
.agenda-summary > div:first-child{ border-left:3px solid #d8a24c; }
.agenda-summary > div:nth-child(2){ border-left:3px solid #24875c; }
.agenda-summary > div:last-child{ border-left:3px solid #cb6c64; }
.panel-section--announcements .table-shell{ box-shadow:0 18px 34px -30px rgba(18,26,42,.4); }
.panel-section--collaborators .entity-table tbody tr:hover{ background:var(--gold-soft); }
.panel-section--contacts .table-shell{ border-radius:14px; }
.panel-section--agenda .agenda-tabs{ width:max-content; }
.panel-section--settings .settings-form{
  padding:24px;
  border:1px solid var(--line);
  border-left:3px solid var(--gold);
  border-radius:18px;
  background:var(--card-fill-subtle);
}
.panel-main .icon-button,
.detail-modal .icon-button{
  color:var(--text);
  background:var(--card-fill);
  border-color:var(--line);
}
.icon-button--action{ width:36px; height:36px; box-shadow:none; }
.icon-button--action.is-positive{ color:#24875c; }
.icon-button--action.is-danger{ color:#c35d5d; }
.icon-button--action:hover{ background:var(--gold-soft); }
.overview-chart{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(84px, 1fr));
  gap:12px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--card-fill-subtle);
}
.overview-bar{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:stretch;
}
.overview-bar span{
  font-size:12px;
  color:var(--muted);
  text-align:center;
}
.overview-bar strong{
  text-align:center;
  font-size:13px;
}
.overview-profile{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  gap:18px;
  align-items:center;
  margin-top:14px;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--card-fill-subtle);
}
.overview-profile__media{
  width:84px;
  height:84px;
  border-radius:22px;
  overflow:hidden;
  background:rgba(13,22,36,.08);
}
.overview-profile__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.overview-profile__fallback{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, rgba(13,22,36,.2), rgba(13,22,36,.06));
}
.overview-profile__content h3{
  margin:4px 0 4px;
  font-size:24px;
  line-height:1.15;
  color:var(--text);
}
.overview-profile__content p{
  margin:0;
  color:var(--muted);
}
.overview-bar__track{
  height:140px;
  border-radius:16px;
  background:rgba(13,22,36,.06);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.overview-bar__track i{
  display:block;
  width:100%;
  background:linear-gradient(180deg, #f1c15c, #dca34e);
  border-radius:16px 16px 0 0;
}
.ranking-meter{
  width:100%;
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(13,22,36,.08);
}
.ranking-meter i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, #f1c15c, #dca34e);
}
.table-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.table-toolbar h2{
  margin:0;
  font-size:26px;
  color:var(--text);
}
.table-toolbar__actions{
  display:flex;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:10px;
}
.table-shell{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-color:var(--muted-2) transparent;
  border-radius:18px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--card-fill-subtle);
}
.entity-table{
  width:100%;
  border-collapse:collapse;
  min-width:920px;
}
.table-shell,
.panel-table-scroll{
  touch-action:pan-x pan-y;
}
.entity-table th,
.entity-table td{
  padding:14px 16px;
  border-bottom:1px solid rgba(13,22,36,.08);
  text-align:left;
  vertical-align:top;
}
.entity-table th{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--muted);
  background:var(--card-fill);
}
.entity-table td small{
  color:var(--muted);
}
.modal-form,
.settings-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.modal-head h3{
  margin:0;
  font-size:28px;
  color:var(--text);
}
.modal-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
.delete-list{
  display:grid;
  gap:10px;
}
.delete-list__item{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--card-fill);
}
.delete-list__item strong{
  display:block;
  color:var(--text);
  font-size:15px;
  line-height:1.35;
}
.delete-list__item small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.8px;
  font-size:11px;
  font-weight:700;
}
.modal-grid .auth-field,
.modal-grid .field-stack{
  display:flex;
  flex-direction:column;
}
.modal-grid .auth-field span{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:800;
  color:var(--text);
}
.modal-grid input,
.modal-grid select,
.modal-grid textarea{
  width:100%;
  min-height:48px;
  border-radius:14px;
  border:1px solid rgba(13,22,36,.12);
  background:var(--control-surface);
  color:var(--text);
  padding:0 14px;
  font:inherit;
}
.modal-grid input[type='checkbox']{
  width:18px;
  min-height:18px;
  height:18px;
  margin:0;
  padding:0;
  accent-color:var(--gold);
  flex:0 0 auto;
}
.modal-grid .auth-field > span:has(input[type='checkbox']){
  display:flex;
  align-items:center;
  gap:9px;
  min-height:48px;
  margin:0;
  cursor:pointer;
}
.modal-grid textarea{
  padding:14px;
  min-height:120px;
}
.modal-grid select[multiple]{
  min-height:160px;
  padding:10px;
}
.modal-grid .auth-field--full{
  grid-column:1 / -1;
}
.modal-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.dropzone{
  border:1.5px dashed rgba(216,162,76,.42);
  border-radius:18px;
  padding:16px;
  background:rgba(216,162,76,.05);
  cursor:pointer;
}
.dropzone.is-dragging{
  border-color:var(--gold);
  background:rgba(216,162,76,.12);
}
.dropzone p{
  margin:0 0 12px;
  color:var(--muted);
}
.dropzone-preview{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(92px, 1fr));
  gap:10px;
}
.dropzone-preview img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  border-radius:12px;
}
.repeat-list{
  display:grid;
  gap:10px;
}
.repeat-row{
  display:grid;
  grid-template-columns:1fr 40px;
  gap:10px;
}
.repeat-row input{
  min-height:48px;
  border-radius:12px;
  border:1px solid rgba(13,22,36,.12);
  background:var(--control-surface);
  padding:0 14px;
}
.field-stack{
  gap:10px;
}
.field-stack__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.field-stack__head span{
  font-size:13px;
  font-weight:800;
  color:var(--text);
}
.permissions-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.permission-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(13,22,36,.10);
  background:var(--card-fill);
}
.field-help{
  margin-top:8px;
  color:var(--muted) !important;
  font-size:12px !important;
  font-weight:600 !important;
}
.settings-photo-dropzone{
  display:grid;
  gap:12px;
  padding:16px;
  border-radius:18px;
  border:1px dashed rgba(13,22,36,.18);
  background:var(--card-fill-subtle);
  transition:border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.settings-photo-dropzone.is-dragging{
  border-color:rgba(216,162,76,.9);
  background:rgba(216,162,76,.08);
  box-shadow:0 0 0 4px rgba(216,162,76,.12);
  transform:translateY(-1px);
}
.settings-photo-help{
  margin:0;
}
.settings-photo-trigger{
  display:inline;
  padding:0;
  border:0;
  background:none;
  color:var(--dark);
  font:inherit;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.settings-photo-trigger:hover{
  color:var(--gold);
}
.settings-photo-trigger:focus-visible{
  outline:none;
  color:var(--gold);
  box-shadow:0 2px 0 currentColor;
}
.settings-photo-preview{
  width:110px;
  height:110px;
  overflow:hidden;
  border-radius:16px;
  background:rgba(255,255,255,.4);
  border:1px solid rgba(13,22,36,.08);
  display:grid;
  place-items:center;
}
.settings-photo-empty{
  padding:12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
  text-align:center;
}
.settings-photo-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.agenda-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--card-fill-subtle);
}
.agenda-tab{
  min-height:36px;
  padding:0 12px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.agenda-tab.is-active{
  background:var(--control-surface);
  color:var(--text);
  box-shadow:0 6px 16px -14px rgba(0,0,0,.48);
}
.announcement-tabs{
  display:flex;
  gap:8px;
  margin:0 0 16px;
  border-bottom:1px solid var(--line);
}
.announcement-tab{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 2px 10px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.announcement-tab.is-active{
  border-bottom-color:var(--gold);
  color:var(--text);
}
.announcement-tab span{
  display:grid;
  min-width:20px;
  height:20px;
  place-items:center;
  border-radius:50%;
  background:var(--gold-soft);
  color:var(--text);
  font-size:11px;
}
.featured-select{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.featured-select input{
  width:16px;
  height:16px;
  accent-color:var(--gold);
}
.featured-select input:checked + span{ color:var(--text); }
.responsible-card{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--card-fill-subtle);
}
.responsible-card img,
.responsible-card__fallback{
  display:block;
  width:36px;
  height:36px;
  flex:0 0 auto;
  border-radius:50%;
  object-fit:cover;
  background:var(--gold-soft);
}
.responsible-card strong,
.responsible-card small{ display:block; }
.responsible-card small{ margin-top:2px; color:var(--muted); }
.permission-item input{
  width:16px;
  height:16px;
}

.detail-shell{
  width:min(1180px, calc(100% - 28px));
  margin:0 auto;
  padding:18px 0 40px;
}
.detail-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.detail-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.detail-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr);
  gap:18px;
  align-items:start;
}
.detail-gallery,
.detail-panel,
.detail-card,
.detail-modal__content{
  border-radius:22px;
  border:1px solid rgba(13,22,36,.08);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.detail-gallery{
  overflow:hidden;
  min-height:520px;
}
.detail-gallery img{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
}
.detail-panel{
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.detail-panel h1{
  margin:0;
  font-size:clamp(34px, 4vw, 54px);
  line-height:1.04;
  color:var(--dark);
}
.detail-responsibles{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.detail-description{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:16px;
}
.detail-price{
  color:var(--gold);
  font-size:28px;
  font-weight:800;
}
.detail-card{
  margin-top:18px;
  padding:22px;
}
.detail-card h2{
  margin:0;
  font-size:24px;
  color:var(--dark);
}
.detail-gallery-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}
.detail-gallery-grid img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(13,22,36,.08);
}
.detail-modal::backdrop{
  background:rgba(8,13,24,.52);
  backdrop-filter:blur(6px);
}
.detail-modal{
  border:none;
  padding:0;
  background:transparent;
  width:min(840px, calc(100% - 20px));
  max-height:calc(100dvh - 20px);
}
.detail-modal__content{
  padding:22px;
  width:100%;
  max-height:calc(100dvh - 20px);
  overflow:auto;
}
.detail-modal__content .modal-head{
  position:sticky;
  top:-22px;
  z-index:2;
  padding:22px 0 12px;
  background:var(--surface);
}
.detail-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.detail-modal__head h2{
  margin:0;
  font-size:26px;
  color:var(--dark);
}
.detail-modal__grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
.detail-modal__actions{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.detail-modal .auth-field span{
  display:block;
  margin:0 0 8px;
  font-size:13px;
  font-weight:800;
  color:var(--dark);
}

[data-reveal]{
  opacity:1;
  transform:translateY(0);
  transition:opacity .45s ease, transform .45s ease;
}
[data-reveal][data-hidden='true']{
  opacity:0;
  transform:translateY(18px);
}
[data-reveal].is-visible{
  opacity:1;
  transform:translateY(0);
}

@keyframes gridDrift{
  from{ transform:translate3d(0,0,0); }
  to{ transform:translate3d(56px, 34px, 0); }
}
@keyframes fieldPulse{
  from{ transform:translate3d(-2%, -1%, 0); }
  to{ transform:translate3d(2%, 1%, 0); }
}

@media (max-width: 1080px){
  .hero{
    min-height:auto;
    border-radius:22px;
  }
  .hero-inner{
    min-height:auto;
  }
  .topbar{
    grid-template-columns:1fr auto;
    column-gap:18px;
    row-gap:16px;
    align-items:start;
  }
  .nav{
    grid-column:1 / -1;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:16px 22px;
  }
  .nav-login{
    order:4;
    margin-left:0;
  }
  .topbar-actions{
    grid-column:2;
    justify-self:end;
    width:auto;
    justify-content:flex-start;
  }
  .hero-grid{
    grid-template-columns:1fr;
    padding-top:28px;
  }
  .hero-copy{
    max-width:none;
  }
  .hero-visual{
    justify-self:stretch;
    width:100%;
    max-width:760px;
  }
  .about-card{
    grid-template-columns:1fr;
  }
  .about-card__visual{
    min-height:220px;
  }
  .search-strip{
    grid-template-columns:1fr;
    margin:14px auto 24px;
  }
  .search-filter + .search-filter{
    border-left:none;
    border-top:1px solid rgba(13,22,36,.08);
  }
  .search-dropdown{
    position:static;
    min-width:0;
    margin:0 8px 10px;
  }
  .search-submit{
    margin-left:0;
    min-height:56px;
  }
  .service-grid,
  .listings-grid{
    grid-template-columns:1fr;
  }
  .service-card + .service-card{
    border-left:none;
    border-top:1px solid rgba(13,22,36,.08);
    padding-left:18px;
  }
  .contact-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .contact-divider{
    width:100%;
    height:1px;
  }
  .site-footer{
    width:100%;
  }
  .site-footer__inner{
    flex-direction:column;
    align-items:flex-start;
    padding:18px 20px 4px;
  }
  .site-footer__links{
    width:100%;
    justify-content:flex-start;
    gap:10px 14px;
  }
  .site-footer__link{
    font-size:11px;
  }
  .legal-hero,
  .legal-section,
  .legal-note,
  .cookie-consent__panel{
    padding:22px 18px;
  }
  .legal-hero h1{
    max-width:none;
  }
  .cookie-consent{
    width:min(100% - 14px, 920px);
  }
  .cookie-consent__head{
    flex-direction:column;
  }
  .cookie-consent__actions{
    justify-content:stretch;
  }
  .cookie-consent__actions .button,
  .cookie-consent__actions a{
    width:100%;
    justify-content:center;
  }
  .panel-layout{
    grid-template-columns:1fr;
  }
  .panel-sidebar{
    min-height:auto;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(220px, .7fr);
    grid-template-areas:
      "brand summary"
      "intro summary"
      "actions actions";
    align-items:start;
    gap:18px;
  }
  .panel-theme-toggle{
    top:20px;
    right:20px;
  }
  .panel-sidebar > .brand{ grid-area:brand; }
  .panel-sidebar > .panel-intro{ grid-area:intro; }
  .panel-sidebar > .panel-summary{ grid-area:summary; }
  .panel-sidebar > .auth-dashboard__actions{ grid-area:actions; margin-top:0; }
  .panel-sidebar .panel-intro h1{
    max-width:18ch;
  }
  .admin-grid{
    grid-template-columns:1fr;
  }
  .panel-header,
  .panel-table-head{
    flex-direction:column;
  }
  .detail-layout{
    grid-template-columns:1fr;
  }
  .detail-gallery{
    min-height:360px;
  }
  .detail-gallery img{
    min-height:360px;
  }
  .overview-cards{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .insight-grid,
  .insight-grid--stats{
    grid-template-columns:1fr;
  }
  .team-brief{
    grid-template-columns:auto repeat(2, minmax(0, 1fr));
  }
  .team-brief p{ grid-column:1 / -1; }
  .modal-grid,
  .permissions-grid{
    grid-template-columns:1fr;
  }
  .cookie-consent__grid{
    grid-template-columns:1fr;
  }
  .panel-select{
    min-width:100%;
  }
}

@media (min-width: 521px) and (max-height: 820px){
  .cookie-consent__panel{
    padding:16px;
  }
  .cookie-consent__copy{
    margin-top:9px;
    line-height:1.45;
  }
  .cookie-consent__grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
    margin-top:12px;
  }
  .cookie-consent__item{
    gap:6px;
    padding:12px;
    border-radius:14px;
  }
  .cookie-consent__item-head{
    display:block;
  }
  .cookie-consent__item-head small{
    display:block;
    margin-top:3px;
    font-size:9px;
  }
  .cookie-consent__item-copy{
    font-size:12px;
    line-height:1.4;
  }
  .cookie-consent__actions{
    margin-top:12px;
  }
}

@media (max-width: 760px){
  .site-shell{
    width:min(100% - 16px, 1200px);
    padding-top:8px;
  }
  .hero-inner{
    padding:16px 14px 20px;
  }
  .brand-mark{
    width:46px;
    height:46px;
  }
  .brand-copy strong{
    font-size:18px;
  }
  .nav{
    gap:14px 18px;
    font-size:13px;
  }
  .hero-copy h1{
    font-size:clamp(38px, 11vw, 52px);
  }
  .hero-copy p{
    font-size:17px;
  }
  .hero-copy .button{
    margin-bottom:12px;
  }
  .about,
  .team,
  .search-strip,
  .services,
  .featured,
  .contact-bar{
    width:100%;
  }
  .search-strip{
    margin:-14px auto 20px;
    padding:8px;
  }
  .search-field{
    padding:16px;
  }
  .about{
    padding-top:10px;
  }
  .team{
    padding-top:12px;
  }
  .about-card{
    padding:18px;
    gap:18px;
  }
  .about-avatar{
    width:96px;
    height:96px;
    border-radius:20px;
  }
  .about-avatar span{
    font-size:30px;
  }
  .about-lead{
    font-size:17px;
  }
  .about-details{
    grid-template-columns:1fr;
  }
  .team-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .service-card{
    padding:22px 14px 20px;
  }
  .service-icon{
    width:60px;
    height:60px;
  }
  .service-copy h3{
    font-size:20px;
  }
  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .section-head h2{
    font-size:28px;
  }
  .view-all{
    font-size:13px;
  }
  .contact-inner{
    padding:20px;
  }
  .contact-icon{
    width:64px;
    height:64px;
  }
  .contact-spot strong{
    font-size:24px;
  }
  .contact-license strong{
    font-size:24px;
  }
  .site-footer__whatsapp{
    font-size:14px;
  }
  .about-card__content{
    padding-right:0;
  }
  .panel-sidebar{
    grid-template-columns:1fr;
    grid-template-areas:
      "brand"
      "intro"
      "summary"
      "actions";
    gap:16px;
  }
  .panel-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .panel-sidebar .auth-dashboard__actions{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    width:100%;
  }
  .panel-sidebar .auth-dashboard__actions .button{
    width:100%;
  }
  .panel-header,
  .table-toolbar{
    align-items:stretch;
  }
  .panel-actions,
  .table-toolbar__actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
    align-items:stretch;
  }
  .panel-actions .button,
  .table-toolbar__actions .button{
    width:100%;
    white-space:normal;
  }
  .panel-select{
    min-width:0;
    width:100%;
  }
  .overview-profile{
    grid-template-columns:1fr;
    align-items:start;
  }
  .overview-profile__media{
    width:68px;
    height:68px;
    border-radius:18px;
  }
  .overview-cards--compact{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .detail-modal{
    width:calc(100% - 16px);
    max-height:calc(100dvh - 16px);
  }
  .detail-modal__content{
    max-height:calc(100dvh - 16px);
    padding:18px;
  }
  .detail-modal__content .modal-head{
    top:-18px;
    padding:18px 0 12px;
  }
  .modal-head h3{
    font-size:24px;
  }
  .modal-actions{
    align-items:stretch;
    flex-direction:column;
  }
  .modal-actions .button{
    width:100%;
  }
  .auth-shell{
    display:block;
    min-height:100dvh;
    padding:16px;
  }
  .auth-card{
    width:100%;
    border-radius:20px;
  }
  .auth-grid{
    grid-template-columns:1fr;
    min-height:0;
  }
  .auth-panel{
    padding:28px 24px;
  }
  .auth-aside{
    min-height:230px;
    padding:22px 24px;
    background-position:center;
  }
  .auth-copy{
    margin-top:40px;
    max-width:34ch;
  }
  .auth-copy h1{
    font-size:34px;
  }
  .auth-copy p{
    margin-top:10px;
    font-size:15px;
  }
  .auth-actions{
    flex-direction:column;
    align-items:flex-start;
  }
  .auth-panel h2{
    font-size:26px;
  }
  .detail-topbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .detail-gallery-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .detail-modal__grid{
    grid-template-columns:1fr;
  }
  .detail-modal__actions{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 520px){
  .cookie-consent{
    width:calc(100% - 12px);
    max-height:calc(100dvh - 12px);
  }
  .cookie-consent__panel{
    padding:16px 14px;
    border-radius:20px;
    max-height:calc(100dvh - 12px);
  }
  .cookie-consent__head{ gap:10px; }
  .cookie-consent__head h2{ font-size:24px; }
  .cookie-consent__copy{
    margin-top:10px;
    font-size:13px;
    line-height:1.5;
  }
  .cookie-consent__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    margin-top:12px;
  }
  .cookie-consent__item{
    gap:6px;
    padding:11px;
    border-radius:14px;
  }
  .cookie-consent__item-head{
    display:block;
  }
  .cookie-consent__item-head strong,
  .cookie-consent__item-head small{
    display:block;
  }
  .cookie-consent__item-head small{
    margin-top:3px;
    font-size:9px;
    letter-spacing:.7px;
  }
  .cookie-consent__item-copy{
    font-size:11px;
    line-height:1.4;
  }
  .cookie-consent__item input[type='checkbox']{
    margin:0;
  }
  .cookie-consent__actions{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    margin-top:12px;
  }
  .cookie-consent__actions .button,
  .cookie-consent__actions a{
    width:100%;
    min-height:40px;
    padding:0 8px;
    font-size:10px;
    text-align:center;
  }

  .hero-grid{
    padding-top:34px;
  }
  .hero-copy{
    padding-left:0;
  }
  .button{
    width:100%;
  }
  .button--cta{
    width:auto;
  }
  .topbar-actions .button{
    width:auto;
  }
  .topbar{
    grid-template-columns:minmax(0, 1fr) auto;
    column-gap:10px;
    row-gap:12px;
    align-items:center;
  }
  .nav{
    grid-column:1 / -1;
    grid-row:2;
    justify-content:flex-start;
    gap:8px 12px;
    font-size:11px;
  }
  .nav a{
    padding-bottom:6px;
  }
  .topbar-actions{
    grid-column:2;
    grid-row:1;
    justify-self:end;
    width:auto;
    flex-wrap:nowrap;
    gap:6px;
  }
  .topbar-actions .button--cta{
    min-height:40px;
    padding:0 11px;
    font-size:11px;
  }
  .topbar-actions .whats-mark{
    width:16px;
    height:16px;
  }
  .nav-login{
    min-height:32px;
    padding:0 9px;
    font-size:11px;
  }
  .hero{
    min-height:auto;
  }
  .hero-inner{
    min-height:650px;
  }
  .search-strip{
    margin:14px auto 20px;
  }
  .icon-button{
    width:42px;
    height:42px;
  }
  .auth-shell{
    padding:10px;
  }
  .auth-panel{
    padding:24px 20px;
  }
  .auth-aside{
    min-height:210px;
    padding:20px;
  }
  .auth-copy{
    margin-top:32px;
  }
  .auth-copy h1{
    font-size:30px;
  }
  .auth-actions{
    align-items:stretch;
  }
  .auth-panel .button{
    width:100%;
  }
  .auth-back{
    text-align:center;
  }
  .contact-spot,
  .contact-license{
    width:100%;
  }
  .contact-spot strong{
    font-size:22px;
  }
  .panel-shell{
    padding:10px;
  }
  .panel-main,
  .panel-sidebar{
    padding:20px;
    border-radius:20px;
  }
  .panel-sidebar .auth-dashboard__actions{
    grid-template-columns:1fr;
  }
  .overview-cards{
    grid-template-columns:1fr;
  }
  .overview-cards--compact{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .overview-card{
    padding:16px;
  }
  .overview-card strong{
    font-size:25px;
  }
  .overview-card--metric{
    min-height:132px;
  }
  .overview-card__foot{
    left:auto;
    right:16px;
  }
  .overview-card__foot small{ font-size:9px; }
  .insight-panel,
  .ranking-panel__head{
    padding:16px;
  }
  .insight-panel__head,
  .ranking-panel__head{
    flex-direction:column;
  }
  .insight-panel__meta,
  .ranking-panel__head > span{
    text-align:left;
  }
  .line-chart svg{ height:150px; }
  .distribution-chart{
    grid-template-columns:112px minmax(0, 1fr);
  }
  .distribution-ring{
    width:108px;
    height:108px;
  }
  .workspace-signal,
  .agenda-summary{
    grid-template-columns:1fr;
  }
  .workspace-signal > div,
  .agenda-summary > div{
    min-height:70px;
  }
  .contact-snapshot{
    grid-template-columns:1fr;
  }
  .team-brief{
    grid-template-columns:auto minmax(0, 1fr);
    align-items:start;
  }
  .team-brief > div:nth-child(3){ grid-column:2; }
  .team-brief p{ grid-column:1 / -1; }
  .panel-section--agenda .agenda-tabs{ width:100%; }
  .panel-intro h1{
    font-size:28px;
  }
  .panel-header h2,
  .panel-table-head h2{
    font-size:24px;
  }
}

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

/* Painel: atualizações em tempo real (multi-corretor) */
#panelView{
  animation:panelViewIn .3s ease;
}
@keyframes panelViewIn{
  from{ opacity:.5; }
  to{ opacity:1; }
}
.panel-tab{
  position:relative;
}
.panel-tab.has-live-update::after{
  content:'';
  position:absolute;
  top:6px;
  right:6px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#3ba55d;
  animation:liveDotPulse 1.6s ease-in-out infinite;
}
@keyframes liveDotPulse{
  0%, 100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.5; transform:scale(1.25); }
}
