/* ==========================================================================
   AI Medicus - Consolidated WordPress Theme Stylesheet
   ========================================================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --container-pad: 140px;
}

/* ===== WORDPRESS-SPECIFIC OVERRIDES ===== */

/* Phone input field inside form */
.phone-input-field {
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-family: 'Lexend', sans-serif;
  color: #131313;
  width: 160px;
  padding: 0;
  margin: 0;
}

.phone-input-field::placeholder {
  color: #B0B0B0;
}

/* Form message */
.form-message {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
}

.form-message.success {
  background: #E8F5E9;
  color: #2E7D32;
}

.form-message.error {
  background: #FFE0E0;
  color: #C62828;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1B396D;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.mobile-menu-open {
  overflow: hidden;
}

/* Page content */
.page-content {
  padding: 60px 0;
}

.entry-content {
  max-width: 800px;
  line-height: 1.7;
  font-size: 16px;
}

.entry-content h1 {
  font-size: 36px;
  margin-bottom: 24px;
  color: #1A1A1A;
}

/* Legal disclaimer */
.legal-disclaimer {
  background: #FFF8E1;
  padding: 24px 0;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* SEO text section */
.seo-text-section {
  padding: 40px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* WordPress pagination */
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 40px 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  color: #3A4563;
  transition: all 0.2s;
}

.page-numbers.current {
  background: #1B396D;
  color: #fff;
}

.page-numbers:hover {
  background: #EDF4FC;
}

/* Fix: WP nav menu list items */
.nav-links li {
  list-style: none;
}

/* Blog listing fix */
.blog-listing {
  padding: 40px 0 80px;
}

.blog-listing h1 {
  font-size: 40px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 40px;
}
.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li {
  display: inline;
  font-size: 14px;
  color: #5D5A73;
  line-height: 1.64;
}

.breadcrumb-list li a {
  color: #5D5A73;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-list li a:hover {
  color: #1580EB;
}

.breadcrumb-list li.current {
  color: #1A1A1A;
}

.breadcrumb-list li .sep {
  color: #A2A2A2;
  margin: 0 4px;
}

/* WordPress image alignment */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

/* WordPress screen reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

/* ==========================================================================
   BASE / SHARED STYLES (from styles.css)
   ========================================================================== */

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

body {
  font-family: 'Lexend', sans-serif;
  color: #3A4563;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.page-wrap {
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 var(--container-pad, 140px);
}

/* ===== HEADER (sticky wrapper) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}

/* ===== 1. TOP BAR ===== */
.top-bar {
  background: #fff;
  padding: 9px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  gap: 62px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
}

.top-bar-left .icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.top-bar-left .address {
  color: #5D5A73;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.64;
}

.top-bar-left .more-link {
  color: #1580EB;
  white-space: nowrap;
  margin-left: 8px;
  cursor: pointer;
  text-decoration: none;
}

.breadcrumb {
  background: #fff;
  padding: 10px 0;
}

.breadcrumb .container {
  font-size: 14px;
  color: #5D5A73;
  line-height: 1.64;
}

.breadcrumb a {
  color: #5D5A73;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #1580EB;
}

.breadcrumb .current {
  color: #1A1A1A;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #5D5A73;
  font-size: 14px;
  line-height: 1.64;
}

.top-bar-phone .icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.top-bar-phone a {
  color: #1580EB;
  text-decoration: none;
}

.top-bar-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #FF5050;
  border-radius: 100px;
  color: #FF5050;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
  line-height: 1.25;
  transition: background 0.2s, color 0.2s;
}

.top-bar-btn:hover {
  background: #FF5050;
  color: #fff;
}

/* ===== 2. NAVBAR ===== */
.navbar {
  background: #FCFCFC;
  height: 76px;
  position: relative;
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #1B396D;
  cursor: pointer;
}

.logo-crescent {
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}

.logo-crescent svg {
  width: 100%;
  height: 100%;
}

