.contacts-page {
  min-height: 100vh;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 10% 8%, rgba(30,136,229,0.09), transparent 45%),
    radial-gradient(ellipse at 90% 30%, rgba(46,204,113,0.06), transparent 45%),
    #05070c;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 34px 0 0;
  margin-bottom: 24px;
  color: #7f8794;
  font-size: 14px;
}

.breadcrumbs a {
  color: #b0b3bd;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #2ecc71;
}

.breadcrumbs .separator {
  color: #46505f;
}

/* HERO */

.contacts-hero {
  padding: 34px 0 58px;
}

.contacts-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: stretch;
}

.contacts-hero-content {
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(30,136,229,0.18), transparent 50%),
    linear-gradient(105deg, #0b111e, #070b12);
  border: 1px solid rgba(30,136,229,0.24);
}

.contacts-badge {
  display: inline-flex;
  padding: 7px 14px;
  margin-bottom: 22px;
  border-radius: 40px;
  background: rgba(30,136,229,0.15);
  border: 1px solid rgba(30,136,229,0.3);
  color: #7ac4ff;
  font-size: 13px;
  font-weight: 700;
}

.contacts-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}

.contacts-hero p {
  max-width: 640px;
  margin: 0 0 32px;
  color: #aeb6c4;
  font-size: 17px;
  line-height: 1.6;
}

.hero-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s ease;
}

.hero-contact-card:hover {
  border-color: rgba(46,204,113,0.45);
  background: rgba(46,204,113,0.08);
}

.hero-contact-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(30,136,229,0.15);
  flex-shrink: 0;
}

.hero-contact-card small {
  display: block;
  margin-bottom: 4px;
  color: #8f96a3;
  font-size: 12px;
}

.hero-contact-card strong {
  font-size: 15px;
}

.contacts-hero-panel {
  min-height: 100%;
  border-radius: 34px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(30,136,229,0.45), rgba(46,204,113,0.24), rgba(255,255,255,0.05));
}

.hero-panel-inner {
  height: 100%;
  min-height: 280px;
  padding: 32px;
  border-radius: 33px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(46,204,113,0.16), transparent 50%),
    #0f1219;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.panel-label {
  color: #9da1ab;
  font-size: 14px;
  margin-bottom: 8px;
}

.hero-panel-inner strong {
  color: #2ecc71;
  font-size: 34px;
  font-weight: 900;
}

.hero-panel-inner p {
  margin: 14px 0 0;
  color: #aeb6c4;
  font-size: 15px;
}

/* SECTIONS */

.city-section,
.contact-info-section {
  padding: 56px 0;
}

.map-section {
  padding: 56px 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: #9da1ab;
  font-size: 16px;
  line-height: 1.5;
}

/* CITY TABS */

.city-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.city-tab {
  border: 1px solid rgba(255,255,255,0.07);
  background: #0f1219;
  color: #cbd5e6;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.2s ease;
}

.city-tab:hover {
  border-color: rgba(30,136,229,0.45);
  background: rgba(30,136,229,0.08);
}

.city-tab.active {
  background: #2ecc71;
  border-color: #2ecc71;
  color: #05070c;
}

/* SELECTED LOCATION */

.selected-location {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.location-main-card,
.location-gallery-card,
.info-card {
  background: rgba(15, 18, 25, 0.9);
  border: 1px solid rgba(30,136,229,0.14);
  border-radius: 30px;
  overflow: hidden;
}

.location-main-card {
  padding: 28px;
}

.location-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.location-kicker {
  color: #7ac4ff;
  font-size: 13px;
  font-weight: 700;
}

.location-card-top h2 {
  margin: 8px 0 0;
  font-size: 34px;
  line-height: 1.1;
}

.current-city-badge {
  padding: 8px 12px;
  border-radius: 40px;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.28);
  color: #2ecc71;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.location-info-list {
  display: grid;
  gap: 14px;
}

.location-info-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.location-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(30,136,229,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-info-item span {
  display: block;
  margin-bottom: 5px;
  color: #8f96a3;
  font-size: 12px;
}

.location-info-item strong,
.location-info-item a {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.location-info-item em {
  display: block;
  margin-top: 4px;
  color: #9da1ab;
  font-size: 13px;
  line-height: 1.35;
  font-style: normal;
}

.location-info-item a:hover {
  color: #2ecc71;
}

.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.contacts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
  transition: 0.2s ease;
  text-align: center;
}

.contacts-btn.primary {
  background: #2ecc71;
  color: #05070c;
}

.contacts-btn.primary:hover {
  background: #35e47f;
}

.contacts-btn.secondary {
  border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e6;
  background: rgba(255,255,255,0.035);
}

.contacts-btn.secondary:hover {
  border-color: rgba(30,136,229,0.4);
  background: rgba(30,136,229,0.1);
  color: #ffffff;
}

.location-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.location-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(122,196,255,0.22);
  color: #cbd5e6;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  transition: 0.2s ease;
}

.location-socials a:hover {
  background: rgba(30,136,229,0.16);
  color: #ffffff;
  border-color: rgba(122,196,255,0.58);
}

/* GALLERY */

.location-gallery-card {
  padding: 18px;
}

