/*!
 * ORTHOlign Core Elements — Master Stylesheet v3.0
 * Author:  Hossam Alkayal — https://hossamalkayal.com
 *
 * FIXES:
 * - Full-width breakout from ANY Elementor container
 * - Buttons fully styled on ALL devices
 * - All grids collapse properly on mobile
 * - No element overflows viewport
 */

/* ═══ VARIABLES ═══ */
:root {
  --ol-p50: #fef2f2;
  --ol-p100: #fee2e2;
  --ol-p200: #fecaca;
  --ol-p300: #fca5a5;
  --ol-p400: #f87171;
  --ol-p500: #ef4444;
  --ol-p600: #bc1b1d;
  --ol-p700: #b91c1c;
  --ol-p900: #7f1d1d;
  --ol-u50: #f8fafc;
  --ol-u100: #f1f5f9;
  --ol-u800: #1e293b;
  --ol-u900: #0f172a;
  --ol-g200: #e2e8f0;
  --ol-g300: #cbd5e1;
  --ol-g400: #94a3b8;
  --ol-g500: #64748b;
  --ol-g600: #475569;
  --ol-font: 'PT Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════
   FULL-WIDTH SYSTEM
   Forces every widget to 100vw regardless of parent
   ═══════════════════════════════════════════════════ */

/* Method 1: The .ortholign-widget div inside every widget breaks out of ANY container */
.ortholign-widget {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Method 2: Override Elementor’s widget wrapper — applied on frontend too (via PHP inline style) */
[class*="elementor-widget-ortholign-"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

[class*="elementor-widget-ortholign-"]>.elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* Method 3: Also handle Elementor section/container */
.elementor-section.elementor-section-boxed>.elementor-container [class*="elementor-widget-ortholign-"] {
  width: 100vw !important;
  max-width: 100vw !important;
}

/* Method 4: Elementor Flexbox Container (new editor) */
.e-con>[class*="elementor-widget-ortholign-"],
.e-con-inner>[class*="elementor-widget-ortholign-"] {
  width: 100% !important;
  flex-basis: 100% !important;
  max-width: 100% !important;
}

.e-con>[class*="elementor-widget-ortholign-"]>.elementor-widget-container,
.e-con-inner>[class*="elementor-widget-ortholign-"]>.elementor-widget-container {
  overflow: visible !important;
  width: 100% !important;
}

/* ═══ BASE RESET ═══ */
.ortholign-widget,
.ortholign-widget *,
.ortholign-widget *::before,
.ortholign-widget *::after {
  box-sizing: border-box;
}

.ortholign-widget {
  font-family: var(--ol-font);
  color: var(--ol-u800);
  line-height: 1.6;
  font-size: 16px;
}

.ortholign-widget img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ortholign-widget a {
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
}

.ortholign-widget button {
  font-family: var(--ol-font);
  cursor: pointer;
}

.ortholign-widget h1,
.ortholign-widget h2,
.ortholign-widget h3,
.ortholign-widget h4,
.ortholign-widget p,
.ortholign-widget ul {
  margin: 0;
  padding: 0;
}

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

@media(max-width:768px) {
  .ol-container {
    padding: 0 16px;
  }
}

@media(max-width:480px) {
  .ol-container {
    padding: 0 12px;
  }
}

/* ═══ ANIMATIONS ═══ */
@keyframes ol-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

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

.ol-fade-in {
  animation: ol-fadeInUp .8s ease-out both;
}

.ol-fade-in-1 {
  animation-delay: .15s;
}

.ol-fade-in-2 {
  animation-delay: .3s;
}

@keyframes ol-marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(calc(-50% - 1rem))
  }
}

/* ═══ SHARED LABELS ═══ */
.ol-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ol-p600);
  background: var(--ol-p100);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ol-section-label-dark {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ol-p200);
  background: rgba(255, 255, 255, .1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ol-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ol-p50);
  border: 1px solid var(--ol-p200);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--ol-p600);
  font-size: 13px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   BUTTONS — FIXED FOR ALL DEVICES
   ═══════════════════════════════════════════════════ */
.ol-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 16px !important;
  font-weight: 700 !important;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  transition: all .3s ease;
  border: none !important;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  text-decoration: none !important;
  font-family: var(--ol-font) !important;
}

.ol-btn i,
.ol-btn svg {
  font-size: 1.1em;
  flex-shrink: 0;
}

/* Primary (Red) */
.ol-btn.ol-btn-primary {
  background: var(--ol-p600) !important;
  color: #fff !important;
  box-shadow: 0 12px 32px -8px rgba(188, 27, 29, .35);
}

.ol-btn.ol-btn-primary:hover {
  background: var(--ol-p700) !important;
  transform: translateY(-4px);
  color: #fff !important;
}

/* Dark (Navy) */
.ol-btn.ol-btn-dark {
  background: var(--ol-u900) !important;
  color: #fff !important;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .3);
}

.ol-btn.ol-btn-dark:hover {
  transform: translateY(-4px);
  color: #fff !important;
  background: var(--ol-u800) !important;
}

/* Light (White) */
.ol-btn.ol-btn-light {
  background: #fff !important;
  color: var(--ol-p700) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
}

