/* OLGA real estate landing / accepted main variant + live lead forms 000.001.022 */
:root {
  --ink: #18394a;
  --ink-soft: #506873;
  --sea: #2b9cb4;
  --sea-deep: #176f88;
  --coral: #f4654b;
  --coral-dark: #e7563d;
  --cream: #fffaf3;
  --sky: #eef8fb;
  --line: #dfe9ed;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(20, 57, 73, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.58; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.container { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }
.section { padding: 86px 0; }
.eyebrow { margin: 0 0 10px; color: var(--sea-deep); font-size: 15px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
h1,h2,h3,p { text-wrap: pretty; }
h1,h2,h3 { margin-top: 0; color: #17384a; }
h1,h2 { font-family: var(--serif); font-weight: 500; }
h2 { margin-bottom: 22px; font-size: clamp(34px, 4vw, 48px); line-height: 1.08; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 92px; color: #153746; }
.header-inner { height: 92px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 34px; display: grid; gap: 3px; }
.brand-mark i { display: block; height: 3px; border-radius: 999px; background: var(--sea); transform: skewX(-20deg); }
.brand-mark i:nth-child(2) { width: 28px; background: #80c8d8; }
.brand-mark i:nth-child(3) { width: 22px; background: #d9a76a; }
.brand-copy { display: grid; line-height: 1.05; text-transform: uppercase; }
.brand-copy strong { font-size: 15px; letter-spacing: .08em; }
.brand-copy small { margin-top: 4px; color: #63808c; font-size: 11px; letter-spacing: .08em; }
.desktop-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; font-size: 15px; font-weight: 600; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--sea-deep); }
.header-cta { margin-left: 4px; padding: 12px 19px; border: 1px solid rgba(23,56,74,.18); border-radius: 999px; background: rgba(255,255,255,.58); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; }
.header-phone { flex: 0 0 auto; color: #17384a; font-size: 16px; font-weight: 700; white-space: nowrap; }
.header-phone:hover { color: var(--sea-deep); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 620px; overflow: hidden; background: #d9f1f7; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background: url('/static/media/hero-anapa.webp') center 42% / cover no-repeat; transform: scale(1.01); }
.hero-overlay { background: linear-gradient(90deg, rgba(248,252,253,.97) 0%, rgba(248,252,253,.93) 28%, rgba(248,252,253,.82) 46%, rgba(248,252,253,.62) 60%, rgba(248,252,253,.38) 72%, rgba(248,252,253,.14) 82%, rgba(248,252,253,0) 88%); }
.hero-grid { position: relative; z-index: 2; min-height: 620px; padding-top: 98px; padding-bottom: 42px; display: grid; grid-template-columns: minmax(0,1fr) 360px; align-items: center; gap: 50px; }
.hero-copy { position: relative; max-width: 720px; }
.hero-copy::before { content: none; }

.hero-glow-stack {
  position: relative;
  isolation: auto;
}

/* Старые декоративные копии текста полностью отключены. */
.hero-glow-back {
  display: none !important;
}

/* Обычный текст без фона, обводок и свечения. */
.hero-glow-front {
  position: relative;
  z-index: 1;
  display: inline;
  background: transparent;
  padding: 0;
  box-shadow: none;
  -webkit-box-decoration-break: initial;
  box-decoration-break: initial;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
}

.hero-copy .eyebrow { color: var(--coral-dark); }
.hero h1 { margin-bottom: 14px; color: #111; font-size: clamp(50px, 4.8vw, 70px); line-height: .98; letter-spacing: -.025em; font-weight: 700; }
.hero h1 .hero-glow-front > span { color: #111; }
.hero-lead { max-width: 690px; margin: 0 0 27px; color: #111; font-size: 20px; line-height: 1.45; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats div { position: relative; min-width: 155px; padding: 7px 12px 7px 18px; border-left: 2px solid rgba(36,146,170,.55); background: none; }
.hero-stats b { display: block; margin-bottom: 4px; color: #111; font-family: var(--serif); font-size: 46px; line-height: 1; font-weight: 700; }
.hero-stats span { display: block; color: #111; font-size: 14px; line-height: 1.28; font-weight: 600; }

.visual-form { border: 1px solid rgba(255,255,255,.74); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.selection-form { padding: 28px; }
.selection-form h2 { margin-bottom: 8px; font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.selection-form > p { margin: 0 0 20px; color: #607681; font-size: 15px; }
.visual-form label { display: block; margin-bottom: 12px; }
.visual-form label:not(.consent-check) > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.visual-form input, .visual-form select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #d8e1e5; border-radius: 9px; outline: none; background: #fff; color: #254653; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.visual-form input:focus, .visual-form select:focus { border-color: #6db9ca; box-shadow: 0 0 0 3px rgba(43,156,180,.12); }
.btn { min-height: 50px; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 9px 24px rgba(244,101,75,.25); transition: background .2s, transform .2s; }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.selection-form .btn { width: 100%; }
.consent-check { display: grid !important; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 14px 0 13px !important; cursor: pointer; }
.consent-check input { width: 18px !important; height: 18px !important; margin: 2px 0 0; accent-color: var(--sea-deep); }
.consent-check > span { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; color: #627983; font-size: 13px; line-height: 1.35; }
.consent-check a { color: var(--sea-deep); text-decoration: underline; text-underline-offset: 2px; }

.anapa-section { background: #fff; }
.anapa-grid { display: grid; grid-template-columns: 315px 1fr; gap: 48px; align-items: stretch; }
.section-intro { padding: 18px 4px; }
.section-intro p:not(.eyebrow) { color: #59717c; font-size: 15px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 20px; color: var(--sea-deep); font-size: 14px; font-weight: 700; }
.text-link span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #9fcfd9; border-radius: 50%; }
.anapa-collage { display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; }
.place-card { position: relative; min-height: 0; overflow: hidden; border-radius: 12px; background: #dce8eb; }
.place-card--tall { grid-row: 1 / span 2; }
.place-card:last-child { grid-column: 2 / span 2; }
.place-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.place-card:hover img { transform: scale(1.035); }
.place-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(11,43,56,.76)); }
.place-card div { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 15px; color: #fff; }
.place-card small { display: block; margin-bottom: 3px; opacity: .86; font-size: 11px; }
.place-card strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }

.objects-section { background: linear-gradient(#fbfdfe,#f7fbfc); border-top: 1px solid #edf3f5; border-bottom: 1px solid #edf3f5; }
.section-heading-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section-heading-row h2 { margin-bottom: 0; }
.carousel-controls { display: flex; gap: 8px; padding-bottom: 3px; }
.carousel-controls button { width: 40px; height: 40px; border: 1px solid #dbe6ea; border-radius: 50%; background: #fff; cursor: pointer; font-size: 20px; }
.objects-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 244px; gap: 14px; overflow-x: auto; padding: 4px 2px 18px; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x proximity; }
.objects-carousel::-webkit-scrollbar { display: none; }
.object-card { scroll-snap-align: start; overflow: hidden; padding: 0; border: 1px solid #dce7eb; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(25,61,77,.06); text-align: left; cursor: pointer; transition: border .2s, transform .2s, box-shadow .2s; }
.object-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(25,61,77,.11); }
.object-card.is-active { border-color: rgba(244,101,75,.8); box-shadow: 0 12px 30px rgba(244,101,75,.12); }
.object-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.object-card-body { display: grid; gap: 2px; padding: 13px 14px 14px; }
.object-card-body strong { min-height: 42px; color: #183b4c; font-family: var(--serif); font-size: 19px; line-height: 1.16; font-weight: 500; }
.object-card-body small { color: #6e838d; font-size: 13px; }
.object-card-body em { margin-top: 5px; color: var(--sea-deep); font-size: 13px; font-style: normal; font-weight: 700; }

.object-detail { margin-top: 18px; padding: 16px; border: 1px solid #dce7eb; border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(30,65,80,.08); display: grid; grid-template-columns: minmax(0,1.13fr) minmax(330px,.87fr); gap: 24px; }
.detail-gallery { min-width: 0; }
.detail-main-wrap { position: relative; overflow: hidden; border-radius: 11px; background: #e6eef1; }
.detail-main { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 38px; height: 52px; border: 1px solid rgba(255,255,255,.8); border-radius: 9px; background: rgba(255,255,255,.9); box-shadow: 0 8px 20px rgba(0,0,0,.12); cursor: pointer; font-size: 32px; line-height: 1; }
.gallery-arrow--left { left: 12px; }.gallery-arrow--right { right: 12px; }
.detail-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 8px; }
.detail-thumb { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; }
.detail-thumb.is-active { border-color: var(--coral); }
.detail-thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.detail-content { padding: 0 18px 8px 7px; align-self: start; }
.detail-kicker { margin: 0 0 5px; color: #69818c; font-size: 15px; }
.detail-content h3 { margin-bottom: 13px; font-family: var(--serif); font-size: clamp(34px,3.2vw,46px); line-height: 1.02; font-weight: 500; }
.detail-description { margin: 0 0 17px; color: #526c77; font-size: 16.5px; line-height: 1.52; }
.detail-features { list-style: none; padding: 15px 0 0; margin: 0 0 18px; border-top: 1px solid #e7eef1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 15px; }
.detail-features li { position: relative; padding-left: 24px; color: #365663; font-size: 15px; line-height: 1.35; }
.detail-features li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #6eb9ca; border-radius: 50%; color: var(--sea-deep); font-size: 10px; font-weight: 700; }
.detail-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 18px; }
.detail-meta div { padding: 11px 12px; border-radius: 9px; background: #f3f7f8; }
.detail-meta small { display: block; margin-bottom: 3px; color: #7b9099; font-size: 11px; }
.detail-meta strong { display: block; color: #2e5361; font-size: 14px; line-height: 1.2; }
.detail-cta { min-width: 232px; }

.benefits-section { background: #fff; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit-card { position: relative; min-height: 380px; overflow: hidden; display: grid; grid-template-columns: 1.18fr .82fr; border-radius: 18px; }
.benefit-card--blue { background: #eaf8fb; }
.benefit-card--sand { background: #fbf1e5; }
.benefit-copy { position: relative; z-index: 2; padding: 31px 30px 28px; }
.benefit-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--sea-deep); font-size: 20px; }
.benefit-copy h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.benefit-copy p { margin: 0 0 18px; color: #526b76; font-size: 14.5px; line-height: 1.5; }
.benefit-points { display: grid; gap: 8px; margin-bottom: 19px; }
.benefit-points div { position: relative; padding: 9px 10px 9px 36px; border-radius: 11px; background: rgba(255,255,255,.64); }
.benefit-points div::before { content: "✓"; position: absolute; left: 11px; top: 11px; width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid rgba(23,111,136,.35); border-radius: 50%; color: var(--sea-deep); font-size: 10px; font-weight: 700; }
.benefit-points b { display: block; color: #315664; font-size: 14px; line-height: 1.25; }
.benefit-points span { display: block; margin-top: 2px; color: #69808a; font-size: 12px; line-height: 1.3; }
.benefit-copy a { color: var(--sea-deep); font-size: 14px; font-weight: 700; }
.benefit-card img { width: 100%; height: 100%; object-fit: cover; }

.contact-section { position: relative; min-height: 410px; display: flex; align-items: center; overflow: hidden; background: #d7eef5; }
.contact-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,106,131,.18), rgba(255,255,255,.10)), url('/static/media/cta-sea.webp') center / cover no-repeat; }
.contact-wrap { position: relative; z-index: 2; padding: 62px 0; }
.bottom-form { max-width: 980px; margin: 0 auto; padding: 34px 36px 30px; text-align: center; }
.bottom-form h2 { margin-bottom: 7px; font-size: 38px; }
.bottom-form > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 22px; color: #617681; font-size: 15px; }
.bottom-form-row { display: grid; grid-template-columns: 1fr 1fr 1.15fr auto; gap: 9px; align-items: center; }
.bottom-form-row label { margin: 0; }
.bottom-form-row .btn { min-width: 168px; }
.consent-check--bottom { max-width: 620px; margin: 16px auto 0 !important; text-align: left; }
.form-trust { display: flex; justify-content: center; gap: 28px; margin-top: 16px; color: #71858e; font-size: 12px; }
.form-trust span::before { content: "✓"; margin-right: 6px; color: var(--sea-deep); font-weight: 700; }

.site-footer { padding: 38px 0; border-top: 1px solid #e7eef1; background: #f8fbfc; }
.footer-inner { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 34px; }
.footer-contact { display: grid; gap: 4px; color: #506b77; font-size: 14px; }
.footer-contact a:first-child { font-weight: 700; color: #244957; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px 20px; color: #607781; font-size: 13px; line-height: 1.45; }
.footer-links a:hover { color: var(--sea-deep); }

@media (max-width: 1020px) {
  .container { width: min(100% - 40px, 920px); }
  .desktop-nav, .header-cta, .header-phone { display: none; }
  .menu-toggle { display: grid; margin-left: auto; width: 42px; height: 42px; place-content: center; gap: 5px; border: 1px solid rgba(23,56,74,.16); border-radius: 50%; background: rgba(255,255,255,.72); }
  .menu-toggle span { width: 19px; height: 2px; background: #264957; }
  .mobile-menu { position: absolute; top: 78px; left: 20px; right: 20px; padding: 12px; border: 1px solid #dce7eb; border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .mobile-menu.is-open { display: grid; }
  .mobile-menu a { padding: 11px 12px; border-radius: 8px; font-size: 15px; font-weight: 700; }
  .mobile-menu .mobile-phone { margin-top: 5px; border-top: 1px solid #e4ecef; color: var(--sea-deep); }
  .hero-grid { grid-template-columns: 1fr 330px; gap: 28px; min-height: 620px; }
  .hero h1 { font-size: clamp(46px,6.2vw,62px); }
  .anapa-grid { grid-template-columns: 1fr; }
  .section-intro { max-width: 680px; }
  .object-detail { grid-template-columns: 1fr; }
  .detail-content { padding: 2px 8px 8px; }
  .benefit-card { grid-template-columns: 1fr; min-height: 0; }
  .benefit-card img { aspect-ratio: 16/8; order: -1; }
  .bottom-form-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .container { width: min(100% - 28px, 680px); }
  .section { padding: 62px 0; }
  .site-header, .header-inner { height: 78px; }
  .hero { min-height: auto; }
  .hero-media { background-position: 61% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(248,252,253,.94) 0%, rgba(248,252,253,.82) 48%, rgba(248,252,253,.36) 78%, rgba(248,252,253,0) 100%); }
  .hero-copy::before { content: none; }
  .hero-grid { min-height: 0; padding-top: 108px; padding-bottom: 44px; grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(42px,12vw,59px); }
  .hero-lead { font-size: 18px; }
  .hero-stats { gap: 18px; }
  .hero-stats b { font-size: 36px; }
  .hero-stats span { font-size: 13px; }
  .hero-stats div { min-width: 128px; }
  .selection-form { padding: 22px; }
  .anapa-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; }
  .place-card--tall { grid-column: 1 / span 2; grid-row: auto; }
  .place-card:last-child { grid-column: auto; }
  .section-heading-row { align-items: center; }
  .section-heading-row h2 { font-size: 36px; }
  .objects-carousel { grid-auto-columns: 72vw; }
  .object-detail { padding: 10px; }
  .detail-features { grid-template-columns: 1fr; }
  .detail-meta { grid-template-columns: repeat(2,1fr); }
  .benefit-grid { grid-template-columns: 1fr; }
  .bottom-form { padding: 24px 18px; text-align: left; }
  .bottom-form h2 { font-size: 34px; }
  .bottom-form > p:not(.eyebrow) { margin-left: 0; }
  .bottom-form-row { grid-template-columns: 1fr; }
  .bottom-form-row .btn { width: 100%; }
  .form-trust { justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; }
  .footer-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; flex-direction: column; gap: 7px; }
}

@media (max-width: 480px) {
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .hero h1 { font-size: 42px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .anapa-collage { grid-template-columns: 1fr; grid-template-rows: repeat(4,210px); }
  .place-card--tall, .place-card:last-child { grid-column: auto; grid-row: auto; }
  .carousel-controls { display: none; }
  .objects-carousel { grid-auto-columns: 84vw; }
  .detail-meta { grid-template-columns: 1fr; }
  .gallery-arrow { width: 34px; height: 46px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact, .footer-links { grid-column: auto; }
}


/* Legal pages */
.legal-body { background: #f6fafb; color: #294d5b; }
.legal-page { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 80px; }
.legal-back { display: inline-block; margin-bottom: 30px; color: var(--sea-deep); font-size: 15px; font-weight: 700; }
.legal-page h1 { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(36px, 5vw, 54px); line-height: 1.05; font-weight: 500; }
.legal-date { margin: 0 0 36px; color: #72868f; font-size: 14px; }
.legal-page h2 { margin: 34px 0 12px; font-family: var(--serif); font-size: 27px; line-height: 1.15; }
.legal-page p { margin: 0 0 14px; color: #486571; font-size: 16px; line-height: 1.72; }
.legal-page a { color: var(--sea-deep); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) {
  .legal-page { width: min(100% - 28px, 680px); padding-top: 34px; }
  .legal-page p { font-size: 15px; }
}


/* Live lead forms / 000.001.022 */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status {
  min-height: 19px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.35;
}
.form-status.is-success { color: var(--sea-deep); }
.form-status.is-error { color: var(--coral); }
.visual-form button[disabled] {
  cursor: wait;
  opacity: .72;
}
