@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --accent: #e74c3c;
  --accent-dark: #c0392b;
  --bg: #f5f7fa;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #555;
  --text-light: #777;
  --border: #e0e0e0;
  --green: #27ae60;
  --orange: #f39c12;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  font-family: 'Inter', sans-serif;
  background: #e8ecf1;
  color: var(--text);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

.wrapper {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  overflow-x: clip;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* ===== HEADER ===== */
.header {
  background: var(--white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo img {
  height: 32px;
}

.header__logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 20px 16px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #4a90d9);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 12px;
}

.hero__title span {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero__image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
  object-fit: cover;
  max-height: 260px;
}

.hero__quote {
  background: #f0f6ff;
  border-left: 3px solid var(--primary);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.5;
  font-style: italic;
}

/* ===== DOCTOR STORY ===== */
.doctor-story {
  padding: 24px 16px;
  background: var(--bg);
}

.section-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--text);
}

.section-title span {
  color: var(--primary);
}

.doctor-story__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.doctor-story__photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-story__photos img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.doctor-intro {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.doctor-intro__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}

.doctor-intro__info h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.doctor-intro__info p {
  font-size: 0.75rem;
  color: var(--text-light);
}

.text-block {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.text-block strong {
  color: var(--text);
}

.highlight-text {
  background: linear-gradient(135deg, #fff3cd, #ffeeba);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #856404;
  margin-bottom: 14px;
  border-left: 3px solid var(--orange);
}

/* ===== SYMPTOMS ===== */
.symptoms {
  padding: 28px 16px;
  background: var(--white);
}

.symptoms__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
}

.symptoms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.symptom-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.symptom-img.highlighted {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

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

.symptoms__intro {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
  text-align: left;
}

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

.symptom-category {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px 16px;
  border-left: 3px solid var(--primary);
}

.symptom-category__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.symptom-category__list {
  list-style: none;
}

.symptom-category__list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.symptom-category__list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.symptoms__warning {
  background: linear-gradient(135deg, #fff5f5, #ffe3e3);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px;
  font-size: 0.85rem;
  color: #c0392b;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 24px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.08);
}

/* ===== CHONDROPROTECTORS ===== */
.chondro {
  padding: 28px 16px;
  background: var(--bg);
}

.chondro__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.4;
}

.chondro__image-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.chondro__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.chondro__intro {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.chondro__intro p {
  margin-bottom: 12px;
}

.chondro__intro-highlight {
  font-weight: 700;
  color: #c0392b;
  background: rgba(231, 76, 60, 0.06);
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.chondro__intro-question {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  margin: 16px 0 6px;
}

.mt-1 {
  margin-top: 8px;
}

.vicious-cycle {
  background: #fff5f5;
  border: 1px dashed #feb2b2;
  padding: 12px;
  border-radius: 8px;
  color: #c53030;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.doctor-quote-card {
  background: #f0f6ff;
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--primary);
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.doctor-quote-card__icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  line-height: 1;
}

.doctor-quote-card__text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.reason-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.reason-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.reason-card__text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== RESEARCH ===== */
.research {
  padding: 24px 16px;
  background: var(--white);
}

.research__image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
  max-height: 220px;
  object-fit: cover;
}

.discoveries-block {
  background: linear-gradient(135deg, #f8faff 0%, #edf4fe 100%);
  border: 1px solid rgba(26, 115, 232, 0.15);
  border-radius: 16px;
  padding: 20px 16px;
  margin: 24px 0;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.05);
}

.discoveries-block__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.2px;
}

.discovery-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discovery-item:last-child {
  margin-bottom: 0;
}

.discovery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.08);
}

.discovery-item__badge {
  align-self: flex-start;
  background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.25);
  text-transform: uppercase;
}

.discovery-item:nth-child(even) .discovery-item__badge {
  background: linear-gradient(135deg, var(--primary) 0%, #1557b0 100%);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.25);
}

.discovery-item__text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.discovery-item__text strong {
  color: var(--text);
}

.research__subtitle-results {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin: 28px 0 16px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.research__subtitle-results::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin: 8px auto 0;
  border-radius: 2px;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f6ff 100%);
  border: 1px solid rgba(26, 115, 232, 0.08);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card__number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(26, 115, 232, 0.1);
}