.ol-btn.ol-btn-light:hover {
  transform: translateY(-4px);
  color: var(--ol-p700) !important;
}

/* Button container */
.ol-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* MOBILE BUTTONS */
@media(max-width:768px) {
  .ol-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0;
    width: 100%;
  }

  .ol-hero-ctas .ol-btn {
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
  }
}

@media(max-width:480px) {
  .ol-hero-ctas .ol-btn {
    padding: 14px 20px !important;
    font-size: .95rem !important;
  }
}


/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.ol-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ol-g200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.ol-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 16px;
}

.ol-navbar-logo {
  flex-shrink: 0;
}

.ol-navbar-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.ol-navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  border: 1px solid var(--ol-g200);
  border-radius: 999px;
  padding: 10px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  white-space: nowrap;
}

.ol-navbar-links a {
  color: var(--ol-u800);
  font-size: .95rem;
}

.ol-navbar-links a:hover,
.ol-navbar-links a.ol-active {
  color: var(--ol-p600);
}

.ol-navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ol-navbar-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ol-p600);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.ol-navbar-wa-btn:hover {
  background: var(--ol-p700);
  color: #fff;
}

.ol-mobile-menu-btn {
  display: none !important;
  background: none;
  border: none;
  color: var(--ol-u800);
  font-size: 24px;
  padding: 8px;
  cursor: pointer;
}

/* Ensure nav links are always visible on desktop */
@media(min-width:1024px) {
  .ol-navbar-links {
    display: flex !important;
  }

  .ol-mobile-menu-btn {
    display: none !important;
  }

  .ol-mobile-menu {
    display: none !important;
  }
}

.ol-mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--ol-g200);
  padding: 0;
  font-weight: 700;
}

.ol-mobile-menu.ol-open {
  display: flex;
}

.ol-mobile-menu a {
  color: var(--ol-u800);
  padding: 14px 24px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 1rem;
}

.ol-mobile-menu a:last-child {
  border-bottom: none;
}

.ol-mobile-menu a:hover,
.ol-mobile-menu a.ol-active {
  color: var(--ol-p600);
  background: #fef2f2;
}

.ol-navbar-hero-img {
  width: 100%;
}

.ol-navbar-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media(max-width:1023px) {
  .ol-navbar-links {
    display: none !important;
  }

  .ol-mobile-menu-btn {
    display: block !important;
  }
}

@media(max-width:768px) {
  .ol-navbar-inner {
    padding: 10px 16px;
  }

  .ol-navbar-logo img {
    height: 44px;
  }

  .ol-navbar-wa-btn .ol-wa-text {
    display: none;
  }

  .ol-navbar-wa-btn {
    padding: 8px 12px;
  }
}

@media(max-width:480px) {
  .ol-navbar-logo img {
    height: 36px;
  }
}


/* ═══════════════════════════════════════════════════
   INDEX HERO
   ═══════════════════════════════════════════════════ */
.ol-index-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 85vh;
  padding: 140px 0 96px;
}

.ol-index-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ol-index-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ol-index-hero .ol-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.ol-index-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.ol-index-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 24px;
}

.ol-index-hero .ol-hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

@media(max-width:768px) {
  .ol-index-hero {
    min-height: auto;
    padding: 120px 0 64px;
  }
}


/* ═══════════════════════════════════════════════════
   TRUST STATS
   ═══════════════════════════════════════════════════ */
.ol-trust-stats {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid var(--ol-g200);
  border-bottom: 1px solid var(--ol-g200);
}

.ol-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ol-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  border-right: 1px solid rgba(226, 232, 240, .6);
  transition: all .5s ease-out;
}

.ol-stat-item:last-child {
  border-right: none;
}

.ol-stat-item:hover .ol-stat-number {
  transform: scale(1.1);
}

.ol-stat-number {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -.05em;
  transition: transform .5s ease-out;
  line-height: 1;
}

.ol-stat-suffix {
  font-size: .65em;
}

.ol-stat-label {
  font-weight: 700;
  font-size: clamp(.65rem, 1vw, .75rem);
  text-transform: uppercase;
  letter-spacing: .2em;
}

@media(max-width:768px) {
  .ol-trust-stats {
    padding: 48px 0;
  }

  .ol-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .ol-stat-item {
    border-right: none;
  }

  .ol-stat-item:nth-child(odd) {
    border-right: 1px solid rgba(226, 232, 240, .6);
  }
}

@media(max-width:480px) {
  .ol-stat-number {
    font-size: 2rem;
  }
}


/* ═══════════════════════════════════════════════════
   VISION
   ═══════════════════════════════════════════════════ */
.ol-vision {
  padding: 80px 0;
}

.ol-vision-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 56px;
}

.ol-vision-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.ol-vision-header p {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
}

.ol-vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ol-vision-card {
  background: #fff;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
  border: 1px solid rgba(241, 245, 249, .5);
  display: flex;
  flex-direction: column;
  height: 320px;
  transition: all .3s ease;
}

.ol-vision-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
  transform: translateY(-8px);
}

