/* ── Educational Pages — edu- prefix ────────────────────── */

/* ── Layout helpers ── */
.edu-wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(20px,4vw,48px)}
.edu-section{padding:clamp(64px,8vw,100px) 0}
.edu-head{margin-bottom:clamp(36px,5vw,56px);text-align:center}
.edu-head--left{text-align:left}
.edu-head .eyebrow{margin-bottom:.9rem}
.edu-head h2{font-size:clamp(1.8rem,3.5vw,2.7rem);font-weight:800;letter-spacing:-.025em;color:var(--ink);margin-bottom:.9rem;line-height:1.15}
.edu-head h2 em{font-style:normal;color:var(--primary)}
.edu-head p{color:var(--muted);font-size:1.02rem;max-width:62ch;line-height:1.75;margin:0 auto}

/* ── Hero ── */
.edu-hero{position:relative;overflow:hidden;isolation:isolate;padding:clamp(120px,16vh,180px) 0 clamp(64px,8vw,100px);background:var(--bg)}
.edu-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 30% 30%,rgba(22,146,76,.13),transparent 65%);pointer-events:none;z-index:0}
.edu-hero__particle{position:absolute;border-radius:50%;pointer-events:none;z-index:0}
.edu-hero__particle--1{top:10%;right:4%;width:clamp(120px,14vw,200px);height:clamp(120px,14vw,200px);background:radial-gradient(circle,rgba(31,158,87,.16),transparent 70%);animation:edu-float 10s ease-in-out infinite}
.edu-hero__particle--2{bottom:8%;left:-3%;width:clamp(80px,10vw,150px);height:clamp(80px,10vw,150px);background:radial-gradient(circle,rgba(22,146,76,.1),transparent 70%);animation:edu-float 14s ease-in-out infinite reverse}
@keyframes edu-float{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-14px) scale(1.04)}}
.edu-hero__inner{position:relative;z-index:2;max-width:800px;margin:0 auto;text-align:center}
.edu-hero__breadcrumb{display:inline-flex;align-items:center;gap:.5em;font-family:var(--font-head);font-weight:600;font-size:.82rem;color:var(--muted);margin-bottom:1.5rem}
.edu-hero__breadcrumb a{color:var(--primary);text-decoration:none;transition:color .25s}
.edu-hero__breadcrumb a:hover{color:var(--secondary)}
.edu-hero__breadcrumb span{opacity:.45}
.edu-hero__chips{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-bottom:1.5rem}
.edu-hero__chip{display:inline-flex;align-items:center;gap:7px;padding:.4em .9em;border-radius:100px;background:rgba(31,158,87,.1);border:1px solid rgba(31,158,87,.22);font-family:var(--font-head);font-weight:600;font-size:.8rem;color:var(--primary)}
.edu-hero__chip i{width:13px;height:13px}
.edu-hero__h1{font-size:clamp(2rem,4.5vw,3.6rem);font-weight:800;letter-spacing:-.03em;line-height:1.1;color:var(--ink);margin-bottom:1.1rem}
.edu-hero__h1 em{font-style:normal;color:var(--primary)}
.edu-hero__lead{font-size:clamp(1rem,1.5vw,1.12rem);color:var(--muted);line-height:1.78;margin-bottom:2rem;max-width:60ch;margin-left:auto;margin-right:auto}
.edu-hero__cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.edu-hero__reviewed{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;background:var(--bg-alt);border:1px solid var(--line-strong);border-radius:100px;font-size:.82rem;color:var(--muted);margin-top:2rem}
.edu-hero__reviewed i{width:15px;height:15px;color:var(--primary)}
.edu-hero__reviewed a{color:var(--primary);font-weight:600;text-decoration:none}

