/* ==================================================================
   СКИН ЗА ТЕМА CLARITY: Лукс синьо

   Направен за Нониус-НТ (24.11.2026). Полунощно синьо + сапфир, Jost за заглавия и меню, Inter за текст и бутони,
   тънки шампанени линии,
   меки дълбоки сенки - вид на премиум строител.
     - служебният ред и редът с логото са бели (тъмносиньото лого);
     - менюто е тъмна полунощна лента с шампанена нишка отдолу;
     - бутоните са сапфирен градиент, вторият - бял с тънка рамка;
     - футърът е полунощно син.

   Веригата е като при другите скинове:
   скин -> --skin-accent -> custom.css -> --brand-accent -> --accent.
================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Jost:wght@400;500;600;700&display=swap");

:root {
  --skin-accent:       #1a3d8f;
  --skin-accent-dark:  #0f2a6b;
  --skin-accent-soft:  #b6c6ea;
  --skin-accent-rgb:   26, 61, 143;
  --brand-accent:      #1a3d8f;
  --brand-accent-rgb:  26, 61, 143;

  --accent-2:          #ffffff;
  --accent-2-dark:     #eef2fa;
  --accent-2-ink:      #0b1a3d;

  --ink:               #0b1630;
  --ink-2:             #43506b;
  --paper-2:           #f3f5fa;
  --line:              #e1e6f0;

  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-head: "Jost", "Segoe UI", system-ui, sans-serif;
  --weight-head: 600;
  --tracking-head: 0;

  --shadow: 0 1px 2px rgba(11, 22, 48, .06), 0 22px 48px -26px rgba(11, 26, 61, .55);

  --lx-midnight:  #0b1a3d;
  --lx-deep:      #10285c;
  --lx-sapphire:  #1a3d8f;
  --lx-royal:     #2d5bd1;
  --lx-champ:     #cdb88a;
  --lx-ice:       #c9d8ff;
  --lx-grad:      linear-gradient(135deg, #2d5bd1 0%, #1a3d8f 55%, #10285c 100%);
}

/* --- заглавия: Jost като менюто --- */
h1, h2, h3, .h1, .h2, .h3, .ct-hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .005em;
}
/* текстът за четене и бутоните - Inter, лесен за четене */
body, p, li, td, input, select, textarea, button, .btn, .ct-search,
.hc-chip, .hc-go__text, .hc-all, .hc-stage, .hc-lead, .hc-text, .hc-loc,
.bp-btn { font-family: var(--font-sans) !important; }
/* Jost само на акцентите: менюто и заглавията */
.ct-nav > li > a, .ct-hero-title { font-family: var(--font-head); }
h4, h5, h6, .h4, .h5, .h6 { font-family: var(--font-head); }

