* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b0f14;
  --surface: #111821;
  --surface-soft: #16212d;
  --text: #f6f7f8;
  --muted: #9db0bd;
  --gold: #cfa44f;
  --gold-soft: #e6c78a;
  --emerald: #2ab089;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --grad: linear-gradient(130deg, rgba(207, 164, 79, 0.28), rgba(42, 176, 137, 0.16));
}

html[data-theme="light"] {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-soft: #f1f5f7;
  --text: #0c1117;
  --muted: #4e616c;
  --gold: #9b6e19;
  --gold-soft: #b88b34;
  --emerald: #0f8e69;
  --line: rgba(12, 17, 23, 0.1);
  --shadow: 0 20px 35px rgba(12, 17, 23, 0.14);
  --grad: linear-gradient(130deg, rgba(155, 110, 25, 0.22), rgba(15, 142, 105, 0.12));
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 85% 15%, rgba(42, 176, 137, 0.13), transparent 35%),
    radial-gradient(circle at 10% 65%, rgba(207, 164, 79, 0.18), transparent 40%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.page-transition.active {
  opacity: 1;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-head.left {
  text-align: left;
}

.eyebrow {
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 0.4rem;
}

p {
  color: var(--muted);
}

img,
iframe,
video {
  max-width: 100%;
  display: block;
}

.loader {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: 1rem;
  background: radial-gradient(circle at center, #13202d 0%, #0b0f14 70%);
  z-index: 9999;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  animation: pulseLogo 1.6s infinite ease-in-out;
}

.loader__text {
  font-size: 0.95rem;
}

.follicle-loader {
  position: relative;
  width: 80px;
  height: 120px;
}

.follicle-loader .stem {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 60px;
  border-radius: 99px;
  background: linear-gradient(to top, var(--emerald), var(--gold-soft));
  transform: translateX(-50%);
}

.follicle-loader .strand {
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: 2px;
  height: 0;
  background: var(--gold-soft);
  transform-origin: bottom;
  animation: growHair 1.8s infinite ease-in-out;
}

.follicle-loader .strand:nth-child(2) {
  transform: translateX(-6px) rotate(-18deg);
  animation-delay: 0.15s;
}

.follicle-loader .strand:nth-child(3) {
  transform: translateX(0) rotate(0deg);
  animation-delay: 0.3s;
}

.follicle-loader .strand:nth-child(4) {
  transform: translateX(6px) rotate(18deg);
  animation-delay: 0.45s;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9998;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(9, 13, 18, 0.55);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.theme-toggle,
.hamburger,
.back-to-top,
.slide-btn {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  cursor: pointer;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.theme-toggle i,
.floating-whatsapp i,
.contact-info .fa-whatsapp {
  font-size: 1.1rem;
}

.theme-toggle:hover {
  transform: rotate(18deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.96rem;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--gold-soft);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(100deg, rgba(7, 10, 14, 0.92), rgba(7, 10, 14, 0.45) 60%, rgba(7, 10, 14, 0.85));
}

.hero-accent {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.accent-line {
  position: absolute;
  background: linear-gradient(90deg, rgba(207, 164, 79, 0.15), transparent);
}

.accent-line-1 {
  width: 550px;
  height: 1px;
  top: 20%;
  right: 0;
  animation: slideInRight 1.2s ease-out 0.3s both;
}

.accent-line-2 {
  width: 280px;
  height: 1px;
  bottom: 22%;
  right: 15%;
  animation: slideInRight 1.2s ease-out 0.6s both;
}

.accent-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(42, 176, 137, 0.15);
  opacity: 0;
  animation: fadeScaleIn 1.1s ease-out both;
}

.accent-circle-1 {
  width: 320px;
  height: 320px;
  top: 15%;
  right: 8%;
  animation-delay: 0.5s;
}

.accent-circle-2 {
  width: 180px;
  height: 180px;
  bottom: 18%;
  right: 22%;
  animation-delay: 0.8s;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.2rem;
  animation: slideUp 0.9s ease-out;
}

.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(207, 164, 79, 0.4);
  background: rgba(207, 164, 79, 0.08);
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.15;
  animation: slideUp 1s ease-out 0.1s both;
}

.hero-subtitle {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  animation: slideUp 1s ease-out 0.2s both;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUp 1s ease-out 0.3s both;
}

.hero-stats {
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2.2rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-stat-number {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(207, 164, 79, 0.5);
  border-radius: 12px;
  position: relative;
  animation: scrollBounce 1.8s infinite;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 7px;
  background: var(--gold-soft);
  left: 50%;
  top: 6px;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0e1117;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ripple::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.ripple:active::before {
  animation: rippleEffect 0.5s ease;
}

.floating-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 164, 79, 0.42), transparent 60%);
  animation: floatY 8s infinite ease-in-out;
}

.dot-1 {
  width: 190px;
  height: 190px;
  right: 12%;
  top: 18%;
}

.dot-2 {
  width: 140px;
  height: 140px;
  right: 28%;
  bottom: 14%;
  animation-delay: 1s;
}

.dot-3 {
  width: 95px;
  height: 95px;
  left: 7%;
  top: 25%;
  animation-delay: 2.2s;
}

.about-grid,
.cards-grid,
.stats-grid,
.price-grid,
.doctor-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-grid article,
.stat-card,
.treatment-card,
.price-card,
.testimonial,
.booking-form,
.contact-info,
.map,
.doctor-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-grid article {
  padding: 1.4rem;
}

.stats {
  background: var(--grad);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  text-align: center;
  padding: 1.3rem;
}

.stat-card h3 {
  font-size: 2rem;
  color: var(--gold-soft);
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.treatment-card {
  padding: 1.4rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.treatment-card i {
  color: var(--gold-soft);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.treatment-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 164, 79, 0.5);
}

.comparison {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  width: min(860px, 100%);
  height: 360px;
  margin: 0 auto 1.8rem;
  box-shadow: var(--shadow);
}

.comparison > img,
.comparison-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-overlay {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--gold-soft);
}

.comparison-tag {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 8, 12, 0.42);
  color: #f7f8f9;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-tag.before {
  left: 1rem;
}

.comparison-tag.after {
  right: 1rem;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(6, 9, 12, 0.55);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.comparison-range {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  width: 45%;
  z-index: 6;
}

.comparison-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  cursor: ew-resize;
  border: 2px solid #0f1419;
}

.comparison-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  cursor: ew-resize;
  border: 2px solid #0f1419;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.04);
}

.gallery img.clicked,
.price-card.clicked,
.doctor-card.clicked {
  animation: cardClick 0.35s ease;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 1.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.3s ease;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.15), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.price-card:hover::before {
  transform: translateX(120%);
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(207, 164, 79, 0.46);
}

.price-card.featured {
  border-color: rgba(207, 164, 79, 0.45);
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(207, 164, 79, 0.12), var(--surface));
}