.logo-text span {
  font-size: 12px;
  font-weight: 400;
  color: #1B396D;
  display: block;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1E1E1E;
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.64;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item a,
.nav-links .current_page_item a {
  color: #1580EB;
}

/* ===== 3. HERO ===== */
.hero {
  background: #FCFCFC;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 45px;
  padding-bottom: 90px;
}

.hero-left {
  flex: 1;
  min-width: 0;
  max-width: 643px;
  display: flex;
  flex-direction: column;
  padding-top: 51px;
}

.hero-left h1 {
  font-family: 'Lexend', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #000;
  line-height: 1.25;
  margin: 0 0 28px;
  max-width: 640px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-left .subtitle {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  color: #3A4563;
  line-height: 1.5;
  margin: 0 0 46px;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 46px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #3A4563;
  line-height: 1.5;
}

.hero-bullets li::before {
  content: '';
  width: 12px;
  height: 12px;
  background: #008BFF;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #1B396D;
  color: #FAFAFA;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  letter-spacing: 0.16px;
  line-height: 24px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #152d57;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 46px;
  background: transparent;
  color: #1B396D;
  border: 1px solid #1B396D;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  letter-spacing: 0.16px;
  line-height: 24px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: #1B396D;
  color: #fff;
}

.hero-right {
  width: 100%;
  max-width: 740px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-left: 36px;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 740 / 500;
}

.hero-photo-bg {
  position: absolute;
  top: -36px;
  left: -36px;
  width: 88%;
  aspect-ratio: 656 / 482;
  background: #EDF4FC;
  z-index: 0;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  background: #D9D9D9;
  z-index: 1;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  background: #D9D9D9;
  z-index: 1;
  overflow: hidden;
  border-radius: 4px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-dots .dot {
  appearance: none;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
}

.hero-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 108px;
  background: linear-gradient(to top, #00447D 9%, rgba(115,115,115,0) 100%);
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 0 156px 4px;
  z-index: 2;
}

.hero-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  background: #fff;
  border-radius: 33px;
  padding: 5px 14px;
  z-index: 2;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6A6A6A;
}

.hero-dots .dot.active {
  background: #1580EB;
}

/* ===== FLOATING CALL BUTTON ===== */
.floating-call-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.floating-call-btn .fcb-circle {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1580EB 0%, #1B396D 100%);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(21, 128, 235, 0.5), 0 0 0 1px rgba(27, 57, 109, 0.15), 0 2px 6px rgba(0, 0, 0, 0.18);
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fcb-shake 2.6s cubic-bezier(.36,.07,.19,.97) infinite;
}

.floating-call-btn .fcb-circle svg {
  width: 30px;
  height: 30px;
  display: block;
}

.floating-call-btn:hover .fcb-circle {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(21, 128, 235, 0.65), 0 0 0 1px rgba(27, 57, 109, 0.2), 0 2px 8px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}

.floating-call-btn .fcb-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(21, 128, 235, 0.55);
  border: 2px solid rgba(21, 128, 235, 0.7);
  z-index: 1;
  animation: fcb-pulse 2s cubic-bezier(0.25, 0.45, 0.45, 0.95) infinite;
}

.floating-call-btn .fcb-pulse--delayed {
  animation-delay: 1s;
}

@keyframes fcb-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  80%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

@keyframes fcb-shake {
  0%, 65%, 100% { transform: rotate(0); }
  68% { transform: rotate(-12deg); }
  71% { transform: rotate(10deg); }
  74% { transform: rotate(-8deg); }
  77% { transform: rotate(6deg); }
  80% { transform: rotate(-4deg); }
  83% { transform: rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-call-btn .fcb-circle,
  .floating-call-btn .fcb-pulse { animation: none; }
}

@media (max-width: 768px) {
  .floating-call-btn {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .floating-call-btn .fcb-circle {
    width: 56px;
    height: 56px;
  }
  .floating-call-btn .fcb-circle svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== 4. ACHIEVEMENTS BAR ===== */
.achievements {
  background: #EDF4FC;
  padding: 16px 0;
}

.achievements .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 17px;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: #F3E825;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 15px;
}

.achievement-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.achievement-item .blue-link {
  color: #1580EB;
  margin-left: 6px;
  text-decoration: none;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.2s;
}

.achievement-item .blue-link:hover {
  color: #0E66BE;
  text-decoration: underline;
}

/* ===== 5. APPOINTMENT FORM ===== */
.appointment-section {
  background: #FCFCFC;
  padding: 80px 0;
}

.appointment-block {
  background: #1B396D;
  border-radius: 40px;
  padding: 60px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.appointment-photos {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  height: 301px;
  flex-shrink: 0;
}

.appointment-photos .photo-1 {
  width: 258px;
  height: 301px;
  border-radius: 130px 130px 5px 130px;
  overflow: hidden;
  flex-shrink: 0;
}

.appointment-photos .photo-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-col-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 291px;
  flex-shrink: 0;
}

.appointment-photos .photo-2 {
  width: 99px;
  height: 157px;
  border-radius: 50px;
  overflow: hidden;
}

.appointment-photos .photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appointment-photos .photo-3 {
  width: 291px;
  height: 132px;
  border-radius: 5px 80px 80px 5px;
  overflow: hidden;
}

.appointment-photos .photo-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appointment-form {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.appointment-form h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.appointment-form .form-subtitle {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.appointment-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

.appointment-form form .phone-input-wrap,
.appointment-form form .btn-yellow {
  margin-bottom: 0;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #DDD;
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 16px;
  min-height: 54px;
  overflow: hidden;
}

.phone-input-left {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 48px;
  border-right: 1px solid #DDD;
  height: 46px;
  flex-shrink: 0;
}

.phone-input-left .phone-icon-red {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.phone-input-left .prefix {
  font-size: 16px;
  color: #131313;
  font-weight: 400;
  font-family: 'Lexend', sans-serif;
  white-space: nowrap;
}

.phone-input-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding-left: 48px;
}

.phone-input-right .city-label {
  font-size: 16px;
  color: #131313;
  font-family: 'Lexend', sans-serif;
}

.phone-input-right .city-arrow {
  width: 20px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 40px;
}

.phone-input-right .city-arrow svg {
  width: 12px;
  height: 8px;
}

.btn-yellow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 60px;
  background: #FFD000;
  color: #000;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: background 0.2s;
  line-height: 1.5;
}

.btn-yellow:hover {
  background: #F3E825;
}

.appointment-buttons {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.appointment-buttons .btn-yellow {
  flex: 1;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

/* ===== 6. SYMPTOMS HEADER ===== */
.symptoms-header {
  background: #FCFCFC;
  padding: 80px 0 0;
}

.symptoms-header .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

.symptoms-header-left {
  align-self: flex-start;
}

.symptoms-header-right {
  align-self: flex-end;
}

.symptoms-header-right {
  margin-bottom: -1px;
}

.symptoms-header-left {
  max-width: 676px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.symptoms-header-left h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.symptoms-header-left p {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  color: #3A4563;
  margin: 0;
  line-height: 1.5;
}

.symptoms-header-right {
  width: 418px;
  height: 178px;
  flex-shrink: 0;
  overflow: hidden;
}

.symptoms-header-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 7. SYMPTOM CARDS ===== */
.symptom-cards {
  background: #EDF4FC;
  padding: 0 0 60px;
}

.symptom-cards .container {
  padding-top: 56px;
}

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

.symptom-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  font-family: 'Lexend', sans-serif;
  text-decoration: none;
  position: relative;
}

.symptom-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.symptom-card-icon {
  width: 59px;
  height: 59px;
  background: #F4F9FF;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.symptom-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.symptom-card-content {
  flex: 1;
  min-width: 0;
}

.symptom-card-content h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.symptom-card-content p {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #000;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.symptom-card-arrow {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  border: 1px solid #1580EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
}

.symptom-card-arrow svg {
  width: 8px;
  height: 12px;
  display: block;
}

.symptom-card-arrow svg path {
  stroke: #1580EB;
}

.symptom-card.cta-card {
  background: #1B396D;
}

.symptom-card.cta-card h4 {
  color: #F5F5F5;
}

.symptom-card.cta-card p {
  color: #fff;
}

.symptom-card.cta-card .symptom-card-icon {
  background: #FFD000;
}

.symptom-card.cta-card .symptom-card-arrow {
  border-color: #fff;
}

.symptom-card.cta-card .symptom-card-arrow svg path {
  stroke: #fff;
}

/* ===== 8. WHY AI-MEDICUS ===== */
.why-section {
  background: #F8F8F8;
  padding: 80px 0;
}

.why-section h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.why-section .section-subtitle {
  font-size: 16px;
  color: #3A4563;
  margin-bottom: 48px;
}

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

.why-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 62px;
  min-height: 270px;
  transition: box-shadow 0.2s;
}

.why-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  background: #F3E825;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -42px;
}

.why-card-body h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #000;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.why-card-body p {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.why-card .card-link {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #1B396D;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.why-card .card-link svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.why-card .card-link:hover {
  color: #1580EB;
}

.why-card .card-link:hover svg {
  transform: translateX(4px);
}

.why-card .card-link:hover svg path {
  stroke: #1580EB;
}

/* ===== 9. CTA BLOCK ===== */
.cta-section {
  background: #FCFCFC;
  padding: 10px var(--container-pad, 140px);
}

.cta-block {
  background: #1B396D;
  border-radius: 40px;
  padding: 60px 60px 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-left {
  flex: 1 1 auto;
  min-width: 480px;
}

.cta-left h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cta-left p {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 42px;
  line-height: 1.2;
}

.cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.cta-buttons .btn-yellow-lg,
.cta-buttons .btn-white-outline {
  white-space: nowrap;
}

.btn-yellow-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 45px;
  background: #FFD000;
  color: #000;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: background 0.2s;
}

.btn-yellow-lg:hover {
  background: #F3E825;
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: transparent;
  color: #fff;
  border: 1px solid #E3E6ED;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: background 0.2s, color 0.2s;
}

.btn-white-outline:hover {
  background: #fff;
  color: #1B396D;
}

.cta-right {
  flex-shrink: 0;
  width: 380px;
  height: 290px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-end;
}

.cta-photo-1 {
  width: 200px;
  height: 132px;
  overflow: hidden;
  align-self: flex-end;
  margin-bottom: 0;
}

.cta-photo-1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cta-photo-2 {
  width: 168px;
  height: 290px;
  border-radius: 80px 80px 80px 5px;
  overflow: hidden;
}

.cta-photo-1 img,
.cta-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== 10. DOCTORS ===== */
.doctors-section {
  background: #FCFCFC;
  padding: 80px 0;
}

.doctors-section .container {
  padding: 0 var(--container-pad, 140px);
}

.doctors-header {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.doctors-header-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doctors-header-left h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.doctors-header-left p {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  color: #3A4563;
  margin: 0;
  line-height: 1.5;
}

.doctors-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 485px;
  margin-top: 16px;
}

.city-toggle {
  display: flex;
  align-items: center;
  height: 36px;
}

.city-toggle button {
  padding: 0 24px;
  width: 124px;
  height: 36px;
  border: 1px solid #A2A2A2;
  background: transparent;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  cursor: pointer;
  transition: all 0.2s;
}

.city-toggle button:first-child {
  border-radius: 99px 0 0 99px;
  border-right: none;
  box-shadow: inset 4px 4px 8px rgba(25,90,255,0.08);
}

.city-toggle button:last-child {
  border-radius: 0 99px 99px 0;
  border-left: none;
}

.city-toggle button.active {
  background: #1B396D;
  color: #fff;
  border-color: #1B396D;
  font-weight: 600;
  box-shadow: none;
}

.nav-arrows {
  display: flex;
  gap: 12px;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #1B396D;
  background: #1B396D;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s;
}

.nav-arrow svg {
  width: 12px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.doctor-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 14px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 22px;
  gap: 24px;
}

.doctor-photo-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.doctor-photo {
  flex: 1;
  min-width: 0;
  aspect-ratio: 4/5;
  background: #D9D9D9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-spec-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 60px;
}

.doctor-spec-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor-spec-icon svg,
.doctor-spec-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.doctor-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.doctor-info h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1.25;
  margin: 0;
}

.doctor-info .doctor-desc {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #535353;
  line-height: 1.4;
  margin: 8px 0 0;
  min-height: calc(14px * 1.4 * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctor-info .doctor-exp {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #535353;
  font-weight: 600;
  margin: 4px 0 0;
}

.doctor-info .doctor-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid #1B396D;
  border-radius: 100px;
  color: #1B396D;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: all 0.2s;
}

.doctor-book-btn:hover {
  background: #1B396D;
  color: #fff;
}

.doctor-profile-link {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #1B396D;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.doctor-profile-link svg {
  transition: transform 0.2s;
}

.doctor-profile-link:hover svg {
  transform: translateX(3px);
}

/* ===== 11. PRICING + REVIEWS ===== */
.pricing-section {
  background: #EDF4FC;
  padding: 40px 0 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 118px;
  margin-bottom: 60px;
  align-items: start;
}

.pricing-left h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.price-list {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  gap: 32px;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.price-list li .price-name {
  color: #3A4563;
  flex: 1;
}

.price-list li .price-value {
  color: #000;
  white-space: nowrap;
}

.price-info-box {
  background: #fff;
  border-radius: 14px;
  padding: 16px 24px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #3A4563;
  line-height: 1.5;
  margin-bottom: 24px;
}

.price-info-box strong {
  font-weight: 600;
  color: #000;
}

.pricing-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.pricing-buttons .btn-primary,
.pricing-buttons .btn-outline {
  padding: 11px 29px;
}

.pricing-buttons .btn-outline {
  padding: 11px 46px;
}

.reviews-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  width: 100%;
  max-width: 624px;
  min-height: 451px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

.reviews-rating {
  position: absolute;
  top: 26px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.reviews-rating-score {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3A4563;
  line-height: 1;
}

.reviews-rating-stars {
  display: inline-flex;
  gap: 1px;
}

.reviews-rating-stars svg {
  display: block;
}

.reviews-rating-total {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3A4563;
  line-height: 1;
}

.reviews-rating-google {
  margin-left: 6px;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex;
  line-height: 1;
}

.review-item {
  position: relative;
  margin: 0 0 30px;
  padding-left: 88px;
  min-height: 67px;
}

.review-item:last-child {
  margin-bottom: 0;
  margin-top: 24px;
}

.review-avatar {
  position: absolute;
  top: 4px;
  left: 0;
  width: 64px;
  height: 64px;
  background: #EDF4FC;
  border-radius: 20px;
  overflow: hidden;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-body {
  display: block;
}

.review-name {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
}

.review-count {
  font-family: 'Lexend', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3A4563;
  line-height: 1.5;
  margin-top: -2px;
}

.review-meta-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
}

.review-stars svg {
  display: block;
}

.review-date {
  font-family: 'Lexend', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3A4563;
  line-height: 1.5;
}

.review-text {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3A4563;
  line-height: 1.5;
  margin: 14px 0 0;
  padding-left: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blue CTA bar */
.blue-cta-bar {
  background: #1B396D;
  border-radius: 40px;
  padding: 30px 35px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blue-cta-illustration {
  width: 216px;
  height: 184px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blue-cta-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blue-cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.blue-cta-title {
  font-family: 'Lexend', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.blue-cta-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-cta-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 29px;
  background: #FFD000;
  color: #000;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 38px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  gap: 14px;
}

.btn-cta-outline svg,
.btn-cta-outline img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-cta-outline .wa-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
}

.btn-cta-outline .wa-icon svg {
  width: 100%;
  height: 100%;
}

/* ===== 12. Q&A ===== */
.qa-section {
  background: #F8F8F8;
  padding: 80px 0;
}

.qa-header {
  text-align: center;
  margin-bottom: 53px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.qa-section h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin-bottom: 19px;
  line-height: 1.21;
}

.qa-section .section-subtitle {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  color: #000;
  margin-bottom: 0;
  line-height: 1.21;
}

.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}

.qa-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qa-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.qa-question {
  padding: 20px 56px 20px 20px;
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  position: relative;
  line-height: 1.25;
}

.qa-card.open .qa-question {
  padding-bottom: 14px;
}

.qa-q-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.qa-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.qa-icon svg {
  width: 100%;
  height: 100%;
}

.qa-toggle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1B396D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  right: 20px;
  top: 20px;
}

.qa-toggle-btn::after {
  content: '';
  width: 14px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
}

.qa-card:not(.open) .qa-toggle-btn::before {
  content: '';
  width: 3px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
}

.qa-card .qa-divider {
  height: 1px;
  background: #E0E0E0;
  margin: 14px 20px 0;
}

.qa-answer {
  display: none;
}

.qa-card.open .qa-answer {
  display: block;
  padding: 0 20px 20px;
}

.qa-card.open .qa-question {
  padding-bottom: 0;
}

.qa-card.open .qa-question::after {
  content: '';
  display: block;
}

.qa-answer-inner {
  background: #F3F5F4;
  border-radius: 15px;
  padding: 12px 16px;
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 14px;
}

.qa-cta-card {
  border: 1px solid #C0C0C0;
  border-radius: 15px;
  padding: 20px 36px;
  text-align: center;
}

.qa-cta-card h4 {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin-bottom: 26px;
}

.btn-qa-call {
  background: #1B396D;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 12px 47px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  cursor: pointer;
}

/* ===== 13. CONTACTS MAP ===== */
.contacts-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  background: #EDF4FC url('../../assets/images/map.png') center/cover no-repeat;
  z-index: 0;
}

.map-pin {
  position: absolute;
  top: 42%;
  right: 18%;
  width: 112px;
  height: 113px;
}

.map-pin img {
  width: 100%;
  height: 100%;
  display: block;
}

.contacts-card {
  position: relative;
  margin: 0 auto;
  margin-left: max(var(--container-pad, 140px), calc((100% - 1560px) / 2 + var(--container-pad, 140px)));
  max-width: 560px;
  background: #fff;
  border-radius: 15px;
  padding: 45px 69px 60px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contacts-card h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  line-height: 1.21;
  margin: 0;
  text-align: left;
}

.contacts-toggle {
  align-self: flex-start;
}

.contacts-address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contacts-geo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #F3E825;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-geo-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(0);
}

.contacts-address .addr-text {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts-address .addr-text strong {
  font-weight: 500;
}

.contacts-more {
  color: #1580EB;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin-top: 4px;
  text-decoration: none;
}

.contacts-call-center {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: 'Lexend', sans-serif;
  font-size: 24px;
  color: #3A4563;
  line-height: 1.5;
  font-weight: 400;
}

.contacts-call-center a {
  color: #3A4563;
  text-decoration: none;
}

.contacts-social-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-social-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #1580EB;
  line-height: 1.4;
}

.contact-social-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-social-item .social-ic {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: #1580EB;
  -webkit-mask-image: var(--icon);
          mask-image: var(--icon);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  display: inline-block;
}

.cs-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-text {
  font-size: 20px;
  color: #1580EB;
  line-height: 2.4;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1580EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.8;
}

.social-icon.whatsapp {
  background: #25D366;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
}

.social-icon.facebook {
  background: #1877F2;
}

.social-icon.email {
  background: #1B396D;
}

/* ===== 14. FOOTER ===== */
.footer {
  background: #1B396D;
  padding: 80px 0 0;
  color: #fff;
}

.footer .container {
  display: flex;
  align-items: flex-start;
  gap: 58px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 46px;
  width: 351px;
  flex-shrink: 0;
}

.footer-logo img {
  max-height: 76px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #D1D1D1;
  line-height: 1.55;
  margin: 0;
}

.footer-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-stats {
  width: 249px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-stat {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}

.footer-stat .stat-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: #F3E825;
  -webkit-mask-image: var(--icon);
          mask-image: var(--icon);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  display: inline-block;
}

.footer-stat .stat-text a {
  color: #1580EB;
  margin-left: 6px;
  text-decoration: none;
}

.footer-stat .stat-text a:hover {
  text-decoration: underline;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 34px;
  flex: 1;
  min-width: 0;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-contacts-row {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.footer-col h5,
.footer-bottom-row h5 {
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.75;
}

.footer-col-services {
  width: 560px;
  flex-shrink: 0;
}

.footer-col-services h5 {
  text-align: left;
}

.footer-col-company {
  flex-shrink: 0;
}

.footer-col-company h5 {
  text-align: left;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav li a {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #D1D1D1;
  line-height: 2;
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav li a:hover {
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0;
}

.footer-col ul li a {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #D1D1D1;
  line-height: 2;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-services-grid {
  display: flex;
  gap: 18px;
}

.footer-services-col {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.footer-services-col li a {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #D1D1D1;
  line-height: 2;
  text-decoration: none;
}

.footer-services-col li a:hover {
  color: #fff;
}

.footer-all-services-li a,
.footer-all-services {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #03A9F4 !important;
  line-height: 2;
  text-decoration: none;
}

.footer-addresses {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 358px;
  flex-shrink: 0;
}

.footer-addresses li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #D1D1D1;
  line-height: 1.25;
}

.footer-addresses .addr-icon {
  width: 14px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-flex;
}

.footer-addresses .addr-icon svg {
  display: block;
}

.footer-addresses .addr-text {
  flex: 1;
  min-width: 0;
}

.footer-socials-cta {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 256px;
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #D1D1D1;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-social-link:hover {
  color: #fff;
}

.footer-social-link .fsi {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background-color: #F3E825;
  -webkit-mask-image: var(--icon);
          mask-image: var(--icon);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  display: inline-block;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 29px;
  background: #FFD000;
  color: #000;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  align-self: flex-start;
  transition: background 0.2s;
}

.footer-cta-btn:hover {
  background: #F3E825;
}

.footer-copyright {
  background: #1F2332;
  margin-top: 80px;
  padding: 18px 0;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #9B9B9B;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

.footer-copyright::before {
  content: '';
  display: block;
}

.footer-copyright {
  padding-left: max(var(--container-pad, 140px), calc((100% - 1560px) / 2 + var(--container-pad, 140px)));
  padding-right: max(var(--container-pad, 140px), calc((100% - 1560px) / 2 + var(--container-pad, 140px)));
}


/* ==========================================================================
   CATALOG PAGE (catalog.html)
   ========================================================================== */

/* Breadcrumb overrides for catalog */
.breadcrumb span {
  color: #5d5a73;
}

/* Hero catalog */
.catalog-hero {
  background: #fff;
  padding: 18px 0 48px;
  position: relative;
}

.catalog-hero .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.catalog-hero-left {
  width: 643px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

.catalog-hero-left h1 {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  line-height: normal;
  margin-bottom: 20px;
  width: 640px;
}

.catalog-hero-left .subtitle {
  font-size: 18px;
  color: #3A4563;
  line-height: 1.5;
  margin-bottom: 0;
}

.catalog-hero-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.catalog-hero-right {
  width: 488px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.catalog-call-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: 86px;
  z-index: 5;
  cursor: pointer;
}

.collage-col-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collage-col-left-top {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
}

.collage-shapes {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.collage-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1580EB;
}

.collage-shape-dark {
  width: 100%;
  height: 65px;
  border-radius: 40px 5px 40px 5px;
  background: #1B396D;
}

.collage-img-1 {
  flex: 1;
  height: 177px;
  border-radius: 40px;
  overflow: hidden;
}

.collage-img-2 {
  width: 100%;
  height: 103px;
  border-radius: 50px 5px 50px 5px;
  overflow: hidden;
}

.collage-img-3 {
  width: 220px;
  height: 340px;
  flex-shrink: 0;
  border-radius: 80px 5px 80px 5px;
  overflow: hidden;
}

.collage-img-1 img,
.collage-img-2 img,
.collage-img-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Filters section */
.catalog-filters-section {
  background: #F8F8F8;
  padding: 48px 0;
}

.catalog-filters-bar {
  background: #fff;
  border-radius: 15px;
  padding: 19px 35px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto 40px;
  font-family: 'Lexend', sans-serif;
}

.catalog-filters-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filter-label {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.filter-item-label {
  color: #000;
  font-weight: 400;
}

.filter-item-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
}

.filter-item-value .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 12px;
}

.filter-item-value .arrow svg {
  width: 12px;
  height: 8px;
}

/* Category tabs */
.catalog-tabs {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.catalog-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 100px;
  background: #fff;
  border: 1.5px solid #E3E6ED;
  font-size: 16px;
  font-weight: 500;
  color: #3A4563;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Lexend', sans-serif;
  white-space: nowrap;
}

.catalog-tab:hover {
  border-color: #1B396D;
  color: #1B396D;
}

.catalog-tab.active {
  background: #1B396D;
  color: #fff;
  border-color: #1B396D;
}

.catalog-tab-icon {
  width: 59px;
  height: 50px;
  background: #F4F9FF;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.catalog-tab.active .catalog-tab-icon {
  background: rgba(255,255,255,0.15);
}

/* Service cards grid */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 62px 31px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 404px;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.service-card-img {
  width: 100%;
  aspect-ratio: 411/180;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
}

.service-card-top {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.service-card-category-icon {
  width: 59px;
  height: 50px;
  flex-shrink: 0;
}

.service-card-category-icon img {
  width: 100%;
  height: 100%;
}

.service-card-info {
  flex: 1;
  min-width: 0;
}

.service-card-info h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card-info p {
  font-size: 14px;
  color: #535353;
  line-height: 1.4;
}

.service-card-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card-bottom .btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 43px;
  background: #1B396D;
  color: #FAFAFA;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  box-shadow: 2px 2px 6px rgba(27,57,109,0.5);
  transition: background 0.2s;
  white-space: nowrap;
}

.service-card-bottom .btn-book:hover {
  background: #152d57;
}

.service-card-bottom .btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1.5px solid #1B396D;
  color: #1B396D;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}

.service-card-bottom .btn-detail:hover {
  background: #1B396D;
  color: #fff;
}

/* Conditions section */
.conditions-section {
  background: #F8F8F8;
  padding: 80px 0;
}

.conditions-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin-bottom: 40px;
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 40px;
}

.condition-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  height: 230px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.2s;
}

.condition-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.condition-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.condition-card-icon img {
  width: 100%;
  height: 100%;
}

.condition-card h4 {
  font-size: 24px;
  font-weight: 500;
  color: #000;
  line-height: 1.2;
  margin-top: auto;
}

/* CTA "Не знаете что выбрать?" inline */
.condition-card.cta-condition {
  background: #1B396D;
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  height: 290px;
  padding: 40px;
}

.cta-condition-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-condition-left h3 {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.cta-condition-left p {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.2;
}

.cta-condition-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cta-condition-right {
  width: 433px;
  height: 290px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.cta-img-left {
  width: 201px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cta-img-left-shape {
  width: 100%;
  height: 132px;
  background: #D9D9D9;
  border-radius: 5px 80px 80px 5px;
}

.cta-img-right-shape {
  width: 222px;
  height: 290px;
  background: #D9D9D9;
  border-radius: 5px 5px 80px 80px;
  flex-shrink: 0;
}


/* ==========================================================================
   SERVICE PAGE (service.html)
   ========================================================================== */

/* Breadcrumb overrides for service */
.breadcrumb .sep {
  color: #A2A2A2;
}

/* Показания section */
.indications-section {
  background: #555;
  padding: 80px var(--container-pad, 140px);
  position: relative;
  overflow: hidden;
}

.indications-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/pokazaniya-bg.png') center/cover no-repeat;
  opacity: 0.4;
  z-index: 0;
}

.indications-section > * {
  position: relative;
  z-index: 1;
}

.indications-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 85px;
}

.indications-left {
  width: 768px;
}

.indications-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 52px;
  letter-spacing: -0.4px;
}

.indications-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -0.24px;
}

.indications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 87px;
  margin-bottom: 29px;
}

.indication-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.indication-item-icon {
  width: 59px;
  height: 59px;
  flex-shrink: 0;
}

.indication-item-icon img {
  width: 100%;
  height: 100%;
}

.indication-item-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.18px;
  line-height: 1.2;
  width: 252px;
}

.indications-note {
  background: #FDFFD2;
  border-radius: 15px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #000;
  letter-spacing: -0.14px;
}

.indications-note-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.indications-photos {
  width: 435px;
  height: 493px;
  position: relative;
  flex-shrink: 0;
}

.indications-photo-big {
  position: absolute;
  left: 53px;
  top: 94px;
  width: 382px;
  height: 399px;
  border-radius: 500px;
  border: 8px solid #EDF4FC;
  background: #D9D9D9;
  overflow: hidden;
}

.indications-photo-small {
  position: absolute;
  left: 0;
  top: 0;
  width: 210px;
  height: 210px;
  border-radius: 500px;
  border: 8px solid #EDF4FC;
  background: #D9D9D9;
  overflow: hidden;
}

.indications-photo-big img,
.indications-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Противопоказания */
.contra-section {
  margin-top: 85px;
}

.contra-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.24px;
  margin-bottom: 19px;
}

.contra-desc {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.16px;
  margin-bottom: 37px;
}

.contra-items {
  display: flex;
  gap: 99px;
  margin-bottom: 37px;
}

.contra-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contra-item-icon {
  width: 59px;
  height: 59px;
  flex-shrink: 0;
}

.contra-item-icon img {
  width: 100%;
  height: 100%;
}

.contra-item-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.18px;
  line-height: 1.2;
  width: 252px;
}

.contra-note {
  background: #FFE0E0;
  border-radius: 15px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #000;
  letter-spacing: -0.14px;
}

/* Steps section */
.steps-section {
  background: #EDF4FC;
  padding: 100px var(--container-pad, 140px);
  position: relative;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 75px;
  position: relative;
}

.steps-row:last-child {
  margin-bottom: 0;
}

.step-card {
  display: flex;
  gap: 46px;
  align-items: flex-start;
}

.step-photo {
  width: 271px;
  height: 181px;
  border-radius: 0 25px 0 25px;
  background: #D9D9D9;
  flex-shrink: 0;
  overflow: hidden;
}

.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-content {
  width: 293px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-badge {
  display: flex;
  align-items: center;
  gap: 18px;
}

.step-badge-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.step-badge-icon img {
  width: 100%;
  height: 100%;
}

.step-badge-label {
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  font-weight: 400;
}

.step-text {
  color: #222;
  line-height: 1.4;
}

.step-text strong {
  font-size: 22px;
  font-weight: 700;
}

.step-text span {
  font-size: 18px;
  font-weight: 400;
}

.step-arrow {
  position: absolute;
  left: 50%;
  bottom: -75px;
  transform: translateX(-50%);
  width: 40px;
  height: 75px;
}

.step-arrow img {
  width: 100%;
  height: 100%;
}

.steps-row-single {
  display: flex;
  justify-content: center;
}

/* Длительность приёма */
.duration-section {
  background: #FCFCFC;
  padding: 64px var(--container-pad, 140px);
}

.duration-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.duration-photos {
  width: 644px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 387px;
}

.duration-photos-top {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
}

.duration-photo-1 {
  width: 388px;
  height: 288px;
  border-radius: 40px 5px 40px 5px;
  background: #D9D9D9;
  overflow: hidden;
}

.duration-photo-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2DDFCC;
  flex-shrink: 0;
}

.duration-photo-2 {
  width: 100%;
  height: 177px;
  border-radius: 5px 80px 5px 80px;
  background: #D9D9D9;
  overflow: hidden;
}

.duration-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration-content {
  width: 539px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.duration-title {
  font-size: 32px;
  color: #000;
  letter-spacing: -0.32px;
  line-height: 1.35;
  width: 492px;
}

.duration-title strong {
  font-weight: 700;
}

.duration-prep-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.24px;
  line-height: 1.35;
  margin-bottom: 24px;
}

.duration-prep-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.duration-prep-item {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 18px;
  color: #000;
  letter-spacing: -0.18px;
  line-height: 1.2;
}

.duration-prep-dot {
  width: 16px;
  height: 16px;
  border-radius: 20px;
  background: #F3E825;
  flex-shrink: 0;
}

.duration-note {
  background: #1B396D;
  border-radius: 0 0 25px 0;
  border-top-left-radius: 25px;
  padding: 16px 47px 28px;
  color: #fff;
  width: 100%;
}

.duration-note strong {
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.duration-note span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.service-info-photos .photo-2 {
  background: #D9D9D9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
}

.service-info-photos .photo-3 {
  background: #D9D9D9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
}

/* Результат section */
.results-section {
  background: #FCFCFC;
  padding: 72px var(--container-pad, 140px);
}

.results-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.4px;
  margin-bottom: 52px;
}

.results-subtitle {
  font-size: 24px;
  color: #000;
  letter-spacing: -0.24px;
  margin-bottom: 52px;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.results-row {
  display: flex;
  gap: 30px;
}

.result-card {
  background: #EDF4FC;
  border-radius: 20px;
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 248px;
}

.result-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.result-card-icon img {
  width: 100%;
  height: 100%;
}

.result-card h4 {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.24px;
  line-height: 1.2;
}

.result-card p {
  font-size: 18px;
  color: #000;
  line-height: 1.5;
  letter-spacing: -0.24px;
}

.result-card-dark {
  background: #1B396D;
  border-radius: 20px;
  padding: 31px 40px;
  width: 625px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.result-card-dark .star-icon {
  font-size: 32px;
}

.result-card-dark p {
  font-size: 18px;
  color: #fff;
  line-height: 1.5;
  letter-spacing: -0.18px;
}

.results-photo {
  background: #D9D9D9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 13px;
}

.results-photo-1 {
  height: 220px;
}

.results-photo-2 {
  height: 180px;
}

/* Equipment section */
.equipment-section {
  background: #EDF4FC;
  padding: 80px var(--container-pad, 140px);
}

.equipment-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.4px;
  margin-bottom: 38px;
}

.equipment-subtitle {
  font-size: 24px;
  color: #000;
  letter-spacing: -0.24px;
  margin-bottom: 40px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 71px;
  margin-bottom: 40px;
}

.equipment-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.equipment-item-photo {
  width: 285px;
  height: 185px;
  border-radius: 25px;
  background: #D9D9D9;
  flex-shrink: 0;
  overflow: hidden;
}

.equipment-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-item-text {
  flex: 1;
}

.equipment-item-text h4 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.24px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.equipment-item-text p {
  font-size: 18px;
  font-weight: 400;
  color: #222;
  line-height: 1.5;
  letter-spacing: 0.24px;
}

.equipment-note {
  background: #FDFFD2;
  border-radius: 15px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: #000;
  letter-spacing: -0.16px;
}

.equipment-note-icon {
  font-size: 24px;
  flex-shrink: 0;
}

/* Сертификаты и лицензии (service page variant) */
.cert-section {
  background: #FAFBFC;
  padding: 70px var(--container-pad, 140px);
  position: relative;
  overflow: hidden;
}

.cert-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cert-photos {
  width: 628px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.cert-photos-stack {
  position: relative;
  width: 628px;
  height: 470px;
}

.cert-img-1 {
  position: absolute;
  left: 0;
  top: 70px;
  width: 231px;
  height: 330px;
  background: #E8E0D0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.cert-img-2 {
  position: absolute;
  left: 156px;
  top: 0;
  width: 328px;
  height: 470px;
  background: #E8E0D0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  z-index: 1;
}

.cert-img-3 {
  position: absolute;
  left: 379px;
  top: 57px;
  width: 249px;
  height: 353px;
  background: #E8E0D0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.cert-dots {
  display: flex;
  gap: 12px;
}

.cert-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6A6A6A;
}

.cert-dots .dot.active {
  background: #1580EB;
}

.cert-right {
  width: 543px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cert-right h2 {
  font-size: 40px;
  font-weight: 600;
  color: #333;
  line-height: normal;
}

.cert-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cert-stat {
  display: flex;
  align-items: center;
  gap: 17px;
}

.cert-stat-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.cert-stat-icon img {
  width: 100%;
  height: 100%;
}

.cert-stat span {
  font-size: 18px;
  color: #000;
  font-weight: 400;
}

.cert-thumbs {
  display: flex;
  gap: 16px;
}

.cert-thumb {
  width: 120px;
  height: 160px;
  background: #D9D9D9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 12px;
}


/* ==========================================================================
   DOCTOR PAGE (doctor.html)
   ========================================================================== */

/* Doctor Profile Header */
.doctor-profile {
  background: #fff;
  padding: 35px 0 70px;
}

.doctor-profile .container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.doctor-profile-photo {
  width: 501px;
  height: 569px;
  background: #D9D9D9;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 16px;
}

.doctor-profile-info {
  display: flex;
  flex-direction: column;
  gap: 45px;
  width: 719px;
}

.doctor-profile-bio {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor-profile-fio {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.doctor-profile-name-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doctor-profile-name {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
}

.doctor-profile-specialty {
  font-size: 20px;
  font-weight: 600;
  color: #1B396D;
  line-height: 1.5;
}

.doctor-profile-desc {
  font-size: 18px;
  font-weight: 400;
  color: #3A4563;
  line-height: 1.5;
}

.doctor-education {
  background: #EDF4FC;
  border-radius: 15px;
  padding: 32px 24px 27px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #3A4563;
  font-size: 18px;
  line-height: 1.5;
}

.doctor-education .year {
  font-size: 24px;
  font-weight: 600;
  color: #1B396D;
}

.doctor-profile-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Certificates Section */
.certificates-section {
  background: #FAFBFC;
  padding: 70px 0;
}

.certificates-section .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.certificates-left {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  width: 628px;
}

.certificates-gallery {
  width: 628px;
  height: 470px;
  position: relative;
}

.cert-img {
  position: absolute;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 12px;
}

/* Directions Section */
.directions-section {
  background: #F8F8F8;
  padding: 48px 0;
}

.directions-section .container {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.directions-title {
  font-size: 40px;
  font-weight: 600;
  color: #333;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 40px;
}

.direction-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  height: 230px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.2s;
}

.direction-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.direction-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.direction-card-icon img {
  width: 100%;
  height: 100%;
}

.direction-card-icon.with-bg {
  background: #F3E825;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.direction-card-icon.with-bg img {
  width: 24px;
  height: 24px;
}

.direction-card-title {
  font-size: 24px;
  font-weight: 400;
  color: #000;
  line-height: 1.2;
  letter-spacing: -0.24px;
}

/* Procedures Section */
.procedures-section {
  background: #fff;
  padding: 48px 0;
}

.procedures-section .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.procedures-title {
  font-size: 40px;
  font-weight: 600;
  color: #333;
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 62px 31px;
}

.procedure-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 404px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.procedure-card-img {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

.procedure-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.procedure-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
}

.procedure-card-top {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.procedure-card-icon {
  width: 59px;
  height: 50px;
  flex-shrink: 0;
}

.procedure-card-icon img {
  width: 100%;
  height: 100%;
}

.procedure-card-text h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.procedure-card-text p {
  font-size: 14px;
  color: #535353;
}

.procedure-card-actions {
  display: flex;
  gap: 12px;
}

.btn-procedure-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  background: #1B396D;
  color: #FAFAFA;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  box-shadow: 2px 2px 6px rgba(27,57,109,0.5);
  transition: background 0.2s;
}

.btn-procedure-primary:hover {
  background: #152d57;
}

.btn-procedure-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  background: transparent;
  color: #1B396D;
  border: 1px solid #1B396D;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: background 0.2s, color 0.2s;
}

.btn-procedure-secondary:hover {
  background: #1B396D;
  color: #fff;
}

/* Reviews Section */
.doctor-reviews-section {
  background: #F8F8F8;
  padding: 120px var(--container-pad, 140px);
}

.doctor-reviews-section .dr-reviews-inner {
  display: flex;
  flex-direction: column;
  gap: 128px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.reviews-layout {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
}

.reviews-decoration {
  width: 548px;
  height: 490px;
  position: relative;
  flex-shrink: 0;
}

.reviews-shapes {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  position: absolute;
  bottom: 0;
  left: 0;
}

.review-shape-1 {
  width: 150px;
  height: 286px;
  background: #3167D9;
  border-radius: 5px 80px 5px 80px;
}

.review-shape-2 {
  width: 150px;
  height: 106px;
  background: #1B396D;
  border-radius: 40px 5px 40px 5px;
}

.review-avatar-circle {
  position: absolute;
  border-radius: 100px;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 10px;
  overflow: hidden;
}

.review-avatar-1 {
  width: 132px; height: 132px;
  left: 170px; top: 153px;
}

.review-avatar-2 {
  width: 107px; height: 107px;
  left: 302px; top: 46px;
}

.review-avatar-3 {
  width: 80px; height: 80px;
  left: 90px; top: 48px;
}

.review-avatar-4 {
  width: 80px; height: 80px;
  left: 435px; top: 164px;
}

.review-avatar-5 {
  width: 80px; height: 80px;
  left: 340px; top: 285px;
}

.dr-review-card {
  width: 624px;
  flex-shrink: 0;
}

.dr-review-card .reviews-card {
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.dr-review-card .reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dr-review-card .reviews-header h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.dr-review-card .more-reviews-link {
  font-size: 14px;
  color: #008BFF;
  text-decoration: none;
  white-space: nowrap;
}

.dr-review-card .more-reviews-link:hover {
  text-decoration: underline;
}

.dr-review-card .review-avatar {
  width: 64px;
  height: 63px;
  font-size: 12px;
}

.dr-review-card .review-author {
  gap: 12px;
}

.dr-review-card .review-meta {
  font-size: 12px;
  color: #999;
}


/* ==========================================================================
   SYMPTOM PAGE (symptom.html)
   ========================================================================== */

.symptom-hero {
  background: #FCFCFC;
  position: relative;
  overflow: hidden;
}

.symptom-hero .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  padding-left: var(--container-pad, 140px);
  padding-right: 0;
  padding-top: 45px;
  padding-bottom: 90px;
  max-width: 1600px;
}

.symptom-hero-left {
  flex: 1;
  min-width: 0;
  max-width: 643px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 51px;
}

.symptom-hero-left h1 {
  font-size: 44px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 640px;
}

.symptom-hero-left .subtitle {
  font-size: 18px;
  color: #3A4563;
  line-height: 1.5;
  margin-bottom: 28px;
}

.symptom-hero-note {
  background: #FDFFD2;
  border-radius: 15px;
  padding: 11px 15px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  max-width: 620px;
}

.symptom-hero-note .note-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.symptom-hero-note p {
  font-size: 14px;
  color: #000;
  line-height: 1.2;
  letter-spacing: -0.14px;
}

.symptom-hero-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.symptom-hero-right {
  width: 740px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 36px;
}

.symptom-hero-photo-wrap {
  position: relative;
  width: 100%;
  height: 500px;
}

.symptom-hero-photo-bg {
  position: absolute;
  top: -36px;
  left: -36px;
  width: 656px;
  height: 482px;
  background: #EDF4FC;
  z-index: 0;
}

.symptom-hero-photo {
  position: relative;
  width: 100%;
  height: 500px;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #888;
  z-index: 1;
}

/* ===== WHAT IT COULD BE ===== */
.what-section {
  background: #F4F9FF;
  padding: 82px var(--container-pad, 140px) 50px;
}

.what-layout {
  display: flex;
  gap: 35px;
  align-items: flex-start;
}

.what-left {
  width: 686px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.what-left h2 {
  font-size: 40px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.what-causes-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 30px;
}

.what-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.what-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  color: #222;
  line-height: 1.4;
  font-family: 'Lexend', sans-serif;
}

.what-list li .item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.what-note {
  background: #1B396D;
  border-radius: 0 0 25px 0;
  border-top-left-radius: 25px;
  padding: 30px 32px 30px 47px;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.18px;
}

.what-right {
  width: 556px;
  height: 712px;
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-end;
}

.what-right-col {
  width: 271px;
  height: 100%;
  position: relative;
}

.what-circle-blue {
  position: absolute;
  left: 173px;
  top: 228px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1580EB;
}

.what-circle-green {
  position: absolute;
  left: 135px;
  top: 190px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2DDFCC;
}

.what-photo-small {
  position: absolute;
  left: 0;
  top: 543px;
  width: 258px;
  height: 169px;
  border-radius: 5px 80px 5px 80px;
  background: #D9D9D9;
  overflow: hidden;
}

.what-photo-mid {
  position: absolute;
  left: 0;
  top: 334px;
  width: 258px;
  height: 180px;
  border-radius: 0 75px 0 75px;
  background: #D9D9D9;
  overflow: hidden;
}

.what-photo-tall {
  width: 288px;
  height: 100%;
  border-radius: 100px;
  background: #D9D9D9;
  overflow: hidden;
  flex-shrink: 0;
}

/* ===== URGENCY SECTION ===== */
.urgency-section {
  background: #F4F9FF;
  padding: 80px 0;
}

.urgency-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.urgency-section > .container > h3 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 40px;
}

.urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 40px;
  margin-bottom: 40px;
}

.urgency-card {
  background: #F4F9FF;
  border-radius: 24px;
  padding: 64px;
  height: 230px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  box-shadow: -4px -4px 8px 0px #fff, 4px 4px 4px 0px rgba(25, 90, 255, 0.15);
  overflow: hidden;
}

.urgency-card-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.urgency-card-icon img {
  width: 100%;
  height: 100%;
}

.urgency-card p {
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #031E2D;
  line-height: 28px;
  max-width: 265px;
}

.urgency-cta-card {
  background: #1B396D;
  border-radius: 15px;
  padding: 28px 27px 37px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.urgency-cta-card h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #FAFAFA;
  line-height: 32px;
}

.urgency-cta-card .cta-sub {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #FAFAFA;
  letter-spacing: 0.16px;
}

.urgency-warning {
  background: #FDFFD2;
  border-radius: 15px;
  padding: 11px 15px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.urgency-warning .note-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.urgency-warning p {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
  letter-spacing: -0.14px;
}

/* ===== WHEN TO SEE DOCTOR (photo+text) ===== */
.exam-alt-section {
  background: #F8F8F8;
  padding: 82px 0 50px var(--container-pad, 140px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.exam-alt-left {
  flex-shrink: 0;
  width: 588px;
}

.exam-alt-left h2 {
  font-size: 40px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin-bottom: 20px;
}

.exam-alt-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 44px;
}

.exam-alt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 44px;
}

.exam-alt-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #031E2D;
  line-height: 43px;
}

.diamond-icon {
  width: 12px;
  height: 12px;
  background: #008BFF;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.exam-alt-note {
  background: #1B396D;
  border-radius: 25px 0 25px 0;
  padding: 30px 32px 30px 47px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.18px;
}

.exam-alt-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.doctor-visit-section {
  display: none;
}

.doctor-visit-section .container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.doctor-visit-photo {
  width: 500px;
  height: 400px;
  background: #D9D9D9;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #888;
}

.doctor-visit-content {
  flex: 1;
}

.doctor-visit-content h2 {
  font-size: 32px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 20px;
  line-height: 1.3;
}

.doctor-visit-content p {
  font-size: 16px;
  color: #3A4563;
  line-height: 1.6;
  margin-bottom: 16px;
}

.doctor-visit-content .visit-list {
  list-style: none;
  margin-bottom: 28px;
}

.doctor-visit-content .visit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #3A4563;
  padding: 8px 0;
}

.doctor-visit-content .visit-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #1580EB;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== EXAMINATIONS ===== */
.exam-section {
  background: #F8F8F8;
  padding: 80px 0;
}

.exam-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.exam-section > .container > h3 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 40px;
}

.exam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.exam-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.exam-card-icon {
  width: 52px;
  height: 52px;
  background: #EDF4FC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exam-card-icon svg {
  width: 24px;
  height: 24px;
  fill: #1B396D;
}

.exam-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.exam-card p {
  font-size: 14px;
  color: #3A4563;
  line-height: 1.5;
}

.exam-note {
  font-size: 16px;
  color: #3A4563;
  line-height: 1.35;
}

.exam-note strong {
  color: #1A1A1A;
}

/* ===== DOCTOR RECOMMENDATION ===== */
.doctor-rec-section {
  background: #FCFCFC;
  padding: 80px 0;
}

.doctor-rec-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin-bottom: 24px;
  letter-spacing: -0.4px;
}

.doctor-rec-section > .container > p.section-desc {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
  margin-bottom: 28px;
}

.doctor-rec-grid {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* ===== RECOMMENDED SERVICES (shared across symptom/article) ===== */
.rec-services-section {
  background: #FCFCFC;
  padding: 48px 0 0;
}

.rec-services-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.rec-services-section > .container > p.section-desc {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 40px;
}

.rec-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px;
}

.rec-service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 4px 4px 4px 0px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  height: 404px;
}