/* --- бутони --- */
.btn-primary,
.ct-btn-accent {
  background: var(--lx-grad);
  border: 1px solid var(--lx-sapphire);
  color: #fff;
  letter-spacing: .03em;
  box-shadow: 0 10px 24px -14px rgba(26, 61, 143, .9);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover, .btn-primary:focus,
.ct-btn-accent:hover, .ct-btn-accent:focus {
  background: var(--lx-grad);
  border-color: var(--lx-deep);
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(26, 61, 143, .95);
}
.btn-outline-primary { border-color: var(--lx-sapphire); color: var(--lx-sapphire); }
.btn-outline-primary:hover { background: var(--lx-sapphire); color: #fff; }

.ct-topbar .ct-cta .ct-btn-accent2,
.ct-btn-accent2 {
  background: #fff;
  border: 1px solid var(--lx-champ);
  color: var(--lx-midnight);
}
.ct-topbar .ct-cta .ct-btn-accent2:hover,
.ct-btn-accent2:hover, .ct-btn-accent2:focus {
  background: var(--lx-midnight);
  border-color: var(--lx-midnight);
  color: #fff;
  text-decoration: none;
}

a { color: var(--lx-sapphire); }
a:hover { color: var(--lx-royal); }

/* --- служебен ред: бял, тъмносин текст --- */
.ct-topbar { background: #fff; border-bottom: 1px solid var(--line); }
.ct-topbar, .ct-topbar a,
.ct-topbar .material-icons,
.ct-topbar .material-icons-outlined { color: var(--lx-midnight); }
.ct-topbar a:hover { color: var(--lx-royal); }
.ct-topbar .ct-cta .btn-primary .material-icons,
.ct-topbar .ct-cta .btn-primary .material-icons-outlined { color: #fff; }
.ct-topbar .ct-toplogo { background: var(--lx-midnight); border-radius: 6px; padding: 3px 8px; }

/* --- шапка: бял ред с логото, полунощна лента с менюто --- */
.ct-header {
  background: var(--lx-midnight);
  border-bottom: 0;
}
.ct-nav > li > a { color: #fff; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .84rem; }
.ct-nav > li > a:hover { background: rgba(255, 255, 255, .07); color: var(--lx-champ); }
.ct-nav > li > a.is-active { background: transparent; color: var(--lx-champ); box-shadow: inset 0 -2px 0 var(--lx-champ); }
.ct-nav > li > a .material-icons { color: var(--lx-champ); }
.ct-nav .dropdown-menu { border: 0; border-top: 2px solid var(--lx-champ); box-shadow: var(--shadow); }
.ct-nav .dropdown-item { color: var(--ink-2); }
.ct-nav .dropdown-item:hover { background: var(--paper-2); color: var(--lx-midnight); }
.ct-header .ct-burger,
.ct-header .ct-phone-mobile { background: transparent; border-color: rgba(205, 184, 138, .6); color: #fff; }
.ct-mainbar-inner .ct-btn-accent,
.ct-mainbar-inner .btn-primary { background: #fff; border-color: #fff; color: var(--lx-midnight); box-shadow: none; }

@media (min-width: 992px) {
  .ct-header { background: #fff; }
  .ct-mainbar-inner { flex-wrap: wrap; gap: 0; min-height: 0; }
  .ct-header .ct-logo { flex: 0 0 100%; padding: 12px 0; }
  .ct-header .ct-logo img { max-height: 76px; }
  .ct-nav,
  .ct-header--inline .ct-inline-navbar .ct-nav {
    flex: 0 0 100%;
    margin: 0;
    background: linear-gradient(90deg, var(--lx-midnight), var(--lx-deep) 50%, var(--lx-midnight));
    box-shadow: 0 0 0 100vmax var(--lx-midnight), 0 2px 0 100vmax rgba(205, 184, 138, .55);
    clip-path: inset(0 -100vmax -2px);
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .ct-nav > li > a { padding-top: 15px; padding-bottom: 15px; white-space: nowrap; }
  .ct-topbar .ct-toplogo { display: none; }

  /* хедър „лого вляво, контакти вдясно“ */
  .ct-header.ct-header--inline { background: #fff; }
  .ct-header--inline .ct-inline-navbar { border-top: 0; background: var(--lx-midnight); }
  .ct-header--inline .ct-langs-inline { background: #fff; border-color: var(--lx-champ); }
}

/* --- кутийки и повърхности: дълбока сянка, леко повдигане --- */
.card, .ct-ads-grid .card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(11, 22, 48, .06), 0 30px 60px -28px rgba(11, 26, 61, .6);
}

/* --- герой: по-дълбок воал --- */
.ct-hero-scrim {
  background: linear-gradient(180deg, rgba(11, 26, 61, .15) 0%, rgba(11, 26, 61, .55) 70%, rgba(11, 26, 61, .8) 100%);
}

/* --- търсачката --- */
.ct-search { border-top: 2px solid var(--lx-champ); box-shadow: var(--shadow); }

/* --- футър: полунощно синьо --- */
.ct-footer {
  color: #c4cee6;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(45, 91, 209, .28) 0%, transparent 62%),
    radial-gradient(760px 380px at 88% 100%, rgba(205, 184, 138, .12) 0%, transparent 60%),
    var(--lx-midnight);
  border-top: 2px solid var(--lx-champ);
}
.ct-footer h4, .ct-footer h5, .ct-footer .h5 { font-family: var(--font-head); color: #fff; letter-spacing: .02em; }
.ct-footer a { color: #dfe6f7; }
.ct-footer a:hover { color: var(--lx-champ); }
.ct-footer-bottom { border-top: 1px solid rgba(205, 184, 138, .25); }

/* --- портален хедър --- */
.ptl.pl-head .pl-top { background: var(--lx-midnight); border-bottom: 1px solid rgba(205, 184, 138, .4); }
.ptl.pl-head .pl-top .pl-cbtn.pl-sell { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px var(--lx-champ); }

@media (prefers-reduced-motion: reduce) {
  .card, .btn-primary, .ct-btn-accent { transition: none; }
  .card:hover, .btn-primary:hover { transform: none; }
}

/* --- пясъчно-бежово от фасадата на сградите (вместо оранжевото
       #e27809 от собствения custom.css на сайта) --- */
:root { --lx-sand: #b8864f; --lx-sand-soft: #c8a070; }
html body h1,
html body h1.h2.fw-bold.text-dark.mb-2,
html body h1.h3.mb-0.text-center { color: var(--lx-sand) !important; }
html body .apartsFromBuilder_holder_big.btn.btn-primary { background: var(--lx-sand-soft) !important; border-color: var(--lx-sand-soft) !important; }
/* надписът върху снимката/видеото на началната остава бял */
html body .ct-hero h1, html body .ct-video-hero h1, html body .ct-hero-title { color: #fff !important; }
