/* ==========================================================================
   KLARITY EYE CARE HOSPITAL — CORNEA CARE IN LUCKNOW STYLES
   Awwwards-Level Editorial Healthcare Digital Experience
   Metaphor: "Surface → Refraction → Focus → Clarity"
   Visual Language: Optical Curvature • Transparent Dome • Corneal Layers
   Guaranteed 100% Static Visibility First & Non-Breaking Layouts
   ========================================================================== */

/* --- 1. DESIGN TOKENS & CSS VARIABLES --- */
:root {
  /* Cornea Optical Palette */
  --cor-navy-deep: #050D1A;
  --cor-navy-primary: #0A192F;
  --cor-navy-surface: #0E203C;
  --cor-navy-card: #132746;
  --cor-navy-border: rgba(0, 180, 216, 0.22);
  
  --cor-blue-primary: #0066CC;
  --cor-blue-hover: #0052A3;
  --cor-blue-light: #EBF4FE;
  --cor-blue-subtle: #F0F7FF;
  
  --cor-cyan-vibrant: #00B4D8;
  --cor-aqua-pure: #00D2B4;
  --cor-teal-glow: rgba(0, 210, 180, 0.25);
  --cor-cyan-glow: rgba(0, 180, 216, 0.28);
  --cor-amber-alert: #F59E0B;
  
  --cor-surface-card: #FFFFFF;
  --cor-surface-subtle: #F8FAFC;
  --cor-surface-elevated: #FFFFFF;
  --cor-border-subtle: #E2E8F0;
  --cor-border-accent: rgba(0, 102, 204, 0.18);
  
  --cor-text-heading: #0F172A;
  --cor-text-body: #334155;
  --cor-text-muted: #64748B;
  --cor-text-light: #94A3B8;
  
  /* Typography */
  --cor-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --cor-font-mono: 'Space Grotesk', 'SF Mono', Consolas, monospace;
  
  /* Shadows & Glassmorphism */
  --cor-shadow-sm: 0 4px 14px rgba(10, 25, 47, 0.04);
  --cor-shadow-md: 0 12px 32px -4px rgba(10, 25, 47, 0.08);
  --cor-shadow-lg: 0 20px 48px -8px rgba(0, 102, 204, 0.14);
  --cor-shadow-dome-glow: 0 0 40px rgba(0, 210, 180, 0.22);
  
  /* Transitions */
  --cor-ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --cor-ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Page Base */
.cornea-page {
  background-color: var(--cor-surface-subtle);
  color: var(--cor-text-body);
  font-family: var(--cor-font-display);
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   GLOBAL HEADER & TOP UTILITY BAR (Exact Glaucoma/Myopia Approved Reference)
   ========================================================================== */
.cornea-page .top-bar {
  background: #0A192F;
  color: #CBD5E1;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1030;
  min-height: 38px;
}

.cornea-page .top-bar a {
  color: #E2E8F0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cornea-page .top-bar a:hover {
  color: #00B4D8;
}

.cornea-page .top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cornea-page .top-bar-item i {
  color: #00D2B4;
  font-size: 14px;
}

.cornea-page .social-link-top {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cornea-page .social-link-top:hover {
  background: #0066CC;
  transform: translateY(-2px);
}

.cornea-page .site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #FFFFFF;
  z-index: 1020;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.cornea-page .site-header.scrolled,
.cornea-page .site-header.is-sticky {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  height: 70px;
}

.cornea-page .navbar-brand img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.cornea-page .site-header.scrolled .navbar-brand img,
.cornea-page .site-header.is-sticky .navbar-brand img {
  height: 42px;
}

.cornea-page .nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #0F172A !important;
  padding: 8px 12px !important;
  border-radius: 8px;
  position: relative;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cornea-page .nav-link:hover,
.cornea-page .nav-link.active {
  color: #0066CC !important;
  background: rgba(0, 102, 204, 0.05);
}

.cornea-page .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #0066CC;
  border-radius: 2px;
}

.cornea-page .btn-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0A192F;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(10, 25, 47, 0.05);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cornea-page .btn-header-phone i {
  color: #0066CC;
  font-size: 15px;
}

.cornea-page .btn-header-phone:hover {
  background: #EBF4FE;
  border-color: rgba(0, 102, 204, 0.2);
  color: #0066CC;
}

.cornea-page .btn-klinik-primary {
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
  color: #FFFFFF !important;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25);
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
}

.cornea-page .btn-klinik-primary:hover {
  background: linear-gradient(135deg, #0052A3 0%, #003D7A 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.35);
}

.cornea-page .btn-klinik-primary i {
  transition: transform 0.2s ease;
}

.cornea-page .btn-klinik-primary:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   STATIC CONTENT SAFETY & VISIBILITY SYSTEM (NO-BLANK-SPACE GUARANTEE)
   ========================================================================== */
.cornea-hero,
.cor-intro-section,
.cor-conditions-section,
.cor-symptoms-section,
.cor-treatments-section,
.cor-diagnostics-section,
.cor-cost-section,
.cor-criteria-section,
.cor-insurance-section,
.cor-timeline-section,
.cor-when-see-section,
.cor-klarity-section,
.cor-related-section,
.cor-cta-section {
  position: relative;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  display: block;
}

.cor-condition-card,
.cor-treatment-panel,
.cor-diagnostic-card,
.cor-cost-card,
.cor-criteria-item,
.cor-insurance-card,
.cor-timeline-card,
.cor-signal-card,
.cor-related-card,
.cor-appointment-card,
.cor-optic-diagram-card {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================
   CUSTOM PAGE LOADER (Cornea Optic Dome Focus)
   ========================================================================== */
.cornea-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cor-navy-deep);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.4s var(--cor-ease-fluid), visibility 0.4s ease;
}

.cornea-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cornea-loader-optic {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cornea-loader-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(0, 180, 216, 0.35);
  animation: corSpin 10s linear infinite;
}

.cornea-loader-ring-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px solid #00D2B4;
  border-top-color: transparent;
  animation: corSpinReverse 2.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.cornea-loader-focal-dome {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #00E5C9 0%, #0066CC 100%);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(0, 210, 180, 0.9);
}

.cornea-loader-text {
  font-family: var(--cor-font-mono);
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cor-cyan-vibrant);
  font-weight: 700;
}

@keyframes corSpin {
  100% { transform: rotate(360deg); }
}
@keyframes corSpinReverse {
  100% { transform: rotate(-360deg); }
}

/* ==========================================================================
   SHARED TYPOGRAPHY & EDITORIAL BADGES
   ========================================================================== */
.cor-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--cor-blue-primary);
  font-family: var(--cor-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 102, 204, 0.18);
  margin-bottom: 16px;
}