.rec-service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.rec-service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rec-service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
}

.rec-service-card-top {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.rec-service-card-icon {
  width: 59px;
  height: 50px;
  flex-shrink: 0;
}

.rec-service-card-icon img {
  width: 100%;
  height: 28px;
  stroke: #1B396D;
  fill: none;
  stroke-width: 1.5;
}

.rec-service-card-text h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.rec-service-card-text p {
  font-size: 14px;
  color: #535353;
}

.rec-service-card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-right: 22px;
}

.btn-rec-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  background: #1B396D;
  color: #FAFAFA;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  box-shadow: 2px 2px 6px rgba(27,57,109,0.5);
}

.btn-rec-outline {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  background: transparent;
  color: #1B396D;
  border: 1px solid #1B396D;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
}

/* ===== SELF-DIAGNOSIS BANNER ===== */
.selfdiag-banner {
  padding: 40px var(--container-pad, 140px) 48px;
}

.selfdiag-banner .container {
  background: #FDFFD2;
  border-radius: 15px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.selfdiag-banner .banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.selfdiag-banner p {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
}


/* ==========================================================================
   ARTICLE PAGE (article.html)
   ========================================================================== */

/* Article header */
.article-header-section {
  background: #fff;
  padding: 40px 0 0;
}

.article-header-top {
  display: flex;
  gap: 42px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.article-title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  width: 640px;
  flex-shrink: 0;
}

.article-intro {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  flex: 1;
}

.article-author {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 36px;
}

.article-author-photo {
  width: 80px;
  height: 80px;
  border-radius: 100px;
  background: #d9d9d9;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.article-author-info {
  width: 343px;
}

.article-author-name {
  font-size: 24px;
  font-weight: 600;
  color: #1580EB;
  line-height: 1.5;
}

.article-author-name a {
  color: #1580EB;
}

.article-author-spec {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
}

/* TOC + main image row */
.article-toc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.article-toc {
  width: 522px;
  flex-shrink: 0;
}

.article-toc-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  line-height: 2.12;
  margin-bottom: 8px;
}

