/* =============================
   ПРОСТІР ТУРБОТИ — style.css
   Palette: The Scott Resort
   ============================= */

/* === VARIABLES === */
:root {
  --cream:       #F4EDE0;
  --cream-dark:  #EAE0CF;
  --beige:       #DDD0BB;
  --gold:        #C8A96E;
  --gold-dark:   #A8893E;
  --olive:       #4E6644;
  --olive-light: #6B8F5E;
  --bog:         #2D3B2E;
  --bog-mid:     #3E5040;
  --white:       #FDFAF6;
  --text:        #2D3B2E;
  --text-mid:    #4E5E4A;
  --text-light:  #7A8A76;
  --border:      #D8CCBA;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(45,59,46,0.10);
  --shadow-lg: 0 12px 48px rgba(45,59,46,0.16);

  --header-h: 112px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 1.02rem;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* === CONTAINER === */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTIONS === */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }

/* === TYPOGRAPHY === */
.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bog);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--olive);
}
.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.text-center { text-align: center; }
.text-center.section-subtitle { margin-left: auto; margin-right: auto; }

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--bog);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,59,46,0.22);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--olive);
  border: 1.5px solid var(--olive);
  padding: 13px 30px;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-secondary:hover {
  background: var(--olive);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 13px 28px;
  border-radius: 40px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}
.btn-full { width: 100%; text-align: center; }

/* =============================
   HEADER
   ============================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--white);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(45,59,46,0.12); }

.header-topbar {
  background: var(--bog);
  padding: 7px 0;
}
.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-topbar-text {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}
.header-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.header-topbar-phone:hover { color: #fff; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bog);
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.logo-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover { color: var(--olive); border-color: var(--olive); }

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--olive);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.header-phone-btn:hover { background: var(--bog); transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 910;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bog);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================
   HERO
   ============================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,40,24,0.72) 0%,
    rgba(45,59,46,0.55) 50%,
    rgba(78,102,68,0.38) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 680px;
  padding: 40px 0;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-badge {
  background: rgba(200,169,110,0.22);
  border: 1px solid rgba(200,169,110,0.5);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.hero-title em {
  font-style: italic;
  color: #e8d4a6;
}
.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  backdrop-filter: blur(8px);
  width: fit-content;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 28px;
}
.hero-stat strong {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  text-align: center;
  line-height: 1.4;
}
.hero-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.6);
  animation: scrollBounce 2.2s ease-in-out infinite;
  transition: color 0.2s;
}
.hero-scroll:hover { color: var(--white); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================
   TRUST BAR
   ============================= */
.trust-bar {
  background: var(--bog);
  padding: 20px 0;
}
.trust-bar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 400;
}
.trust-item-bar svg { color: var(--gold); flex-shrink: 0; }

/* =============================
   ABOUT
   ============================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text .section-title { margin-bottom: 20px; }
.about-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.75;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-mid);
}
.about-feature-icon {
  width: 22px;
  height: 22px;
  background: var(--olive);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge-float {
  position: absolute;
  bottom: -24px;
  left: -28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-badge-float strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 4px;
}
.about-badge-float span {
  font-size: 12px;
  color: var(--text-light);
}

/* =============================
   WHY / NUMBERS
   ============================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.why-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.why-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.why-cta { text-align: center; }

/* =============================
   ADVANTAGES
   ============================= */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.adv-item {
  display: flex;
  gap: 20px;
  padding: 32px 36px;
  background: var(--cream);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.adv-item:hover { background: var(--white); }
.adv-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--beige);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  padding-top: 2px;
}
.adv-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 8px;
}
.adv-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}
.adv-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--olive);
  background: rgba(78,102,68,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

/* =============================
   LIVING
   ============================= */
.living-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.living-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.living-text .section-title { margin-bottom: 18px; }
.living-text p {
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.7;
}
.living-list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.living-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.living-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.living-list li:last-child { border-bottom: none; }

/* =============================
   MEDICAL
   ============================= */
.medical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.medical-text .section-title { margin-bottom: 18px; }
.medical-text p {
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.7;
}
.medical-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.medical-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.94rem;
  color: var(--text-mid);
}
.medical-icon {
  width: 36px;
  height: 36px;
  background: rgba(78,102,68,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  flex-shrink: 0;
}
.medical-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* =============================
   SERVICES
   ============================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-body {
  padding: 24px;
}
.service-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 8px;
}
.service-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.services-cta { text-align: center; }

/* =============================
   SPEC SECTIONS (dementia, stroke, transport, nutrition)
   ============================= */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.spec-grid-reverse { direction: rtl; }
.spec-grid-reverse > * { direction: ltr; }
.spec-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.spec-text .section-title { margin-bottom: 18px; }
.spec-text p {
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.7;
}
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.spec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.spec-list li::before {
  content: '✓';
  color: var(--olive);
  font-weight: 700;
  flex-shrink: 0;
}
.spec-list li:last-child { border-bottom: none; }

