/* Homepage */

/* Hero */
.home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
  overflow: hidden;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,14,12,0.55) 0%, rgba(15,14,12,0.82) 100%);
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 96px 24px 0;
}
.home-hero__label { color: var(--orange); }
.home-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
}
.home-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}
.home-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.home-hero__ctas .btn--outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.home-hero__ctas .btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.home-stat {
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-stat:last-child { border-right: none; }
.home-stat strong {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.home-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Trust strip */
.home-trust {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.home-trust__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.home-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
  border-right: 1px solid var(--line);
  flex: 1;
  white-space: nowrap;
}
.home-trust__item:last-child { border-right: none; }
.home-trust__item svg { color: var(--orange); flex-shrink: 0; }

/* Featured treatments */
.home-featured { padding: 80px 24px; }
.home-featured__inner { max-width: var(--max-w); margin: 0 auto; }
.home-featured__header { margin-bottom: 40px; }
.home-featured__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.home-featured__header p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.65; max-width: 560px; }
.home-featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.home-feat-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.home-feat-card__img img { width: 100%; height: 240px; object-fit: cover; display: block; }
.home-feat-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.home-feat-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.home-feat-card h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 10px; }
.home-feat-card p { font-size: 0.875rem; color: var(--ink-2); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.home-feat-card__price { margin-bottom: 6px; }
.home-feat-card__price strong { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; }
.home-feat-card__price span { font-size: 0.9375rem; color: var(--muted); margin-left: 6px; }
.home-feat-card__compare { font-size: 0.8125rem; color: var(--muted); margin-bottom: 20px; }
.home-featured__more { font-size: 0.9375rem; color: var(--ink-2); }
.home-featured__more a { color: var(--orange); font-weight: 600; text-decoration: none; }
.home-featured__more a:hover { text-decoration: underline; }

/* Surgeon section */
.home-surgeon { padding: 80px 24px; background: var(--bg-dark); color: rgba(255,255,255,0.85); }
.home-surgeon__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
}
.home-surgeon__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.home-surgeon__img img { width: 100%; height: 460px; object-fit: cover; object-position: top; display: block; }
.home-surgeon__body .section-label { color: var(--orange); }
.home-surgeon__body h2 {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 6px;
}
.home-surgeon__role { font-size: 0.875rem; color: rgba(255,255,255,0.4); font-weight: 500; margin-bottom: 20px; }
.home-surgeon__body p { font-size: 0.9375rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 14px; }
.home-surgeon__quals { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.home-surgeon__quals li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.home-surgeon__quals li svg { flex-shrink: 0; margin-top: 1px; color: var(--orange); }
.home-surgeon__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.home-surgeon__ctas .btn--outline-dark {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.home-surgeon__ctas .btn--outline-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  text-decoration: none;
}

/* Gallery */
.home-gallery { padding: 80px 24px; background: var(--bg-alt); }
.home-gallery__inner { max-width: var(--max-w); margin: 0 auto; }
.home-gallery__header { margin-bottom: 32px; }
.home-gallery__header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.home-gallery__header p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.65; max-width: 560px; }
.home-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.home-gallery__main img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.home-gallery__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.home-gallery__side img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.home-gallery__link { font-size: 0.9375rem; font-weight: 600; color: var(--orange); text-decoration: none; }
.home-gallery__link:hover { text-decoration: underline; }

/* Why Bulgaria */
.home-why { padding: 80px 24px; }
.home-why__inner { max-width: var(--max-w); margin: 0 auto; }
.home-why__header { margin-bottom: 40px; }
.home-why__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.home-why__header p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.65; max-width: 560px; }
.home-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-why__card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.home-why__icon {
  width: 44px;
  height: 44px;
  background: rgba(232,93,42,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}
.home-why__card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 8px; }
.home-why__card p { font-size: 0.875rem; color: var(--ink-2); line-height: 1.65; }

/* Accommodation teaser */
.home-apt { padding: 80px 24px; background: var(--bg-alt); }
.home-apt__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.home-apt__text .section-label { color: var(--orange); }
.home-apt__text h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.home-apt__text p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 20px; }
.home-apt__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.home-apt__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.home-apt__features li svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.home-apt__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.home-apt__main {
  grid-column: 1 / -1;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.home-apt__gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.home-apt__gallery img.home-apt__main { height: 280px; }

/* Reviews */
.home-reviews { padding: 80px 24px; }
.home-reviews__inner { max-width: var(--max-w); margin: 0 auto; }
.home-reviews__header { margin-bottom: 36px; }
.home-reviews__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.home-reviews__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.home-reviews__score {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--star);
}
.home-reviews__rating .star-row svg { color: var(--star); }
.home-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home-review {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.home-review__stars { margin-bottom: 12px; }
.home-review__stars svg { color: var(--star); }
.home-review p { font-size: 0.875rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.home-review__author { font-size: 0.8125rem; color: var(--muted); }

/* CTA */
.home-cta { padding: 96px 24px; background: var(--bg-dark); text-align: center; }
.home-cta__inner { max-width: 520px; margin: 0 auto; }
.home-cta h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}
.home-cta p { font-size: 1rem; color: rgba(255,255,255,0.62); line-height: 1.7; margin-bottom: 32px; }
.home-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.home-cta .btn--outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
}
.home-cta .btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); text-decoration: none; }

/* Dark mode */
[data-theme="dark"] .home-feat-card,
[data-theme="dark"] .home-why__card,
[data-theme="dark"] .home-review { background: var(--bg-alt); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]):not([data-theme="dark"]) .home-feat-card,
  html:not([data-theme="light"]):not([data-theme="dark"]) .home-why__card,
  html:not([data-theme="light"]):not([data-theme="dark"]) .home-review { background: var(--bg-alt); }
}

/* Responsive */
@media (max-width: 1100px) {
  .home-why__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .home-surgeon__inner { grid-template-columns: 300px 1fr; gap: 48px; }
  .home-trust__item { padding: 14px 16px; }
}
@media (max-width: 900px) {
  .home-featured__grid { grid-template-columns: 1fr; }
  .home-apt__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .home-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .home-stat { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .home-stat:nth-child(even) { border-right: none; }
  .home-surgeon__inner { grid-template-columns: 1fr; gap: 40px; }
  .home-surgeon__img img { height: 320px; object-position: center 20%; }
  .home-gallery__grid { grid-template-columns: 1fr; }
  .home-gallery__main img { min-height: 260px; }
  .home-why__grid { grid-template-columns: 1fr; }
  .home-reviews__grid { grid-template-columns: 1fr; }
  .home-trust__inner { gap: 0; }
  .home-trust__item { flex: 0 0 50%; border-bottom: 1px solid var(--line); }
  .home-trust__item:nth-child(even) { border-right: none; }
}
@media (max-width: 600px) {
  .home-hero__ctas { flex-direction: column; align-items: flex-start; }
  .home-hero__stats { grid-template-columns: 1fr 1fr; }
  .home-trust__item { flex: 0 0 100%; border-right: none; }
  .home-cta__buttons { flex-direction: column; align-items: center; }
  .home-surgeon__ctas { flex-direction: column; }
}