.article-toc-list {
  list-style: none;
}

.article-toc-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1580EB;
  flex-shrink: 0;
}

.article-toc-list li a {
  font-size: 18px;
  color: #1580EB;
  line-height: 2.12;
}

.article-toc-list li a:hover {
  text-decoration: underline;
}

.article-main-image {
  width: 645px;
  height: 428px;
  background: #d9d9d9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* Article body */
.article-body {
  background: #fff;
  padding: 75px 0 75px;
}

.article-body .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.article-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 878px;
}

.article-section-full {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.article-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
}

.article-section-full h2 {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  line-height: 1.8;
}

.article-section p,
.article-section-full p {
  font-size: 18px;
  color: #000;
  line-height: 1.6;
}

/* Image + quote row */
.article-media-row {
  display: flex;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.article-inline-image {
  width: 511px;
  height: 209px;
  background: #d9d9d9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.article-blockquote {
  display: flex;
  gap: 22px;
  align-items: center;
  height: 208px;
}

.article-blockquote-mark {
  font-size: 150px;
  color: #1580EB;
  line-height: 1.8;
  width: 68px;
  flex-shrink: 0;
  font-family: 'Lexend', sans-serif;
}

.article-blockquote-text {
  font-size: 18px;
  color: #000;
  line-height: 1.8;
  flex: 1;
  min-width: 0;
}

/* Article lists */
.article-list {
  list-style: disc;
  padding-left: 27px;
  margin: 0;
}

.article-list li {
  font-size: 18px;
  color: #000;
  line-height: 1.6;
}

/* Warning banner */
.warning-banner {
  background: #fff;
  padding: 40px 0;
}

.warning-banner-inner {
  background: #FFF8E1;
  border-left: 4px solid #FFD000;
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.warning-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.warning-banner-text {
  font-size: 16px;
  color: #3A4563;
  line-height: 1.6;
}

.warning-banner-text strong {
  color: #000;
}


/* ==========================================================================
   PRICES PAGE (prices.html)
   ========================================================================== */

/* Prices page hero */
.prices-hero-wrapper {
  background: #FCFCFC;
  padding: 58px var(--container-pad, 140px);
  display: flex;
  justify-content: center;
  position: relative;
}

.prices-hero {
  background: #1B396D;
  border-radius: 40px;
  padding: 60px 60px 60px 110px;
  display: inline-flex;
  align-items: center;
  gap: 86px;
}

.prices-hero-call {
  position: absolute;
  bottom: 120px;
  right: 40px;
  width: 65px;
  height: 65px;
}

.prices-hero-left {
  width: 459px;
  flex-shrink: 0;
}

.prices-hero-left h1 {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.prices-hero-left .subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 28px;
}

.prices-hero-left .btn-yellow {
  background: #FFD000;
  color: #1A1A1A;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  display: inline-flex;
}

.prices-hero-photo {
  width: 400px;
  height: 304px;
  background: #D9D9D9;
  border-radius: 0 75px 0 75px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.3);
  font-size: 14px;
}

/* Full price list */
.prices-full-section {
  background: #EEF4FC;
  padding: 60px var(--container-pad, 140px);
  position: relative;
}

.prices-full-section .prices-illustration {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 66px;
  width: 342px;
  height: 176px;
  object-fit: cover;
  z-index: 1;
}

.prices-full-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.prices-full-section .section-subtitle {
  font-size: 18px;
  color: #3A4563;
  margin-bottom: 40px;
  max-width: 600px;
}

.prices-table-wrap {
  position: relative;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 20px;
  overflow: visible;
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
}

.prices-table th {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #2F4D95;
  padding: 18px 30px;
  background: #EBF1FA;
  border-bottom: 1px solid #E0E5ED;
}

.prices-table th:last-child {
  text-align: right;
}

.prices-table td {
  padding: 18px 30px;
  font-size: 20px;
  vertical-align: middle;
}

.prices-table tr:nth-child(even) td {
  background: #EBF1FA;
}

.prices-table tr:nth-child(odd) td {
  background: #fff;
}

.prices-table td.price-name {
  font-weight: 600;
  color: #1A1A1A;
}

.prices-table td.price-value {
  color: #3A4563;
  font-size: 20px;
  white-space: nowrap;
}

.prices-table td.price-action {
  text-align: right;
}

.prices-table td.price-action a {
  color: #1580EB;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.prices-table td.price-action a:hover {
  text-decoration: underline;
}

/* Included info block */
.included-section {
  background: #FCFCFC;
  padding: 60px var(--container-pad, 140px);
}

.included-layout {
  display: flex;
  align-items: flex-end;
  gap: 40px;
}

.included-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.included-left h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 0;
}