/* =============================
   GALLERY
   ============================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-bottom: 36px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.gallery-item-large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,40,24,0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}
.gallery-cta { text-align: center; }

/* =============================
   TESTIMONIALS
   ============================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.review-card-featured {
  background: var(--bog);
  border-color: var(--bog);
}
.review-card-featured blockquote { color: rgba(255,255,255,0.88) !important; }
.review-card-featured .review-author strong { color: var(--gold) !important; }
.review-card-featured .review-author span { color: rgba(255,255,255,0.55) !important; }
.review-card-featured .review-avatar {
  background: var(--gold) !important;
  color: var(--bog) !important;
}
.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 24px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--bog);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bog);
}
.review-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================
   FAQ
   ============================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-q {
  list-style: none;
  padding: 20px 24px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--bog);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--olive);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-item[open] .faq-q { color: var(--olive); }
.faq-a {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-cta {
  text-align: center;
}
.faq-cta p {
  font-size: 0.94rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

/* =============================
   CONTACTS
   ============================= */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(78,102,68,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-item p {
  font-size: 0.94rem;
  color: var(--text-mid);
}
.contact-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--olive);
  display: block;
  margin-bottom: 2px;
}
.contact-phone:hover { color: var(--bog); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 8px;
}
.form-note {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Form elements */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  margin-bottom: 6px;
}
.required { color: var(--gold); }
.form-group input,
.form-group textarea,
.modal-form input,
.modal-form textarea,
.cta-form input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.modal-form input:focus,
.modal-form textarea:focus,
.cta-form input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(78,102,68,0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 12px;
}

/* =============================
   MAP
   ============================= */
.map-section { background: var(--cream); }
.map-header {
  padding-top: 48px;
  padding-bottom: 28px;
  text-align: center;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: saturate(0.8) brightness(1.02);
}

/* =============================
   CTA SECTION
   ============================= */
.cta-section { background: var(--bog); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.cta-text .section-title { color: var(--white); }
.cta-text .section-title em { color: #e8d4a6; }
.cta-text p {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.cta-benefits li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.cta-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.cta-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 20px;
  text-align: center;
}
.cta-form .form-group { margin-bottom: 14px; }

/* =============================
   FOOTER
   ============================= */
.footer { background: var(--bog-mid); padding: 48px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 4px;
}
.footer-logo span {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-trust span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-contacts { display: flex; flex-direction: column; gap: 4px; }
.footer-nav h4, .footer-contacts h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-nav a, .footer-contacts a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  padding: 4px 0;
}
.footer-nav a:hover, .footer-contacts a:hover { color: var(--white); }
.footer-contacts p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
}
.footer-cta-btn {
  display: inline-block;
  margin-top: 14px;
  background: var(--gold);
  color: var(--bog);
  border: none;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.2s;
}
.footer-cta-btn:hover { background: #e8c882; transform: translateY(-1px); }
.footer-bottom {
  padding: 20px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* =============================
   FLOAT PHONE BUTTON
   ============================= */
.float-phone {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.float-phone-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(78,102,68,0.45);
  animation: phonePulse 2.5s ease-in-out infinite;
  transition: background 0.2s, transform 0.2s;
}
.float-phone-btn:hover {
  background: var(--bog);
  transform: scale(1.08);
  animation: none;
}
@keyframes phonePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(78,102,68,0.45); }
  50% { box-shadow: 0 4px 30px rgba(78,102,68,0.7), 0 0 0 10px rgba(78,102,68,0.1); }
}
.float-phone-label {
  font-size: 11px;
  color: var(--text-light);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  white-space: nowrap;
}

/* =============================
   MODAL
   ============================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
}
.modal.open { display: flex; align-items: center; justify-content: center; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,40,24,0.7);
  backdrop-filter: blur(4px);
}
.modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  width: 92%;
  max-width: 480px;
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 1.4rem;
  color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.modal-close:hover { background: var(--beige); color: var(--bog); }
.modal-icon {
  width: 52px; height: 52px;
  background: rgba(78,102,68,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
  margin-bottom: 16px;
}
.modal-box h2 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 18px;
}
.modal-benefits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.modal-benefits li {
  font-size: 0.88rem;
  color: var(--olive);
  font-weight: 500;
}
.modal-form input,
.modal-form textarea { background: var(--cream); margin-bottom: 14px; }

/* Success modal */
.modal-box-success { text-align: center; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(78,102,68,0.12);
  color: var(--olive);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.modal-box-success h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--bog);
  margin-bottom: 10px;
}
.modal-box-success p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* =============================
   ANIMATIONS / UTILS
   ============================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================
   RESPONSIVE — TABLET 1024px
   ============================= */