.stat-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.4;
}

.research__conclusion {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  border-radius: 16px;
  padding: 20px;
  margin-top: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.research__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.research__badges span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.research__conclusion-text {
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.5px;
}

.research__conclusion-text strong {
  color: #ffd54f;
  text-shadow: 0 0 12px rgba(255, 213, 79, 0.4);
}

/* ===== PRODUCT ===== */
.product {
  padding: 32px 16px;
  background: var(--white);
  color: var(--text);
  text-align: center;
}

.product__title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--text);
  text-shadow: none;
}

.product__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.product__image {
  width: 75%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
  transition: transform 0.5s ease;
}

.product__image:hover {
  transform: scale(1.05);
}

.product__intro-box {
  background: #f0f6ff;
  border: 1px solid rgba(26, 115, 232, 0.12);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 28px;
  text-align: left;
}

.product__intro-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product__intro-desc strong {
  color: var(--primary);
}

.product__comparison-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-light);
  border-top: 1px solid rgba(26, 115, 232, 0.12);
  padding-top: 12px;
  margin: 0;
  font-style: italic;
}

.product__directions-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.4;
  text-align: left;
  padding-left: 4px;
}

.product__directions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.direction-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.direction-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 115, 232, 0.25);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.08);
}

.direction-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.direction-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #3b82f6;
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.direction-card:nth-child(2) .direction-card__number {
  background: #10b981;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.direction-card:nth-child(3) .direction-card__number {
  background: #eab308;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.2);
}

.direction-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.direction-card__text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.direction-card__text strong {
  color: var(--text);
}

.product__conclusion-note {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.product__conclusion-note p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.5;
}

/* ===== INGREDIENTS ===== */
.ingredients {
  padding: 32px 16px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ingredient-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 115, 232, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ingredient-card:nth-child(5) {
  grid-column: span 2;
}

.ingredient-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.1);
  border-color: rgba(26, 115, 232, 0.18);
}

.ingredient-card__img-wrapper {
  width: 100%;
  height: 165px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.ingredient-card:nth-child(5) .ingredient-card__img-wrapper {
  height: 200px;
}

.ingredient-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ingredient-card:hover .ingredient-card__img {
  transform: scale(1.04);
}

.ingredient-card__content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ingredient-card__name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.ingredient-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px currentColor;
  flex-shrink: 0;
}

.ingredient-card__dot--blue {
  background-color: #3b82f6;
  color: rgba(59, 130, 246, 0.6);
}

.ingredient-card__dot--teal {
  background-color: #14b8a6;
  color: rgba(20, 184, 166, 0.6);
}

.ingredient-card__dot--orange {
  background-color: #f97316;
  color: rgba(249, 115, 22, 0.6);
}

.ingredient-card__dot--yellow {
  background-color: #eab308;
  color: rgba(234, 179, 8, 0.6);
}

.ingredient-card__dot--green {
  background-color: #22c55e;
  color: rgba(34, 197, 94, 0.6);
}

.ingredient-card__desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ingredient-card__desc strong {
  color: var(--text);
  font-weight: 700;
}

/* ===== TIMELINE ===== */
.timeline {
  padding: 24px 16px;
  background: var(--white);
}

.timeline__header {
  display: block;
  margin-bottom: 24px;
}

.timeline__header img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: block;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 24px;
  border-left: 2px solid #e0e0e0;
  margin-left: 12px;
}

.timeline-item:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 8px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item__days {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.timeline-item__text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-item__subtitle-list {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 10px;
  margin-bottom: 4px;
  line-height: 1.5;
}

.timeline-item__list {
  list-style: none;
  margin-top: 6px;
  margin-bottom: 8px;
}

.timeline-item__list li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.5;
}