.ol-vision-card-img {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f9fafb;
}

.ol-vision-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out;
}

.ol-vision-card:hover .ol-vision-card-img img {
  transform: scale(1.05);
}

.ol-vision-card-title {
  background: #fff;
  height: 80px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ol-vision-card-title h4 {
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
}

@media(max-width:1023px) {
  .ol-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .ol-vision-grid {
    grid-template-columns: 1fr;
  }

  .ol-vision-card {
    height: 280px;
  }
}

@media(max-width:480px) {
  .ol-vision {
    padding: 56px 0;
  }
}


/* ═══════════════════════════════════════════════════
   MISSION
   ═══════════════════════════════════════════════════ */
.ol-mission {
  padding: 80px 0;
}

.ol-mission-header {
  text-align: center;
  margin-bottom: 56px;
}

.ol-mission-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.ol-mission-header p {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.7;
}

.ol-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1152px;
  margin: 0 auto;
}

.ol-mission-card {
  position: relative;
  background: #fff;
  border-radius: 2rem;
  padding: 36px 32px;
  border: 1px solid var(--ol-g200);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
  overflow: hidden;
  transition: all .5s ease;
}

.ol-mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.ol-mission-card:nth-child(2) {
  margin-top: 32px;
}

.ol-mission-card:nth-child(3) {
  margin-top: 64px;
}

.ol-mission-bg-num {
  position: absolute;
  right: -24px;
  bottom: -40px;
  font-size: clamp(100px, 15vw, 180px);
  font-weight: 900;
  color: rgba(248, 250, 252, .6);
  z-index: 0;
  line-height: 1;
  transition: all .7s ease;
  user-select: none;
}

.ol-mission-card:hover .ol-mission-bg-num {
  color: rgba(254, 226, 226, .5);
  transform: scale(1.1);
}

.ol-mission-card-inner {
  position: relative;
  z-index: 10;
}

.ol-mission-card-bar {
  width: 48px;
  height: 4px;
  background: var(--ol-p600);
  border-radius: 999px;
  margin-bottom: 28px;
}

.ol-mission-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.ol-mission-card p {
  font-size: 1rem;
  line-height: 1.7;
}

@media(max-width:1023px) {
  .ol-mission-grid {
    grid-template-columns: 1fr;
  }

  .ol-mission-card:nth-child(2),
  .ol-mission-card:nth-child(3) {
    margin-top: 0;
  }
}


/* ═══════════════════════════════════════════════════
   WHATSAPP FORM
   ═══════════════════════════════════════════════════ */
.ol-form-section {
  padding: 80px 0;
}

.ol-form-wrapper {
  max-width: 672px;
  margin: 0 auto;
}

.ol-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.ol-form-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.ol-form-header p {
  font-size: 1rem;
}

.ol-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .08);
  border: 1px solid var(--ol-g200);
}

@media(min-width:768px) {
  .ol-form-card {
    padding: 48px;
  }
}

.ol-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ol-form-group {
  margin-bottom: 20px;
}

.ol-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ol-g500);
  margin-bottom: 8px;
}

.ol-required {
  color: var(--ol-p600);
}

.ol-form-input,
.ol-form-select,
.ol-form-textarea {
  width: 100%;
  background: var(--ol-u50);
  border: 1.5px solid var(--ol-g200);
  border-radius: 12px;
  color: var(--ol-u900);
  font-family: var(--ol-font);
  font-size: 16px;
  padding: 14px 18px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none;
}

.ol-form-input:focus,
.ol-form-select:focus,
.ol-form-textarea:focus {
  border-color: var(--ol-p600);
  box-shadow: 0 0 0 3px rgba(188, 27, 29, .1);
}

.ol-form-input::placeholder,
.ol-form-textarea::placeholder {
  color: var(--ol-g400);
}

.ol-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.ol-form-success {
  display: none;
  background: var(--ol-p50);
  color: var(--ol-p700);
  border: 1px solid var(--ol-p200);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 16px;
  font-weight: 700;
  text-align: center;
}

.ol-form-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  width: 100%;
  background: var(--ol-p600) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 18px 32px;
  font-family: var(--ol-font);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all .2s ease;
}

.ol-form-btn:hover {
  background: var(--ol-p700) !important;
  transform: translateY(-2px);
}

.ol-form-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none !important;
}

@media(max-width:640px) {
  .ol-form-section {
    padding: 48px 0;
  }

  .ol-form-row {
    grid-template-columns: 1fr;
  }

  .ol-form-card {
    padding: 20px 16px;
  }
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.ol-footer {
  padding: 64px 0 32px;
  text-align: center !important;
}

.ol-footer-logo {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.ol-footer-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.ol-footer-desc {
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
  text-align: inherit;
}

.ol-footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.ol-footer-social a {
  transition: all .3s ease;
}

.ol-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
  font-size: .875rem;
  margin-bottom: 28px;
}

.ol-footer-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .875rem;
}

@media(max-width:480px) {
  .ol-footer {
    padding: 48px 0 24px;
  }

  .ol-footer-logo img {
    height: 40px;
  }

  .ol-footer-social {
    gap: 18px;
    font-size: 1.25rem;
  }
}