.included-prep-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.included-prep-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 24px;
}

.included-prep-item {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.3;
}

.included-prep-dot {
  width: 16px;
  height: 16px;
  border-radius: 20px;
  background: #F3E825;
  flex-shrink: 0;
}

.included-note {
  background: #1B396D;
  border-radius: 25px 0 25px 0;
  color: #fff;
  padding: 24px 28px;
  font-size: 14px;
  line-height: 1.5;
}

.included-note strong {
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.included-photos {
  width: 644px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 387px;
}

.included-photos-top {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
}

.included-photo-1 {
  width: 388px;
  height: 253px;
  border-radius: 40px 5px 40px 5px;
  overflow: hidden;
}

.included-photo-1 img,
.included-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.included-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #7ED4C8;
  flex-shrink: 0;
}

.included-photo-2 {
  width: 100%;
  height: 177px;
  border-radius: 5px 80px 5px 80px;
  overflow: hidden;
}

/* Cost factors */
.factors-section {
  background: #F8F8F8;
  padding: 48px var(--container-pad, 140px);
}

.factors-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.factors-section .section-subtitle {
  font-size: 18px;
  color: #3A4563;
  margin-bottom: 40px;
}

.factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 40px;
}

.factor-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.factor-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.factor-card-icon {
  width: 44px;
  height: 44px;
  background: #FFD000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.factor-card h4 {
  font-size: 24px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0;
}