@media (max-width: 1024px) {
  :root { --header-h: 100px; }
  .section { padding: 52px 0; }
  .about-grid { gap: 36px; }
  .living-grid { gap: 36px; }
  .medical-grid { gap: 36px; }
  .spec-grid { gap: 36px; }
  .cta-inner { gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================
   RESPONSIVE — MOBILE 768px
   ============================= */
@media (max-width: 768px) {
  :root { --header-h: 90px; }
  .section { padding: 44px 0; }

  /* Header */
  .header-topbar-text { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid var(--border);
    z-index: 800;
  }
  .nav.open { display: flex; }
  .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-link:last-child { border-bottom: none; }
  .header-phone-btn { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero-content { max-width: 100%; padding: 48px 0; }
  .hero-stats {
    flex-wrap: wrap;
    width: 100%;
    padding: 16px 20px;
    gap: 0;
  }
  .hero-stat { padding: 8px 16px; }
  .hero-stat-divider { height: 32px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; text-align: center; }

  /* Trust bar */
  .trust-bar-grid { gap: 12px; justify-content: center; }
  .trust-item-bar { font-size: 12px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { order: -1; }
  .about-badge-float { left: 12px; bottom: -16px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Advantages */
  .adv-grid { grid-template-columns: 1fr; }

  /* Living */
  .living-grid { grid-template-columns: 1fr; gap: 36px; }
  .living-image-wrap { order: -1; }

  /* Medical */
  .medical-grid { grid-template-columns: 1fr; gap: 36px; }
  .medical-image-wrap { order: -1; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Spec sections */
  .spec-grid { grid-template-columns: 1fr; gap: 36px; }
  .spec-grid-reverse { direction: ltr; }
  .spec-image-wrap { order: -1; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-large { grid-column: span 2; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Contacts */
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }

  /* CTA */
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* =============================
   RESPONSIVE — SMALL 480px
   ============================= */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }
  .section-title { font-size: 1.7rem; }
  .hero-title { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-large { grid-column: span 1; }
  .modal-box { padding: 32px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .cta-form-wrap { padding: 28px 20px; }
  .float-phone-label { display: none; }
  .adv-item { flex-direction: column; gap: 10px; }
  .trust-bar-grid { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =============================
   RESPONSIVE — TINY 320px
   ============================= */
@media (max-width: 360px) {
  .hero-badge { font-size: 10px; padding: 4px 10px; }
  .section-label { font-size: 10px; }
}

/* ---- Clickable address ---- */
.address-link {
  color: var(--olive);
  text-decoration: underline;
  text-decoration-color: rgba(78,102,68,0.35);
  text-underline-offset: 3px;
  transition: color 0.2s;
  font-size: 0.94rem;
}
.address-link:hover { color: var(--bog); text-decoration-color: var(--bog); }
.footer-address {
  color: rgba(255,255,255,0.65) !important;
  text-decoration-color: rgba(255,255,255,0.25);
  display: block;
  padding: 4px 0;
}
.footer-address:hover { color: var(--white) !important; }

/* =============================
   POPUP 15s CALLBACK
   ============================= */
.modal-box-popup {
  max-width: 440px;
  padding: 36px 36px 32px;
}
.popup-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.popup-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}
.modal-box-popup h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--bog);
  margin-bottom: 4px;
  line-height: 1.2;
}
@media (max-width: 480px) {
  .modal-box-popup { padding: 28px 20px 24px; }
  .popup-logo { width: 54px; height: 54px; }
  .modal-box-popup h2 { font-size: 1.25rem; }
}

/* =============================
   PRICING
   ============================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  align-items: start;
}
.pricing-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.pricing-card-featured {
  border-color: var(--olive);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pricing-card-featured:hover { transform: translateY(-10px); }

.pricing-badge {
  background: var(--cream-dark);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 8px 14px;
  text-transform: uppercase;
}
.pricing-badge-hot { background: var(--olive); color: var(--white); }

.pricing-head {
  background: var(--bog);
  color: var(--white);
  padding: 28px 28px 22px;
  text-align: center;
}
.pricing-card-featured .pricing-head { background: var(--olive); }

.pricing-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.pricing-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.pricing-old {
  font-size: 0.97rem;
  text-decoration: line-through;
  color: rgba(255,255,255,0.45);
}
.pricing-discount {
  background: var(--gold);
  color: var(--bog);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.1;
}
.pricing-period {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}

.pricing-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pricing-occupancy {
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 20px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--olive);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  width: 18px;
}
.pricing-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 18px;
  background: var(--cream);
  padding: 8px 14px;
  border-radius: var(--radius);
}
.pricing-reassure {
  text-align: center;
  font-size: 0.82rem;
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.pricing-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 520px;
  margin: 0 auto;
}
.pricing-footer-note svg { flex-shrink: 0; stroke: var(--olive); }

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card-featured { transform: none; grid-column: span 2; max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { grid-column: span 1; max-width: 100%; }
  .pricing-head { padding: 22px 20px 18px; }
  .pricing-body { padding: 18px 20px 22px; }
  .pricing-price { font-size: 1.9rem; }
}