/* ═══════════════════════════════════════════════════
   PATIENTS HERO
   ═══════════════════════════════════════════════════ */
.ol-patients-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.ol-patients-hero .ol-hero-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: rgba(254, 202, 202, .25);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.ol-patients-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.ol-patients-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 8px 0 24px;
}

.ol-patients-hero .ol-hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 512px;
}

.ol-patients-hero-img {
  display: flex;
  justify-content: center;
  position: relative;
}

.ol-img-glow {
  position: absolute;
  inset: 0;
  background: rgba(254, 202, 202, .2);
  filter: blur(48px);
  border-radius: 50%;
  transform: translate(40px, 40px);
  z-index: 0;
}

.ol-patients-hero-img img {
  width: 100%;
  max-width: 550px;
  object-fit: cover;
  border-radius: 2.5rem;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .15);
  transition: all .7s ease-out;
  position: relative;
  z-index: 10;
}

.ol-patients-hero-img img:hover {
  transform: translateY(-8px);
}

@media(max-width:1023px) {
  .ol-patients-hero {
    padding: 120px 0 64px;
  }

  .ol-patients-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .ol-patients-hero .ol-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

@media(max-width:480px) {
  .ol-patients-hero {
    padding: 110px 0 48px;
  }
}


/* ═══════════════════════════════════════════════════
   HERO YOUTUBE VIDEO EMBED (Patients & Doctors)
   ═══════════════════════════════════════════════════ */
.ol-hero-video-wrap {
  position: relative;
  z-index: 10;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .15);
  transition: all .7s ease-out;
  width: 100%;
  max-width: 550px;
}

.ol-hero-video-wrap:hover {
  transform: translateY(-8px);
}

.ol-hero-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Landscape 16:9 — fills the column like the image */
.ol-hero-video-wrap.ol-video-landscape {
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
}

/* Portrait 9:16 (YouTube Shorts) — tall, centered, image-sized */
.ol-hero-video-wrap.ol-video-portrait {
  padding-bottom: 177.78%;
  /* 9:16 aspect ratio */
  max-width: 380px;
  margin: 0 auto;
}

/* Dark hero context (Doctors) */
.ol-doctors-hero-img .ol-hero-video-wrap {
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .5);
}

/* YouTube iframe as FULLSCREEN background in Index Hero */
iframe.ol-index-hero-video.ol-index-hero-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  /* Scale up to ensure full cover regardless of aspect ratio */
  min-width: 177.78vh;
  /* 16:9 → height * (16/9) */
  min-height: 56.25vw;
  /* 16:9 → width  * (9/16) */
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
  z-index: 0;
  object-fit: cover;
}

/* ─── Responsive ─── */
@media(max-width:1023px) {
  .ol-hero-video-wrap {
    max-width: 100%;
  }

  .ol-hero-video-wrap.ol-video-portrait {
    max-width: 340px;
  }
}

@media(max-width:768px) {
  .ol-hero-video-wrap.ol-video-portrait {
    max-width: 300px;
  }

  .ol-hero-video-wrap {
    border-radius: 1.5rem;
  }
}

@media(max-width:480px) {
  .ol-hero-video-wrap.ol-video-portrait {
    max-width: 260px;
  }

  .ol-hero-video-wrap {
    border-radius: 1.25rem;
  }
}


/* ═══════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════ */
.ol-gallery-section {
  background: #fff;
  overflow: hidden;
  border-top: 1px solid var(--ol-g200);
  position: relative;
  padding: 40px 0;
}

.ol-gallery-fade-l,
.ol-gallery-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.ol-gallery-fade-l {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.ol-gallery-fade-r {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.ol-gallery-track {
  display: flex;
  gap: 24px;
  padding-left: 24px;
  width: max-content;
  animation: ol-marquee 40s linear infinite;
}

.ol-gallery-track:hover {
  animation-play-state: paused;
}

.ol-gallery-item {
  height: 240px;
  width: 360px;
  flex-shrink: 0;
  border-radius: 2rem;
  overflow: hidden;
}

.ol-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out;
}

.ol-gallery-item:hover img {
  transform: scale(1.1);
}

@media(max-width:768px) {
  .ol-gallery-item {
    height: 180px;
    width: 270px;
  }
}

@media(max-width:480px) {
  .ol-gallery-item {
    height: 140px;
    width: 210px;
  }

  .ol-gallery-track {
    gap: 16px;
  }
}


/* ═══════════════════════════════════════════════════
   WHY ORTHOLIGN
   ═══════════════════════════════════════════════════ */
.ol-why-section {
  padding: 80px 0;
}

.ol-why-header {
  text-align: center;
  margin-bottom: 56px;
}

.ol-why-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.ol-why-header p {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 640px;
  margin: 0 auto;
}

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

.ol-why-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  height: 400px;
  transition: all .5s ease;
}

.ol-why-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
  transform: translateY(-8px);
}

.ol-why-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out;
}

.ol-why-card:hover img {
  transform: scale(1.1);
}

.ol-why-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .9));
}

