/* ═══════════════════════════════════════════
   FRONT PAGE
   ═══════════════════════════════════════════ */

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: linear-gradient(
    165deg,
    var(--navy) 0%,
    var(--navy-mid) 50%,
    #0d2f5e 100%
  );
  overflow: hidden;
}

.hero-frost-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 20% 80%,
      rgba(0, 229, 255, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 20%,
      rgba(41, 98, 255, 0.08) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.04) 0%,
    transparent 70%
  );
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 50px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

/* Hero Visual / Stats */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-image-placeholder {
  width: 100%;
}
.hero-image-placeholder img {
  width: 100%;
  height: 550px;
  object-fit: contain;
}

.hero-stat-card {
  position: absolute;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px 22px;
  min-width: 160px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.hero-stat-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.stat-top-left {
  top: -20px;
  left: -30px;
}
.stat-top-right {
  top: 30px;
  right: -20px;
}
.stat-bottom-left {
  bottom: -20px;
  left: 20px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ─── Treatments ─── */
.treatments {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: var(--frost);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.treatment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.treatment-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.treatment-card:hover::before {
  transform: scaleX(1);
}

.treatment-icon {
  margin-bottom: 20px;
}

.treatment-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.treatment-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
  transition: gap 0.3s;
}
.treatment-link:hover {
  gap: 10px;
}

/* ─── Why Choose Us (section wrapper) ─── */
.why-us {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.why-us-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

/* ─── Specialists (section wrapper) ─── */
.specialists {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--frost) 0%, var(--ice-light) 100%);
  position: relative;
  z-index: 1;
}

/* ─── Facilities (section wrapper + layout) ─── */
.facilities {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.facilities-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.facilities-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

.facilities-content > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.facilities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.facilities-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.5;
}
.facilities-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Testimonials ─── */
.testimonials {
  padding: 120px 0;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonials .section-header h2 {
  color: var(--white);
}
.testimonials .section-tag {
  color: var(--cyan);
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-author strong {
  color: var(--white);
  font-size: 0.9rem;
}
.testimonial-author span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.testimonials .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.testimonials .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ─── Review Images Grid (3 or fewer) ─── */
.review-grid .review-images-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-image-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.review-image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.35s ease;
}
.review-image-item:hover img {
  transform: scale(1.03);
}

/* ─── Review Images Slider (more than 3) ─── */
.review-slider {
  position: relative;
  overflow: hidden;
}
.review-slider .review-images-track {
  display: flex;
  transition: transform 0.4s ease;
}
.review-slider .review-image-item {
  min-width: calc(33.333% - 16px);
  margin: 0 8px;
  flex-shrink: 0;
}
.review-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}
.review-slider-btn:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--cyan);
}
.review-slider-prev { left: 8px; }
.review-slider-next { right: 8px; }
.review-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.review-dot.active {
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ─── Review Shortcode Container ─── */
.review-shortcode {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── FAQ ─── */
.faq {
  padding: 120px 0;
  background: var(--frost);
  position: relative;
  z-index: 1;
}

.faq-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--shadow-frost);
}
.faq-item[open] {
  border-color: rgba(0, 229, 255, 0.3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--cyan);
  opacity: 0.6;
}

.faq-chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.3s;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px 52px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─── Location ─── */
.location {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--frost);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.location-info {
  padding: 56px 48px;
}

.location-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 32px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.detail-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 0.9rem;
}
.detail-item div {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.location .btn-glass {
  background: rgba(41, 98, 255, 0.08);
  border-color: rgba(41, 98, 255, 0.15);
  color: var(--blue-bright);
}
.location .btn-glass:hover {
  background: rgba(41, 98, 255, 0.15);
}

.location-map {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-stat-card {
    padding: 12px 16px;
    min-width: 130px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-top-right {
    right: -20px;
  }
  .stat-top-left {
    left: -15px;
  }
  .why-us-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .facilities-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .location-card {
    grid-template-columns: 1fr;
  }
  .location-map {
    min-height: 300px;
  }
  .review-grid .review-images-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-slider .review-image-item {
    min-width: calc(50% - 16px);
  }
}

@media (max-width: 768px) {
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-grid {
    padding: 100px 20px 60px;
  }
  .location-info {
    padding: 36px 24px;
  }
  .testimonials-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .location-actions {
    flex-direction: column;
  }
  .location-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .testimonials-track {
    grid-template-columns: 1fr;
  }
  .review-grid .review-images-track {
    grid-template-columns: 1fr;
  }
  .review-slider .review-image-item {
    min-width: calc(100% - 16px);
  }
}