.cor-badge-pill-light {
  background: rgba(0, 210, 180, 0.12);
  color: var(--cor-aqua-pure);
  border-color: rgba(0, 210, 180, 0.3);
}

.cor-section-heading {
  font-family: var(--cor-font-display);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 800;
  color: var(--cor-text-heading);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.cor-section-heading-dark {
  color: #FFFFFF;
}

.cor-section-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  color: var(--cor-text-muted);
  line-height: 1.68;
  max-width: 780px;
}

.cor-section-lead-dark {
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   01 — HERO SECTION: "Surface → Focus → Clarity"
   ========================================================================== */
.cornea-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  background: radial-gradient(120% 120% at 75% 20%, #0E254A 0%, var(--cor-navy-deep) 65%, #030810 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.cornea-hero-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.cor-optical-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 75% 35%, rgba(0, 180, 216, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0, 210, 180, 0.12) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
}

.cornea-hero-content {
  position: relative;
  z-index: 2;
}

.cor-hero-concept-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cor-font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cor-aqua-pure);
  background: rgba(0, 210, 180, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 210, 180, 0.25);
  margin-bottom: 20px;
}

.cornea-hero-h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: #FFFFFF;
}

.cornea-hero-h1 span {
  background: linear-gradient(135deg, #00D2B4 0%, #00B4D8 50%, #90E0EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cornea-hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin-bottom: 28px;
}

.cornea-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.cor-hero-metric-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: #E2E8F0;
}

.cor-hero-metric-item i {
  color: var(--cor-aqua-pure);
  font-size: 16px;
}