.factor-card p {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  line-height: 1.6;
}

.factor-photo-placeholder {
  background: #D9D9D9;
  border-radius: 25px;
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.3);
  font-size: 14px;
}

/* Packages */
.packages-section {
  background: #fff;
  padding: 80px var(--container-pad, 140px);
}

.packages-section h2 {
  font-size: 40px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.packages-section .section-subtitle {
  font-size: 18px;
  color: #222;
  margin-bottom: 48px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.package-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E0E5ED;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.package-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.package-card-photo {
  width: 100%;
  height: 282px;
  position: relative;
  overflow: hidden;
}

.package-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-card-tag {
  position: absolute;
  top: 225px;
  left: 0;
  background: #F3E825;
  border-radius: 0 100px 100px 0;
  padding: 5px 10px;
  font-size: 16px;
  color: #000;
}

.package-card-body {
  padding: 32px 40px;
}

.package-card-body h4 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.package-card-body .included-label {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-top: 24px;
  margin-bottom: 8px;
}

.package-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.package-card-body ul li {
  font-size: 16px;
  color: #031E2D;
  padding-left: 24px;
  position: relative;
}

.package-card-body ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: #008BFF;
  transform: rotate(45deg);
  display: inline-block;
}

.package-card-price-label {
  font-size: 14px;
  font-weight: 600;
  color: #1580EB;
  margin-bottom: 4px;
}

.package-card-price-value {
  font-size: 32px;
  font-weight: 600;
  color: #1580EB;
  margin-bottom: 24px;
}

.package-card-buttons {
  display: flex;
  gap: 12px;
}

.package-card-buttons .btn-book {
  background: #1B396D;
  color: #FAFAFA;
  border: none;
  border-radius: 100px;
  padding: 12px 43px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(27,57,109,0.5);
}

.package-card-buttons .btn-details {
  background: transparent;
  color: #1B396D;
  border: 1px solid #1B396D;
  border-radius: 100px;
  padding: 12px 45px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}


/* ==========================================================================
   CONTACTS PAGE (contacts.html)
   ========================================================================== */

.contacts-page-section {
  position: relative;
  min-height: 911px;
  overflow: visible;
}

.contacts-page-section .map-placeholder {
  height: 911px;
}

.contacts-page-section .contacts-card {
  top: 80px;
}

/* ==========================================================================
   RESPONSIVE — mobile-first layouts
   ========================================================================== */

img,
svg {
  max-width: 100%;
}

* {
  min-width: 0;
}

/* ----- Tablet landscape / Small desktop (≤1199) ----- */
@media (max-width: 1199px) {
  :root { --container-pad: 60px; }

  .nav-links { gap: 32px; }
  .nav-links a { font-size: 16px; }

  .hero .container {
    flex-direction: column;
    align-items: stretch;
    padding-top: 40px;
    padding-bottom: 60px;
    gap: 32px;
  }
  .hero-left { max-width: 100%; padding-top: 0; }
  .hero-left h1 { font-size: 40px; max-width: 100%; }
  .hero-right { width: 100%; max-width: 100%; margin: 0; }
  .hero-photo-bg { display: none; }

  .achievements .container {
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 32px;
    justify-content: center;
  }

  .appointment-block {
    padding: 40px;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .appointment-photos {
    height: auto;
  }

  .symptoms-header .container { gap: 40px; }
  .symptoms-header-right { width: 320px; height: auto; }

  .why-grid { gap: 20px; }
  .why-card { padding: 32px; gap: 40px; }

  .cta-block {
    padding: 50px 40px;
    gap: 32px;
  }
  .cta-left { min-width: 0; }

  .doctors-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .pricing-grid {
    gap: 60px;
  }

  .footer .container {
    flex-wrap: wrap;
    gap: 40px;
  }
  .footer-left { width: 100%; }
  .footer-stats { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 16px 32px; }
  .footer-right { width: 100%; }
  .footer-col-services { width: auto; flex: 1 1 60%; }
  .footer-contacts-row { flex-wrap: wrap; gap: 32px; }
  .footer-addresses { width: 100%; }
  .footer-socials-cta { width: 100%; }
}

/* ----- Tablet portrait (≤991) ----- */
@media (max-width: 991px) {
  :root { --container-pad: 32px; }

  /* Top bar — hide address, keep one phone + CTA */
  .top-bar { padding: 8px 0; }
  .top-bar .container { gap: 12px; flex-wrap: wrap; }
  .top-bar-left .address,
  .top-bar-left .more-link,
  .top-bar-left .icon { display: none; }
  .top-bar-left { display: none; }
  .top-bar-right {
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .top-bar-phone { font-size: 13px; gap: 6px; }
  .top-bar-phone:nth-of-type(2) { display: none; }
  .top-bar-btn { padding: 8px 14px; font-size: 13px; }

  /* Navbar — hamburger menu */
  .navbar { height: 64px; }
  .navbar .container { gap: 16px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FCFCFC;
    flex-direction: column;
    padding: 24px var(--container-pad);
    gap: 4px;
    align-items: stretch;
    transform: translateY(-12px);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links li {
    list-style: none;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid #ECECEC;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-toggle { display: flex; }

  /* Hero — stack text + image */
  .hero .container {
    flex-direction: column;
    align-items: stretch;
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .hero-left { max-width: 100%; padding-top: 0; }
  .hero-left h1 { font-size: 34px; max-width: 100%; }
  .hero-bullets { margin-bottom: 32px; }
  .hero-right { width: 100%; max-width: 100%; margin: 0; }
  .hero-photo-wrap { width: 100%; }
  .hero-photo-bg { display: none; }
  .hero-photo-overlay {
    height: auto;
    padding: 16px 24px;
    font-size: 15px;
  }

  /* Achievements — 2 col grid */
  .achievements .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }
  .achievement-item { gap: 12px; font-size: 16px; }
  .achievement-icon { width: 48px; height: 48px; padding: 11px; }

  /* Appointment block — stack vertically */
  .appointment-block {
    flex-direction: column;
    padding: 32px;
    gap: 28px;
  }
  .appointment-photos { width: 100%; justify-content: center; }
  .appointment-form { max-width: 100%; }
  .appointment-form h2 { font-size: 26px; }

  /* Symptoms */
  .symptoms-header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .symptoms-header-left h2 { font-size: 32px; }
  .symptoms-header-right {
    width: 280px;
    align-self: flex-end;
  }
  .symptom-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Why */
  .why-section { padding: 60px 0; }
  .why-section h2 { font-size: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-card { padding: 24px; min-height: 220px; gap: 32px; }
  .why-card-body h4 { font-size: 20px; }

  /* CTA "Не знаете" */
  .cta-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
  }
  .cta-left { width: 100%; }
  .cta-left h2 { font-size: 32px; }
  .cta-buttons { justify-content: center; }
  .cta-right { width: 100%; max-width: 360px; height: 240px; }

  /* Doctors */
  .doctors-section { padding: 60px 0; }
  .doctors-header-left h2 { font-size: 32px; }
  .doctors-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .doctor-card { padding: 14px 14px 20px; }

  /* Pricing + Reviews */
  .pricing-section { padding: 40px 0 60px; }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-left h2 { font-size: 24px; }
  .reviews-card { max-width: 100%; min-height: 0; }

  /* Blue CTA bar */
  .blue-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    gap: 20px;
  }
  .blue-cta-illustration { width: 160px; height: 140px; }
  .blue-cta-title { font-size: 24px; }
  .blue-cta-actions { flex-wrap: wrap; justify-content: center; }

  /* FAQ */
  .qa-section { padding: 60px 0; }
  .qa-section h2 { font-size: 32px; }
  .qa-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contacts */
  .contacts-section { padding: 40px 0; }
  .contacts-card {
    margin: 0 var(--container-pad);
    max-width: 100%;
    padding: 32px 24px 40px;
  }
  .contacts-card h2 { font-size: 32px; }
  .map-pin { display: none; }

  /* Footer */
  .footer { padding: 60px 0 0; }
  .footer .container { flex-direction: column; }
  .footer-left,
  .footer-right { width: 100%; }
  .footer-stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .footer-top-row {
    flex-direction: column;
    gap: 24px;
  }
  .footer-col-services { width: 100%; }
  .footer-services-grid { gap: 12px; }
  .footer-contacts-row {
    flex-direction: column;
    gap: 32px;
  }
  .footer-addresses { width: 100%; }
  .footer-socials-cta { width: 100%; }
  .footer-copyright {
    padding: 18px var(--container-pad);
    text-align: left;
  }

  /* Blue CTA bar — phone button overflow */
  .btn-cta-yellow,
  .btn-cta-outline { padding: 0 22px; height: 48px; font-size: 14px; }
}

/* ----- Mobile (≤767) ----- */
@media (max-width: 767px) {
  :root { --container-pad: 16px; }

  /* Top bar — hide entirely on mobile, replaced by floating call button + menu CTA */
  .top-bar { display: none; }

  /* Hero */
  .hero-left h1 { font-size: 28px; }
  .hero-left .subtitle { font-size: 16px; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .hero-photo-overlay { font-size: 13px; padding: 12px 16px; }

  /* Achievements */
  .achievements .container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .achievement-item { font-size: 15px; }

  /* Appointment */
  .appointment-block { padding: 24px 20px; border-radius: 24px; }
  .appointment-form h2 { font-size: 22px; }
  .appointment-photos { transform: scale(0.85); transform-origin: center; }
  .phone-input-wrap { padding: 4px 8px; min-height: 50px; }
  .phone-input-left { padding-right: 12px; }
  .phone-input-right { padding-left: 12px; }
  .phone-input-field { width: 100px; font-size: 14px; }
  .btn-yellow { padding: 14px 20px; font-size: 14px; }

  /* Symptoms */
  .symptoms-header { padding-top: 60px; }
  .symptoms-header-left h2 { font-size: 26px; }
  .symptoms-header-left p { font-size: 16px; }
  .symptoms-header-right { display: none; }
  .symptom-grid { grid-template-columns: 1fr; gap: 12px; }
  .symptom-card { padding: 16px; gap: 12px; }
  .symptom-card-icon { width: 50px; height: 50px; }
  .symptom-card-content h4 { font-size: 16px; }

  /* Why */
  .why-section { padding: 48px 0; }
  .why-section h2 { font-size: 26px; margin-bottom: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; gap: 20px; }
  .why-card-body { margin-top: 0; }

  /* CTA */
  .cta-section { padding: 16px var(--container-pad); }
  .cta-block { padding: 32px 24px; border-radius: 24px; }
  .cta-left h2 { font-size: 24px; }
  .cta-left p { font-size: 16px; margin-bottom: 24px; }
  .cta-buttons { flex-direction: column; width: 100%; gap: 12px; }
  .cta-buttons .btn-yellow-lg,
  .cta-buttons .btn-white-outline { width: 100%; padding: 14px 20px; }
  .cta-right { display: none; }

  /* Doctors */
  .doctors-grid { grid-template-columns: 1fr; gap: 20px; }
  .doctors-controls { flex-wrap: wrap; gap: 12px; max-width: 100%; }

  /* Pricing */
  .pricing-section { padding: 32px 0 48px; }
  .pricing-buttons { flex-direction: column; gap: 12px; }
  .pricing-buttons .btn-primary,
  .pricing-buttons .btn-outline { width: 100%; }

  /* Reviews */
  .reviews-rating { position: static; justify-content: flex-end; margin-bottom: 16px; }
  .review-item { padding-left: 76px; }
  .review-avatar { width: 56px; height: 56px; }
  .review-text { font-size: 14px; }

  /* Blue CTA bar */
  .blue-cta-title { font-size: 20px; }
  .blue-cta-actions { gap: 8px; }
  .btn-cta-yellow,
  .btn-cta-outline { width: 100%; }

  /* FAQ */
  .qa-section h2 { font-size: 26px; }
  .qa-section .section-subtitle { font-size: 15px; }
  .qa-question { font-size: 16px; padding: 16px 48px 16px 16px; }
  .qa-toggle-btn { right: 16px; top: 16px; }
  .qa-cta-card { padding: 24px 16px; }
  .qa-cta-card h4 { font-size: 20px; }

  /* Contacts */
  .contacts-card { padding: 24px 20px 32px; gap: 20px; }
  .contacts-card h2 { font-size: 26px; }
  .contact-social-item { font-size: 16px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer .container { gap: 32px; }
  .footer-logo img { max-height: 56px; }
  .footer-desc { font-size: 16px; }
  .footer-services-grid { flex-direction: column; gap: 0; }
  .footer-services-col li a,
  .footer-nav li a { font-size: 15px; }
  .footer-social-link { font-size: 16px; gap: 12px; }
  .footer-cta-btn { width: 100%; padding: 14px 20px; }
  .footer-copyright { font-size: 12px; padding: 14px var(--container-pad); }

  /* Floating call */
  .floating-call-btn { right: 16px; bottom: 16px; }
}

/* ----- Small mobile (≤479) ----- */
@media (max-width: 479px) {
  .hero-left h1 { font-size: 24px; line-height: 1.2; }
  .hero-bullets li { font-size: 14px; }
  .achievement-item { font-size: 14px; }
  .achievement-icon { width: 42px; height: 42px; padding: 10px; }
  .top-bar .container { gap: 8px; }
  .top-bar-phone:nth-child(2) { display: none; }
  .symptoms-header-left h2,
  .why-section h2,
  .doctors-header-left h2,
  .qa-section h2,
  .contacts-card h2 { font-size: 22px; }
  .pricing-left h2 { font-size: 20px; }
  .blue-cta-title { font-size: 18px; }
  .cta-left h2 { font-size: 20px; }
  .appointment-form h2 { font-size: 20px; }
  .price-list li { font-size: 16px; }
  .review-text { -webkit-line-clamp: 4; }
}

/* ==========================================================================
   RESPONSIVE — INNER PAGES
   ========================================================================== */

/* ----- ≤1199 — soft compaction ----- */
@media (max-width: 1199px) {
  /* Catalog hero */
  .catalog-hero { padding: 32px 0 48px; }
  .catalog-hero .container { gap: 32px; }
  .catalog-hero-left { width: auto; flex: 1; min-height: auto; }
  .catalog-hero-left h1 { font-size: 28px; width: 100%; }
  .catalog-hero-right { width: 380px; }
  .collage-img-3 { width: 180px; height: 280px; }

  /* Service cards */
  .service-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }

  /* Conditions */
  .conditions-section { padding: 60px 0; }
  .conditions-grid { gap: 24px; }
  .condition-card { padding: 28px; height: auto; min-height: 200px; }
  .condition-card.cta-condition { padding: 32px; gap: 24px; height: auto; }
  .cta-condition-right { width: 320px; height: 240px; }
  .cta-condition-left h3 { font-size: 32px; }

  /* Indications */
  .indications-section { padding: 60px var(--container-pad, 60px); }
  .indications-grid { gap: 24px 48px; }

  /* Steps */
  .steps-section { padding: 60px 0; }

  /* Doctor profile */
  .doctor-profile .container { gap: 40px; }
  .doctor-profile-photo { width: 320px; }
  .doctor-profile-name { font-size: 32px; }

  /* Symptom hero */
  .symptom-hero .container { gap: 32px; }
  .symptom-hero-left h1 { font-size: 32px; }
  .symptom-hero-photo,
  .symptom-hero-photo-wrap { width: 380px; }

  /* Prices */
  .prices-hero { padding: 40px; }
  .prices-hero-left h1 { font-size: 32px; }

  /* Article */
  .article-section,
  .article-section-full { font-size: 16px; }
}

/* ----- ≤991 — tablet stacking ----- */
@media (max-width: 991px) {
  /* Catalog hero */
  .catalog-hero { padding: 24px 0 40px; }
  .catalog-hero .container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .catalog-hero-left h1 { font-size: 28px; }
  .catalog-hero-right { width: 100%; max-width: 600px; align-self: center; }
  .collage-img-3 { width: 200px; height: 280px; }
  .catalog-call-btn { display: none; }

  /* Filters bar */
  .catalog-filters-bar {
    flex-wrap: wrap;
    gap: 16px 20px;
    padding: 16px 20px;
    width: 100%;
  }
  .filter-item { font-size: 16px; }

  /* Catalog tabs */
  .catalog-tabs { gap: 8px; }
  .catalog-tab { padding: 8px 16px; font-size: 14px; }
  .catalog-tab-icon { width: 40px; height: 36px; }

  /* Service cards */
  .service-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .service-card { height: auto; min-height: 380px; }

  /* Conditions */
  .conditions-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .condition-card.cta-condition { grid-column: span 2; flex-direction: column; text-align: center; height: auto; align-items: stretch; }
  .cta-condition-right { width: 100%; height: 200px; align-self: center; }
  .cta-condition-buttons { justify-content: center; flex-wrap: wrap; }

  /* Indications */
  .indications-section { padding: 48px 24px; }
  .indications-top { flex-direction: column; gap: 32px; }
  .indications-left { width: 100%; }
  .indications-grid { grid-template-columns: 1fr 1fr; gap: 16px 32px; }
  .indications-section h2 { font-size: 30px; margin-bottom: 24px; }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  .step-arrow { display: none !important; }

  /* Duration */
  .duration-layout { flex-direction: column; gap: 32px; }
  .duration-right { flex-direction: row; }

  /* Results */
  .results-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Service pricing */
  .service-pricing { padding: 48px 0; }

  /* Equipment */
  .equipment-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Recommended services */
  .rec-services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Doctor profile */
  .doctor-profile { padding: 32px 0 48px; }
  .doctor-profile .container { flex-direction: column; gap: 32px; align-items: stretch; }
  .doctor-profile-photo { width: 100%; max-width: 360px; align-self: center; aspect-ratio: 1; height: auto; }
  .doctor-profile-name { font-size: 28px; }
  .doctor-profile-buttons { flex-wrap: wrap; }

  /* Certificates */
  .cert-section { padding: 48px 0; }
  .cert-photos-stack { flex-wrap: wrap; justify-content: center; }

  /* Directions / Procedures */
  .directions-grid,
  .procedures-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }

  /* Doctor reviews */
  .reviews-grid { grid-template-columns: 1fr !important; gap: 16px; }

  /* Symptom hero */
  .symptom-hero { padding: 32px 0 48px; }
  .symptom-hero .container { flex-direction: column; gap: 32px; }
  .symptom-hero-left h1 { font-size: 28px; }
  .symptom-hero-photo,
  .symptom-hero-photo-wrap { width: 100%; max-width: 540px; align-self: center; }
  .symptom-hero-buttons { flex-wrap: wrap; }

  /* Exams */
  .exams-grid { grid-template-columns: 1fr 1fr !important; }

  /* Prices */
  .prices-hero-wrapper { padding: 24px var(--container-pad, 32px); }
  .prices-hero { flex-direction: column; align-items: stretch; padding: 32px; gap: 24px; }
  .prices-hero-photo { width: 100%; height: 220px; }
  .prices-hero-left h1 { font-size: 28px; }
  .prices-full-section { padding: 48px 0; }
  .price-group-card { padding: 24px; }

  /* Article */
  .article-header-section { padding: 32px 0; }
  .article-title { font-size: 32px !important; }
  .article-toc-row { flex-direction: column !important; gap: 24px; }
  .article-main-image,
  .article-toc { width: 100% !important; }
  .article-body { padding: 32px 0 !important; }
  .article-section,
  .article-section-full { padding: 0 !important; }
  .warning-banner { padding: 16px var(--container-pad, 32px) !important; }
}

/* ----- ≤767 — mobile ----- */
@media (max-width: 767px) {
  /* Catalog hero */
  .catalog-hero-left h1 { font-size: 22px; }
  .catalog-hero-buttons { flex-direction: column; align-items: stretch; }
  .catalog-hero-right { display: none; }

  /* Filters bar */
  .catalog-filters-bar { font-size: 14px; padding: 12px 16px; gap: 12px 16px; }
  .filter-label { font-size: 16px; }
  .filter-item { font-size: 14px; gap: 8px; }

  /* Catalog tabs */
  .catalog-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .catalog-tab { white-space: nowrap; flex-shrink: 0; }

  /* Service cards */
  .service-cards-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card-img { aspect-ratio: 16/9; }
  .service-card-bottom { flex-direction: column; align-items: stretch; gap: 8px; }
  .service-card-bottom .btn-book,
  .service-card-bottom .btn-detail { width: 100%; padding: 12px 24px; }

  /* Conditions */
  .conditions-section { padding: 48px 0; }
  .conditions-section h2 { font-size: 24px; margin-bottom: 24px; }
  .conditions-grid { grid-template-columns: 1fr; }
  .condition-card { min-height: 0; padding: 20px; gap: 12px; }
  .condition-card h4 { font-size: 18px; }
  .condition-card.cta-condition { grid-column: span 1; padding: 24px; }
  .cta-condition-left h3 { font-size: 24px; }
  .cta-condition-right { display: none; }

  /* Indications */
  .indications-section { padding: 40px 16px; }
  .indications-section h2 { font-size: 24px; }
  .indications-subtitle { font-size: 18px; }
  .indications-grid { grid-template-columns: 1fr; gap: 16px; }
  .indication-item { font-size: 14px; }

  /* Steps */
  .steps-section h2 { font-size: 24px; }
  .steps-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Duration */
  .duration-section { padding: 40px 0 !important; }
  .duration-section h2 { font-size: 24px; }
  .duration-right { flex-direction: column; }

  /* Results */
  .results-grid { grid-template-columns: 1fr; }
  .results-section h2 { font-size: 24px; }

  /* Service pricing */
  .service-pricing { padding: 32px 0; }
  .service-pricing h2 { font-size: 24px; }
  .service-price-value { font-size: 22px !important; }

  /* Equipment */
  .equipment-grid { grid-template-columns: 1fr; }

  /* Rec services */
  .rec-services-grid { grid-template-columns: 1fr; }

  /* Doctor profile */
  .doctor-profile-name { font-size: 24px; }
  .doctor-profile-photo { width: 100%; max-width: 100%; aspect-ratio: 4/5; }
  .doctor-profile-buttons { flex-direction: column; align-items: stretch; }
  .doctor-profile-buttons > * { width: 100%; }

  /* Directions / Procedures */
  .directions-grid,
  .procedures-grid { grid-template-columns: 1fr !important; }

  /* Symptom hero */
  .symptom-hero-left h1 { font-size: 22px; }
  .symptom-hero-buttons { flex-direction: column; align-items: stretch; }
  .symptom-hero-buttons > * { width: 100%; }

  /* Exams */
  .exams-grid { grid-template-columns: 1fr !important; }

  /* Prices */
  .prices-hero { padding: 24px; }
  .prices-hero-left h1 { font-size: 24px; }
  .prices-full-section h2 { font-size: 24px; }
  .price-group-card { padding: 16px; }

  /* Article */
  .article-title { font-size: 24px !important; }
  .article-section h2,
  .article-section-full h2 { font-size: 22px !important; }
  .warning-banner p { font-size: 14px !important; }

  /* Doctor reviews */
  .doctor-reviews-section h2 { font-size: 24px; }
}

/* ===== REVIEWS PAGE GRID ===== */
.reviews-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.reviews-page-card {
  background: #fff;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reviews-page-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.reviews-page-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  background: #EDF4FC;
  flex-shrink: 0;
}
.reviews-page-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reviews-page-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.reviews-page-name {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 1.2;
}
.reviews-page-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.reviews-page-date {
  font-family: 'Lexend', sans-serif;
  font-size: 12px;
  color: #3A4563;
  margin-left: 6px;
}
.reviews-page-text {
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  color: #3A4563;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 767px) {
  .reviews-page-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CUSTOM PAGES — beautiful design
   ========================================================================== */

/* === ABOUT PAGE === */
.about-stats {
  padding: 60px 0;
  background: #FCFCFC;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.about-stat-icon {
  width: 60px;
  height: 60px;
  background: #EDF4FC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-stat-num {
  font-family: 'Lexend', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #1B396D;
  line-height: 1;
}
.about-stat-label {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #3A4563;
  line-height: 1.3;
}
@media (max-width: 991px) { .about-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .about-stats-grid { grid-template-columns: 1fr; } }

.about-content-section {
  padding: 60px 0;
  background: #fff;
}
.about-content-inner {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  color: #3A4563;
  line-height: 1.7;
}
.about-content-inner h3 {
  font-size: 28px;
  font-weight: 600;
  color: #000;
  margin: 32px 0 16px;
}
.about-content-inner ul {
  padding-left: 0;
  list-style: none;
}
.about-content-inner ul li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
}
.about-content-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background: #1580EB;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M6 11L2 7l1-1 3 3 7-7 1 1z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.about-values {
  padding: 80px 0;
  background: #EDF4FC;
}
.about-values h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.about-value-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.about-value-num {
  font-family: 'Lexend', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(27, 57, 109, 0.12);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 28px;
}
.about-value-card h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1B396D;
  margin: 0;
}
.about-value-card p {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #3A4563;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 767px) {
  .about-values { padding: 48px 0; }
  .about-values h2 { font-size: 28px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-value-card { padding: 24px; }
}

/* === LICENSES PAGE === */
.licenses-cards-section {
  padding: 80px 0;
  background: #FCFCFC;
}
.licenses-cards-section h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #000;
  margin: 0 0 40px;
  text-align: center;
}
.licenses-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.licenses-card {
  background: linear-gradient(135deg, #fff 0%, #F4F9FF 100%);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  border: 1px solid rgba(27, 57, 109, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.licenses-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27, 57, 109, 0.12);
}
.licenses-card-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Lexend', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(27, 57, 109, 0.10);
  line-height: 1;
}
.licenses-card h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1B396D;
  margin: 0 60px 12px 0;
}
.licenses-card p {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #3A4563;
  line-height: 1.5;
  margin: 0;
}
.licenses-files-section {
  padding: 60px 0;
  background: #EDF4FC;
}
.licenses-files-section h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 32px;
  text-align: center;
}
.licenses-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.licenses-file-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.licenses-file-img {
  aspect-ratio: 3/4;
  background: #F4F9FF;
}
.licenses-file-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.licenses-file-caption {
  padding: 14px 20px;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #3A4563;
}
@media (max-width: 767px) {
  .licenses-cards-section { padding: 48px 0; }
  .licenses-cards-section h2 { font-size: 26px; }
  .licenses-cards-grid { grid-template-columns: 1fr; }
  .licenses-card { padding: 24px; }
  .licenses-card h4 { font-size: 18px; }
}