.plan-label {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(207, 164, 79, 0.42);
  color: var(--gold-soft);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.26rem 0.64rem;
}

.price-card ul {
  list-style: none;
  margin: 0.95rem 0 1.1rem;
  text-align: left;
}

.price-card li {
  color: var(--muted);
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.2rem;
}

.price-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--emerald);
  position: absolute;
  left: 0;
  top: 0.06rem;
}

.price {
  margin: 0.8rem 0;
  font-size: 2rem;
  color: var(--gold-soft);
  font-weight: 700;
}

.doctor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-card {
  padding: 1.3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.doctor-card::after {
  content: "";
  position: absolute;
  inset: auto -25% -45% -25%;
  height: 110px;
  background: radial-gradient(circle, rgba(42, 176, 137, 0.24), transparent 68%);
  pointer-events: none;
}

.doctor-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  border: 2px solid rgba(207, 164, 79, 0.45);
}

.doctor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 176, 137, 0.38);
}

.badge {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #0c1117;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.doctor-socials {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.doctor-socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.doctor-socials a:hover {
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.video-wrap {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-wrap iframe {
  width: 100%;
  height: 460px;
}

.play-indicator {
  position: absolute;
  inset: auto auto 1rem 1rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.48);
  color: var(--gold-soft);
  animation: pulseLogo 1.6s infinite ease-in-out;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.slide-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.testimonial-track {
  position: relative;
  min-height: 260px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(12px);
  padding: 1.4rem;
  text-align: center;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.7rem;
}

.stars {
  color: var(--gold-soft);
}

.booking-form {
  padding: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea,
.quick-form input,
.quick-form textarea,
.newsletter input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  padding: 1rem 0.9rem 0.65rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}

.field label {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
  pointer-events: none;
  transition: transform 0.22s ease, color 0.22s ease;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.63rem) scale(0.86);
  color: var(--gold-soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.quick-form input:focus,
.quick-form textarea:focus,
.newsletter input:focus {
  border-color: rgba(207, 164, 79, 0.5);
  box-shadow: 0 0 0 3px rgba(207, 164, 79, 0.1);
}

.field.error-state input,
.field.error-state select,
.field.error-state textarea {
  border-color: #e05a5a;
}

.error {
  color: #f59d9d;
  font-size: 0.74rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.submit-btn {
  justify-self: start;
}

.form-success {
  grid-column: 1 / -1;
  color: var(--emerald);
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.form-success.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact {
  background: var(--grad);
}

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

.contact-info,
.map {
  padding: 1.2rem;
}

.contact-info p {
  margin-bottom: 0.65rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.quick-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 14px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.2rem;
  background: rgba(6, 9, 12, 0.65);
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer h4 {
  margin-bottom: 0.6rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.4rem;
}

.footer a {
  text-decoration: none;
  color: var(--muted);
}

.socials {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
}

.socials a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform 0.28s ease, color 0.28s ease;
}

.socials a:hover {
  color: var(--gold-soft);
  transform: translateY(-3px);
}

.newsletter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.copyright {
  text-align: center;
  margin-top: 1.3rem;
  font-size: 0.85rem;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 1rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 999;
}

.floating-whatsapp {
  bottom: 5.1rem;
  color: #fff;
  text-decoration: none;
  background: #25d366;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.36);
  animation: pulseWhatsApp 1.8s infinite;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
}

.back-to-top {
  bottom: 1rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 8, 0.9);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1200;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: min(850px, 90vw);
  max-height: 80vh;
  object-fit: cover;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@keyframes growHair {
  0% {
    height: 0;
    opacity: 0.1;
  }
  45% {
    opacity: 1;
  }
  100% {
    height: 56px;
    opacity: 0.12;
  }
}

@keyframes pulseLogo {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes rippleEffect {
  0% {
    transform: scale(0);
    opacity: 0.55;
  }
  100% {
    transform: scale(16);
    opacity: 0;
  }
}

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

@keyframes pulseWhatsApp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes cardClick {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .cards-grid,
  .doctor-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .video-wrap iframe {
    height: 380px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.55;
  }

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0.9rem 0 2.4rem;
    align-items: flex-start;
  }

  .hero-accent,
  .floating-dot,
  .scroll-indicator {
    display: none;
  }

  .hero-video {
    object-position: center top;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 10, 14, 0.58), rgba(7, 10, 14, 0.86));
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 0.1rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.06;
  }

  .hero-subtitle {
    max-width: 34rem;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
  }

  .hero-stats {
    display: none;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 14, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    flex-direction: column;
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .cards-grid,
  .doctor-grid,
  .gallery,
  .price-grid,
  .stats-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  h2 {
    font-size: clamp(1.45rem, 5vw, 2rem);
  }

  .section-head {
    margin-bottom: 1.4rem;
  }

  .container {
    width: min(1140px, 94vw);
  }

  .loader {
    gap: 0.8rem;
    padding: 1.2rem;
  }

  .loader__logo {
    font-size: 1.55rem;
  }

  .loader__text {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .follicle-loader {
    width: 58px;
    height: 92px;
  }

  .stat-card,
  .treatment-card,
  .price-card,
  .doctor-card,
  .testimonial,
  .booking-form,
  .contact-info,
  .map,
  .about-grid article {
    border-radius: 16px;
  }

  .stat-card,
  .treatment-card,
  .price-card,
  .doctor-card {
    padding: 1rem;
  }

  .price {
    font-size: 1.6rem;
  }

  .hero-stat-number {
    font-size: 1.35rem;
  }

  .doctor-card img {
    width: 110px;
    height: 110px;
  }

  .doctor-card h3 {
    font-size: 1.15rem;
  }

  .doctor-cred,
  .doctor-desc,
  .price-card li,
  .hero-stat-label,
  p {
    font-size: 0.8rem;
  }

  .comparison {
    height: 220px;
  }

  .gallery img {
    height: 145px;
  }

  .comparison {
    height: 260px;
  }

  .comparison-handle {
    width: 40px;
    height: 40px;
  }

  .video-wrap iframe {
    height: 250px;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slide-btn {
    justify-self: center;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 4.5rem 0 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-content {
    max-width: 70ch;
  }

  .hero-stats {
    display: grid;
    margin-top: 2rem;
    padding-top: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .nav-menu {
    top: 68px;
  }
}

/* Hero Animation Keyframes */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(48px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-8px);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

/* Hero Section Premium Styles */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
  overflow: hidden;
}

.hero-accent {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.accent-line {
  position: absolute;
  background: linear-gradient(90deg, rgba(207, 164, 79, 0.15), transparent);
}

.accent-line-1 {
  width: 550px;
  height: 1px;
  top: 20%;
  right: 0;
  animation: slideInRight 1.2s ease-out 0.3s both;
}

.accent-line-2 {
  width: 280px;
  height: 1px;
  bottom: 22%;
  right: 15%;
  animation: slideInRight 1.2s ease-out 0.6s both;
}

.accent-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(42, 176, 137, 0.15);
  opacity: 0;
  animation: fadeScaleIn 1.1s ease-out both;
}

.accent-circle-1 {
  width: 320px;
  height: 320px;
  top: 15%;
  right: 8%;
  animation-delay: 0.5s;
}

.accent-circle-2 {
  width: 180px;
  height: 180px;
  bottom: 18%;
  right: 22%;
  animation-delay: 0.8s;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.2rem;
  animation: slideUp 0.9s ease-out;
}

.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(207, 164, 79, 0.4);
  background: rgba(207, 164, 79, 0.08);
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.15;
  animation: slideUp 1s ease-out 0.1s both;
}

.hero-subtitle {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  animation: slideUp 1s ease-out 0.2s both;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUp 1s ease-out 0.3s both;
}

.hero-stats {
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2.2rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-stat-number {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(207, 164, 79, 0.5);
  border-radius: 12px;
  position: relative;
  animation: scrollBounce 1.8s infinite;
}

.scroll-indicator span::after {
  content: \"\";
  position: absolute;
  width: 2px;
  height: 7px;
  background: var(--gold-soft);
  left: 50%;
  top: 6px;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

/* Doctor Card Premium Styles */
.doctor-image-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(207, 164, 79, 0.45);
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.doctor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(207, 164, 79, 0.2), rgba(42, 176, 137, 0.15));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.doctor-card:hover .doctor-image-wrapper img {
  transform: scale(1.08);
}

.doctor-card:hover .doctor-overlay {
  opacity: 1;
}

.doctor-card h3 {
  margin-top: 0.6rem;
  font-size: 1.35rem;
}

.doctor-cred {
  color: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.3rem 0;
  letter-spacing: 0.02em;
}

.doctor-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.8rem 0;
  line-height: 1.5;
}

.doctor-card {
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.4s ease !important;
}

.doctor-card:hover {
  transform: translateY(-10px);
  border-color: rgba(42, 176, 137, 0.5);
  box-shadow: 0 24px 48px rgba(42, 176, 137, 0.15);
}

.doctor-socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.doctor-card:hover .doctor-socials {
  opacity: 1;
  transform: translateY(0);
}

.doctor-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold-soft);
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: all 0.28s ease;
  font-size: 0.95rem;
}

.doctor-socials a:hover {
  background: var(--gold-soft);
  color: #0c1117;
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .container {
    width: min(1140px, 94vw);
  }

  .loader {
    align-content: center;
    text-align: center;
    gap: 0.8rem;
    padding: 1.2rem;
  }

  .loader__logo {
    font-size: 1.85rem;
  }

  .loader__text {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .follicle-loader {
    width: 68px;
    height: 104px;
  }

  .hero {
    min-height: 100vh;
    height: auto;
    padding: 1rem 0 3rem;
    align-items: flex-start;
  }

  .hero-video {
    object-position: center top;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 10, 14, 0.58), rgba(7, 10, 14, 0.88));
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 0.1rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8.2vw, 2.4rem);
    line-height: 1.08;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
  }

  .badge-text {
    max-width: 100%;
    font-size: 0.74rem;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-cta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-accent,
  .floating-dot,
  .scroll-indicator,
  .hero-stats {
    display: none;
  }
}