.cornea-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-cor-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 102, 204, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s var(--cor-ease-fluid);
}

.btn-cor-primary:hover {
  background: linear-gradient(135deg, #0052A3 0%, #003D7A 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.5);
  color: #FFFFFF;
}

.btn-cor-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-cor-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--cor-aqua-pure);
  border-color: var(--cor-aqua-pure);
}

/* Hero Visual Composition */
.cornea-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cor-dome-composition {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 4.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cor-dome-glass-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.5), var(--cor-shadow-dome-glow);
  overflow: hidden;
}

.cor-dome-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #061426;
}

.cor-dome-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) brightness(0.96);
  transition: transform 0.6s var(--cor-ease-fluid);
}

.cor-dome-glass-frame:hover .cor-dome-image-wrap img {
  transform: scale(1.03);
}

.cor-dome-refraction-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 13, 26, 0.85) 0%, rgba(5, 13, 26, 0.2) 40%, transparent 70%);
  pointer-events: none;
}

.cor-dome-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  padding: 14px 18px;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(0, 210, 180, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.cor-dome-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 210, 180, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cor-aqua-pure);
  font-size: 18px;
  flex-shrink: 0;
}

.cor-dome-badge-text small {
  display: block;
  font-family: var(--cor-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cor-cyan-vibrant);
}

.cor-dome-badge-text strong {
  font-size: 13.5px;
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================================
   02 — UNDERSTANDING THE CORNEA (OPTICAL ANATOMY DIAGRAM)
   ========================================================================== */
.cor-intro-section {
  padding: 100px 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--cor-border-subtle);
}

.cor-optic-diagram-card {
  background: var(--cor-navy-deep);
  border-radius: 24px;
  padding: 36px;
  color: #FFFFFF;
  box-shadow: var(--cor-shadow-md);
  border: 1px solid rgba(0, 180, 216, 0.2);
  position: relative;
  overflow: hidden;
}

.cor-optic-diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cor-diagram-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 24px;
}

.cor-diagram-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.cor-optical-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cor-flow-step-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cor-flow-step-box span {
  display: block;
  font-family: var(--cor-font-mono);
  font-size: 11px;
  color: var(--cor-aqua-pure);
  font-weight: 700;
  margin-bottom: 4px;
}

.cor-flow-step-box p {
  font-size: 12.5px;
  margin: 0;
  color: #E2E8F0;
  line-height: 1.4;
}

/* ==========================================================================
   03 — CONDITIONS THAT CAN AFFECT THE CORNEA (7 CONDITIONS EDITORIAL)
   ========================================================================== */
.cor-conditions-section {
  padding: 100px 0;
  background-color: var(--cor-surface-subtle);
}

.cor-conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.cor-condition-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--cor-border-subtle);
  box-shadow: var(--cor-shadow-sm);
  transition: all 0.3s var(--cor-ease-fluid);
  position: relative;
}

.cor-condition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cor-shadow-md);
  border-color: rgba(0, 102, 204, 0.3);
}

.cor-condition-num {
  font-family: var(--cor-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cor-blue-primary);
  background: var(--cor-blue-light);
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 14px;
}

.cor-condition-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--cor-text-heading);
  margin-bottom: 10px;
}

.cor-condition-card p {
  font-size: 0.95rem;
  color: var(--cor-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   04 — WHEN CORNEAL HEALTH NEEDS ATTENTION (WARNING SIGNALS)
   ========================================================================== */
.cor-symptoms-section {
  padding: 100px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--cor-border-subtle);
  border-bottom: 1px solid var(--cor-border-subtle);
}

.cor-symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.cor-signal-card {
  background: var(--cor-surface-subtle);
  border-radius: 16px;
  padding: 24px;
  border-left: 4px solid var(--cor-blue-primary);
  border: 1px solid var(--cor-border-subtle);
  border-left-width: 4px;
  transition: all 0.25s ease;
}

.cor-signal-card:hover {
  background: #FFFFFF;
  box-shadow: var(--cor-shadow-sm);
  border-left-color: var(--cor-aqua-pure);
}

.cor-signal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cor-signal-header i {
  color: var(--cor-amber-alert);
  font-size: 20px;
}

.cor-signal-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--cor-text-heading);
}

