:root {
  --navy: #0f3550;
  --navy-deep: #0a2438;
  --teal: #2a9d8f;
  --teal-dark: #227e73;
  --orange: #f77f00;
  --orange-dark: #d96d00;
  --green: #25d366;
  --blue: #229ed9;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --text: #22313c;
  --muted: #5b6b76;
  --border: #e2eaf0;
  --red: #e63946;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 53, 80, 0.10);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 50px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-tg { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(34, 158, 217, .35); }
.btn-tg:hover { background: #1b86bd; }
.btn-call { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(247, 127, 0, .35); }
.btn-call:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--bg-soft); color: var(--navy); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--border); }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-green { background: var(--green); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1120px; margin: 0 auto; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 17px; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--navy)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--teal); }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 10px 18px; font-size: 14px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #14507a 100%);
  color: #fff; padding: 70px 0 80px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(42,157,143,.35), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.badge-hot { background: var(--orange); border-color: var(--orange); }
.hero h1 { font-size: 40px; line-height: 1.15; font-weight: 800; margin-bottom: 16px; letter-spacing: -.5px; }
.hero h1 span { color: #7fd8cb; }
.hero p.sub { font-size: 17px; color: #cfdde6; max-width: 520px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 26px; justify-content: start; }
.hero-fact { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #d7e4ec; }
.hero-fact strong { display: block; color: #fff; font-size: 17px; }
.hero-fact i { font-style: normal; font-size: 22px; }
.hero-visual { position: relative; }
.gallery-hero {
  border-radius: var(--radius); aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #16405f, #16405f 14px, #1a4a6e 14px, #1a4a6e 28px);
  border: 2px dashed rgba(255,255,255,.35); color: #bcd2e0; padding: 24px;
}
.gallery-hero b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.ph-card { border: 2px dashed var(--border); border-radius: var(--radius); background: linear-gradient(160deg, #eef4f7, #e2ebf1); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #7d94a4; font-size: 14px; gap: 8px; aspect-ratio: 4/3; padding: 16px; }
.ph-card i { font-style: normal; font-size: 30px; opacity: .7; }
.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(15,53,80,.12); background: #dde7ee; }
.map-wrap iframe { display: block; width: 100%; border: 0; }
.price-table { border-top: 1px dashed var(--border); padding-top: 12px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.price-row span { color: var(--muted); }
.price-row b { color: var(--navy); white-space: nowrap; }
.price-row small { color: var(--muted); font-size: 12px; font-weight: 600; }

section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; margin-bottom: 10px; }
h2 { font-size: 30px; line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -.4px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

.bg-soft { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--navy)); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; color: #fff; }
.card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid .ph-card { aspect-ratio: 1/1; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.about-list li::before { content: '✓'; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: center; padding: 26px 18px; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #ffa94d); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: 0 6px 16px rgba(247,127,0,.3); }
.step h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.review-stars { color: #f7a31c; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.review-who { display: flex; align-items: center; gap: 10px; }
.review-ava { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.review-who b { display: block; font-size: 14px; color: var(--navy); }
.review-who span { font-size: 12.5px; color: var(--muted); }
.listing-rating { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 2px 0 10px; font-size: 13px; }
.rating-stars { color: #d6dee4; font-size: 14px; letter-spacing: 1px; }
.rating-stars .star.on { color: #f7a31c; }
.listing-rating b { color: var(--navy); font-size: 14px; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 18px 20px; font-family: var(--font); font-size: 15.5px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q::after { content: '+'; font-size: 22px; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 20px 18px; font-size: 14.5px; color: var(--muted); }

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-line { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-line b { display: block; font-size: 15px; color: var(--navy); }
.contact-line span { font-size: 14px; color: var(--muted); }
.contacts-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-icon-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; color: inherit; font: inherit; text-decoration: none; }
.contact-icon-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(15, 53, 80, 0.16); }
.contact-reveal { font-size: 15px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.contact-reveal a { color: var(--navy); text-decoration: none; }
.contact-reveal a:hover { text-decoration: underline; color: var(--teal); }

.footer { background: var(--navy-deep); color: #9fb4c2; padding: 34px 0 90px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer b { color: #fff; }
.footer a:hover { color: #7fd8cb; }

.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff; border-top: 1px solid var(--border);
  padding: 10px 16px; display: none; gap: 10px;
}
.sticky-bar .btn { flex: 1; padding: 13px 10px; font-size: 14px; }

/* ---- Каталог: карточки объявлений ---- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease; }
.listing-card:hover { transform: translateY(-4px); }
.listing-photo { aspect-ratio: 4/3; background: linear-gradient(160deg, #eef4f7, #e2ebf1); display: flex; align-items: center; justify-content: center; font-size: 40px; position: relative; overflow: hidden; }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.badge-tag { background: var(--orange); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.badge-owner { background: var(--teal); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.listing-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing-body h3 { font-size: 17px; color: var(--navy); }
.listing-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-meta span { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; padding: 3px 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.listing-price { font-weight: 800; color: var(--navy); font-size: 18px; margin-top: auto; padding-top: 8px; }
.listing-price small { font-weight: 600; color: var(--muted); font-size: 13px; }

/* ---- Фильтры каталога ---- */
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; margin-bottom: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.filter-field select, .filter-field input { padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font); font-size: 14.5px; background: #fff; }
.filter-field select:focus, .filter-field input:focus { outline: 2px solid var(--teal); outline-offset: -1px; }

/* ---- Карточка объявления ---- */
.listing-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.listing-main-photo { border-radius: var(--radius); aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(160deg, #eef4f7, #e2ebf1); display: flex; align-items: center; justify-content: center; font-size: 56px; border: 2px dashed var(--border); }
.listing-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery-thumb { width: 88px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #eef4f7; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--teal); }
.gallery-thumb:hover { border-color: var(--teal); opacity: .9; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.calendar-wrap { overflow-x: auto; padding-bottom: 4px; }
.cal-strip { display: flex; gap: 18px; min-width: max-content; }
.cal-month-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.cal-month-name { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 10px; text-align: center; }
.cal-month-days { display: grid; grid-template-columns: repeat(7, 36px); gap: 4px; justify-content: center; }
.cal-cell { width: 36px; height: 42px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 13px; font-weight: 700; }
.cal-cell .cc-num { line-height: 1; }
.cal-cell .cc-week { font-size: 9px; font-weight: 600; text-transform: uppercase; opacity: .7; line-height: 1; }
.cal-strip.clickable .cal-cell { cursor: pointer; }
.cal-strip.clickable .cal-cell.free:hover { box-shadow: inset 0 0 0 2px var(--red); }
.cal-strip.clickable .cal-cell.occ:hover { box-shadow: inset 0 0 0 2px var(--teal); }
.cal-cell.free { background: #e2f4ec; color: var(--teal-dark); }
.cal-cell.occ { background: #fbe4e6; color: var(--red); }
.cal-cell.past { background: #eef2f5; color: #a3b0b9; cursor: default; }
.cal-cell.limit { background: #f6f8fa; color: #c4ccd3; cursor: default; }
.cal-cell.today { box-shadow: inset 0 0 0 2px var(--teal); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.lg.free { background: #e2f4ec; border: 1px solid #bfe6d6; }
.lg.occ { background: #fbe4e6; border: 1px solid #f2c1c6; }
.lg.past { background: #eef2f5; border: 1px solid #dde4ea; }
.lg.limit { background: #f6f8fa; border: 1px solid #e3e9ee; }
.toolbar { display: flex; align-items: center; gap: 12px; }
.toolbar-title { font-weight: 800; color: var(--navy); font-size: 16px; }
.muted { color: var(--muted); }
.listing-side { position: sticky; top: 90px; }
.price-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.price-big { font-size: 30px; font-weight: 800; color: var(--navy); }
.price-big small { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-box .btn { width: 100%; margin-top: 10px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.spec { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; }
.spec i { font-style: normal; font-size: 22px; display: block; margin-bottom: 4px; }
.spec b { display: block; font-size: 15px; color: var(--navy); }
.spec span { font-size: 12.5px; color: var(--muted); }
.amenity-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.amenity-tag { background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 6px 14px; font-size: 13.5px; color: var(--text); font-weight: 600; }

/* ---- Формы ---- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 32px; max-width: 720px; margin: 0 auto; }
.form-card h3 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; font-size: 14.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font); font-size: 15px; background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; }
.form-submit { margin-top: 18px; width: 100%; }
.form-hint { text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---- Тарифы ---- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; gap: 8px; }
.plan.hot { border: 2px solid var(--orange); position: relative; }
.plan.hot .plan-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 50px; white-space: nowrap; }
.plan h3 { color: var(--navy); font-size: 18px; }
.plan-price { font-size: 28px; font-weight: 800; color: var(--navy); }
.plan-price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan p { color: var(--muted); font-size: 14px; }
.plan .btn { margin-top: 10px; }

/* ---- Спасибо / 404 ---- */
.thanks { text-align: center; padding: 60px 0; max-width: 640px; margin: 0 auto; }
.thanks-icon { font-size: 56px; margin-bottom: 14px; }
.thanks h2 { margin-bottom: 10px; }
.thanks p { color: var(--muted); margin-bottom: 22px; }

/* ---- Админка ---- */
.admin-body { background: #f0f4f7; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side { width: 230px; background: var(--navy-deep); color: #c8d7e2; padding: 24px 18px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.admin-side .logo-admin { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 15px; margin-bottom: 22px; }
.admin-side .logo-admin .logo-mark { width: 34px; height: 34px; font-size: 16px; }
.admin-side a { padding: 10px 14px; border-radius: 10px; color: #c8d7e2; font-weight: 600; font-size: 14.5px; display: block; transition: background .15s; }
.admin-side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-side a.on { background: var(--teal); color: #fff; }
.admin-side .admin-out { margin-top: auto; }
.admin-main { flex: 1; padding: 30px 34px; min-width: 0; }
.admin-main h1 { font-size: 26px; color: var(--navy); margin-bottom: 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 28px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 28px; color: var(--navy); }
.stat span { font-size: 13px; color: var(--muted); }
.stat.warn b { color: var(--orange); }
.stat.bad b { color: var(--red); }
.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.admin-table th { text-align: left; padding: 13px 16px; background: var(--navy); color: #fff; font-size: 13px; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.status-active { background: #e2f4ec; color: var(--teal-dark); }
.status-pending { background: #fdeedd; color: var(--orange-dark); }
.status-hidden { background: #eef1f4; color: #66707a; }
.status-archived { background: #f3f3f3; color: #8a8a8a; }
.status-expired { background: #f3e9e9; color: #9b3c3c; }
.status-confirmed { background: #e2f4ec; color: var(--teal-dark); }
.status-cancelled { background: #f3f3f3; color: #8a8a8a; }
.status-new { background: #e3f0fa; color: #1b6fb0; }
.status-done { background: #e2f4ec; color: var(--teal-dark); }
.status-rejected { background: #fbe4e6; color: var(--red); }
.mini-form { display: inline-block; }
.mini-form .btn-sm { margin: 0; }
.login-wrap { max-width: 380px; margin: 10vh auto; }
.owner-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.owner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.owner-list { display: grid; gap: 16px; }
.owner-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.owner-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.owner-card-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.owner-card-title b { color: var(--navy); font-size: 16px; }
.owner-card-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.days-left { color: var(--teal-dark); font-weight: 600; }
.days-left.bad { color: var(--red); }
.owner-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.plan-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan-form select { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; color: var(--text); background: #fff; }
.flashes { max-width: 720px; margin: 0 auto 18px; }
.flash { padding: 13px 18px; border-radius: 10px; margin-bottom: 10px; font-size: 14.5px; font-weight: 600; }
.flash.error { background: #fbe4e6; color: var(--red); }
.flash.ok { background: #e2f4ec; color: var(--teal-dark); }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 46px 0 60px; }
  .hero h1 { font-size: 30px; }
  .cards, .reviews, .steps, .plans { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-top { grid-template-columns: 1fr; }
  .listing-side { position: static; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contacts-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav { position: fixed; top: 0; right: -280px; width: 260px; height: 100vh; background: #fff; flex-direction: column; padding: 80px 24px 24px; box-shadow: -10px 0 30px rgba(0,0,0,.12); transition: right .25s ease; z-index: 70; gap: 18px; }
  .nav.open { right: 0; }
  .nav a { font-size: 16px; }
  .burger { display: block; z-index: 80; }
  .header-cta .btn-call { display: none; }
  .sticky-bar { display: flex; }
  .footer { padding-bottom: 84px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-side { width: 200px; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .listing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-main { padding: 20px; }
}
