/* ============================================================
   БРИДЖ ХАУС — секции: герой, статистика, преимущества,
   апартаменты, территория, локация, галерея, CTA, футер
   ============================================================ */

/* ---------- ГЕРОЙ (главная) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  color: var(--white); overflow: hidden;
}
.hero-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
  background: url("../../mobile.webp") center center / cover no-repeat;
}
@media (min-width: 721px) {
  .hero-bg {
    background-image: url("../../desktop.webp");
  }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 70% at 20% 20%, rgba(7, 28, 48, .30), transparent 60%),
    linear-gradient(180deg, rgba(5, 18, 32, .78) 0%, rgba(7, 24, 40, .42) 45%, rgba(5, 16, 30, .92) 100%);
}
.hero-inner { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 20px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  font-weight: 800; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-400);
  margin-bottom: 26px;
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,164,92,.7); } 50% { box-shadow: 0 0 0 10px rgba(201,164,92,0); } }
.hero h1 { color: var(--white); margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero-lead { max-width: 620px; font-size: 1.14rem; line-height: 1.7; color: rgba(255,255,255,.88); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero-facts svg { width: 19px; height: 19px; color: var(--gold-400); flex: none; }

/* виджет быстрого бронирования */
.quick-book {
  margin-top: 64px; padding: 24px;
  background: rgba(255,255,255,.97); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); border: 1px solid rgba(201,164,92,.3);
  display: grid; grid-template-columns: 2fr 1.4fr 1.4fr auto; gap: 16px; align-items: end;
}
.quick-book .field { margin-bottom: 0; }
.quick-book-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 7px; display: block; }
.quick-book .btn { height: 52px; }

/* ---------- полоса статистики ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--white); padding: 34px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num {
  font-family: var(--ff-text); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.05;
}
.stat-label { font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.66); margin-top: 5px; }

/* ---------- карточка апартамента ---------- */
.apts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
.apt-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-900); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; color: var(--white);
  transition: transform .35s ease, box-shadow .35s ease;
}
.apt-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-pop); }
.apt-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.apt-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.apt-card:hover .apt-card-media img { transform: scale(1.07); }
.apt-card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 24, 40, .65));
}
.apt-card-num {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: var(--ff-text); font-size: 1.6rem; font-weight: 800; color: var(--white);
  padding: 4px 16px; border-radius: 999px;
  background: rgba(7, 24, 40, .55); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
}
.apt-card-floor {
  position: absolute; top: 22px; right: 18px; z-index: 2;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(201,164,92,.9); color: var(--navy-950);
  font-size: .78rem; font-weight: 800; letter-spacing: .05em;
}
.apt-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.apt-card-body h3 { color: var(--white); margin: 0; }
.apt-card-short { color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.5; margin: 0; }
.apt-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.apt-specs span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.85); }
.apt-specs svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; }
.apt-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.apt-card-price { font-size: .86rem; font-weight: 700; color: var(--gold-400); }
.apt-card-price .price-num { font-size: 1.2rem; }
.rub { font-family: 'Segoe UI', Arial, 'Helvetica Neue', sans-serif; font-weight: 600; }
.apt-card-cta {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  border: 1.5px dashed rgba(201,164,92,.5);
}
.apt-card-cta .apt-card-short { max-width: 300px; margin: 0 auto; }

/* ---------- преимущества ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-card);
  border: 1px solid var(--sand-200);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; align-items: flex-start; gap: 18px;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.adv-icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-400));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-800);
}
.adv-icon svg { width: 28px; height: 28px; }
.adv-card-body { flex: 1 1 auto; min-width: 0; }
.adv-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.adv-card p { color: var(--ink-500); font-size: .92rem; margin: 0; }

/* ---------- секция «территория» (сплит с фото) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media .main-photo {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%;
}
.split-media .float-photo {
  position: absolute; bottom: -34px; right: -22px;
  width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-md); border: 6px solid var(--white);
  box-shadow: var(--shadow-soft);
}
.split-media .media-badge {
  position: absolute; top: -18px; left: -14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950); font-weight: 800; font-size: .84rem; letter-spacing: .06em;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.split-body h2 { margin-bottom: 16px; }
.split-body > p { color: var(--ink-500); }
.feature-list { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 26px 0; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-check {
  width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--gold-100); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
}
.feature-list b { display: block; }
.feature-list p { margin: 2px 0 0; color: var(--ink-500); font-size: .92rem; }

/* ---------- удобства (чипы) ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.amen-chip {
  display: flex; align-items: center; gap: 13px;
  background: var(--white); border: 1px solid var(--sand-200);
  border-radius: 14px; padding: 14px 18px;
  font-weight: 700; font-size: .92rem; color: var(--ink-700);
  transition: border-color .2s, transform .2s;
}
.amen-chip:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.amen-note { margin-top: 18px; font-size: .84rem; color: var(--ink-300); }

/* ---------- локации ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.loc-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 34px 28px 90px; color: var(--white); min-height: 300px;
  background: var(--navy-800); display: flex; flex-direction: column;
  transition: transform .3s ease;
}
.loc-card:hover { transform: translateY(-5px); }
.loc-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(7,28,48,.15), rgba(7,28,48,.8)); z-index: 1; }
.loc-card-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: 14px; }
.loc-card-bg img { width: 100%; height: 100%; object-fit: cover; }
.loc-card > * { position: relative; z-index: 2; }
.loc-tag { margin-bottom: 14px; }
.loc-card h3 { color: var(--white); }
.loc-card p { color: rgba(255,255,255,.82); font-size: .94rem; margin: 0; }
.loc-btn {
  position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.4);
  color: var(--white); font-weight: 800; font-size: .92rem;
  backdrop-filter: blur(4px); transition: background .25s;
}
.loc-btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.loc-current {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-500); color: var(--navy-950);
  padding: 5px 14px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- полоса галереи на главной ---------- */