.cor-signal-card p {
  font-size: 0.92rem;
  color: var(--cor-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   05–08 — CORNEA TREATMENT OPTIONS (INTERACTIVE 3-MODALITY EXPLORER)
   ========================================================================== */
.cor-treatments-section {
  padding: 100px 0;
  background: radial-gradient(120% 120% at 50% 20%, #0B1F3D 0%, var(--cor-navy-deep) 70%, #030810 100%);
  color: #FFFFFF;
}

.cor-treatment-tabs-nav {
  display: flex;
  gap: 10px;
  margin: 36px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  overflow-x: auto;
}

.cor-treatment-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 10px 22px;
  color: #CBD5E1;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.cor-treatment-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.cor-treatment-tab-btn.is-active {
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.4);
}

.cor-treatment-tab-btn span.tab-idx {
  font-family: var(--cor-font-mono);
  font-size: 12px;
  opacity: 0.85;
}

.cor-treatment-panel {
  display: none;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(0, 180, 216, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cor-treatment-panel.is-active {
  display: block;
}

.cor-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.cor-panel-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cor-panel-info p.lead-text {
  font-size: 1.05rem;
  color: #E2E8F0;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cor-advantages-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  gap: 12px;
}

.cor-advantages-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: #CBD5E1;
}

.cor-advantages-list li i {
  color: var(--cor-aqua-pure);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cor-panel-cost-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(0, 210, 180, 0.25);
}

.cor-cost-label {
  font-family: var(--cor-font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cor-cyan-vibrant);
  margin-bottom: 6px;
}

.cor-cost-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.cor-cost-disclaimer {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ==========================================================================
   09 — ADVANCED CORNEA DIAGNOSTICS (4 PILLARS)
   ========================================================================== */
.cor-diagnostics-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.cor-diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.cor-diagnostic-card {
  background: var(--cor-surface-subtle);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--cor-border-subtle);
  box-shadow: var(--cor-shadow-sm);
  transition: all 0.3s ease;
}

.cor-diagnostic-card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: var(--cor-shadow-md);
  border-color: rgba(0, 102, 204, 0.25);
}

.cor-diag-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cor-blue-light);
  color: var(--cor-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.cor-diagnostic-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cor-text-heading);
  margin-bottom: 12px;
}

.cor-diagnostic-card p {
  font-size: 0.94rem;
  color: var(--cor-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   10 — CORNEA TREATMENT COST SECTION
   ========================================================================== */
.cor-cost-section {
  padding: 100px 0;
  background-color: var(--cor-surface-subtle);
  border-top: 1px solid var(--cor-border-subtle);
  border-bottom: 1px solid var(--cor-border-subtle);
}

.cor-cost-factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 36px 0 44px;
}

.cor-factor-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--cor-border-subtle);
  box-shadow: var(--cor-shadow-sm);
}

.cor-factor-card span.factor-idx {
  font-family: var(--cor-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cor-blue-primary);
  display: block;
  margin-bottom: 8px;
}

.cor-factor-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cor-text-heading);
  margin-bottom: 8px;
}

.cor-factor-card p {
  font-size: 0.92rem;
  color: var(--cor-text-muted);
  margin: 0;
  line-height: 1.55;
}

.cor-cost-spectrum-wrap {
  background: var(--cor-navy-deep);
  border-radius: 20px;
  padding: 36px;
  color: #FFFFFF;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.cor-cost-spectrum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.cor-spectrum-col {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cor-spectrum-col h5 {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.cor-spectrum-col .cost-range {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--cor-aqua-pure);
  margin-bottom: 6px;
}

.cor-spectrum-col small {
  font-size: 12px;
  color: #94A3B8;
  display: block;
}

/* ==========================================================================
   11 — CHOOSING THE RIGHT CORNEA CENTRE & 12 — INSURANCE
   ========================================================================== */
.cor-criteria-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.cor-criteria-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.cor-criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--cor-surface-subtle);
  border-radius: 14px;
  border: 1px solid var(--cor-border-subtle);
  transition: all 0.2s ease;
}

