/* === ANFA Clinic — Premium Medical Landing === */

:root {
  /* Color palette — ANFA brand: deep blue + medical red CTA */
  --bg: #FAFBFC;
  --bg-cream: #F1F4F8;
  --bg-white: #FFFFFF;
  --ink: #0F1B33;
  --ink-soft: #3D4D6A;
  --ink-mute: #8896AB;
  --line: #E1E7EF;
  --line-soft: #EEF2F7;

  /* Brand — ANFA logo colors */
  --blue: #244B8C;
  --blue-deep: #1A3668;
  --blue-soft: #E8EEF8;
  --blue-bright: #3A6DC4;
  --red: #C13222;
  --red-deep: #9B2719;
  --red-soft: #FCE8E5;

  /* Accents kept for compatibility */
  --teal: #244B8C;
  --teal-deep: #1A3668;
  --teal-soft: #E8EEF8;
  --gold: #D4A53A;
  --gold-soft: #FBF4DD;
  --gold-deep: #A8821F;

  --rose: #D4A5A0;
  --sage: #A4B5A0;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(15, 27, 51, 0.04);
  --shadow: 0 8px 30px rgba(15, 27, 51, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 27, 51, 0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, sans-serif;

  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: 880px; }

/* === Scroll progress bar === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(to right, var(--gold), var(--teal));
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.5);
}

/* === Quick Action section === */
.quick-action {
  padding: 0;
  background: var(--bg);
  position: relative;
  margin-top: -1px;
  z-index: 6;
}
.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* Mini form */
.qa-form-wrap {
  position: relative;
  border-right: 1px solid var(--line);
  padding-right: 30px;
}
.qa-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.qa-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.qa-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.qa-subtitle {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.qa-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}
.qa-form input {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: all var(--transition);
}
.qa-form input:focus {
  border-color: var(--teal);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.qa-form button {
  padding: 14px 22px;
  font-size: 14px;
  white-space: nowrap;
}
.qa-form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--teal-soft);
  border-radius: var(--radius-sm);
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 14px;
}
.qa-form-success span:first-child {
  width: 28px;
  height: 28px;
  background: var(--teal);
  color: var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.qa-form-success.show { display: flex; }
.qa-form.hide { display: none; }

/* Quick nav */
.qa-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.qa-nav-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.qa-nav-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.qa-btn:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.qa-btn-icon {
  font-size: 28px;
  line-height: 1;
}
.qa-btn-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

/* === Doctors filter === */
.doctors-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.doc-filter {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.doc-filter:hover {
  border-color: var(--teal);
  color: var(--ink);
}
.doc-filter.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Doctor card filter states */
.doctor-card.filter-hidden {
  display: none !important;
}

/* === Cursor glow === */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
@media (hover: hover) {
  body:hover .cursor-glow { opacity: 1; }
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 12px;
  transition: transform var(--transition);
}
.logo-img:hover { transform: scale(1.05); }
.logo-img-footer {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* Text fallback for logo - hidden by default, shows when img fails */
.logo-text-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 8px 14px;
  border-radius: 10px;
  line-height: 1;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-text-fallback .lt-anfa {
  color: #C13222;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.logo-text-fallback .lt-clinic {
  color: #244B8C;
  font-size: 14px;
  margin-top: 1px;
  letter-spacing: 0.06em;
}
.nav-logo.logo-fallback .logo-text-fallback,
.footer-logo.logo-fallback .logo-text-fallback {
  display: inline-flex;
}
.footer-logo.logo-fallback .logo-text-fallback.footer-fallback {
  margin-bottom: 16px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.logo-text small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  background: var(--line-soft);
  border-radius: 100px;
  padding: 3px;
}
.lang-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  border-radius: 100px;
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--teal);
  color: var(--bg);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* === Buttons === */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #FFFFFF;
  border: 1px solid var(--red);
  box-shadow: 0 4px 16px rgba(193, 50, 34, 0.25);
}
.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(193, 50, 34, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--bg-white);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 15px;
}
.btn-full { width: 100%; justify-content: center; }
.nav-cta { padding: 10px 20px; font-size: 13px; }

