/* Stefanov Invest — public theme 2026 */
:root {
  --navy: #14213D;
  --navy-2: #0B182E;
  --teal: #1F7A8C;
  --teal-light: #48A9BA;
  --sand: #F2B33D;
  --silver: #AEBBCB;
  --ground: #BFDCE8;
  --ground-mid: #D6EAF2;
  --ground-end: #E7F2F7;
  --line: #E6EBF0;
  --muted: #5A6778;
  --text: #2D3A4D;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(20, 33, 61, .10);
  --font: Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--navy); background: var(--ground-end); font-size: 16px; line-height: 1.5; }
main { background: linear-gradient(180deg, var(--ground) 0, var(--ground-mid) 1400px, var(--ground-end) 100%); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1288px; margin: 0 auto; padding: 0 24px; }
.icon { flex: none; }
.muted { color: var(--muted); }

/* Logo — the original Stefanov Invest mark, redrawn in HTML */
.logo { display: inline-flex; align-items: stretch; height: 56px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(11, 24, 46, .28); }
.logo__name { position: relative; display: flex; align-items: center; background: var(--navy); padding: 0 18px 0 10px; color: #fff; font-family: var(--serif); font-weight: 600; }
.logo__s { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--silver); border-radius: 3px; font-size: 32px; line-height: 1; }
.logo__rest { font-size: 29px; line-height: 1; margin-left: 2px; padding-top: 7px; }
.logo__invest { position: absolute; top: 4px; right: 18px; font-style: italic; font-weight: 400; font-size: 13px; color: var(--silver); letter-spacing: .06em; }
.logo__agency { display: flex; flex-direction: column; justify-content: center; background: var(--teal-light); color: var(--navy); padding: 0 14px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 14px; line-height: 1.02; letter-spacing: .1em; }
.logo--sm { height: 46px; border-radius: 10px; box-shadow: none; }
.logo--sm .logo__name { padding: 0 15px 0 8px; }
.logo--sm .logo__s { width: 31px; height: 31px; font-size: 26px; }
.logo--sm .logo__rest { font-size: 24px; padding-top: 6px; }
.logo--sm .logo__invest { font-size: 11px; top: 3px; right: 15px; }
.logo--sm .logo__agency { font-size: 11.5px; padding: 0 11px; }