.cor-criteria-item:hover {
  background: #FFFFFF;
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: var(--cor-shadow-sm);
}

.cor-criteria-item i {
  color: var(--cor-blue-primary);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cor-criteria-item span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cor-text-heading);
}

.cor-insurance-section {
  padding: 100px 0;
  background-color: var(--cor-blue-subtle);
  border-top: 1px solid var(--cor-border-subtle);
  border-bottom: 1px solid var(--cor-border-subtle);
}

.cor-insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.cor-insurance-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--cor-border-subtle);
  box-shadow: var(--cor-shadow-sm);
}

.cor-insurance-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cor-text-heading);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cor-insurance-card h4 i {
  color: var(--cor-blue-primary);
}

.cor-insurance-card p {
  font-size: 0.92rem;
  color: var(--cor-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   13 — WHAT TO EXPECT / CARE TIMELINE & RECOVERY
   ========================================================================== */
.cor-timeline-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.cor-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0 36px;
}

.cor-timeline-card {
  background: var(--cor-surface-subtle);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid var(--cor-border-subtle);
  position: relative;
  transition: all 0.25s ease;
}

.cor-timeline-card:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--cor-shadow-md);
  border-color: rgba(0, 102, 204, 0.25);
}

.cor-step-badge {
  font-family: var(--cor-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cor-blue-primary);
  background: var(--cor-blue-light);
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 12px;
}

.cor-timeline-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cor-text-heading);
  margin-bottom: 6px;
}

.cor-timeline-card .duration-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--cor-aqua-pure);
  background: rgba(0, 210, 180, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.cor-timeline-card p {
  font-size: 0.92rem;
  color: var(--cor-text-muted);
  line-height: 1.55;
  margin: 0;
}

.cor-recovery-advice-box {
  background: var(--cor-blue-light);
  border-radius: 16px;
  padding: 22px 28px;
  border: 1px solid rgba(0, 102, 204, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
}

.cor-recovery-advice-box i {
  color: var(--cor-blue-primary);
  font-size: 28px;
  flex-shrink: 0;
}

.cor-recovery-advice-box p {
  margin: 0;
  font-size: 14px;
  color: var(--cor-text-heading);
  line-height: 1.55;
}

/* ==========================================================================
   14 — WHEN TO SEE SPECIALIST & 15 — TRUSTED KLARITY CARE
   ========================================================================== */
.cor-when-see-section {
  padding: 100px 0;
  background: radial-gradient(120% 120% at 50% 20%, #081B38 0%, var(--cor-navy-deep) 70%, #030810 100%);
  color: #FFFFFF;
}

.cor-when-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cor-checklist-dark {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 14px;
}

.cor-checklist-dark li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #E2E8F0;
}

.cor-checklist-dark li i {
  color: var(--cor-aqua-pure);
  font-size: 18px;
  flex-shrink: 0;
}

.cor-when-card-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 210, 180, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.cor-when-card-box h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cor-when-card-box p {
  color: #CBD5E1;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.cor-klarity-section {
  padding: 100px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--cor-border-subtle);
  border-bottom: 1px solid var(--cor-border-subtle);
}

.cor-klarity-card {
  background: linear-gradient(135deg, var(--cor-surface-subtle) 0%, #FFFFFF 100%);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--cor-border-subtle);
  box-shadow: var(--cor-shadow-md);
}

/* ==========================================================================
   16 — RELATED EYE CARE TREATMENTS
   ========================================================================== */
.cor-related-section {
  padding: 90px 0;
  background-color: var(--cor-surface-subtle);
}

.cor-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.cor-related-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid var(--cor-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cor-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--cor-blue-primary);
  box-shadow: var(--cor-shadow-sm);
}

.cor-related-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cor-related-card-content i {
  color: var(--cor-blue-primary);
  font-size: 20px;
}

.cor-related-card-content span {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cor-text-heading);
}