/* === HERO === */
.hero {
  position: relative;
  padding: 140px 0 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--gold-soft);
  top: -100px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--teal-soft);
  bottom: -100px;
  left: -100px;
  animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(50px, -30px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(201, 169, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--ink);
}
.title-line {
  display: block;
}
.title-line.accent {
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-usps {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.usp-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.usp-num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.usp-num span {
  color: var(--gold);
  font-size: 24px;
}
.usp-label {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
}
.usp-divider {
  width: 1px;
  height: 50px;
  background: var(--line);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 600px;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.card-back {
  width: 80%;
  height: 80%;
  top: 0;
  right: 0;
  background: var(--teal-soft);
  transform: rotate(-3deg);
  z-index: 1;
}
.card-mid {
  width: 70%;
  height: 70%;
  top: 50%;
  left: 0;
  background: var(--gold-soft);
  transform: translateY(-50%) rotate(2deg);
  z-index: 2;
}
.card-front {
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.card-image {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--transition);
}
.card-front:hover .card-image img {
  transform: scale(1.05);
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 47, 42, 0.4));
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.play-btn:hover {
  background: var(--bg);
  transform: translate(-50%, -50%) scale(1.1);
}
.card-meta {
  background: var(--bg-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.meta-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.meta-features {
  display: flex;
  gap: 8px;
  font-size: 16px;
  flex-shrink: 0;
}

.floating-stat {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 4;
  animation: floatY 4s ease-in-out infinite;
}
.stat-1 {
  top: 8%;
  left: -3%;
}
.stat-2 {
  bottom: 12%;
  right: -3%;
  animation-delay: 1.5s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
}
.stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.stat-label {
  font-size: 11px;
  color: var(--ink-mute);
}

/* Marquee */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 16px 0;
  overflow: hidden;
  z-index: 5;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.marquee-track span {
  color: rgba(250, 248, 244, 0.85);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Section common === */
section { padding: 100px 0; position: relative; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.section-label.center {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.label-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 800px;
}
.section-title.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-title em {
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}

.section-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 16px;
}
.section-text.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head { margin-bottom: 64px; }

/* === ABOUT === */
.about { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-features {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.feat-item svg { color: var(--teal); flex-shrink: 0; }

.img-collage {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.collage-img {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-img:hover { transform: translateY(-6px); }
.img-1 {
  width: 60%;
  height: 65%;
  top: 0;
  left: 0;
}
.img-2 {
  width: 50%;
  height: 50%;
  bottom: 0;
  right: 5%;
  z-index: 2;
}
.img-3 {
  width: 38%;
  height: 38%;
  top: 30%;
  right: 0;
  z-index: 3;
}
.collage-deco {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  bottom: 5%;
  left: 35%;
  z-index: 4;
  animation: rotate 30s linear infinite;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* === PALATAS === */
.palatas {
  background: var(--bg);
  position: relative;
}

.palata-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  background: var(--bg-white);
  padding: 8px;
  border-radius: 100px;
  border: 1px solid var(--line);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.palata-tab {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.palata-tab.active {
  background: var(--ink);
  color: var(--bg);
}
.palata-tab:hover:not(.active) {
  background: var(--line-soft);
}

.palata-pane {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  animation: fadePane 0.6s ease;
}
.palata-pane.active { display: grid; }
@keyframes fadePane {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.palata-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-cream);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.gallery-main:hover img { transform: scale(1.04); }

.palata-360 {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(28, 47, 42, 0.85);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.palata-360:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.thumb.active { border-color: var(--teal); }
.thumb:hover { transform: translateY(-2px); }
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.palata-info { display: flex; flex-direction: column; }
.palata-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 16px;
}
.palata-name {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.palata-desc {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}
.palata-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
}
.pf {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.pf span { font-size: 16px; }

.palata-price {
  margin-top: auto;
  padding: 20px 22px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  border-radius: var(--radius);
  color: var(--bg);
  margin-bottom: 16px;
}
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.price-label {
  font-size: 13px;
  opacity: 0.85;
}
.price-value {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
}
.price-note {
  font-size: 12px;
  opacity: 0.75;
}
.palata-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* === SERVICES === */
.services { background: var(--bg-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.service-card {
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-soft), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-white);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--bg);
  transform: rotate(-5deg);
}
.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.bonus-banner {
  position: relative;
  padding: 36px 40px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
}
.bonus-glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold), transparent 60%);
  opacity: 0.15;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.1); opacity: 0.25; }
}
.bonus-icon {
  font-size: 48px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.bonus-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.bonus-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}
.bonus-text {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.5;
}
.bonus-text strong { color: var(--gold); font-weight: 700; }
.bonus-cta {
  background: var(--gold);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.bonus-cta:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

/* === VALUE === */
.value { background: var(--bg); }
.value-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 24px;
}
.value-col {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.value-col.us {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--bg);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  position: relative;
}
.value-col-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.value-col.us .value-col-head { border-bottom-color: rgba(255,255,255,0.15); }
.col-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.value-col.us .col-tag { color: var(--gold); }
.col-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
}
.value-col.us .col-name { color: var(--bg); }

.value-list { display: flex; flex-direction: column; gap: 14px; }
.value-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-soft);
}
.value-col.us .value-list li {
  color: rgba(250, 248, 244, 0.9);
  border-bottom-color: rgba(255,255,255,0.1);
}
.value-list li:last-child { border-bottom: none; padding-bottom: 0; }
.amt {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}
.value-col.us .amt { color: var(--bg); }
.amt.big {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
}
.value-col.us .amt.big { color: var(--gold); }

.value-list li.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: none;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.value-col.us .value-list li.total {
  border-top-color: rgba(255,255,255,0.2);
  color: var(--bg);
}

.check {
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
}

.save-tag {
  margin-top: 20px;
  text-align: center;
  padding: 12px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
}

.value-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
}

/* === DOCTORS === */
.doctors { background: var(--bg-white); }
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Blur effect: when hovering one card, others blur out */
@media (hover: hover) {
  .doctors-grid:hover .doctor-card:not(:hover) {
    filter: blur(4px) saturate(0.5);
    opacity: 0.6;
    transform: scale(0.98);
  }
  .doctors-grid:hover .doctor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 2;
  }
}

.doctor-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid var(--line-soft);
  position: relative;
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.doctor-card.hidden-doc {
  display: none;
}
.doctor-card.hidden-doc.shown {
  display: block;
  animation: fadePane 0.5s ease;
}
.doc-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-cream);
  position: relative;
}
.doc-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 27, 51, 0.15));
  pointer-events: none;
}
.doc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s, filter 0.4s;
  filter: grayscale(15%);
}
.doctor-card:hover .doc-photo img {
  transform: scale(1.08);
  filter: grayscale(0);
}
.doc-info { padding: 20px 22px; }
.doc-spec {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.doc-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.2;
}
.doc-exp {
  font-size: 13px;
  color: var(--ink-mute);
}