/* Buttons and small pieces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 15px 22px; font-weight: 700; font-size: 16px; cursor: pointer; line-height: 1.2; text-align: center; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { color: #fff; background: #19697A; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { color: #fff; }
.btn--sand { background: var(--sand); color: var(--navy); }
.btn--sand:hover { color: var(--navy); background: #F5BF55; }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.btn--line { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn--pill { border-radius: 999px; padding: 12px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.round { width: 48px; height: 48px; border-radius: 999px; border: 1px solid #D9E0E7; background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.round--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); color: var(--navy); padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip--glass { background: rgba(11, 24, 46, .42); border-color: transparent; color: #fff; }
.chip--light { background: #fff; border-color: #fff; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips--hero { margin: 18px 0 0; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.badge--sand { background: var(--sand); color: var(--navy); }
.badge--light { background: #fff; color: var(--navy); }
.badge--dark { background: rgba(20, 33, 61, .84); color: #fff; font-weight: 600; letter-spacing: 0; }
.badge--bottom { top: auto; bottom: 14px; }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); padding: 8px 0; }
.empty { background: #fff; border: 1px dashed #C9D3E0; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }

/* Header, hero and strip */
.hero, .strip { color: #fff; background-color: var(--navy); background-image: linear-gradient(180deg, rgba(11, 24, 46, .78) 0%, rgba(11, 24, 46, .55) 50%, rgba(18, 60, 92, .3) 56%, rgba(120, 175, 200, .75) 72%, var(--ground) 86%, var(--ground) 100%), url('../../images/bg_site.jpg'); background-size: cover; background-position: center top; }
.hero__text h1, .hero__text .lead, .strip__text h1, .strip__text .lead { text-shadow: 0 2px 18px rgba(11, 24, 46, .45); }
.hero { padding-bottom: 130px; }
.strip { padding-bottom: 56px; background-image: linear-gradient(180deg, rgba(11, 24, 46, .8) 0%, rgba(18, 60, 92, .4) 50%, rgba(120, 175, 200, .78) 70%, var(--ground) 86%, var(--ground) 100%), url('../../images/bg_site.jpg'); background-position: center 20%; }
.topbar { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; padding: 22px 0; }
.topbar__logo { margin-right: auto; flex: none; }
.nav { display: flex; flex-wrap: nowrap; gap: 0; align-items: center; }
.nav a { color: #fff; padding: 10px 11px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.topbar__tools { flex: none; }
.nav a:hover, .nav a.is-active { background: rgba(255, 255, 255, .16); color: #fff; }
.nav a.is-active { font-weight: 700; }
.topbar__tools { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px; }
.langs a { color: #fff; padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.langs a.is-active { background: #fff; color: var(--navy); font-weight: 800; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.crumbs a { color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.hero__text { padding-top: 92px; max-width: 780px; }
.hero__text h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.strip__text { padding-top: 18px; max-width: 900px; }
.strip__text h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.lead { margin: 14px 0 0; font-size: 19px; line-height: 1.55; opacity: .95; max-width: 640px; }
.hero .chip--glass { margin: 0 0 16px; }

/* Search */
.search-dock { margin-top: -70px; position: relative; z-index: 3; }
.search { display: grid; gap: 14px; align-items: end; }
.search--bar { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(20, 33, 61, .16); padding: 22px; }
.search--side { grid-template-columns: 1fr; }
.search label, .form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: #4A5568; }
.search select, .search input, .form input, .form select, .form textarea, .contact-form input, .contact-form textarea, .search-code input, .toolbar select {
  width: 100%; font-size: 16px; font-weight: 500; color: var(--navy); border: 1px solid #D9E0E7; border-radius: 12px; padding: 13px 12px; background: #F8FAFB; }
.search .btn { height: 50px; }
.search__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.search-code { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
.search--bar + .search-code { background: rgba(255, 255, 255, .9); border-radius: 16px; padding: 10px 12px; width: max-content; max-width: 100%; }
.search-code input { width: 150px; padding: 10px 12px; }
.search-code .btn { padding: 11px 13px; }
.search--side + .search-code { flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }

/* Sections */
.section { padding-top: 84px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; }

/* Cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; color: var(--navy); }
.card:hover { box-shadow: 0 18px 40px rgba(20, 33, 61, .14); transform: translateY(-2px); color: var(--navy); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 11; background: #E3E9EF; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__noimg { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; }
.card__count { position: absolute; right: 12px; bottom: 12px; background: rgba(20, 33, 61, .82); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card__meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.card__title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.card__price { font-size: 21px; font-weight: 800; }
.card__area { font-size: 14px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.card__code { font-size: 12px; color: #8592A3; font-weight: 600; }

/* TOP slider */
.slider-nav { display: flex; align-items: center; gap: 10px; }
.slider-count { font-weight: 700; color: var(--muted); margin-right: 6px; }
.topslider { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.slide { display: grid; grid-template-columns: 3fr 2fr; min-height: 460px; }
.slide[hidden] { display: none; }
.slide.is-active { animation: fade .5s ease; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
.slide__media { position: relative; display: block; background: #DCE3EA; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.slide__body { padding: 40px 40px 64px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.slide__place { margin: 0; color: var(--teal); font-weight: 700; }
.slide h3 { font-size: 29px; font-weight: 800; line-height: 1.2; }
.slide__akcent { margin: 0; font-size: 17px; color: var(--text); line-height: 1.55; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; }
.facts span { background: #F1F4F7; padding: 9px 13px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.slide__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-lg { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.slider-dots { position: absolute; right: 40px; bottom: 24px; display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: #C9D3E0; cursor: pointer; transition: width .2s; }
.slider-dots button[aria-current="true"] { width: 28px; background: var(--navy); }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: 22px; display: flex; align-items: flex-end; background: var(--navy); color: #fff; }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tile:nth-child(2), .tile:nth-child(5), .tile:nth-child(6) { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 24, 46, 0) 30%, rgba(11, 24, 46, .86) 100%); }
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.06); }
.tile__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px; width: 100%; }
.tile__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; }
.tile__arrow { width: 40px; height: 40px; flex: none; border-radius: 999px; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.tile:hover .tile__arrow { background: var(--sand); color: var(--navy); }
.tile__list { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .86); }

/* CTA */
.cta { background: var(--navy); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: 34px; font-weight: 800; max-width: 620px; }
.cta p { margin: 14px 0 0; color: #C9D3E0; font-size: 17px; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Listing page */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 230px 230px; gap: 12px; border-radius: 24px; overflow: hidden; }
.mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 480px; }
.mosaic--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 472px; }
.mosaic--3, .mosaic--4 { grid-template-columns: 2fr 1fr; }
.mosaic--4 .mosaic__item:nth-child(4) { display: none; }
.mosaic__item { position: relative; border: 0; padding: 0; background: #DCE3EA; cursor: zoom-in; overflow: hidden; }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic--2 .mosaic__item:first-child, .mosaic--3 .mosaic__item:first-child, .mosaic--4 .mosaic__item:first-child { grid-column: span 1; }
.mosaic--2 .mosaic__item:first-child { grid-row: span 1; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic__item:hover img { transform: scale(1.03); }
.mosaic__more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(11, 24, 46, .58); color: #fff; font-weight: 600; font-size: 14px; }
.mosaic__more strong { font-size: 32px; }
.detail { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 36px; }
.detail__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.detail__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.fact span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fact strong { font-size: 19px; font-weight: 800; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel--tight { padding: 22px; }
.panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.prose { font-size: 17px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.prose p { margin: 0 0 14px; }
.prose img { height: auto; border-radius: 12px; }
.prose table { max-width: 100%; }
.prose--narrow { max-width: 900px; }
.prose--lead p { font-size: 18px; }
.prose h2 { font-size: 32px; margin: 0 0 8px; }
.quote { font-family: var(--serif); font-style: italic; font-size: 24px !important; color: var(--navy); }
.docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.docs a { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; }
.pricebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 18px 40px rgba(20, 33, 61, .08); display: flex; flex-direction: column; gap: 14px; }
.pricebox__label { font-size: 14px; color: var(--muted); font-weight: 600; }
.pricebox__price { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-top: -10px; }
.pricebox__per { align-self: flex-start; background: #FDF3DC; color: #6B4A00; padding: 6px 10px; border-radius: 8px; font-size: 14px; font-weight: 700; margin-top: -4px; }
.broker { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.broker__avatar { width: 46px; height: 46px; flex: none; border-radius: 999px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.broker small { display: block; color: var(--muted); font-size: 14px; }
.side-actions { display: flex; gap: 10px; }
.side-actions .btn { flex: 1; padding: 13px; font-size: 15px; }

/* Lists */
.layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.layout__side { flex: 1 1 270px; min-width: 0; max-width: 320px; }
.layout__main { flex: 999 1 560px; min-width: 0; }
.catmenu { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.catmenu h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.catmenu details { border-top: 1px solid var(--line); padding: 8px 0; }
.catmenu summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-weight: 800; }
.catmenu summary::-webkit-details-marker { display: none; }
.catmenu summary::after { content: "+"; color: var(--muted); font-weight: 600; font-size: 18px; }
.catmenu details[open] summary::after { content: "–"; }
.catmenu ul { list-style: none; margin: 0; padding: 4px 0 6px; display: flex; flex-direction: column; gap: 2px; }
.catmenu li a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 15px; }
.catmenu li a:hover, .catmenu a[aria-current="page"] { background: #EEF5F7; color: var(--teal); font-weight: 700; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.toolbar__count { margin: 0; font-size: 17px; }
.toolbar label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.toolbar select { width: auto; padding: 10px; background: #fff; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 32px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; background: #fff; border: 1px solid var(--line); }
.pager .is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager__gap { border: 0 !important; background: none !important; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.form legend { font-size: 20px; font-weight: 800; margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form textarea, .contact-form textarea { resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { flex-direction: row !important; align-items: center; gap: 8px !important; border: 1px solid #D9E0E7; border-radius: 999px; padding: 10px 16px; font-size: 15px !important; color: var(--navy) !important; cursor: pointer; }
.radio:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.check { flex-direction: row !important; align-items: flex-start; gap: 12px !important; font-weight: 500 !important; font-size: 14px !important; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.check a { color: var(--teal); font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.notice--ok { background: #E6F4EA; color: #14532D; }
.notice--error { background: #FDECEC; color: #8A1C1C; }
.steps { background: var(--navy); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.steps h2 { font-size: 22px; }
.step { display: flex; gap: 14px; }
.step__num { width: 36px; height: 36px; flex: none; border-radius: 999px; background: var(--sand); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step small { display: block; font-size: 15px; color: #C9D3E0; line-height: 1.5; margin-top: 4px; }
.phone-lg { font-size: 22px; font-weight: 800; color: var(--teal); }

/* Contacts */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.office__map { display: block; width: 100%; height: 240px; border: 0; background: #E3EEF2; }
.office__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.office__body h2 { font-size: 26px; font-weight: 800; }
.office__body p { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--text); }
.office .chips { margin: 0; }
.contact-form { margin-top: 48px; background: var(--navy); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; }
.contact-form__intro { flex: 1 1 300px; color: #fff; }
.contact-form__intro h2 { font-size: 32px; font-weight: 800; }
.contact-form__intro p { color: #C9D3E0; font-size: 17px; }
.contact-form__fields { flex: 2 1 480px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: #C9D3E0; }
.contact-form input, .contact-form textarea { background: #fff; border: 0; }
.contact-form .check { color: #C9D3E0; }
.contact-form .check a { color: var(--sand); }
.span-2 { grid-column: 1 / -1; }

/* About */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-size: 40px; font-weight: 800; color: var(--teal); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-weight: 600; }
.office-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.office-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.office-photo:hover img { transform: scale(1.03); }
.office-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 24, 46, 0) 55%, rgba(11, 24, 46, .78) 100%); pointer-events: none; }
.office-photo figcaption { position: absolute; left: 20px; bottom: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 18px; }
.office-photo figcaption .icon { color: var(--sand); }
.manager { background: var(--navy); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.manager__avatar { width: 72px; height: 72px; border-radius: 999px; background: var(--teal-light); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 4px; }
.manager strong { font-size: 22px; }
.manager span { color: #C9D3E0; margin-bottom: 8px; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; font-weight: 600; line-height: 1.45; transition: border-color .2s, box-shadow .2s; }
.service:hover { border-color: var(--teal-light); box-shadow: 0 14px 34px rgba(20, 33, 61, .08); }
.service__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.service--cta { background: var(--teal-light); border-color: var(--teal-light); justify-content: space-between; font-size: 20px; font-weight: 700; color: var(--navy); }
.service--cta .link-arrow { color: var(--navy); }

/* Footer */
.footer { margin-top: 96px; background: rgba(255, 255, 255, .55); border-top: 1px solid rgba(20, 33, 61, .08); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer h2 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer p { margin: 0; color: var(--muted); line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.credit { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.credit__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.credit__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; font-size: 15px; letter-spacing: -.01em; transition: color .2s; }
.credit__mark { width: 24px; height: 24px; border-radius: 7px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; line-height: 1; transition: background .2s, transform .2s; }
.credit__tld { color: var(--teal); font-weight: 600; }
.credit:hover .credit__brand { color: var(--teal); }
.credit:hover .credit__mark { background: var(--teal); transform: rotate(-8deg); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 15, 30, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; }
body.no-scroll { overflow: hidden; }

/* Responsive */
@media (max-width: 1180px) {
  .search--bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; order: 2; }
  .topbar__tools { order: 1; }
  .nav { order: 3; width: 100%; display: none; flex-direction: column; align-items: stretch; background: rgba(11, 24, 46, .92); border-radius: 18px; padding: 8px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 12px; }
}
@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; }
  .slide__media { min-height: 260px; }
  .slide__body { padding: 26px 24px 58px; }
  .slider-dots { right: auto; left: 24px; }
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile:nth-child(n) { grid-column: span 2; grid-row: span 1; }
  .mosaic, .mosaic--2, .mosaic--3, .mosaic--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 140px; }
  .mosaic .mosaic__item:first-child { grid-column: span 2; grid-row: span 1; }
  .mosaic__item:nth-child(n+4) { display: none; }
  .detail__side { position: static; }
  .layout__side { max-width: none; }
  .contact-form__fields { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar { gap: 10px; padding: 14px 0; }
  .logo { height: 46px; }
  .logo__name { padding: 0 12px 0 7px; }
  .logo__s { width: 30px; height: 30px; font-size: 25px; }
  .logo__rest { font-size: 22px; padding-top: 6px; }
  .logo__invest { font-size: 10px; right: 12px; top: 3px; }
  .logo__agency { font-size: 10.5px; padding: 0 9px; }
  .topbar__tools { width: 100%; justify-content: space-between; order: 2; }
  .topbar__tools .btn span { display: inline; }
  .hero { padding-bottom: 96px; }
  .hero__text { padding-top: 40px; }
  .search--bar { grid-template-columns: 1fr; padding: 16px; }
  .search-code input { width: 100%; }
  .section { padding-top: 60px; }
  .cta, .contact-form, .panel, .steps, .manager { padding: 24px; }
  .price-lg { font-size: 26px; }
  .lightbox { padding: 56px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