.cor-related-card i.arrow-icon {
  color: var(--cor-text-light);
  font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cor-related-card:hover i.arrow-icon {
  transform: translateX(3px);
  color: var(--cor-blue-primary);
}

/* ==========================================================================
   17 — FINAL CTA & APPOINTMENT BOOKING SECTION
   ========================================================================== */
.cor-cta-section {
  padding: 100px 0;
  background: radial-gradient(120% 120% at 50% 20%, #0A192F 0%, var(--cor-navy-deep) 70%, #030810 100%);
  color: #FFFFFF;
}

.cor-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cor-cta-headline {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.cor-cta-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cor-cta-contact-pills {
  display: grid;
  gap: 14px;
}

.cor-cta-pill-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cor-cta-pill-row i {
  color: var(--cor-aqua-pure);
  font-size: 20px;
}

.cor-cta-pill-row small {
  display: block;
  font-size: 11.5px;
  color: #94A3B8;
}

.cor-cta-pill-row a,
.cor-cta-pill-row span {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
}

.cor-appointment-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 60px rgba(0, 25, 55, 0.10);
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  overflow: hidden;
  color: var(--cor-text-heading);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cor-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0066CC 0%, #00B4D8 50%, #00D2B4 100%);
}

.cor-form-header {
  margin-bottom: 22px;
}

.cor-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cor-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cor-blue-primary);
  margin-bottom: 8px;
}

.cor-form-eyebrow i {
  color: #00D2B4;
  font-size: 13px;
}

.cor-form-title {
  font-family: var(--cor-font-display);
  font-size: clamp(1.22rem, 1.55vw, 1.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0A192F;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cor-form-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

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

.cor-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cor-field-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1E293B;
  margin: 0;
}

.cor-field-label .required-star {
  color: #EF4444;
  font-weight: 800;
}

.cor-input-wrapper,
.cor-select-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.cor-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 18px;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.cor-custom-input,
.cor-custom-select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #D9E2EC;
  background-color: #F8FAFC;
  color: #0F172A;
  font-family: var(--cor-font-display);
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.cor-custom-input.with-icon,
.cor-custom-select.with-icon {
  padding-left: 44px;
}

.cor-custom-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
  opacity: 1;
}

.cor-custom-input:focus,
.cor-custom-select:focus {
  border-color: #0066CC;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.cor-custom-input.is-invalid,
.cor-custom-select.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.cor-input-wrapper:focus-within .cor-field-icon,
.cor-select-wrapper:focus-within .cor-field-icon {
  color: #0066CC;
}

.cor-select-wrapper .cor-select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  font-size: 18px;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cor-select-wrapper:focus-within .cor-select-arrow {
  color: #0066CC;
  transform: translateY(-50%) rotate(180deg);
}

.cor-custom-select {
  padding-right: 42px;
  cursor: pointer;
}

.cor-btn-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 0 16px 0 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
  color: #FFFFFF;
  border: none;
  font-family: var(--cor-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.28);
  transition: all 0.25s var(--cor-ease-fluid);
  margin-top: 4px;
}

.cor-btn-submit:hover {
  background: linear-gradient(135deg, #0052A3 0%, #003D7A 100%);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.38);
  transform: translateY(-1px);
}

.cor-btn-submit:active {
  transform: scale(0.99);
}

.cor-btn-submit .btn-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.cor-btn-submit:hover .btn-icon-circle {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.28);
}

.cornea-form-status {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  display: none;
  margin-top: 4px;
}

.cornea-form-status.status-success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.cornea-form-status.status-error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.cor-form-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.cor-form-assurance i {
  color: #00D2B4;
  font-size: 14px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .cor-panel-grid,
  .cor-when-grid,
  .cor-cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cor-appointment-card {
    max-width: 100%;
    margin-left: 0;
  }
  .cor-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cor-cost-spectrum-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cornea-hero {
    padding: 60px 0 60px;
    min-height: auto;
  }
  .cor-dome-composition {
    max-width: 320px;
    margin-top: 20px;
  }
  .cor-optical-flow-steps {
    grid-template-columns: 1fr;
  }
  .cor-timeline-grid {
    grid-template-columns: 1fr;
  }
  .cor-treatment-panel {
    padding: 24px;
  }
  .cor-appointment-card {
    padding: 24px;
    border-radius: 20px;
  }
  .cor-form-title {
    font-size: 1.25rem;
  }
}