.ol-why-card-body {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ol-why-card-bar {
  width: 40px;
  height: 4px;
  background: #fff;
  border-radius: 999px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: all .5s ease;
}

.ol-why-card:hover .ol-why-card-bar {
  opacity: 1;
  transform: translateY(0);
}

.ol-why-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  transition: transform .5s ease;
}

.ol-why-card:hover h3 {
  transform: translateY(-4px);
}

.ol-why-card p {
  color: rgba(255, 255, 255, .85);
  font-size: .9375rem;
  line-height: 1.7;
}

@media(max-width:1023px) {
  .ol-why-grid {
    grid-template-columns: 1fr;
  }

  .ol-why-card {
    height: 320px;
  }
}

@media(max-width:480px) {
  .ol-why-card {
    height: 260px;
  }
}


/* ═══════════════════════════════════════════════════
   CASES
   ═══════════════════════════════════════════════════ */
.ol-cases-section {
  padding: 80px 0;
}

.ol-cases-header {
  text-align: center;
  margin-bottom: 56px;
}

.ol-cases-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.ol-cases-header p {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 640px;
  margin: 0 auto;
}

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

.ol-case-card {
  background: #fff;
  border-radius: 2rem;
  border: 1px solid var(--ol-g200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .5s ease;
  position: relative;
}

.ol-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, .08);
}

.ol-case-card-bg {
  position: absolute;
  inset: 0;
  background: rgba(254, 242, 242, .3);
  opacity: 0;
  transition: opacity .7s;
  pointer-events: none;
}

.ol-case-card:hover .ol-case-card-bg {
  opacity: 1;
}

.ol-case-card-img {
  position: relative;
  z-index: 10;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 20px;
}

.ol-case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .7s ease-out;
}

.ol-case-card:hover .ol-case-card-img img {
  transform: scale(1.05);
}

.ol-case-card-body {
  position: relative;
  z-index: 10;
  padding: 24px;
  padding-top: 12px;
  flex: 1;
}

.ol-case-card-bar {
  width: 40px;
  height: 2px;
  background: var(--ol-p500);
  margin-bottom: 16px;
}

.ol-case-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ol-case-sub {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--ol-p600);
  margin-top: 4px;
  text-transform: none;
}

.ol-case-card p {
  font-size: .9375rem;
  line-height: 1.7;
}

@media(max-width:1023px) {
  .ol-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .ol-cases-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════
   BYE BRACES
   ═══════════════════════════════════════════════════ */
.ol-braces-section {
  padding: 48px 0;
}

.ol-braces-card {
  background: var(--ol-u900);
  border-radius: 2.5rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ol-braces-text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ol-braces-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 32px;
}

.ol-braces-text h2 span {
  color: var(--ol-p500);
}

.ol-braces-list {
  list-style: none;
}

.ol-braces-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.ol-braces-list li:last-child {
  margin-bottom: 0;
}

.ol-braces-icon {
  margin-top: 2px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--ol-p600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ol-braces-icon i,
.ol-braces-icon svg {
  color: #fff;
  font-size: 12px;
  width: 12px;
  height: 12px;
  fill: #fff;
}

.ol-braces-list h4 {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ol-braces-list p {
  color: var(--ol-g400);
  font-size: .9375rem;
}

.ol-braces-img {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.ol-braces-img-glow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 256px;
  height: 256px;
  background: rgba(188, 27, 29, .3);
  filter: blur(80px);
  border-radius: 50%;
}

.ol-braces-img img {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .5);
  transition: transform .7s ease-out;
  border: 1px solid rgba(255, 255, 255, .1);
}

.ol-braces-img img:hover {
  transform: scale(1.05);
}

@media(max-width:1023px) {
  .ol-braces-card {
    grid-template-columns: 1fr;
  }

  .ol-braces-img {
    min-height: 300px;
    padding: 0 32px 40px;
  }
}

@media(max-width:480px) {
  .ol-braces-text {
    padding: 28px 20px;
  }

  .ol-braces-img {
    padding: 0 20px 28px;
    min-height: 240px;
  }
}


/* ═══════════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════════ */
.ol-steps-section {
  padding: 80px 0;
  text-align: center;
}

.ol-steps-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ol-steps-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 56px;
}

.ol-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
}

.ol-steps-connector {
  display: none;
  position: absolute;
  top: 40px;
  left: calc(33% + 20px);
  right: calc(33% + 20px);
  height: 2px;
  background: rgba(127, 29, 29, .5);
}

@media(min-width:1024px) {
  .ol-steps-connector {
    display: block;
  }
}

.ol-step-item {
  position: relative;
  z-index: 10;
}

.ol-step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, .2);
}

.ol-step-circle i,
.ol-step-circle svg {
  font-size: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}

.ol-step-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ol-step-item p {
  line-height: 1.7;
  font-size: .95rem;
}

@media(max-width:1023px) {
  .ol-steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media(max-width:480px) {
  .ol-step-circle {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
  }
}


/* ═══════════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════════ */
.ol-proof-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.ol-proof-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
  background: rgba(254, 242, 242, .5);
  transform: skewX(-12deg) translateX(128px);
  z-index: 0;
}

