/* Modern Gastroenterology Page Styles - Warm Beige + Emerald Design */
/* Same palette as CardiologyPage.modern.css */

/* ========== CSS Variables ========== */
:root {
  --primary: #1B5E45;
  --primary-light: #2D7A5F;
  --primary-dark: #124734;
  --primary-soft: rgba(27, 94, 69, 0.08);
  --primary-medium: rgba(27, 94, 69, 0.15);
  --accent-warm: #E8B86D;
  --accent-coral: #F4A261;
  --bg-warm: #FEFCF8;
  --bg-cream: #FDF9F3;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --text-dark: #1A2E1A;
  --text-medium: #3D5A3D;
  --text-light: #6B8B6B;
  --shadow-soft: 0 4px 20px rgba(27, 94, 69, 0.08);
  --shadow-medium: 0 8px 32px rgba(27, 94, 69, 0.12);
  --shadow-strong: 0 20px 60px rgba(27, 94, 69, 0.15);
}

/* ========== Hero Section - Modern Organic Design ========== */
.specialty-hero {
  background: linear-gradient(135deg, #FEFCF8 0%, #F5FAF8 50%, #E8F5F0 100%);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Organic Background Shapes */
.specialty-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 94, 69, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-organic 8s ease-in-out infinite;
}

.specialty-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 184, 109, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-organic 10s ease-in-out infinite reverse;
}

@keyframes pulse-organic {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.specialty-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Modern Badge */
.specialty-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.specialty-hero__badge-dot {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(27, 94, 69, 0.4);
  }
  50% { 
    opacity: 0.8; 
    transform: scale(1.1);
    box-shadow: 0 0 20px 5px rgba(27, 94, 69, 0.2);
  }
}

/* Modern Typography */
.specialty-hero__title {
  font-size: 64px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.specialty-hero__title em {
  color: var(--primary);
  font-style: normal;
  position: relative;
}

.specialty-hero__title em::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, rgba(27, 94, 69, 0.2), rgba(232, 184, 109, 0.3));
  border-radius: 4px;
  z-index: -1;
}

.specialty-hero__subtitle {
  font-size: 20px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  font-weight: 400;
}

/* Glassmorphism Feature Cards */
.specialty-hero__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.specialty-hero__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.specialty-hero__feature:hover {
  background: white;
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-medium);
  border-color: rgba(27, 94, 69, 0.2);
}

.specialty-hero__feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(27, 94, 69, 0.3);
}

.specialty-hero__feature span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Modern CTA Buttons */
.specialty-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual - Enhanced Blob Design */
.specialty-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (min-width: 1280px) {
  .hero__image-wrapper {
    max-width: 620px;
  }
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero__blob-bg {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 94, 69, 0.08) 0%, rgba(232, 184, 109, 0.06) 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blob-morph 10s ease-in-out infinite;
}

@keyframes blob-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
  }
  75% {
    border-radius: 60% 30% 60% 40% / 70% 40% 50% 60%;
  }
}

.hero__deco-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27, 94, 69, 0.1), rgba(232, 184, 109, 0.1));
}

.hero__deco-circle--1 {
  width: 180px;
  height: 180px;
  top: -60px;
  right: -20px;
  animation: float-circle 7s ease-in-out infinite;
}

.hero__deco-circle--2 {
  width: 100px;
  height: 100px;
  bottom: -10px;
  left: -60px;
  animation: float-circle 5s ease-in-out infinite reverse;
}

.hero__deco-circle--3 {
  width: 60px;
  height: 60px;
  top: 40%;
  right: -70px;
  animation: float-circle 6s ease-in-out infinite;
}

@keyframes float-circle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero__image-container {
  position: relative;
  z-index: 1;
}

.hero__image-blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  box-shadow: 
    0 30px 80px rgba(27, 94, 69, 0.25),
    0 10px 30px rgba(27, 94, 69, 0.1);
  animation: blob-morph 10s ease-in-out infinite;
  border: 8px solid white;
  position: relative;
}

.hero__image-blob::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(27, 94, 69, 0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__image-blob:hover .hero__img {
  transform: scale(1.05);
}

/* ========== Why Section - Glassmorphism Cards ========== */
.why-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, white 50%, var(--bg-warm) 100%);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27, 94, 69, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.why-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232, 184, 109, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

/* Modern Section Headers */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 400;
}

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

.why-section__card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.why-section__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-warm));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.why-section__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
  background: white;
}

.why-section__card:hover::before {
  transform: scaleX(1);
}

.why-section__card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
  box-shadow: 0 10px 30px rgba(27, 94, 69, 0.3);
  transition: transform 0.4s ease;
}

.why-section__card:hover .why-section__card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.why-section__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.why-section__card-text {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ========== Services Section - Modern Accordion ========== */
.services-section {
  padding: 120px 0;
  background: white;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 94, 69, 0.1), transparent);
}

.services-section__accordion {
  max-width: 900px;
  margin: 60px auto 0;
}

.services-section__item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.services-section__item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateX(4px);
}

.services-section__item--active {
  border-color: rgba(27, 94, 69, 0.3);
  box-shadow: var(--shadow-strong);
  background: white;
  transform: scale(1.01);
}