/* ── Stats bar ── */
.edu-stats{background:var(--bg-alt);border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong)}
.edu-stats__inner{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line-strong)}
.edu-stats__item{background:var(--bg-alt);padding:clamp(22px,3vw,32px) clamp(16px,2vw,24px);text-align:center}
.edu-stats__num{font-family:var(--font-head);font-weight:800;font-size:clamp(1.6rem,3vw,2.4rem);color:var(--primary);letter-spacing:-.04em;line-height:1}
.edu-stats__num em{font-style:normal;font-size:.6em;vertical-align:super;color:var(--secondary)}
.edu-stats__label{font-size:.8rem;color:var(--muted);margin-top:.4rem;line-height:1.4}

/* ── Comparison table (cataract vs glaucoma / lasik vs glasses) ── */
.edu-compare{background:var(--bg)}
.edu-compare__table{display:grid;gap:2px;border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--line-strong);box-shadow:var(--shadow-sm)}
.edu-compare__head{display:grid;grid-template-columns:220px repeat(var(--cols,2),1fr);background:var(--primary)}
.edu-compare__head-cell{padding:18px 20px;font-family:var(--font-head);font-weight:700;font-size:.9rem;color:#fff}
.edu-compare__head-cell:first-child{background:rgba(0,0,0,.08)}
.edu-compare__row{display:grid;grid-template-columns:220px repeat(var(--cols,2),1fr);gap:2px}
.edu-compare__row:nth-child(even) .edu-compare__cell{background:rgba(31,158,87,.04)}
.edu-compare__cell{padding:16px 20px;font-size:.9rem;color:var(--muted);background:var(--card);line-height:1.55}
.edu-compare__cell:first-child{font-family:var(--font-head);font-weight:700;font-size:.85rem;color:var(--ink);background:rgba(31,158,87,.06)}
.edu-compare__cell--highlight{color:var(--primary);font-weight:600}
.edu-compare__badge{display:inline-flex;align-items:center;gap:5px;padding:.2em .6em;border-radius:100px;font-size:.75rem;font-weight:700}
.edu-compare__badge--good{background:rgba(34,197,94,.1);color:#15803d}
.edu-compare__badge--caution{background:rgba(251,191,36,.1);color:#b45309}
.edu-compare__badge--neutral{background:rgba(31,158,87,.1);color:var(--primary)}

/* ── Content sections with alternating layout ── */
.edu-alt{background:var(--bg)}
.edu-alt--bg{background:var(--bg-alt)}
.edu-alt__inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(48px,7vw,96px);align-items:center}
.edu-alt__inner--rev{direction:rtl}
.edu-alt__inner--rev > *{direction:ltr}
.edu-alt__visual{position:relative}
.edu-alt__img{border-radius:var(--r-xl);overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-md)}
.edu-alt__img img{width:100%;height:100%;object-fit:cover;display:block}
.edu-alt__tag{position:absolute;bottom:-14px;left:20px;background:var(--primary);color:#fff;border-radius:var(--r-md);padding:12px 18px;box-shadow:var(--shadow-md)}
.edu-alt__tag strong{display:block;font-family:var(--font-head);font-weight:700;font-size:.95rem}
.edu-alt__tag span{font-size:.78rem;opacity:.85}
.edu-alt__body h2{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;letter-spacing:-.025em;color:var(--ink);margin-bottom:1rem;line-height:1.2}
.edu-alt__body h2 em{font-style:normal;color:var(--primary)}
.edu-alt__body p{color:var(--muted);line-height:1.82;font-size:1.02rem;margin-bottom:1.1rem}
.edu-alt__body p:last-child{margin-bottom:0}
.edu-alt__body a{color:var(--secondary);font-weight:600;text-decoration:none}
.edu-alt__body a:hover{color:var(--primary)}

/* ── Key points list ── */
.edu-points{display:flex;flex-direction:column;gap:12px;margin-top:1.4rem}
.edu-point{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start}
.edu-point__icon{width:36px;height:36px;border-radius:var(--r-sm);background:linear-gradient(135deg,var(--primary),var(--secondary));display:flex;align-items:center;justify-content:center;flex-shrink:0}
.edu-point__icon i{width:16px;height:16px;color:#fff}
.edu-point h4{font-size:.93rem;font-weight:700;color:var(--ink);margin-bottom:.2rem}
.edu-point p{font-size:.88rem;color:var(--muted);line-height:1.6;margin:0}

/* ── Info cards grid ── */
.edu-cards{background:var(--bg)}
.edu-cards--bg{background:var(--bg-alt)}
.edu-cards__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:2rem}
.edu-card{background:var(--card);border:1px solid var(--line-strong);border-radius:var(--r-lg);padding:clamp(20px,2.5vw,28px);transition:box-shadow .25s,transform .25s}
.edu-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.edu-card__icon{width:48px;height:48px;border-radius:var(--r-md);background:linear-gradient(135deg,var(--primary),var(--secondary));display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.edu-card__icon i{width:22px;height:22px;color:#fff}
.edu-card__label{font-family:var(--font-head);font-weight:600;font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:var(--secondary);margin-bottom:.4rem}
.edu-card h3{font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:.5rem;line-height:1.3}
.edu-card p{font-size:.88rem;color:var(--muted);line-height:1.65}

/* ── Timeline (for diabetes progression, etc.) ── */
.edu-timeline{background:var(--bg-alt)}
.edu-timeline__list{display:flex;flex-direction:column;gap:0;margin-top:2rem;position:relative;padding-left:32px}
.edu-timeline__list::before{content:'';position:absolute;left:12px;top:12px;bottom:12px;width:2px;background:linear-gradient(to bottom,var(--primary),var(--accent));border-radius:2px}
.edu-timeline__item{position:relative;padding:0 0 32px 28px}
.edu-timeline__item:last-child{padding-bottom:0}
.edu-timeline__dot{position:absolute;left:-30px;top:4px;width:20px;height:20px;border-radius:50%;background:var(--primary);border:3px solid var(--bg-alt);display:flex;align-items:center;justify-content:center}
.edu-timeline__dot i{width:9px;height:9px;color:#fff}
.edu-timeline__stage{font-family:var(--font-head);font-weight:700;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;color:var(--secondary);margin-bottom:.4rem}
.edu-timeline__item h3{font-size:1.05rem;font-weight:700;color:var(--ink);margin-bottom:.5rem}
.edu-timeline__item p{font-size:.9rem;color:var(--muted);line-height:1.7;max-width:58ch}

/* ── Clinical perspective section ── */
.edu-clinical{background:var(--deep);position:relative;overflow:hidden}
.edu-clinical::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 65% 70% at 85% 50%,rgba(31,158,87,.12),transparent 65%);pointer-events:none}
.edu-clinical__inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr 400px;gap:clamp(48px,7vw,96px);align-items:center}
.edu-clinical__body h2{font-size:clamp(1.7rem,3.2vw,2.5rem);font-weight:800;letter-spacing:-.025em;color:#fff;margin-bottom:1.1rem;line-height:1.15}
.edu-clinical__body h2 em{font-style:normal;color:var(--accent)}
.edu-clinical .eyebrow{color:rgba(255,255,255,.6)}
.edu-clinical .eyebrow__dot{background:var(--accent);box-shadow:0 0 0 4px rgba(31,158,87,.25)}
.edu-clinical__body p{color:rgba(255,255,255,.75);font-size:1.02rem;line-height:1.78;margin-bottom:1rem}
.edu-clinical__body p:last-child{margin-bottom:0}
.edu-clinical__card{background:rgba(255,255,255,.06);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.12);border-radius:var(--r-xl);padding:clamp(24px,3vw,36px)}
.edu-clinical__card-doc{display:flex;align-items:center;gap:14px;margin-bottom:1.2rem;padding-bottom:1.1rem;border-bottom:1px solid rgba(255,255,255,.1)}
.edu-clinical__card-avatar{width:52px;height:52px;border-radius:50%;overflow:hidden;flex-shrink:0;box-shadow:0 0 0 3px rgba(31,158,87,.4)}
.edu-clinical__card-avatar img{width:100%;height:100%;object-fit:cover;object-position:top}
.edu-clinical__card-name strong{display:block;font-family:var(--font-head);font-weight:700;color:#fff;font-size:.95rem}
.edu-clinical__card-name span{font-size:.78rem;color:rgba(255,255,255,.55)}
.edu-clinical__stats{display:flex;flex-direction:column;gap:12px}
.edu-clinical__stat{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.edu-clinical__stat:last-child{border-bottom:none}
.edu-clinical__stat-label{font-size:.85rem;color:rgba(255,255,255,.55)}
.edu-clinical__stat-val{font-family:var(--font-head);font-weight:700;color:var(--accent);font-size:.9rem}

/* ── Internal links section ── */
.edu-links{background:var(--bg-alt)}
.edu-links__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:2rem}
.edu-link-card{background:var(--card);border:1px solid var(--line-strong);border-radius:var(--r-lg);padding:clamp(18px,2vw,24px);display:flex;flex-direction:column;gap:10px;text-decoration:none;transition:border-color .25s,box-shadow .25s}
.edu-link-card:hover{border-color:var(--secondary);box-shadow:0 8px 24px rgba(22,146,76,.12)}
.edu-link-card__label{font-family:var(--font-head);font-weight:600;font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:var(--secondary)}
.edu-link-card h3{font-size:.95rem;font-weight:700;color:var(--ink);line-height:1.3}
.edu-link-card p{font-size:.85rem;color:var(--muted);line-height:1.55;flex:1}
.edu-link-card__arrow{display:inline-flex;align-items:center;gap:5px;font-size:.82rem;font-weight:600;color:var(--secondary)}
.edu-link-card__arrow i{width:13px;height:13px;transition:transform .2s}
.edu-link-card:hover .edu-link-card__arrow i{transform:translateX(3px)}

/* ── FAQ ── */
.edu-faq{background:var(--bg)}
.edu-faq__inner{display:grid;grid-template-columns:1fr 460px;gap:clamp(48px,7vw,96px);align-items:start}
.edu-faq__list{margin-top:2rem}
.edu-faq__item{border:1px solid var(--line-strong);border-radius:var(--r-md);overflow:hidden;margin-bottom:12px;background:var(--card);transition:box-shadow .2s}
.edu-faq__item.is-open{box-shadow:var(--shadow-sm)}
.edu-faq__q{width:100%;text-align:left;background:none;border:none;cursor:pointer;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:var(--font-head);font-weight:700;font-size:.98rem;color:var(--ink);line-height:1.4}
.edu-faq__q:hover{color:var(--primary)}
.edu-faq__q i{width:18px;height:18px;color:var(--muted);flex-shrink:0;transition:transform .3s}
.edu-faq__item.is-open .edu-faq__q i{transform:rotate(180deg);color:var(--primary)}
.edu-faq__a{max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(.4,0,.2,1)}
.edu-faq__a-inner{padding:0 20px 18px;font-size:.92rem;color:var(--muted);line-height:1.75}
.edu-faq__a-inner a{color:var(--secondary);font-weight:600;text-decoration:none}
.edu-faq__a-inner a:hover{color:var(--primary)}
.edu-faq__aside{position:sticky;top:100px}
.edu-faq__aside-card{background:var(--bg-alt);border:1px solid var(--line-strong);border-radius:var(--r-xl);padding:clamp(24px,3vw,36px)}
.edu-faq__aside-card h3{font-size:1.1rem;font-weight:700;color:var(--ink);margin-bottom:.6rem}
.edu-faq__aside-card p{font-size:.9rem;color:var(--muted);line-height:1.7;margin-bottom:1.4rem}
.edu-faq__contact-list{display:flex;flex-direction:column;gap:10px;margin-bottom:1.4rem}
.edu-faq__contact-item{display:flex;align-items:center;gap:10px;font-size:.88rem;color:var(--ink);font-weight:600}
.edu-faq__contact-item i{width:16px;height:16px;color:var(--primary)}

/* ── Disclaimer ── */
.edu-disclaimer{margin-top:2rem;padding:16px 20px;background:rgba(31,158,87,.06);border-left:3px solid var(--accent);border-radius:0 var(--r-sm) var(--r-sm) 0}
.edu-disclaimer p{font-size:.82rem;color:var(--muted);line-height:1.65;margin:0}
.edu-disclaimer strong{color:var(--ink);font-weight:600}

/* ── CTA ── */
.edu-cta{padding:clamp(64px,8vw,100px) 0}
.edu-cta__card{background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);border-radius:var(--r-xl);padding:clamp(40px,5vw,64px);display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}
.edu-cta__card h2{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;color:#fff;letter-spacing:-.025em;margin-bottom:.7rem;line-height:1.2}
.edu-cta__card p{color:rgba(255,255,255,.82);font-size:1rem;line-height:1.7;max-width:52ch}
.edu-cta__actions{display:flex;flex-direction:column;gap:12px;flex-shrink:0}
.edu-cta__actions .btn--solid{background:#fff;color:var(--primary)}
.edu-cta__actions .btn--solid:hover{background:rgba(255,255,255,.92)}
.edu-cta__actions .btn--ghost{border-color:rgba(255,255,255,.5);color:#fff}
.edu-cta__actions .btn--ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}

/* ── Two-option comparison panels ── */
.edu-versus{background:var(--bg-alt)}
.edu-versus__grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:2rem}
.edu-versus__panel{background:var(--card);border:1px solid var(--line-strong);border-radius:var(--r-xl);padding:clamp(24px,3vw,36px)}
.edu-versus__panel--primary{border-color:var(--secondary);background:linear-gradient(160deg,rgba(22,146,76,.06),rgba(31,158,87,.03))}
.edu-versus__panel-head{display:flex;align-items:center;gap:14px;margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}
.edu-versus__panel-icon{width:48px;height:48px;border-radius:var(--r-md);background:linear-gradient(135deg,var(--primary),var(--secondary));display:flex;align-items:center;justify-content:center}
.edu-versus__panel-icon i{width:22px;height:22px;color:#fff}
.edu-versus__panel h3{font-size:1.1rem;font-weight:700;color:var(--ink)}
.edu-versus__panel-label{font-size:.76rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.edu-versus__list{display:flex;flex-direction:column;gap:10px}
.edu-versus__list-item{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start}
.edu-versus__list-item i{width:16px;height:16px;margin-top:2px;flex-shrink:0}
.edu-versus__list-item i.good{color:#16a34a}
.edu-versus__list-item i.caution{color:#d97706}
.edu-versus__list-item span{font-size:.9rem;color:var(--muted);line-height:1.55}

/* ── Responsive ── */
@media (max-width:1080px){
  .edu-clinical__inner{grid-template-columns:1fr}
  .edu-faq__inner{grid-template-columns:1fr}
  .edu-faq__aside{position:static}
  .edu-alt__inner{grid-template-columns:1fr}
  .edu-alt__inner--rev{direction:ltr}
}
@media (max-width:900px){
  .edu-stats__inner{grid-template-columns:repeat(2,1fr)}
  .edu-cards__grid{grid-template-columns:repeat(2,1fr)}
  .edu-cta__card{grid-template-columns:1fr;gap:28px}
  .edu-versus__grid{grid-template-columns:1fr}
  .edu-links__grid{grid-template-columns:repeat(2,1fr)}
  .edu-compare__head,.edu-compare__row{grid-template-columns:160px repeat(var(--cols,2),1fr)}
}
@media (max-width:600px){
  .edu-cards__grid{grid-template-columns:1fr}
  .edu-hero__cta{flex-direction:column;align-items:center}
  .edu-cta__actions{flex-direction:row;flex-wrap:wrap}
  .edu-stats__inner{grid-template-columns:1fr 1fr}
  .edu-links__grid{grid-template-columns:1fr}
  .edu-compare__head,.edu-compare__row{grid-template-columns:120px repeat(var(--cols,2),1fr)}
  .edu-compare__head-cell,.edu-compare__cell{padding:12px 10px;font-size:.8rem}
}
@media (max-width:400px){
  .edu-stats__inner{grid-template-columns:1fr}
}