.ol-proof-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.ol-proof-header h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  margin-top: 8px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.ol-proof-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  max-width: 1152px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 10;
}

.ol-ba-card {
  background: #fff;
  border-radius: 2.5rem;
  padding: 16px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .08);
  border: 1px solid var(--ol-g200);
}

.ol-ba-inner {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  height: 320px;
}

@media(min-width:1024px) {
  .ol-ba-inner {
    height: 420px;
  }
}

.ol-ba-before,
.ol-ba-after {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.ol-ba-before {
  border-right: 3px solid #fff;
}

.ol-ba-before::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .1);
  z-index: 10;
  mix-blend-mode: multiply;
}

.ol-ba-label {
  position: absolute;
  top: 16px;
  z-index: 20;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.ol-ba-before .ol-ba-label {
  left: 16px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  color: var(--ol-u900);
}

.ol-ba-after .ol-ba-label {
  right: 16px;
  background: var(--ol-p600);
  color: #fff;
}

.ol-ba-before img,
.ol-ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease-out;
}

.ol-ba-before img {
  filter: grayscale(1);
  opacity: .9;
}

.ol-ba-card:hover img {
  transform: scale(1.05);
}

.ol-ba-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.ol-ba-divider i {
  color: var(--ol-p500);
  font-size: 1rem;
}

.ol-testimonial {
  position: relative;
}

.ol-testimonial-quote {
  position: absolute;
  top: -40px;
  left: -16px;
  font-size: 5rem;
  color: var(--ol-p100);
  z-index: 0;
  transform: rotate(-12deg);
  pointer-events: none;
}

.ol-testimonial-inner {
  position: relative;
  z-index: 10;
}

.ol-stars {
  display: flex;
  gap: 4px;
  color: var(--ol-p500);
  margin-bottom: 24px;
  font-size: 1rem;
}

.ol-testimonial h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.ol-testimonial p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.ol-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ol-author-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(to bottom right, var(--ol-p500), var(--ol-p700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.ol-author-name {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 2px;
}

.ol-author-tag {
  color: var(--ol-p600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .7rem;
}

@media(max-width:1023px) {
  .ol-proof-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media(max-width:480px) {
  .ol-ba-inner {
    height: 220px;
  }

  .ol-proof-section {
    padding: 56px 0;
  }
}


/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */
.ol-faq-section {
  padding: 80px 0;
}

.ol-faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.ol-faq-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 8px;
}

.ol-faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.ol-faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ol-g200);
  padding: 20px 24px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all .3s ease;
}

.ol-faq-item:hover {
  border-color: var(--ol-p300);
}

.ol-faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  gap: 16px;
}

.ol-faq-item summary::-webkit-details-marker {
  display: none;
}

.ol-faq-item summary i {
  color: var(--ol-p500);
  transition: transform .3s;
  flex-shrink: 0;
}

.ol-faq-item[open] summary i {
  transform: rotate(180deg);
}

.ol-faq-item p {
  margin-top: 16px;
  line-height: 1.7;
  border-top: 1px solid var(--ol-g200);
  padding-top: 16px;
  font-size: .95rem;
}

@media(max-width:480px) {
  .ol-faq-item {
    padding: 16px 18px;
  }

  .ol-faq-item summary {
    font-size: .9rem;
  }
}


/* ═══════════════════════════════════════════════════
   DOCTORS HERO
   ═══════════════════════════════════════════════════ */
.ol-doctors-hero {
  padding: 140px 0 96px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.ol-doctors-hero .ol-glow-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: rgba(239, 68, 68, .1);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.ol-doctors-hero .ol-glow-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(185, 28, 28, .2);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.ol-doctors-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.ol-doctors-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 8px 0 24px;
}

.ol-doctors-hero .ol-hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 512px;
}

.ol-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.ol-doctors-hero-img {
  display: flex;
  justify-content: center;
  position: relative;
}

.ol-doctors-hero-img img {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 550px;
  object-fit: cover;
  border-radius: 2.5rem;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .5);
  transition: all .7s ease-out;
}

@media(max-width:1023px) {
  .ol-doctors-hero {
    padding: 120px 0 64px;
  }

  .ol-doctors-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .ol-doctors-hero .ol-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .ol-badges-wrap {
    justify-content: center;
  }
}

@media(max-width:480px) {
  .ol-doctors-hero {
    padding: 110px 0 48px;
  }
}


/* ═══════════════════════════════════════════════════
   WHY PARTNER
   ═══════════════════════════════════════════════════ */
.ol-why-partner-section {
  padding: 80px 0;
}

.ol-why-partner-header {
  text-align: center;
  margin-bottom: 56px;
}

.ol-why-partner-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.ol-why-partner-header p {
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.ol-partner-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--ol-g200);
  transition: all .3s ease;
}

.ol-partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px -8px rgba(188, 27, 29, .12);
}

.ol-partner-card.ol-featured {
  background: var(--ol-p600);
  border-color: transparent;
}

.ol-partner-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.ol-partner-card-icon.ol-light {
  background: var(--ol-p100);
  color: var(--ol-p600);
}