.gallery-main {
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: #0b111e;
  border: 1px solid rgba(255,255,255,0.06);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumb {
  height: 86px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: #0b111e;
  cursor: pointer;
  opacity: 0.65;
  transition: 0.2s ease;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: #2ecc71;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MAP */

.map-container {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(30,136,229,0.18);
  background: #0f1219;
}

.map-container iframe {
  width: 100%;
  height: 500px;
  display: block;
  filter: grayscale(0.12) contrast(0.95);
}

/* INFO */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1.2fr;
  gap: 24px;
}

.info-card {
  padding: 28px;
}

.info-card h3 {
  margin: 0 0 22px;
  font-size: 24px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: #ffffff;
}

.info-link-card > span {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(30,136,229,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-link-card small {
  display: block;
  margin-bottom: 5px;
  color: #8f96a3;
  font-size: 12px;
}

.info-link-card strong {
  font-size: 14px;
}

a.info-link-card:hover {
  border-color: rgba(46,204,113,0.35);
  background: rgba(46,204,113,0.06);
}

.info-callback-btn {
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 999px;
  background: #2ecc71;
  color: #05070c;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.info-callback-btn:hover {
  background: #35e47f;
  transform: translateY(-1px);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.social-card {
  min-height: 54px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(122,196,255,0.22);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.social-card:hover {
  border-color: rgba(122,196,255,0.58);
  background: rgba(30,136,229,0.16);
  color: #ffffff;
}

.legal-list {
  display: grid;
  gap: 12px;
}

.legal-city-link {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: #ffffff;
  text-decoration: none;
  transition: 0.2s ease;
}

.legal-city-link:hover {
  border-color: rgba(30,136,229,0.4);
  background: rgba(30,136,229,0.1);
}

.legal-city-link span {
  color: #8f96a3;
  font-size: 13px;
}

.legal-city-link strong {
  color: #ffffff;
  font-size: 14px;
  text-align: right;
}

/* HERO SALE CARD */

.hero-sale-card {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  gap: 24px;
}

.hero-sale-top {
  position: relative;
  z-index: 2;
}

.hero-sale-image {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.hero-sale-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.hero-sale-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.78);
  border: 1px solid rgba(30,136,229,0.28);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

/* CTA SECTION */

.contacts-cta-section {
  padding: 20px 0 60px;
}

.contacts-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 36px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(30,136,229,0.18), transparent 50%),
    linear-gradient(105deg, #0b111e, #070b12);
  border: 1px solid rgba(30,136,229,0.24);
}

.contacts-cta-content {
  max-width: 760px;
}

.contacts-cta-badge {
  display: inline-flex;
  padding: 7px 14px;
  margin-bottom: 16px;
  border-radius: 40px;
  background: rgba(30,136,229,0.15);
  border: 1px solid rgba(30,136,229,0.3);
  color: #7ac4ff;
  font-size: 13px;
  font-weight: 700;
}

.contacts-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.contacts-cta p {
  margin: 0;
  color: #aeb6c4;
  font-size: 16px;
  line-height: 1.6;
}

.contacts-cta-action {
  flex-shrink: 0;
}

.contacts-cta-btn {
  border: none;
  border-radius: 50px;
  padding: 16px 28px;
  background: #2ecc71;
  color: #05070c;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.contacts-cta-btn:hover {
  background: #35e47f;
  transform: translateY(-1px);
}

/* ADAPTIVE */

@media (max-width: 1100px) {
  .contacts-hero-grid,
  .selected-location,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .contacts-hero-panel {
    min-height: auto;
  }

  .hero-panel-inner {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .breadcrumbs {
    padding-top: 24px;
  }

  .contacts-hero {
    padding: 24px 0 42px;
  }

  .contacts-hero-content {
    padding: 30px 24px;
    border-radius: 28px;
  }

  .contacts-hero p {
    font-size: 15px;
  }

  .hero-contact-actions {
    grid-template-columns: 1fr;
  }

  .city-section,
  .contact-info-section,
  .map-section {
    padding: 42px 0;
  }

  .city-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .city-tabs::-webkit-scrollbar {
    display: none;
  }

  .city-tab {
    flex: 0 0 auto;
  }

  .location-main-card,
  .location-gallery-card,
  .info-card {
    border-radius: 24px;
  }

  .location-main-card,
  .info-card {
    padding: 22px;
  }

  .location-card-top {
    flex-direction: column;
  }

  .location-actions {
    grid-template-columns: 1fr;
  }

  .location-socials {
    display: grid;
    grid-template-columns: 1fr;
  }

  .location-socials a {
    width: 100%;
  }

  .gallery-main {
    height: 280px;
    border-radius: 20px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .gallery-thumb {
    height: 76px;
    border-radius: 14px;
  }

  .map-container {
    border-radius: 24px;
  }

  .map-container iframe {
    height: 380px;
  }

  .legal-city-link {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .legal-city-link strong {
    text-align: left;
  }

  .hero-sale-image img {
    height: 190px;
  }

  .contacts-cta-section {
    padding: 10px 0 42px;
  }

  .contacts-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .contacts-cta-action,
  .contacts-cta-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contacts-hero h1 {
    font-size: 34px;
  }

  .contacts-hero-content {
    padding: 26px 20px;
  }

  .hero-contact-card {
    align-items: flex-start;
  }

  .hero-contact-card strong {
    font-size: 14px;
  }

  .hero-panel-inner {
    padding: 24px;
    border-radius: 27px;
  }

  .hero-panel-inner strong {
    font-size: 28px;
  }

  .location-card-top h2 {
    font-size: 30px;
  }

  .location-info-item {
    padding: 14px;
  }

  .gallery-main {
    height: 230px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-thumb {
    height: 74px;
  }

  .map-container iframe {
    height: 330px;
  }

  .hero-sale-image {
    border-radius: 18px;
  }

  .hero-sale-image img {
    height: 165px;
  }

  .hero-sale-badge {
    left: 12px;
    bottom: 12px;
    font-size: 12px;
    padding: 7px 12px;
  }

  .contacts-cta h2 {
    font-size: 30px;
  }

  .contacts-cta p {
    font-size: 15px;
  }
}