/* GoHainan r18: главная, раздел «Где жить», статья о районах. Утверждённые макеты от 20.10.2026. */
:root{--gp-ink:#12244b;--gp-text:#3d4f63;--gp-muted:#5a6b7a;--gp-accent:#087d9d;--gp-accent-dark:#0b5f70;--gp-line:#dce8ed;--gp-bg:#eff7fa;--gp-teal:#dcf2f4;--gp-sun:#fff1c9;--gp-rose:#fde7e4;--gp-red:#b03a2e}
.gp{color:var(--gp-ink);font-family:Arial,Helvetica,sans-serif}
.gp a{color:var(--gp-accent)}
.gp a:hover{color:#06607a}
.gp h1,.gp h2,.gp h3{color:var(--gp-ink)}
.gp-page{display:flex;flex-direction:column;gap:48px;padding-bottom:8px}
.gp-page>.breadcrumbs{margin-bottom:-40px}
.gp-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gp .icon,.gp-ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

/* Шапка: пункт «Где жить», пять пунктов нижнего меню */
.desktop-nav a[aria-current="page"],.desktop-nav a.active{color:#008cac}
.mobile-nav.gp-mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.mobile-nav.gp-mobile-nav a[aria-current="page"],.mobile-nav.gp-mobile-nav a.active{color:var(--gp-accent);font-weight:700}
.mobile-nav.gp-mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Общие элементы */
.gp-kicker{margin:0;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase}
.gp-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}
.gp-head>div{display:flex;flex-direction:column;gap:6px}
.gp-head h2,.gp-h2{margin:0;font-size:30px;line-height:1.2;letter-spacing:-.4px}
.gp-head p{margin:0;font-size:16px;color:var(--gp-muted)}
.gp-more{font-size:16px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:8px;padding:10px 0}
.gp-more svg{width:18px;height:18px}
.gp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:inherit;font-size:17px;font-weight:700;border-radius:14px;padding:15px 26px;min-height:52px;box-sizing:border-box;text-decoration:none;border:0;cursor:pointer;background:var(--gp-accent);color:#fff}
.gp a.gp-btn{color:#fff}
.gp a.gp-btn:hover,.gp-btn:hover{background:#06607a;color:#fff}
.gp-btn-light{background:#fff;color:var(--gp-accent-dark)}
.gp a.gp-btn-light{color:var(--gp-accent-dark)}
.gp a.gp-btn-light:hover{background:#eaf6f8;color:var(--gp-accent-dark)}
.gp-btn-ghost{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.6)}
.gp a.gp-btn-ghost:hover{background:rgba(255,255,255,.24)}
.gp-btn-outline{background:#fff;color:var(--gp-accent);border:2px solid var(--gp-accent)}
.gp-btn-outline:hover{background:#eaf6f8;color:var(--gp-accent)}
.gp-chip{font-size:13px;color:var(--gp-ink);background:var(--gp-bg);border-radius:999px;padding:6px 10px}
.gp-badge{display:inline-flex;align-self:flex-start;font-size:13px;font-weight:700;border-radius:999px;padding:6px 12px;background:var(--gp-teal);color:var(--gp-accent-dark)}
.gp-badge-sun{background:var(--gp-sun);color:#6b4a00}
.gp-badge-white{background:#fff;color:var(--gp-ink)}

/* Баннеры */
.gp-hero{position:relative;border-radius:22px;padding:48px 48px 40px;color:#fff;display:flex;flex-direction:column;gap:16px;background-color:#0b4a63;background-size:cover;background-position:center 55%}
.gp-hero h1{margin:0;font-size:48px;line-height:1.08;font-weight:750;letter-spacing:-1px;max-width:760px;color:#fff}
.gp-hero p{margin:0;max-width:720px}
.gp-hero .gp-lead{font-size:19px;line-height:1.45}
.gp-hero-actions{margin-top:8px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.gp-hero-note{font-size:15px}
.gp-home-hero{padding:56px 48px 44px;gap:18px}
.gp-home-hero h1{font-size:54px;letter-spacing:-1.2px}
.gp-home-hero .gp-sub{font-size:22px;line-height:1.4;font-weight:700}
.gp-search{margin:8px 0 0;max-width:820px;display:flex;align-items:center;gap:8px;background:#fff;border-radius:16px;padding:6px 6px 6px 20px;color:var(--gp-accent)}
.gp-search input{flex:1 1 auto;min-width:0;border:0;outline:none;font-size:17px;font-family:inherit;color:var(--gp-ink);padding:14px 4px;background:transparent}
.gp-search button{border:0;border-radius:12px;background:var(--gp-accent);color:#fff;font-size:17px;font-weight:700;font-family:inherit;padding:14px 34px;min-height:48px;cursor:pointer}
.gp-search button:hover{background:#06607a}
.gp-search-hint{font-size:14px}
.gp-pills{display:flex;flex-wrap:wrap;gap:8px}
.gp-pill{color:#fff;font-family:inherit;font-size:14px;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.14);border-radius:999px;padding:11px 16px;cursor:pointer;text-decoration:none}
.gp-pill:hover{background:rgba(255,255,255,.26)}
.gp-hero .gp-pill{color:#fff}

/* Полоса «Почему с GoHainan проще» */
.gp-why{margin-top:-32px;background:#fff;border-radius:18px;padding:20px 28px 22px;display:flex;flex-direction:column;gap:14px}
.gp-why h2{margin:0;font-size:17px;line-height:1.2;color:var(--gp-accent-dark)}
.gp-why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px 28px}
.gp-why-item{display:flex;gap:14px;align-items:center}
.gp-why-item>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.gp-why-item strong{font-size:16px;line-height:1.25}
.gp-why-item small{font-size:14px;line-height:1.35;color:var(--gp-text)}
.gp-tile{flex:0 0 auto;width:44px;height:44px;border-radius:12px;background:var(--gp-teal);color:var(--gp-accent);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}
.gp-tile svg{width:22px;height:22px}
.gp-tile-sun{background:var(--gp-sun);color:#8a5f00}
.gp-tile-rose{background:var(--gp-rose);color:var(--gp-red)}

/* «С чего начнём?» */
.gp-start{margin-top:-24px;display:flex;flex-direction:column;gap:20px}
.gp-start-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.gp-start-card{background:#fff;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(18,36,75,.06)}
.gp-start-card>img{width:100%;height:280px;object-fit:cover;display:block}
.gp-start-card>div{padding:28px 32px 32px;display:flex;flex-direction:column;gap:14px;flex:1 1 auto}
.gp-start-card h3{margin:0;font-size:34px;line-height:1.1;letter-spacing:-.6px}
.gp-start-card .gp-sub2{margin:-4px 0 0;font-size:18px;font-weight:700;color:var(--gp-accent-dark)}
.gp-start-card p{margin:0;font-size:17px;line-height:1.5;color:var(--gp-text)}
.gp-start-card .gp-chip{font-size:14px;padding:8px 12px}
.gp-start-card .gp-btn{margin-top:auto;align-self:flex-start}

/* Районы */
.gp-areas{display:flex;flex-direction:column;gap:20px}
.gp-areas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.gp-area{background:#fff;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:10px}
.gp-area .gp-kicker{font-size:13px;letter-spacing:1px;color:var(--gp-accent-dark)}
.gp-area h3{margin:0;font-size:22px}
.gp-area p{margin:0;font-size:15px;line-height:1.5;color:var(--gp-text)}
.gp-area-links{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:15px;font-weight:700}

/* Карточки мест каталога */
.gp-places{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.gp-place{background:#fff;border-radius:18px;overflow:hidden;text-decoration:none;color:var(--gp-ink);display:flex;flex-direction:column}
.gp a.gp-place{color:var(--gp-ink)}
.gp a.gp-place:hover{box-shadow:0 6px 20px rgba(18,36,75,.10)}
.gp-place img{width:100%;height:170px;object-fit:cover;display:block;background:var(--gp-line)}
.gp-place>span{padding:16px 18px 20px;display:flex;flex-direction:column;gap:6px}
.gp-place small{font-size:12px;color:#a3461f}
.gp-place small.gp-sea{color:var(--gp-accent-dark)}
.gp-place strong{font-size:18px;line-height:1.25}
.gp-place em{font-style:normal;font-size:14px;line-height:1.45;color:var(--gp-muted)}
.gp-place .gp-time{font-size:14px;color:var(--gp-text);display:flex;gap:6px;align-items:center}
.gp-place .gp-time svg{width:16px;height:16px;color:var(--gp-accent)}
.gp-places-near{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gp-places-near img{height:140px}
.gp-places-near strong{font-size:16px}

/* Вкладки районов и фильтры */
.gp-tabs,.gp-filters{display:flex;flex-wrap:wrap;gap:8px}
.gp-tab{text-decoration:none;font-size:15px;font-weight:700;color:var(--gp-ink);background:#fff;border:1px solid var(--gp-line);border-radius:999px;padding:11px 18px}
.gp a.gp-tab{color:var(--gp-ink)}
.gp a.gp-tab:hover{border-color:var(--gp-accent)}
.gp a.gp-tab[aria-current="page"]{color:#fff;background:var(--gp-ink);border-color:var(--gp-ink)}
.gp-filter{font-family:inherit;font-size:15px;color:var(--gp-ink);background:#fff;border:1px solid var(--gp-line);border-radius:999px;padding:11px 16px;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.gp-filter svg{width:16px;height:16px;display:none}
.gp-filter[aria-pressed="true"]{font-weight:700;color:var(--gp-accent-dark);background:var(--gp-teal);border-color:var(--gp-accent)}
.gp-filter[aria-pressed="true"] svg{display:block}
.gp-list{display:flex;flex-direction:column;gap:20px;margin-top:-16px;scroll-margin-top:16px}
.gp-list-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}
.gp-list-head>div{display:flex;flex-direction:column;gap:6px;max-width:720px}
.gp-list-head h2{margin:0;font-size:30px;line-height:1.2;letter-spacing:-.4px}
.gp-list-head p{margin:0;font-size:16px;line-height:1.5;color:var(--gp-muted)}
.gp-empty{margin:0;background:#fff;border-radius:16px;padding:20px 24px;font-size:16px;color:var(--gp-text)}

/* Карточки жилья */
.gp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.gp-card{background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(18,36,75,.06)}
.gp-card[hidden]{display:none}
.gp-card-photo{position:relative;height:220px;background:var(--gp-line);display:block}
.gp-card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.gp-card-label{position:absolute;top:14px;left:14px;background:#fff;color:var(--gp-ink);font-size:13px;font-weight:700;border-radius:999px;padding:7px 12px}
.gp-fav{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;border-radius:999px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--gp-red);cursor:pointer;box-shadow:0 1px 6px rgba(18,36,75,.12)}
.gp-fav svg{width:20px;height:20px}
.gp-fav[aria-pressed="true"] svg,.gp-fav-btn[aria-pressed="true"] svg{fill:var(--gp-red)}
.gp-card-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:10px;flex:1 1 auto}
.gp-card-area{font-size:13px;font-weight:700;color:var(--gp-accent-dark);text-transform:uppercase;letter-spacing:1px}
.gp-card h3{margin:0;font-size:20px;line-height:1.25}
.gp-card h3 a{color:var(--gp-ink);text-decoration:none}
.gp-card h3 a:hover{color:var(--gp-accent)}
.gp-card-facts{display:flex;flex-direction:column;gap:7px;font-size:15px;color:var(--gp-text)}
.gp-card-facts span{display:flex;gap:8px;align-items:center}
.gp-card-facts svg{width:18px;height:18px;color:var(--gp-accent)}
.gp-card-tags{display:flex;flex-wrap:wrap;gap:6px}
.gp-card-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--gp-line);display:flex;align-items:center;justify-content:space-between;gap:12px}
.gp-price{display:flex;flex-direction:column;gap:2px}
.gp-price strong{font-size:20px}
.gp-price small{font-size:13px;color:var(--gp-muted)}
.gp-card-foot .gp-btn{font-size:15px;padding:13px 18px;min-height:46px;border-radius:12px}
.gp-show-more{align-self:center}

/* Заявка */
.gp-request{background:var(--gp-ink);color:#fff;border-radius:22px;padding:36px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:36px;align-items:start;scroll-margin-top:16px}
.gp-request-text{display:flex;flex-direction:column;gap:14px}
.gp-request-text .gp-kicker{color:#9fe3ee}
.gp-request-text h2{margin:0;font-size:34px;line-height:1.12;letter-spacing:-.6px;color:#fff}
.gp-request-text p{margin:0;font-size:17px;line-height:1.55;color:#dfe7f2}
.gp-request-text .gp-small{font-size:15px}
.gp-form{margin:0;background:#fff;color:var(--gp-ink);border-radius:18px;padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gp-field{display:flex;flex-direction:column;gap:4px;padding:10px 14px;border-radius:12px;background:var(--gp-bg);min-width:0;border:2px solid transparent}
.gp-field:focus-within{border-color:var(--gp-accent);background:#fff}
.gp-field.gp-wide{grid-column:1/-1}
.gp-field>span{font-size:12px;font-weight:700;color:var(--gp-text)}
.gp-field>span b{color:var(--gp-red)}
.gp-field input,.gp-field textarea{border:0;background:transparent;font-family:inherit;font-size:16px;color:var(--gp-ink);padding:0;outline:none;min-width:0;width:100%;line-height:1.45}
.gp-field textarea{resize:vertical}
.gp-field.gp-invalid{border-color:var(--gp-red);background:#fff}
.gp-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.gp-form-actions{grid-column:1/-1;display:flex;flex-direction:column;gap:10px;margin-top:4px}
.gp-form-actions .gp-btn{width:100%;min-height:56px}
.gp-form-actions .gp-btn[disabled]{opacity:.65;cursor:wait}
.gp-form-note{margin:0;font-size:13px;line-height:1.45;color:var(--gp-muted)}
.gp-form-status{margin:0;font-size:15px;line-height:1.5;border-radius:12px;padding:12px 14px}
.gp-form-status[hidden]{display:none}
.gp-form-status.gp-error{background:var(--gp-rose);color:#6d1f17}
.gp-form-status .gp-btn{margin-top:10px;font-size:15px;min-height:44px;padding:10px 16px}
.gp-done{grid-column:1/-1;display:flex;flex-direction:column;gap:10px;padding:18px 8px;text-align:center;align-items:center}
.gp-done .gp-tile{width:56px;height:56px;border-radius:16px}
.gp-done h3{margin:0;font-size:24px}
.gp-done p{margin:0;font-size:16px;line-height:1.5;color:var(--gp-text);max-width:440px}

/* Как снять */
.gp-how{background:#fff;border-radius:22px;padding:32px 36px 36px;display:flex;flex-direction:column;gap:24px}
.gp-how h2{margin:0;font-size:30px;line-height:1.2;letter-spacing:-.4px}
.gp-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin:0;padding:0;list-style:none}
.gp-steps li{display:flex;flex-direction:column;gap:10px}
.gp-steps h3{margin:0;font-size:19px}
.gp-steps p{margin:0;font-size:15px;line-height:1.5;color:var(--gp-text)}
.gp-tile-num-sun{background:var(--gp-sun);color:#6b4a00}
.gp-tile-num-rose{background:var(--gp-rose);color:#8f2d22}
.gp-tile-num{color:var(--gp-accent-dark)}

/* Частые вопросы */
.gp-faq{display:flex;flex-direction:column;gap:16px;max-width:860px}
.gp-faq h2{margin:0;font-size:30px;line-height:1.2;letter-spacing:-.4px}
.gp-faq details{background:#fff;border-radius:16px;padding:0 24px}
.gp-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:18px;font-weight:700;padding:20px 0}
.gp-faq summary::-webkit-details-marker{display:none}
.gp-faq summary svg{width:20px;height:20px;color:var(--gp-accent);transition:transform .2s}
.gp-faq details[open] summary svg{transform:rotate(180deg)}
.gp-faq details p{margin:0;padding:0 0 22px;font-size:16px;line-height:1.55;color:var(--gp-text)}

/* Страница примера */
.gp-object{gap:32px}
.gp-object>.breadcrumbs{margin-bottom:-24px}
.gp-obj-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px}
.gp-obj-head>div{display:flex;flex-direction:column;gap:10px;min-width:0}
.gp-obj-head h1{margin:0;font-size:40px;line-height:1.1;letter-spacing:-.8px}
.gp-obj-head p{margin:0;font-size:16px;color:var(--gp-muted)}
.gp-badges{display:flex;flex-wrap:wrap;gap:8px}
.gp-fav-btn{font-family:inherit;font-size:16px;font-weight:700;color:var(--gp-ink);background:#fff;border:1px solid var(--gp-line);border-radius:14px;padding:13px 20px;min-height:50px;display:flex;align-items:center;gap:10px;cursor:pointer}
.gp-fav-btn svg{width:20px;height:20px;color:var(--gp-red)}
.gp-gallery{position:relative}
.gp-gallery-track{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:210px 210px;gap:10px;border-radius:22px;overflow:hidden;margin:0;padding:0;list-style:none}
.gp-gallery-track li{position:relative;background:var(--gp-line);margin:0}
.gp-gallery-track li:first-child{grid-row:1/span 2}
.gp-gallery-track li:nth-child(n+6){display:none}
.gp-gallery-track button{all:unset;cursor:zoom-in;display:block;width:100%;height:100%}
.gp-gallery-track button:focus-visible{outline:3px solid var(--gp-accent);outline-offset:-3px}
.gp-gallery-track img{width:100%;height:100%;object-fit:cover;display:block}
.gp-credit{position:absolute;left:12px;bottom:12px;font-size:12px;color:var(--gp-ink);background:rgba(255,255,255,.88);border-radius:6px;padding:4px 8px;pointer-events:none}
.gp-gallery-all{position:absolute;right:12px;bottom:12px;background:#fff;color:var(--gp-ink);font-family:inherit;font-size:14px;font-weight:700;border:0;border-radius:10px;padding:11px 14px;cursor:pointer;box-shadow:0 2px 8px rgba(18,36,75,.18)}
.gp-gallery-count,.gp-gallery-dots{display:none}
.gp-obj-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start}
.gp-obj-main{display:flex;flex-direction:column;gap:36px;min-width:0}
.gp-note{background:var(--gp-sun);border-radius:16px;padding:16px 20px;display:flex;gap:12px;align-items:flex-start;color:#8a5f00}
.gp-note p{margin:0;font-size:16px;line-height:1.5;color:#4a3500}
.gp-note svg{margin-top:2px}
.gp-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gp-facts div{background:var(--gp-teal);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:4px}
.gp-facts span{font-size:13px;color:var(--gp-accent-dark);font-weight:700}
.gp-facts strong{font-size:19px}
.gp-sec{display:flex;flex-direction:column;gap:14px}
.gp-sec h2{margin:0;font-size:26px;line-height:1.2}
.gp-sec>p{margin:0;font-size:17px;line-height:1.6;color:var(--gp-text)}
.gp-sec>p.gp-hint{margin-top:-6px;font-size:15px;color:var(--gp-muted)}
.gp-amen{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;font-size:16px}
.gp-amen li{display:flex;gap:10px;align-items:center}
.gp-amen svg{color:var(--gp-accent);stroke-width:2.4}
.gp-rules{margin:0;background:#fff;border-radius:18px;padding:6px 24px;display:grid;grid-template-columns:200px minmax(0,1fr);font-size:16px}
.gp-rules dt{padding:14px 0;color:var(--gp-muted);border-bottom:1px solid #e6eef2}
.gp-rules dd{margin:0;padding:14px 0;font-weight:700;border-bottom:1px solid #e6eef2}
.gp-rules dt:last-of-type,.gp-rules dd:last-of-type{border-bottom:0}
.gp-aside{position:sticky;top:16px;background:#fff;border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:14px;box-shadow:0 6px 24px rgba(18,36,75,.10);scroll-margin-top:16px}
.gp-aside h2{margin:0;font-size:22px;line-height:1.2}
.gp-aside-price{display:flex;align-items:baseline;gap:8px}
.gp-aside-price strong{font-size:30px;letter-spacing:-.4px}
.gp-aside-price span{font-size:16px;color:var(--gp-muted)}
.gp-aside>p{margin:0;font-size:14px;line-height:1.45;color:var(--gp-muted)}
.gp-aside .gp-form{padding:0;grid-template-columns:1fr;gap:10px}
.gp-aside .gp-field{padding:12px 14px}
.gp-aside-fav{border-top:1px solid var(--gp-line);padding-top:14px;display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.4;color:var(--gp-text)}
.gp-aside-fav .gp-tile{width:40px;height:40px}
.gp-aside-fav svg{width:20px;height:20px}
.gp-similar{margin-top:16px}
.gp-similar .gp-cards{gap:18px}
.gp-bar{display:none}

/* Просмотр фото */
.gp-lightbox{border:0;padding:0;margin:0;width:100vw;height:100vh;max-width:none;max-height:none;background:rgba(5,15,30,.94);color:#fff}
.gp-lightbox::backdrop{background:rgba(5,15,30,.94)}
.gp-lightbox[open]{display:flex;flex-direction:column}
.gp-lb-top{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;font-size:15px}
.gp-lb-close,.gp-lb-nav{font-family:inherit;border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:999px;width:48px;height:48px;font-size:26px;line-height:1;cursor:pointer}
.gp-lb-close:hover,.gp-lb-nav:hover{background:rgba(255,255,255,.26)}
.gp-lb-stage{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 12px 12px;min-height:0}
.gp-lb-stage figure{margin:0;flex:1 1 auto;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0}
.gp-lb-stage img{max-width:100%;max-height:calc(100vh - 140px);object-fit:contain;border-radius:8px}
.gp-lb-stage figcaption{font-size:14px;color:#d7e2ee;text-align:center}

/* Статья о районах и простые страницы */
.gp-article{display:flex;flex-direction:column;gap:28px;max-width:900px}
.gp-article>.breadcrumbs{margin-bottom:-12px}
.gp-article h1{margin:0;font-size:42px;line-height:1.1;letter-spacing:-.8px}
.gp-article .gp-lead{margin:0;font-size:19px;line-height:1.55;color:var(--gp-text)}
.gp-article-toc{display:flex;flex-wrap:wrap;gap:8px}
.gp-district{background:#fff;border-radius:22px;padding:28px 32px;display:flex;flex-direction:column;gap:14px;scroll-margin-top:16px}
.gp-district h2{margin:0;font-size:28px;line-height:1.2}
.gp-district p{margin:0;font-size:17px;line-height:1.6;color:var(--gp-text)}
.gp-district ul{margin:0;padding-left:20px;font-size:16px;line-height:1.6;color:var(--gp-text)}
.gp-district .gp-area-links{padding-top:4px;font-size:16px}
.gp-text{background:#fff;border-radius:22px;padding:28px 32px;font-size:16px;line-height:1.6;color:var(--gp-text)}
.gp-text h2{font-size:22px;margin:24px 0 8px}
.gp-text h2:first-child{margin-top:0}
.gp-credits{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14px;line-height:1.5}
.gp-credits li{background:#fff;border-radius:12px;padding:12px 16px;color:var(--gp-text);overflow-wrap:anywhere}
.gp-credits strong{color:var(--gp-ink)}

/* Подвал */
.gp-footer{margin-top:56px;background:#fff;border-top:1px solid var(--gp-line);font-family:Arial,Helvetica,sans-serif}
.gp-footer-in{max-width:1200px;margin:0 auto;padding:32px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px 40px;font-size:15px;box-sizing:border-box}
.gp-footer-brand{display:flex;flex-direction:column;gap:6px}
.gp-footer-brand strong{font-size:18px;color:var(--gp-ink)}
.gp-footer-brand span{color:var(--gp-muted)}
.gp-footer nav{display:flex;flex-wrap:wrap;gap:8px 28px;font-weight:700}
.gp-footer nav a{color:var(--gp-accent);text-decoration:none}
.gp-footer nav a:hover{text-decoration:underline}

/* Избранное: жильё */
.gp-fav-section{margin-top:8px}
.gp-fav-section .gp-cards{margin-top:16px}

/* Планшет */
@media(max-width:1050px){
  .gp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gp-request{grid-template-columns:1fr}
  .gp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gp-obj-grid{grid-template-columns:minmax(0,1fr) 340px;gap:28px}
  .gp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Телефон */
@media(max-width:700px){
  .gp-page{gap:36px}
  .gp-page>.breadcrumbs{margin-bottom:-30px}
  .gp-hero,.gp-home-hero{padding:28px 20px 24px;border-radius:18px;gap:12px}
  .gp-hero h1,.gp-home-hero h1{font-size:32px;letter-spacing:-.6px}
  .gp-hero .gp-lead{font-size:16px}
  .gp-home-hero .gp-sub{font-size:18px}
  .gp-hero-actions .gp-btn{flex:1 1 100%}
  .gp-search{padding:5px 5px 5px 14px}
  .gp-search input{font-size:16px;padding:12px 2px}
  .gp-search button{padding:12px 18px}
  .gp-why{margin-top:-20px;padding:18px}
  .gp-why-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .gp-why-item{flex-direction:column;align-items:flex-start;gap:8px}
  .gp-start{margin-top:-12px}
  .gp-start-grid{grid-template-columns:1fr;gap:18px}
  .gp-start-card>img{height:190px}
  .gp-start-card>div{padding:20px 20px 24px}
  .gp-start-card h3{font-size:28px}
  .gp-start-card .gp-btn{align-self:stretch}
  .gp-head h2,.gp-h2,.gp-list-head h2,.gp-how h2,.gp-faq h2{font-size:24px}
  .gp-areas-grid{grid-template-columns:1fr}
  .gp-places{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -16px;padding:0 16px 6px}
  .gp-places>a{flex:0 0 74%;scroll-snap-align:start}
  .gp-tabs,.gp-filters{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 4px}
  .gp-tab,.gp-filter{flex:0 0 auto}
  .gp-list{margin-top:-8px}
  .gp-cards{grid-template-columns:1fr;gap:16px}
  .gp-card-photo{height:200px}
  .gp-request{padding:24px 16px 16px;border-radius:18px;gap:20px}
  .gp-request-text h2{font-size:26px}
  .gp-request-text p{font-size:16px}
  .gp-form{grid-template-columns:1fr;padding:14px}
  .gp-how{padding:24px 20px}
  .gp-steps{grid-template-columns:1fr;gap:18px}
  .gp-faq details{padding:0 16px}
  .gp-faq summary{font-size:16px;padding:16px 0}
  .gp-object{gap:24px}
  .gp-object>.breadcrumbs{margin-bottom:-16px}
  .gp-obj-head h1{font-size:28px;letter-spacing:-.4px}
  .gp-obj-head .gp-fav-btn{display:none}
  .gp-gallery{margin:0 -16px}
  .gp-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:0;gap:0;grid-template-rows:none;scrollbar-width:none}
  .gp-gallery-track::-webkit-scrollbar{display:none}
  .gp-gallery-track li,.gp-gallery-track li:nth-child(n+6){display:block;flex:0 0 100%;height:280px;scroll-snap-align:start}
  .gp-gallery-all{display:none}
  .gp-gallery-count{display:block;position:absolute;right:12px;bottom:12px;font-size:12px;font-weight:700;color:#fff;background:rgba(18,36,75,.75);border-radius:999px;padding:5px 10px}
  .gp-gallery-dots{display:flex;position:absolute;bottom:16px;left:50%;transform:translateX(-50%);gap:5px}
  .gp-gallery-dots span{width:7px;height:7px;border-radius:99px;background:rgba(255,255,255,.6)}
  .gp-gallery-dots span.on{background:#fff}
  .gp-gallery .gp-fav{top:12px;right:12px}
  .gp-obj-grid{grid-template-columns:1fr;gap:28px}
  .gp-obj-main{gap:28px}
  .gp-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .gp-facts div{padding:12px 14px}
  .gp-facts strong{font-size:17px}
  .gp-sec h2{font-size:22px}
  .gp-sec>p{font-size:16px}
  .gp-amen{grid-template-columns:1fr}
  .gp-rules{grid-template-columns:120px minmax(0,1fr);padding:4px 16px;font-size:15px}
  .gp-places-near{display:flex}
  .gp-aside{position:static;padding:20px 16px}
  .gp-bar{display:flex;position:fixed;left:0;right:0;bottom:calc(62px + env(safe-area-inset-bottom));z-index:39;background:#fff;border-top:1px solid var(--gp-line);box-shadow:0 -6px 18px rgba(18,36,75,.08);padding:10px 12px;align-items:center;justify-content:space-between;gap:10px}
  .gp-bar .gp-price strong{font-size:18px}
  .gp-bar .gp-price small{font-size:12px}
  .gp-bar .gp-btn{font-size:15px;padding:12px 16px;min-height:48px;border-radius:12px}
  .gp-bar[hidden]{display:none}
  .gp-has-bar .gp-footer{padding-bottom:140px}
  .gp-article h1{font-size:30px}
  .gp-article .gp-lead{font-size:17px}
  .gp-district,.gp-text{padding:22px 18px}
  .gp-district h2{font-size:24px}
  .gp-footer{margin-top:40px}
  .gp-footer-in{padding:24px 16px calc(90px + env(safe-area-inset-bottom));flex-direction:column}
  .gp-footer nav{flex-direction:column;gap:12px}
  .gp-lb-nav{display:none}
}
.gp-fav-mobile{display:none}
@media(max-width:700px){.gp-gallery .gp-fav-mobile{display:flex;top:12px;right:12px}}
.gp-card{position:relative}
.gp-faq summary::after,.gp-faq summary::before{display:none!important;content:none!important}
.gp .gp-area-links a,.gp a.gp-more,.gp .gp-text a,.gp .gp-form-note a,.gp .gp-aside a:not(.gp-btn),.gp .gp-district ul a,.gp .gp-sec p a{color:var(--gp-accent)}
.gp a.gp-more:hover,.gp .gp-area-links a:hover{color:#06607a}
.gp-obj-head>div{flex:1 1 520px}
.gp-m{display:none}
@media(max-width:700px){.gp-d{display:none}.gp-m{display:inline}}
@media(min-width:1051px){.gp-areas-grid.gp-n6{grid-template-columns:repeat(3,minmax(0,1fr))}.gp-areas-grid.gp-n5{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:1050px){.gp-areas-grid.gp-n6,.gp-areas-grid.gp-n5{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Согласие на обработку данных */
.gp-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;color:var(--gp-text);cursor:pointer;padding:6px 4px;border-radius:10px;border:2px solid transparent}
.gp-consent input{flex:0 0 auto;width:22px;height:22px;margin:0;accent-color:var(--gp-accent);cursor:pointer}
.gp-consent.gp-invalid{border-color:var(--gp-red);background:#fff5f4}
.gp .gp-consent a{color:var(--gp-accent)}
/* Уведомление о cookie */
.gp-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:720px;margin:0 auto;background:#12244b;color:#fff;border-radius:16px;padding:14px 16px;display:flex;align-items:center;gap:16px;box-shadow:0 8px 28px rgba(18,36,75,.28);font-family:Arial,Helvetica,sans-serif}
.gp-cookie p{margin:0;font-size:14px;line-height:1.45}
.gp-cookie a{color:#9fe3ee}
.gp-cookie .gp-btn{flex:0 0 auto;min-height:44px;padding:10px 20px;font-size:15px;background:#fff;color:#0b5f70}
.gp-cookie .gp-btn:hover{background:#eaf6f8;color:#0b5f70}
@media(max-width:700px){.gp-cookie{left:10px;right:10px;bottom:calc(72px + env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:10px}.gp-cookie .gp-btn{width:100%}}