.services-section__header {
  width: 100%;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.services-section__header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.services-section__header-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(27, 94, 69, 0.1), rgba(27, 94, 69, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.services-section__item--active .services-section__header-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  transform: scale(1.1);
}

.services-section__header-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.services-section__header-desc {
  font-size: 14px;
  color: var(--text-light);
}

.services-section__header-arrow {
  width: 44px;
  height: 44px;
  background: rgba(27, 94, 69, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-section__item--active .services-section__header-arrow {
  transform: rotate(180deg);
  background: var(--primary);
  color: white;
}

.services-section__content {
  padding: 0 32px 32px;
}

.services-section__description {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 24px;
}

.services-section__includes {
  background: linear-gradient(135deg, rgba(27, 94, 69, 0.03), rgba(232, 184, 109, 0.03));
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(27, 94, 69, 0.08);
}

.services-section__includes h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-section__includes ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.services-section__includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-medium);
}

.services-section__includes li i {
  color: var(--primary);
  font-size: 12px;
  width: 20px;
  height: 20px;
  background: rgba(27, 94, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-section__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 94, 69, 0.1);
}

.services-section__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(27, 94, 69, 0.3);
}

.services-section__btn:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(27, 94, 69, 0.4);
}

/* ========== Endoscopy Diagnostics Cross-link Section ========== */
.diagnostics-promo {
  padding: 120px 0;
  background: linear-gradient(135deg, #F5FAF8 0%, var(--bg-warm) 50%, #E8F5F0 100%);
  position: relative;
  overflow: hidden;
}

.diagnostics-promo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(27, 94, 69, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.diagnostics-promo__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.diagnostics-promo__text h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.diagnostics-promo__text p {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.diagnostics-promo__list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.diagnostics-promo__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.6;
  border-bottom: 1px solid rgba(27, 94, 69, 0.06);
}

.diagnostics-promo__list li:last-child {
  border-bottom: none;
}

.diagnostics-promo__list li i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.diagnostics-promo__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 18px 36px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(27, 94, 69, 0.3);
}

.diagnostics-promo__link:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 40px rgba(27, 94, 69, 0.4);
}

.diagnostics-promo__link i {
  transition: transform 0.3s ease;
}

.diagnostics-promo__link:hover i {
  transform: translateX(4px);
}

.diagnostics-promo__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.diagnostics-promo__card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(27, 94, 69, 0.1);
  max-width: 420px;
  transition: all 0.4s ease;
}

.diagnostics-promo__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(27, 94, 69, 0.2);
}

.diagnostics-promo__card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.diagnostics-promo__card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.diagnostics-promo__card p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 20px;
}

.diagnostics-promo__card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.diagnostics-promo__card-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-medium);
}

.diagnostics-promo__card-feature i {
  color: var(--primary);
  font-size: 14px;
  width: 24px;
  height: 24px;
  background: rgba(27, 94, 69, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========== CTA Banner ========== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 184, 109, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: 38px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-banner__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-banner__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-banner__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--primary);
  padding: 18px 40px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta-banner__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.cta-banner__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: white;
  padding: 18px 40px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-banner__btn-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}

/* ========== When to Visit - Modern Grid ========== */
.when-to-visit {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-warm) 0%, #F5FAF8 50%, var(--bg-cream) 100%);
  position: relative;
  overflow: hidden;
}

.when-to-visit::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to top, rgba(27, 94, 69, 0.03), transparent);
}

.when-to-visit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.when-to-visit__card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.when-to-visit__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transition: height 0.4s ease;
  z-index: 0;
}

.when-to-visit__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.when-to-visit__card:hover::after {
  height: 6px;
}

.when-to-visit__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
  box-shadow: 0 10px 30px rgba(27, 94, 69, 0.3);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.when-to-visit__card:hover .when-to-visit__icon {
  transform: scale(1.15) rotate(10deg);
}

.when-to-visit__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.when-to-visit__text {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.when-to-visit__cta {
  text-align: center;
  margin-top: 60px;
  padding: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 1;
}

.when-to-visit__cta-text {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

/* ========== Reviews Section - Glassmorphism Cards ========== */
.reviews-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-cream) 0%, white 100%);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(27, 94, 69, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.reviews-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.reviews-section__card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-section__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  background: white;
}

.reviews-section__card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.reviews-section__card-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(27, 94, 69, 0.3);
}

.reviews-section__card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.reviews-section__card-rating {
  display: flex;
  gap: 4px;
}

.reviews-section__card-rating i {
  color: #ddd;
  font-size: 14px;
  transition: color 0.3s ease;
}

.reviews-section__card-rating i.filled {
  color: var(--accent-warm);
}

.reviews-section__card-text {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.reviews-section__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 94, 69, 0.1);
}

.reviews-section__card-date {
  font-size: 13px;
  color: var(--text-light);
}

.reviews-section__card-verified {
  font-size: 13px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
  .specialty-hero__content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .specialty-hero__title {
    font-size: 48px;
  }
  
  .specialty-hero__subtitle {
    margin: 0 auto 40px;
  }
  
  .specialty-hero__features {
    max-width: 500px;
    margin: 0 auto 40px;
  }
  
  .specialty-hero__cta {
    justify-content: center;
  }
  
  .hero__image-wrapper {
    max-width: 450px;
  }
  
  .why-section__grid,
  .when-to-visit__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagnostics-promo__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diagnostics-promo__text {
    text-align: center;
  }

  .diagnostics-promo__link {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .specialty-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .specialty-hero__title {
    font-size: 36px;
  }
  
  .specialty-hero__features {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .why-section__grid,
  .when-to-visit__grid {
    grid-template-columns: 1fr;
  }
  
  .services-section__includes ul {
    grid-template-columns: 1fr;
  }
  
  .reviews-section__grid {
    grid-template-columns: 1fr;
  }
  
  .when-to-visit__cta {
    padding: 36px 24px;
  }

  .cta-banner__title {
    font-size: 28px;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }

  .diagnostics-promo__card-features {
    grid-template-columns: 1fr;
  }

  .diagnostics-promo__card {
    padding: 30px;
  }
}

/* ========== Animations on Scroll ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-section__card,
.services-section__item,
.reviews-section__card,
.when-to-visit__card {
  animation: fadeInUp 0.6s ease forwards;
}