.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; padding: 6px 6px 18px; scroll-snap-type: x mandatory; }
.gallery-strip a { scroll-snap-align: start; }
.g-strip-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.g-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-strip-item:hover img { transform: scale(1.06); }
.g-strip-item::after { content: "＋"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: rgba(255,255,255,.92); background: rgba(7,24,40,.28); opacity: 0; transition: opacity .3s; }
.g-strip-item:hover::after { opacity: 1; }

/* ---------- CTA-блок ---------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-lg); padding: 72px 40px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-pop);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 85% 10%, rgba(46, 156, 216, .25), transparent 55%),
              radial-gradient(50% 80% at 10% 90%, rgba(201, 164, 92, .22), transparent 55%);
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: var(--white); margin-bottom: 14px; }
.cta-panel p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-phone { font-family: var(--ff-text); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; color: var(--gold-400) !important; }

/* ---------- внутренний герой страниц ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 74px) 0 66px;
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 85%);
  color: var(--white);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background:
    radial-gradient(50% 80% at 80% 0%, rgba(46,156,216,.5), transparent 60%),
    radial-gradient(40% 60% at 15% 100%, rgba(201,164,92,.5), transparent 60%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 44px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 60% 100%, 30% 35%, 0 90%);
}
.page-hero > .container { position: relative; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; margin-bottom: 18px; color: rgba(255,255,255,.55); }
.breadcrumbs a { color: rgba(255,255,255,.75); }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs .sep { opacity: .5; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 12px; }
.page-hero .lead { max-width: 640px; color: rgba(255,255,255,.8); font-size: 1.08rem; margin: 0; }

/* ---------- футер ---------- */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.68); margin-top: auto; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 34px; color: var(--white); margin-top: -33px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sea-500), var(--gold-500)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding: 74px 0 40px; }
.footer-logo { margin-bottom: 18px; }
.footer-about p { font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.soc-btn {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--white);
  transition: background .25s, transform .25s;
}
.soc-btn:hover { background: #25D366; color: var(--white); transform: translateY(-3px); }
.site-footer h4 { color: var(--gold-400); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .92rem; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contacts li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; font-size: .92rem; }
.footer-contacts svg { color: var(--gold-500); flex: none; margin-top: 4px; }
.footer-contacts a { color: var(--white); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
.footer-credit a { color: var(--gold-400); text-decoration: none; transition: color .2s; }
.footer-credit a:hover { color: var(--gold-300); text-decoration: underline; }

/* ---------- адаптив секций ---------- */
@media (max-width: 1060px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media .float-photo { right: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; padding: 56px 0 30px; }
  .quick-book { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .hero { min-height: auto; padding-bottom: 90px; }
  .hero-eyebrow { white-space: nowrap; font-size: .68rem; letter-spacing: .14em; padding: 8px 14px; gap: 8px; }
  .hero-lead { font-size: 1.02rem; }
  .quick-book { grid-template-columns: 1fr; margin-top: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .adv-grid { grid-template-columns: 1fr; gap: 18px; }
  .loc-grid { grid-template-columns: 1fr; }
  .split-media .float-photo { position: static; width: 55%; margin: -30px 0 0 auto; border-width: 5px; }
  .cta-panel { padding: 52px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 20px; }
  .footer-bottom { padding-bottom: 90px; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .gallery-strip { grid-auto-columns: minmax(240px, 78vw); }
}

/* ---------- ОТЗЫВЫ ---------- */
.reviews-rating-badge {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; max-width: 100%;
  padding: 10px 22px; border-radius: 999px;
  background: var(--gold-100); border: 1px solid var(--gold-300);
  margin-left: auto; margin-right: auto;
}
.reviews-stars { color: var(--gold-500); font-size: 1.15rem; letter-spacing: 2px; }
.reviews-score { font-weight: 800; font-size: 1.1rem; color: var(--navy-900); }
.reviews-count { font-size: .85rem; color: var(--ink-500); font-weight: 600; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 22px;
}
.reviews-grid-full { grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); }

.review-card {
  background: var(--white); border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg); padding: 26px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.review-card:hover {
  transform: translateY(-3px); border-color: var(--gold-300);
  box-shadow: 0 12px 32px rgba(7, 24, 40, .08);
}
.review-stars { color: var(--gold-500); font-size: 1.05rem; letter-spacing: 2px; }
.review-text {
  font-size: .92rem; line-height: 1.65; color: var(--ink-700);
  margin: 0; flex: 1;
}
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sea-500), var(--navy-700));
  color: var(--white); font-weight: 800; font-size: 1.05rem;
}
.review-author b { display: block; font-size: .9rem; color: var(--navy-900); }
.review-author small { display: block; font-size: .76rem; color: var(--ink-300); margin-top: 1px; }

@media (max-width: 720px) {
  .reviews-grid, .reviews-grid-full { grid-template-columns: 1fr; gap: 16px; }
  .review-card { padding: 22px 20px; }
}