/* === BRANCHES PAGE === */
.branches-section {
  padding: 60px 0;
  background: #FCFCFC;
}
.branches-city {
  margin-bottom: 60px;
}
.branches-city:last-child { margin-bottom: 0; }
.branches-city-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #EDF4FC;
}
.branches-city-head h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #000;
  margin: 0;
}
.branches-city-phone {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #1580EB;
  text-decoration: none;
}
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.branches-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.branches-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(27, 57, 109, 0.12);
}
.branches-card-pin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F3E825;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.branches-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.branches-card-body h4 {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1B396D;
  margin: 0;
}
.branches-card-body p {
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  color: #3A4563;
  line-height: 1.5;
  margin: 0;
}
.branches-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.branches-card-link {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  color: #1580EB;
  text-decoration: none;
}
.branches-card-cta {
  background: #1B396D;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.branches-card-cta:hover { background: #152d57; }
@media (max-width: 767px) {
  .branches-city-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .branches-city-head h2 { font-size: 26px; }
  .branches-card { padding: 20px; gap: 14px; }
}

/* ==========================================================================
   SERVICE SINGLE — fix sections that had no base styles
   ========================================================================== */

.indications-section {
  background: #1B396D !important;
  padding: 64px var(--container-pad, 140px) !important;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.indications-section::before { display: none !important; }
.indications-section h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}
.indications-section .indications-subtitle {
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
}
.indications-section .indications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  margin: 0 0 24px;
}
.indications-section .indication-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.indications-section .indication-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 208, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.indications-section .indication-item-icon svg { width: 26px; height: 26px; }
.indications-section .indication-item-text {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  width: auto;
}
.indications-section .indications-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFD000;
  border-radius: 12px;
  padding: 10px 18px;
  color: #000;
  font-size: 15px;
  margin: 8px 0 0;
}
.indications-section .contra-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.indications-section .contra-title {
  font-family: 'Lexend', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.indications-section .contra-desc {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 24px;
}

/* Duration section — fix layout when only text */
.duration-section {
  background: #fff;
  padding: 64px 0;
}
.duration-section .container { max-width: 1280px; margin: 0 auto; padding: 0 var(--container-pad, 140px); }
.duration-section h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin: 0 0 20px;
}
.duration-section .duration-text {
  font-family: 'Lexend', sans-serif;
  font-size: 17px;
  color: #3A4563;
  line-height: 1.6;
  margin: 0 0 16px;
}
.duration-section h3 {
  font-family: 'Lexend', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1B396D;
  margin: 24px 0 12px;
}
.duration-section .prep-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.duration-section .prep-list li {
  font-family: 'Lexend', sans-serif;
  padding-left: 28px;
  position: relative;
  color: #3A4563;
  font-size: 16px;
  line-height: 1.5;
}
.duration-section .prep-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFD000;
}
.duration-note-box {
  background: #FFF8E1;
  border-left: 4px solid #FFD000;
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  color: #3A4563;
  line-height: 1.5;
}

