:root {
  --teal: #0e8583;
  --deep: #073f43;
  --aqua: #26b4b2;
  --ink: #132f32;
  --muted: #5b7072;
  --paper: #f3f7f6;
  --line: #d3e0de;
  --head: 'Noto Serif Display', Georgia, serif;
  --gutter: max(20px, calc((100% - 1200px) / 2));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.55 'Golos Text', system-ui, sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 12px; text-wrap: balance; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

.btn { display: inline-block; border: 0; border-radius: 10px; padding: 13px 24px; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--deep); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.line { background: transparent; color: var(--teal); border: 1px solid var(--teal); }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; height: 72px; display: flex; align-items: center; gap: 24px; padding: 0 28px; background: var(--deep); color: #fff; }
.top.over { position: absolute; inset: 0 0 auto; background: linear-gradient(#0009, #0000); }
.logo img { display: block; height: 48px; }
.top nav { display: flex; gap: 4px; margin: 0 auto; }
.top nav a { padding: 8px 14px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { background: #ffffff24; }
.tools, .langs { display: flex; align-items: center; gap: 4px; }
.langs button { border: 0; background: transparent; color: #fff; padding: 7px; border-radius: 6px; font-size: 14px; }
.langs button[aria-pressed="true"] { background: #ffffff2e; }
.cabinet { margin-left: 8px; padding: 9px 16px; border-radius: 9px; background: #fff; color: var(--deep); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Первый экран: выбор */
.choice { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; overflow: hidden; background: var(--deep); }
.choice-head { position: absolute; top: 112px; left: 0; right: 0; z-index: 2; text-align: center; color: #fff; pointer-events: none; }
.choice h1 { font-size: clamp(30px, 4.6vw, 60px); }
.side { position: relative; flex: 1; min-width: 0; min-height: 0; overflow: hidden; color: #fff; text-decoration: none; transition: flex-grow .45s ease; }
.side + .side { border-left: 3px solid #fff; }
.side:hover, .side:focus-visible { flex-grow: 1.22; }
.side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#052a2d99, #052a2d22 40%, #052a2de6); }
.side-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 12px; padding: 0 clamp(20px, 4vw, 64px) clamp(28px, 8vh, 80px); }
.side-text strong { font: 700 clamp(27px, 3.5vw, 50px)/1.1 var(--head); }
.side-text > span { max-width: 430px; font-size: 18px; }
.side-text i { font-style: normal; font-weight: 600; padding: 12px 22px; border-radius: 10px; background: #fff; color: var(--deep); }

/* Обложка раздела */
.hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; color: #fff; background: var(--deep); overflow: hidden; }
.hero.low { min-height: 410px; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #052a2dd9, #052a2d1f); }
.hero > div { position: relative; z-index: 1; width: 100%; padding: 64px var(--gutter); }
.hero.low > div { padding-bottom: 110px; }
.hero p { margin: 0 0 10px; font-weight: 600; }
.hero h1 { max-width: 760px; font-size: clamp(34px, 5vw, 64px); }
.hero span { display: block; max-width: 580px; margin-bottom: 22px; font-size: 19px; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 18px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
.tabs a, .kinds button, .chips a { padding: 9px 17px; border: 1px solid var(--line); border-radius: 30px; background: #fff; text-decoration: none; white-space: nowrap; }
.tabs a[aria-current], .kinds button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.kinds, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.other { margin-top: 36px; }

.block { padding: 48px var(--gutter) 8px; }
.title { margin-bottom: 22px; }
.title h2, .request h2 { font-size: clamp(28px, 3.4vw, 42px); }
.title p { margin: 0; color: var(--muted); }

/* Карточки */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; min-width: 0; height: 290px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--deep); color: #fff; text-align: left; text-decoration: none; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover img { transform: scale(1.05); }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#0000 30%, #052a2dee); }
.card > span { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: 4px; padding: 16px; }
.card strong { font: 700 22px/1.15 var(--head); }
.card em { font-style: normal; font-size: 13.5px; line-height: 1.4; }
.card small { font-size: 12px; opacity: .85; }

.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.routes article { display: grid; grid-template-columns: 42% minmax(0, 1fr); min-height: 230px; overflow: hidden; border-radius: 14px; background: #fff; }
.routes img { width: 100%; height: 100%; min-height: 0; max-height: 260px; object-fit: cover; }
.routes article > div { padding: 22px; }
.routes small { color: var(--teal); font-weight: 600; }
.routes p { font-size: 14px; color: var(--muted); }

/* Поиск */
.search-block { position: relative; z-index: 1; margin-top: -78px; padding-top: 0; }
.search { padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 12px 34px #073f4322; }
.search-grid, .filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.ages { display: flex; flex-wrap: wrap; gap: 12px; }
.ages:not(:empty) { margin-bottom: 14px; }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 16px; }
.field textarea { resize: vertical; }
.note { margin: 10px 0 0; }
.note:empty { display: none; }
.results:not(:empty) { padding-top: 28px; }
.filters { padding: 16px; border-radius: 14px; background: #e4eeec; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }
.count { font-weight: 600; }
.hotel { display: grid; grid-template-columns: 260px minmax(0, 1fr) 200px; margin-bottom: 14px; overflow: hidden; border-radius: 14px; background: #fff; }
.hotel header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hotel h3 { margin: 0; font-size: 21px; overflow-wrap: anywhere; }
.hotel header span { color: #b87800; }
.hotel header small, .offer small { color: var(--muted); }
.offer { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; overflow-wrap: anywhere; }
.offer p { margin: 3px 0; }
.offer em { display: block; color: #b42318; font-style: normal; }
details .offer { border-top: 1px solid var(--line); }
summary { padding: 8px 0; color: var(--teal); font-weight: 600; cursor: pointer; }
.price { flex: none; display: grid; align-content: start; justify-items: end; gap: 2px; }
.price strong { font-size: 22px; white-space: nowrap; }
.price span { font-size: 12px; color: var(--muted); }
.price .btn { margin-top: 6px; }
.empty { padding: 20px; background: #fff; border-radius: 12px; }

.search-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.search-route select { font-weight: 600; }
.search-where { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.picker { position: relative; min-width: 0; }
.picker > summary { display: block; min-height: 46px; padding: 11px 28px 10px 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; list-style: none; }
.picker > summary::-webkit-details-marker { display: none; }
.picker > summary::after { content: '▾'; position: absolute; top: 11px; right: 10px; }
.off .picker > summary { color: var(--muted); background: var(--paper); }
.picker-list { position: absolute; z-index: 8; top: calc(100% + 4px); left: 0; right: 0; min-width: 190px; max-height: 290px; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px #073f4326; }
.picker-list label { display: flex; align-items: center; gap: 8px; padding: 6px 4px; color: var(--ink); font-size: 14px; }
.picker-list input[type="checkbox"] { flex: none; width: 18px; min-height: 18px; margin: 0; accent-color: var(--teal); }
.picker-list input[type="search"] { position: sticky; top: 0; min-height: 38px; }
.check-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 20px; }
.search .check-row { margin-bottom: 12px; }

.hotel-photo { grid-row: 1; position: relative; min-height: 235px; padding: 0; border: 0; background: #d9e6e4; }
.hotel-photo > span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.hotel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hotel-info { min-width: 0; padding: 16px; }
.hotel header { margin-bottom: 10px; }
.hotel h3 a, .tour h2 a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.stars { color: #b87800; }
.category { font-size: 13px; color: var(--muted); }
.hotel > .price { align-content: center; justify-items: stretch; padding: 16px; text-align: center; border-left: 1px solid var(--line); }
.hotel > details { grid-column: 1 / -1; padding: 0 16px; border-top: 1px solid var(--line); }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; }
.badges:empty { display: none; }
.badges span { padding: 3px 9px; border-radius: 20px; background: #edf1f0; font-size: 12px; }
.badges .yes { background: #dcefe0; color: #14532d; }
.badges .ask { background: #fbf0d5; color: #6b4b00; }
.badges .no { background: #fbe1df; color: #8f1d14; }
.badges .charter { background: var(--deep); color: #fff; }

/* Окно тура */
dialog:has(.tour) { width: min(920px, calc(100% - 24px)); }
.gallery-main { display: block; width: 100%; height: min(400px, 42vh); object-fit: cover; }
.thumbs { display: flex; gap: 5px; overflow-x: auto; padding: 6px; }
.thumbs button { flex: none; width: 78px; height: 54px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; }
.thumbs button[aria-pressed="true"] { border-color: var(--teal); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tour .path { font-weight: 600; }
.tour .facts { margin-bottom: 16px; }
.operator-note { padding: 10px; border-radius: 8px; background: #fbf0d5; }
.included, .extras { padding: 0; list-style: none; }
.included li, .extras li { display: grid; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.included li { grid-template-columns: 110px minmax(0, 1fr); }
.extras li { grid-template-columns: minmax(0, 1fr) auto; }
.included small, .extras small { display: block; color: var(--muted); }
.muted { color: var(--muted); }
.tour-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.tour-buy strong { margin-right: auto; font-size: 26px; }

/* Заявка */
.request { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; margin-top: 56px; padding: 56px var(--gutter); background: #dcebe8; }
.request > div > a { display: block; font-weight: 600; text-decoration: none; }
.lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lead .wide, .lead small, .lead .note { grid-column: 1 / -1; }
.lead .btn { justify-self: start; }

dialog { width: min(620px, calc(100% - 24px)); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; color: var(--ink); }
dialog::backdrop { background: #052a2db3; }
dialog > img { display: block; width: 100%; height: 280px; object-fit: cover; }
.dialog-body { padding: 24px; }
.dialog-body h2 { padding-right: 40px; }
.x { position: absolute; z-index: 1; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; }

.plain { min-height: 340px; padding: 60px var(--gutter); overflow-wrap: anywhere; }
.plain h1 { font-size: clamp(32px, 4vw, 52px); }
.plain > p { max-width: 760px; }
.plain li { font-size: 13px; margin-bottom: 6px; }

.foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 36px var(--gutter) 92px; background: var(--deep); color: #fff; font-size: 14px; }
.foot img { height: 50px; }
.foot p { margin: 4px 0; }
.foot a, .foot span { display: block; margin-bottom: 7px; text-decoration: none; overflow-wrap: anywhere; }
.wa { position: fixed; z-index: 9; right: 18px; bottom: 18px; padding: 12px 20px; border-radius: 30px; background: #177a3f; color: #fff; font-weight: 600; text-decoration: none; }
.choice ~ .wa { display: none; }

/* Премии */
.award-badge { display: inline-block; margin: 4px 12px 0; padding: 7px 18px; border: 1px solid #e8c46a; border-radius: 30px; background: #052a2db3; color: #f3d58a; font-weight: 600; }
.awards { display: grid; gap: 12px; padding: 24px var(--gutter); background: #0b3033; color: #fff; }
.search-block + .awards { margin-top: 24px; }
.awards article { display: flex; align-items: center; gap: 18px; }
.awards img { width: 72px; height: 72px; object-fit: contain; }
.awards .laurel { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border: 2px solid #e8c46a; border-radius: 50%; color: #e8c46a; font-size: 28px; }
.awards strong { font: 700 22px/1.2 var(--head); }
.awards p { margin: 3px 0 0; }
.awards article > b { margin-left: auto; color: #f3d58a; font-size: 22px; }

/* Документы */
.legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.legal + .legal { padding-top: 16px; }
.legal-card { min-width: 0; padding: 24px; border-radius: 14px; background: #fff; }
.legal-card h2 { font-size: 24px; }
.doc-number { margin: 0 0 14px; font-size: 26px; font-weight: 600; color: var(--teal); }
.company-name { font-size: 19px; font-weight: 600; }
.doc-text { white-space: pre-line; overflow-wrap: anywhere; }
.doc-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.doc-files a { display: grid; gap: 4px; font-size: 13px; }
.doc-files img { width: 150px; height: 190px; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.facts div { min-width: 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }

/* Подбор у туроператора */
.agent-card { padding: 24px; border-left: 4px solid var(--teal); border-radius: 14px; background: #fff; }
.agent-card h2 { font-size: 24px; }
.agent-card > p { max-width: 760px; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.agent-actions > div { display: grid; gap: 6px; }
.agent-note { padding: 10px; border-radius: 8px; background: var(--paper); font-size: 14px; }

/* Длинные слова и номера не раздвигают узкий экран */
.agent-card h2, .legal-card h2, .doc-number, .agent-actions .btn { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 400px) { .agent-card h2, .legal-card h2 { font-size: 19px; } .doc-number { font-size: 21px; } }

/* Конструктор */
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.glass { background: #ffffff24; border: 1px solid #fff; }
.builder { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.builder-basics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.group-name { margin: 14px 0 8px; font-weight: 600; color: var(--teal); }
.pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pick label { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 22px; background: #fff; font-size: 14px; }
.pick input, .service input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.service { display: grid; grid-template-columns: minmax(0, 1fr) 150px 72px; align-items: center; gap: 10px; margin-bottom: 6px; padding: 11px; border: 1px solid transparent; border-radius: 10px; background: #fff; }
.service.on { border-color: var(--teal); }
.service label { display: flex; align-items: center; gap: 10px; }
.service b, .service small { display: block; }
.service small { color: var(--muted); font-size: 12px; }
.service-price { text-align: right; font-size: 14px; }
.qty { width: 100%; min-height: 40px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.trip { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; padding: 22px; border-radius: 14px; background: var(--deep); color: #fff; }
.trip ul { padding: 0; list-style: none; }
.trip li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #ffffff24; font-size: 14px; }
.trip .btn { display: block; width: 100%; margin-top: 14px; background: #fff; color: var(--deep); }
.trip-total strong { font-size: 22px; }

@media (max-width: 1100px) {
  .top { flex-wrap: wrap; height: auto; gap: 4px 12px; padding: 10px 14px; }
  .tools { margin-left: auto; }
  .top nav { order: 3; width: 100%; overflow-x: auto; }
  .top.over nav { display: none; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hotel { grid-template-columns: 210px minmax(0, 1fr) 170px; }
  .routes { grid-template-columns: minmax(0, 1fr); }
  html { scroll-padding-top: 118px; }
}

@media (max-width: 720px) {
  .logo img { height: 34px; }
  .langs { gap: 0; }
  .langs button { padding: 6px 4px; font-size: 12px; }
  .cabinet { margin-left: 4px; padding: 7px 9px; font-size: 12px; }
  .top nav a { padding: 6px 8px; font-size: 12.5px; }

  .choice { flex-direction: column; padding-top: 172px; min-height: 680px; }
  .choice-head { top: 70px; }
  .choice h1 { margin-bottom: 4px; font-size: 27px; }
  .award-badge { padding: 4px 12px; font-size: 11.5px; }
  .side:hover, .side:focus-visible { flex-grow: 1; }
  .side + .side { border-left: 0; border-top: 3px solid #fff; }
  .side-text { padding: 0 20px 20px; gap: 7px; }
  .side-text > span { font-size: 15px; }
  .side-text i { padding: 8px 14px; font-size: 14px; }

  .hero { min-height: 360px; }
  .hero > div { padding-top: 40px; padding-bottom: 32px; }
  .hero.low { min-height: 340px; }
  .hero span { font-size: 16px; }
  .cards, .search-grid, .filters, .lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { gap: 10px; }
  .card { height: 235px; }
  .card > span { padding: 10px; }
  .card strong { font-size: 17px; }
  .card em { font-size: 11.5px; }
  .search { padding: 14px; }
  .search-grid .field input { padding: 8px 4px; font-size: 14px; }
  .search > .btn { width: 100%; }
  .offer { flex-wrap: wrap; }
  .price { width: 100%; justify-items: start; }
  .routes article { grid-template-columns: minmax(0, 1fr); }
  .legal, .builder { grid-template-columns: minmax(0, 1fr); }
  .builder-basics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { grid-template-columns: minmax(0, 1fr) 72px; }
  .service label { grid-column: 1 / -1; }
  .service-price { text-align: left; padding-left: 28px; }
  .trip { position: static; max-height: none; }
  .awards article { flex-wrap: wrap; gap: 10px; }
  .awards article > div { flex: 1; min-width: 170px; }
  .awards strong, .awards article > b { font-size: 18px; }
  .search-route, .search-where { grid-template-columns: minmax(0, 1fr); }
  .hotel { grid-template-columns: minmax(0, 1fr); }
  .hotel-photo { min-height: 190px; }
  .hotel > .price { width: auto; justify-items: stretch; border-left: 0; border-top: 1px solid var(--line); }
  .included li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .routes img { height: 170px; }
  .request, .foot { grid-template-columns: minmax(0, 1fr); }
  .lead .field { grid-column: 1 / -1; }
}

@media (max-width: 350px) {
  .cards, .search-grid, .filters { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* 1.2.0: панель поиска — главная строка, большая кнопка, остальное в «Дополнительно» */
:root { --cta: #f26a3d; --cta-deep: #d9532a; }
.search { padding: 14px; border-radius: 22px; background: linear-gradient(135deg, #ffffffee, #eaf6f5ee); box-shadow: 0 24px 60px #073f4333; }
.sp-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.7fr) minmax(0, 1.1fr) minmax(0, 1.2fr) auto; background: #fff; border-radius: 16px; box-shadow: 0 2px 12px #073f4314; }
.sp-cell { padding: 9px 16px 10px; border-right: 1px solid var(--line); min-width: 0; }
.sp-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sp-cell .field { gap: 1px; font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.sp-cell .field input, .sp-cell .field select { min-height: 32px; padding: 2px 0; border: 0; border-radius: 0; background: transparent; font-weight: 700; font-size: 16px; }
.sp-cell .field select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.sp-cell .field select:disabled { opacity: 1; color: var(--ink); }
.sp-cell:focus-within { background: #f3faf9; }
.sp-cell:first-child:focus-within { border-radius: 16px 0 0 16px; }
.btn.sp-go { border-radius: 0 16px 16px 0; min-width: 170px; padding: 0 28px; background: var(--cta); font-size: 18px; font-weight: 700; box-shadow: none; }
.btn.sp-go:hover { background: var(--cta-deep); }
.search .ages:not(:empty) { margin: 12px 0 0; }
.search .ages .field { background: #fff; border-radius: 12px; padding: 8px 12px; min-width: 150px; box-shadow: 0 1px 4px #073f4312; }
.search .ages select { min-height: 32px; border: 0; padding: 0; font-weight: 700; }
.sp-more { margin-top: 12px; }
.sp-more > summary { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: #fff; color: var(--teal); font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; box-shadow: 0 1px 4px #073f4314; }
.sp-more > summary::-webkit-details-marker { display: none; }
.sp-more > summary::before { content: '▸'; transition: transform .15s; }
.sp-more[open] > summary::before { transform: rotate(90deg); }
.sp-more-in { margin-top: 10px; padding: 16px; border-radius: 16px; background: #fff; }
.sp-more .search-where { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; margin-bottom: 12px; }
.search .check-row { margin-bottom: 0; }
.search .note:empty { display: none; }
.search .note { margin: 12px 4px 0; }
@media (max-width: 1100px) {
  .sp-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-cell { border-bottom: 1px solid var(--line); }
  .sp-cell:nth-child(2n) { border-right: 0; }
  .btn.sp-go { grid-column: 1 / -1; border-radius: 0 0 16px 16px; min-height: 54px; }
  .sp-more .search-where { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .search { padding: 10px; }
  .search > .btn.sp-go { width: auto; }
  .sp-more .search-where { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .sp-main { grid-template-columns: minmax(0, 1fr); }
  .sp-cell { border-right: 0; }
}

/* 1.3.0: оферта и разработчик сайта */
.foot .dev { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 18px; border-top: 1px solid #ffffff22; font-size: 13px; color: #cfe3e1; }
.foot .dev img { height: 30px; width: auto; }
.foot .dev span, .foot .dev a { display: inline; margin: 0; }
.foot .dev a { color: #4ade80; font-weight: 600; }
.plain.doc > * { max-width: 880px; }
.plain.doc li { font-size: 16px; }
.plain.doc h2 { font-family: inherit; font-size: 21px; margin: 28px 0 10px; }
.plain.doc p, .plain.doc li { line-height: 1.7; }
.plain.doc .edition { color: var(--muted); font-size: 14px; }
.plain.doc .note { background: #fff6e6; border-radius: 10px; padding: 10px 14px; }
table.req { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
table.req th, table.req td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
table.req th { width: 34%; color: var(--muted); font-weight: 600; font-size: 14px; }
table.req tr:last-child th, table.req tr:last-child td { border-bottom: 0; }
table.req a { display: inline; }