.ol-partner-card-icon.ol-dark {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.ol-partner-card-icon i,
.ol-partner-card-icon svg {
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
}

.ol-partner-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ol-partner-card p {
  line-height: 1.7;
  font-size: .95rem;
}

@media(max-width:1023px) {
  .ol-why-partner-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════
   TECHNOLOGY
   ═══════════════════════════════════════════════════ */
.ol-tech-section {
  padding: 80px 0;
}

.ol-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1152px;
  margin: 0 auto;
}

.ol-tech-grid h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.25;
}

.ol-tech-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.ol-tech-features {
  list-style: none;
}

.ol-tech-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.ol-tech-features li:last-child {
  margin-bottom: 0;
}

.ol-tech-check {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: var(--ol-p100);
  color: var(--ol-p600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ol-tech-check i {
  font-size: 13px;
}

.ol-tech-features h4 {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: .95rem;
}

.ol-tech-features p {
  font-size: .875rem;
  line-height: 1.6;
}

.ol-tech-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ol-tech-stat {
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  transition: all .3s ease;
}

.ol-tech-stat:hover {
  transform: translateY(-5px);
}

.ol-tech-stat.ol-bg-light {
  background: var(--ol-u50);
  border: 1px solid var(--ol-g200);
}

.ol-tech-stat.ol-bg-red {
  background: var(--ol-p600);
}

.ol-tech-stat.ol-bg-dark {
  background: var(--ol-u900);
}

.ol-tech-stat-num {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ol-tech-stat-label {
  font-weight: 700;
  font-size: .8rem;
}

@media(max-width:1023px) {
  .ol-tech-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:480px) {
  .ol-tech-stat {
    padding: 18px 14px;
  }

  .ol-tech-stat-num {
    font-size: 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════ */
.ol-cta-section {
  padding: 32px 0;
}

.ol-cta-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 56px 32px;
  text-align: center;
}

.ol-cta-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ol-cta-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
}

.ol-cta-ring-1 {
  width: 700px;
  height: 700px;
}

.ol-cta-ring-2 {
  width: 500px;
  height: 500px;
}

.ol-cta-ring-3 {
  width: 300px;
  height: 300px;
}

.ol-cta-body {
  position: relative;
  z-index: 10;
  max-width: 768px;
  margin: 0 auto;
}

.ol-cta-body h2 {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.ol-cta-body p {
  color: rgba(254, 202, 202, 1);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.ol-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px;
  background: #fff !important;
  color: var(--ol-p700) !important;
  font-weight: 700 !important;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 999px !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
  transition: all .3s ease;
  text-decoration: none !important;
}

.ol-cta-btn:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  transform: translateY(-4px);
  color: var(--ol-p700) !important;
}

.ol-cta-btn-icon {
  width: 32px;
  height: 32px;
  background: var(--ol-p600);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

@media(max-width:768px) {
  .ol-cta-banner {
    padding: 40px 20px;
  }
}

@media(max-width:480px) {
  .ol-cta-banner {
    padding: 36px 16px;
    border-radius: 20px;
  }

  .ol-cta-btn {
    padding: 12px 24px !important;
    font-size: .9rem;
  }
}


/* ═══════════════════════════════════════════════════
   CAPABILITY STATS (Doctors)
   ═══════════════════════════════════════════════════ */
.ol-capability-section {
  padding: 72px 0;
}

.ol-capability-header {
  text-align: center;
  margin-bottom: 48px;
}

.ol-capability-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
}

.ol-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ol-capability-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ol-g200);
  padding: 28px 20px;
  text-align: center;
  transition: all .3s ease;
}

.ol-capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -8px rgba(188, 27, 29, .1);
}

.ol-capability-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ol-p600);
  margin-bottom: 8px;
}

.ol-capability-label {
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

@media(max-width:1023px) {
  .ol-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px) {
  .ol-capability-section {
    padding: 48px 0;
  }

  .ol-capability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ol-capability-card {
    padding: 22px 16px;
  }
}


/* ═══════════════════════════════════════════════════
   HOW IT WORKS (Doctors)
   ═══════════════════════════════════════════════════ */
.ol-how-section {
  padding: 80px 0;
}

.ol-how-header {
  text-align: center;
  margin-bottom: 56px;
}

.ol-how-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.ol-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
}

.ol-how-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--ol-g200);
  text-align: center;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.ol-how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -8px rgba(188, 27, 29, .12);
}

.ol-how-num {
  font-size: 5rem;
  font-weight: 900;
  color: var(--ol-p100);
  position: absolute;
  top: -16px;
  right: 16px;
  line-height: 1;
  pointer-events: none;
}

.ol-how-icon {
  width: 64px;
  height: 64px;
  background: var(--ol-p100);
  color: var(--ol-p600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  position: relative;
  z-index: 10;
}

.ol-how-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 10;
}

.ol-how-card p {
  font-size: .9375rem;
  line-height: 1.7;
  position: relative;
  z-index: 10;
}

@media(max-width:1023px) {
  .ol-how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .ol-how-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ol-how-section {
    padding: 56px 0;
  }

  .ol-how-card {
    padding: 28px 20px;
  }
}