.timeline-item__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.timeline-item__note {
  background: #fff9db;
  border-left: 3px solid #ffd43b;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #495057;
  margin-top: 12px;
  line-height: 1.5;
}

.timeline-item__note strong {
  color: #f59f00;
}

/* ===== DOCTOR RECOMMENDATION ===== */
.doctor-rec {
  padding: 24px 16px;
  background: linear-gradient(135deg, #f0f6ff, #e3eeff);
}

.doctor-rec__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.doctor-rec__top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.doctor-rec__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.doctor-rec__name {
  font-size: 0.9rem;
  font-weight: 700;
}

.doctor-rec__title {
  font-size: 0.75rem;
  color: var(--text-light);
}

.doctor-rec__text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.doctor-rec__text::before {
  content: '«';
  color: var(--primary);
  font-size: 1.2rem;
}

.doctor-rec__text::after {
  content: '»';
  color: var(--primary);
  font-size: 1.2rem;
}

/* ===== ORDER FORM ===== */
.order-form {
  padding: 24px 16px;
  background: var(--white);
}

.order-form__inner {
  background: #daf2fe;
  border-radius: 24px;
  padding: 12px 12px 24px 12px;
  border: none;
  box-shadow: none;
}

.order-form__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.order-form__top img {
  width: 130px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.order-form__title-container {
  flex: 1;
}

.order-form__title {
  font-size: 1.32rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.18;
}

.order-form__title .text-red {
  color: #d32f2f;
  font-weight: 900;
}

.form-group {
  margin-bottom: 14px;
  position: relative;
}

.form-group__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.form-group__svg {
  width: 20px;
  height: 20px;
  stroke: #555555;
  stroke-width: 1.5px;
}

.form-group input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.form-group input::placeholder {
  color: #777777;
}

.form-group input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: #ffffff;
}

.form-group input.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
  background: #fff5f5;
}

.form-error-msg {
  font-size: 0.72rem;
  color: #ef4444;
  margin-top: 4px;
  padding-left: 16px;
  font-weight: 600;
  animation: errorSlideIn 0.3s ease;
}

@keyframes errorSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-form__btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.order-form__btn {
  width: 80%;
  padding: 16px 24px;
  background: #ff6b6b;
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.25);
}

.order-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.35);
}

.order-form__btn:active {
  transform: translateY(0);
}

.order-form__note {
  font-size: 0.72rem;
  text-align: center;
  margin-top: 18px;
  color: #4b5563;
  line-height: 1.4;
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq {
  padding: 24px 16px;
  background: var(--bg);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item__question {
  padding: 14px 40px 14px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background 0.3s;
}

.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-item__question::after {
  content: '−';
}

.faq-item__question:hover {
  background: #f8f9fa;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.active .faq-item__answer {
  max-height: 600px;
  padding: 0 16px 14px;
}

.faq-item__answer p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 24px 16px;
  background: var(--white);
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4a90d9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-card__location {
  font-size: 0.72rem;
  color: var(--text-light);
}

.testimonial-card__text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
  padding: 20px 16px;
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.6;
}

.footer p {
  margin-bottom: 6px;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  z-index: 99;
  display: none;
}

.sticky-cta.visible {
  display: block;
}

.sticky-cta__btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ===== ORDER MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-container {
  position: relative;
  width: 92%;
  max-width: 420px;
  z-index: 1;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  transform: scale(1.1);
  background: rgba(255, 71, 87, 0.9);
}

.modal-body {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.modal-body .order-form__inner {
  border-radius: 0;
}

/* Modal shake animation when trying to close by accident */
@keyframes modalShake {

  0%,
  100% {
    transform: scale(1) translateX(0);
  }

  20% {
    transform: scale(1) translateX(-8px);
  }

  40% {
    transform: scale(1) translateX(8px);
  }

  60% {
    transform: scale(1) translateX(-4px);
  }

  80% {
    transform: scale(1) translateX(4px);
  }
}

/* ===== FORM TOAST NOTIFICATIONS ===== */
.form-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  min-width: 280px;
  max-width: 340px;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.form-toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.form-toast--success {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.form-toast--error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}