.doctors-toggle {
  text-align: center;
}
#toggleDoctors {
  padding: 14px 28px;
}
#toggleIcon { transition: transform var(--transition); }
#toggleDoctors.expanded #toggleIcon { transform: rotate(180deg); }

/* === REVIEWS === */
.reviews { background: var(--bg-white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}
.review-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  border: 1px solid var(--line-soft);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.review-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.author-meta {
  font-size: 12px;
  color: var(--ink-mute);
}

.review-meta { padding: 20px 24px; }

/* Hero mobile */
@media (max-width: 768px) {
  .hero-usps {
    border-top: none;
    border-bottom: none;
  }
  .card-meta {
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .meta-tag {
    font-size: 11px;
    flex: 1 1 auto;
  }
  .meta-features {
    font-size: 14px;
  }

  /* To'q ko'k chiziqni o'chir */
  .hero-divider,
  .hero-bottom,
  .hero-bottom-bar,
  .hero-stats-bar,
  section.hero > div[style*="background"],
  .hero > .divider {
    display: none !important;
  }

  /* Forma blokini to'g'ri joylashtir */
  .qa-card,
  .quick-form-card,
  .hero-form,
  .quick-form-wrapper {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin: 0 16px !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  /* Quick action to'liq kenglik */
  .quick-action {
    padding: 0 16px !important;
    overflow: hidden !important;
  }

  .qa-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    position: relative !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  .qa-form-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .qa-nav {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero va quick-action orasidagi chiziqni o'chir */
  .hero-bottom,
  .hero-divider,
  .quick-action-divider,
  section.quick-action::before {
    display: none !important;
    height: 0 !important;
    background: transparent !important;
  }

  .qa-nav-label {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }

  .qa-nav-buttons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .qa-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 12px 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    word-break: break-word !important;
    white-space: normal !important;
    min-height: 80px !important;
    box-sizing: border-box !important;
  }

  .qa-btn span,
  .qa-btn div {
    word-break: break-word !important;
    white-space: normal !important;
  }

  /* Quick action spacing */
  .quick-action {
    margin-top: 24px !important;
    padding-top: 8px !important;
  }

  .qa-grid {
    margin-top: 16px !important;
  }

  /* Ticker (marquee chiziq) ni o'chir */
  .ticker-wrap,
  .ticker,
  .hero-ticker,
  .announcement-bar,
  .info-ticker {
    display: none !important;
  }
}

/* Reviews mobile slider */
.swipe-hint {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--ink-mute);
  font-size: 13px;
  margin-bottom: 14px;
  animation: hintFade 1.5s ease forwards;
}
@keyframes hintFade {
  0%   { opacity: 1; }
  65%  { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}
.reviews-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.reviews-dot.active {
  background: var(--teal);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .reviews-grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  .swipe-hint { display: flex; }
  .reviews-dots { display: flex; }
}

/* === FAQ === */
.faq { background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  transition: all var(--transition);
  flex-shrink: 0;
}
.faq-item[open] .faq-toggle {
  background: var(--teal);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* === CONTACT === */
.contact { background: var(--bg-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-channels {
  margin-top: 40px;
  display: grid;
  gap: 14px;
}
.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.channel-item:not(.static):hover {
  background: var(--bg-white);
  border-color: var(--teal);
  transform: translateX(4px);
}
.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.channel-icon.tg { background: #E3F2FD; color: #229ED9; }
.channel-icon.wa { background: #DCFCE7; color: #25D366; }
.channel-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.channel-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.contact-form-wrap {
  position: relative;
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.form-head { margin-bottom: 28px; }
.form-head h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-head p {
  font-size: 14px;
  color: var(--ink-soft);
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: all var(--transition);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 30px;
  position: absolute;
  inset: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.form-success.show {
  display: flex;
  animation: fadePane 0.5s ease;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 36px;
  margin-bottom: 20px;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 15px;
  color: var(--ink-soft);
}

.map-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-info {
  padding: 36px;
}
.map-info h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 20px;
}
.map-detail {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.5;
}
.map-detail strong { color: var(--ink); font-weight: 700; }
.map-frame {
  min-height: 380px;
  background: var(--bg-cream);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: rgba(250, 248, 244, 0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--bg);
}
.footer-logo .logo-mark {
  background: var(--gold);
  color: var(--ink);
}
.footer-logo .logo-text small { color: var(--gold); }
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--bg);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links li {
  font-size: 14px;
  color: rgba(250, 248, 244, 0.7);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--bg); }
.footer-text { font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.footer-text.small { font-size: 12px; opacity: 0.8; }
.footer-text.disclaimer { color: var(--gold); font-weight: 500; margin-top: 12px; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(250, 248, 244, 0.5);
}
.footer-bottom a { color: rgba(250, 248, 244, 0.7); }
.footer-bottom a:hover { color: var(--gold); }

/* === Sticky Bottom Panel === */
.sticky-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(15, 27, 51, 0.08);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 12px 0;
}
.sticky-panel.show { transform: translateY(0); }

.sp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Desktop form */
.sp-form {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sp-form.hide { display: none; }

.sp-form-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sp-form-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-right: 8px;
}
.sp-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.sp-subtitle {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.sp-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: all var(--transition);
}
.sp-form input:focus {
  border-color: var(--blue);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.sp-form button {
  padding: 11px 24px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sp-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 14px;
}
.sp-success.show { display: flex; }
.sp-check {
  width: 28px;
  height: 28px;
  background: #16a34a;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Mobile buttons */
.sp-mobile {
  display: none;
  gap: 8px;
}
.sp-mob-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.sp-call {
  background: var(--red);
  color: white;
}
.sp-call:active { background: var(--red-deep); }
.sp-tg {
  background: #229ED9;
  color: white;
}
.sp-tg:active { background: #1a7da8; }
.sp-form-link {
  background: var(--blue);
  color: white;
}
.sp-form-link:active { background: var(--blue-deep); }

/* Body padding so sticky panel doesn't cover content */
body.has-sticky { padding-bottom: 80px; }

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1100px) {
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-white);
    padding: 24px 32px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 500px; max-width: 500px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .palata-pane { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-section { grid-template-columns: 1fr; }

  /* Quick action responsive */
  .qa-grid { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .qa-form-wrap { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 24px; }
}

@media (max-width: 700px) {
  .container, .nav-container { padding: 0 20px; }
  section { padding: 70px 0; }
  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-title { font-size: 44px; }
  .hero-usps { flex-wrap: wrap; gap: 16px; }
  .usp-divider { display: none; }
  .hero-visual { height: 400px; }
  .floating-stat { display: none; }
  .section-title { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .doctors-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .bonus-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .value-comparison {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }
  .value-col {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line-soft);
    padding: 24px 20px;
  }
  .value-col.us {
    transform: none;
    border-radius: 0;
    border-bottom: none;
    padding: 24px 20px;
  }
  .value-col-head { margin-bottom: 16px; padding-bottom: 14px; }
  .nav-cta { display: none; }
  .lang-switcher { padding: 2px; }
  .lang-btn { padding: 4px 8px; font-size: 10px; }
  .palata-features { grid-template-columns: 1fr; }

  /* Quick action mobile */
  .qa-grid { padding: 20px; margin-top: -30px; }
  .qa-form { grid-template-columns: 1fr; gap: 8px; }
  .qa-form button { padding: 14px; }
  .qa-form-wrap { border-bottom: none; padding-bottom: 0; }
  .qa-nav-label { display: none; }
  .qa-nav-buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .qa-nav-buttons::-webkit-scrollbar { display: none; }
  .qa-btn { flex: 0 0 auto; padding: 8px 14px; gap: 5px; }
  .qa-btn-icon { font-size: 18px; }
  .qa-btn-text { font-size: 13px; white-space: nowrap; }
  .qa-title { font-size: 18px; }

  /* Sticky panel mobile - show buttons, hide form */
  .sp-form, .sp-success { display: none !important; }
  .sp-mobile { display: flex; }
  .sticky-panel { padding: 8px 0; }
  .sp-container { padding: 0 12px; }
  body.has-sticky { padding-bottom: 70px; }

  /* Doctor filter mobile - horizontal scroll */
  .doctors-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 20px;
    margin-left: -20px;
    margin-right: -20px;
    scrollbar-width: none;
  }
  .doctors-filter::-webkit-scrollbar { display: none; }
  .doc-filter { flex-shrink: 0; }

  /* Doctors grid mobile */
  .doctors-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  /* Disable blur effect on mobile (no hover) */
  .doctors-grid:hover .doctor-card:not(:hover) {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .section-title { font-size: 26px; }
  .hero-cta { flex-direction: column; }
  .hero-cta a { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-areas: "icon title" "icon desc";
    gap: 2px 12px;
    padding: 12px 16px;
  }
  .service-icon {
    grid-area: icon;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    align-self: center;
    border-radius: 10px;
  }
  .service-card h3 { grid-area: title; font-size: 14px; margin-bottom: 0; }
  .service-card p  { grid-area: desc;  font-size: 12px; }
  .palata-tabs { width: 100%; justify-content: stretch; }
  .palata-tab { flex: 1; padding: 10px 12px; font-size: 13px; }
  .map-info { padding: 24px; }
  .contact-form-wrap { padding: 28px 22px; }
}