/* ═══════════════════════════════════════════════════
   PATIENTS TRUST STATS
   ═══════════════════════════════════════════════════ */
.ol-patients-trust {
  padding: 64px 0;
}

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

.ol-patients-trust-card {
  text-align: center;
  padding: 32px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--ol-g200);
  transition: all .3s ease;
}

.ol-patients-trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -8px rgba(188, 27, 29, .1);
}

.ol-patients-trust-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--ol-p600);
  margin-bottom: 8px;
}

.ol-patients-trust-label {
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

@media(max-width:768px) {
  .ol-patients-trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media(max-width:480px) {
  .ol-patients-trust {
    padding: 40px 0;
  }
}


/* ═══════════════════════════════════════════════════
   GLOBAL RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════ */

/* Prevent horizontal scroll on any ortholign section */
.ortholign-widget section,
.ortholign-widget nav,
.ortholign-widget footer {
  overflow-x: clip;
}

/* Images: always responsive */
.ortholign-widget img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Text: prevent overflow on small screens */
@media(max-width:480px) {

  .ortholign-widget h1,
  .ortholign-widget h2,
  .ortholign-widget h3 {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .ol-container {
    padding: 0 12px;
  }

  /* Hide decorative glows on very small screens to save paint */
  .ol-proof-deco,
  .ol-cta-ring {
    display: none;
  }
}



/* ═══════════════════════════════════════════════════
   CRITICAL OVERRIDES
   These rules at the bottom of the file have the
   highest cascade priority and fix Elementor conflicts.
   ═══════════════════════════════════════════════════ */

/* ─── NAVBAR: Force desktop state ─── */
@media(min-width:1024px) {

  .ol-mobile-menu-btn,
  button.ol-mobile-menu-btn,
  .ol-navbar .ol-mobile-menu-btn,
  .ol-navbar-actions .ol-mobile-menu-btn,
  .ortholign-widget .ol-mobile-menu-btn {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
  }

  .ol-navbar-links,
  .ol-navbar .ol-navbar-links {
    display: flex !important;
  }

  .ol-mobile-menu,
  .ol-navbar .ol-mobile-menu {
    display: none !important;
  }
}

/* ─── NAVBAR: Force mobile/tablet state ─── */
@media(max-width:1023px) {

  .ol-mobile-menu-btn,
  button.ol-mobile-menu-btn,
  .ol-navbar .ol-mobile-menu-btn,
  .ol-navbar-actions .ol-mobile-menu-btn,
  .ortholign-widget .ol-mobile-menu-btn {
    display: block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: static !important;
    background: none !important;
    border: 1px solid var(--ol-g200) !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    font-size: 20px !important;
    color: var(--ol-u800) !important;
    cursor: pointer !important;
  }

  .ol-navbar-links,
  .ol-navbar .ol-navbar-links {
    display: none !important;
  }
}

/* ─── HERO VIDEO: Fill the entire column (same size as image) ─── */

/* The video wrapper must fill its parent flex container */
.ol-patients-hero-img .ol-hero-video-wrap,
.ol-doctors-hero-img .ol-hero-video-wrap {
  width: 100% !important;
  max-width: none !important;
  position: relative !important;
}

/* Landscape 16:9 — takes the full column width */
.ol-patients-hero-img .ol-hero-video-wrap.ol-video-landscape,
.ol-doctors-hero-img .ol-hero-video-wrap.ol-video-landscape {
  aspect-ratio: 16 / 9 !important;
  padding-bottom: 0 !important;
  height: auto !important;
}

/* Portrait 9:16 — centered, prominent size */
.ol-patients-hero-img .ol-hero-video-wrap.ol-video-portrait,
.ol-doctors-hero-img .ol-hero-video-wrap.ol-video-portrait {
  aspect-ratio: 9 / 16 !important;
  padding-bottom: 0 !important;
  height: auto !important;
  max-width: 420px !important;
  margin: 0 auto !important;
}

/* iframe always fills the video wrap */
.ol-hero-video-wrap iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

/* ─── Responsive: video on mobile ─── */
@media(max-width:1023px) {

  .ol-patients-hero-img .ol-hero-video-wrap,
  .ol-doctors-hero-img .ol-hero-video-wrap {
    max-width: 100% !important;
  }

  .ol-patients-hero-img .ol-hero-video-wrap.ol-video-portrait,
  .ol-doctors-hero-img .ol-hero-video-wrap.ol-video-portrait {
    max-width: 360px !important;
  }
}

@media(max-width:768px) {
  .ol-hero-video-wrap {
    border-radius: 1.5rem !important;
  }

  .ol-patients-hero-img .ol-hero-video-wrap.ol-video-portrait,
  .ol-doctors-hero-img .ol-hero-video-wrap.ol-video-portrait {
    max-width: 300px !important;
  }
}

@media(max-width:480px) {
  .ol-hero-video-wrap {
    border-radius: 1.25rem !important;
  }

  .ol-patients-hero-img .ol-hero-video-wrap.ol-video-portrait,
  .ol-doctors-hero-img .ol-hero-video-wrap.ol-video-portrait {
    max-width: 260px !important;
  }
}