/* Results section — proper grid layout */
.results-section {
  background: #EDF4FC;
  padding: 64px 0;
}
.results-section .container { max-width: 1280px; margin: 0 auto; padding: 0 var(--container-pad, 140px); }
.results-section h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin: 0 0 32px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.result-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #1B396D;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.result-item img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.result-item::before {
  content: '✓';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1B396D;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}
.result-item img + ::before { display: none; }

/* Service pricing — base styles */
.service-pricing {
  background: #fff;
  padding: 64px 0;
}
.service-pricing .container { max-width: 1280px; margin: 0 auto; padding: 0 var(--container-pad, 140px); }
.service-pricing h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin: 0 0 24px;
}
.service-price-value {
  font-family: 'Lexend', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1B396D;
  line-height: 1.1;
  margin: 0 0 12px;
}
.service-price-includes {
  background: #F4F9FF;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 16px 0 24px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: #3A4563;
  line-height: 1.6;
}
.service-price-includes ul {
  margin: 0;
  padding: 0 0 0 20px;
}
.service-price-includes li { margin-bottom: 4px; }
.service-pricing > .container > .btn-primary {
  margin-top: 8px;
}

@media (max-width: 991px) {
  .indications-section { padding: 48px 24px !important; }
  .indications-section .indications-grid { grid-template-columns: 1fr; gap: 12px; }
  .indications-section h2 { font-size: 28px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .duration-section { padding: 48px 0; }
}
@media (max-width: 767px) {
  .indications-section { padding: 36px 16px !important; }
  .indications-section h2 { font-size: 24px; }
  .results-grid { grid-template-columns: 1fr; }
  .service-price-value { font-size: 28px; }
}
