/* Yosemite Optometric Center – main.css v1.2.0 */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #1e293b;
  background: #f4f7fa;
  line-height: 1.7;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Raleway', sans-serif; line-height: 1.2; }

/* ── Top bar ── */
.yoc-topbar { background: #28506F; color: rgba(255,255,255,.8); font-size: 13px; padding: 8px 24px; display: flex; justify-content: space-between; align-items: center; }
.yoc-topbar a { color: #fff; text-decoration: none; }
.yoc-topbar-left { display: flex; gap: 20px; }
.yoc-topbar-right { font-weight: 600; }
@media (max-width: 600px) { .yoc-topbar-left { display: none; } }

/* ── Site header ── */
.yoc-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid #e2e8f0; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.yoc-nav { display: flex; align-items: center; justify-content: space-between; height: 80px; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.yoc-logo img { height: 56px; width: auto; }
.yoc-menu { display: flex; gap: 4px; align-items: center; }
.yoc-menu a { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1e293b; padding: 6px 10px; border-radius: 4px; transition: color .2s; text-decoration: none; }
.yoc-menu a:hover { color: #2A92E5; }
.yoc-menu .current a { color: #2A92E5; }
.yoc-cta-btn { display: inline-flex !important; align-items: center; background: #2A92E5 !important; color: #fff !important; padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; margin-left: 8px; text-decoration: none !important; transition: background .2s; }
.yoc-cta-btn:hover { background: #24678D !important; color: #fff !important; }
.yoc-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.yoc-hamburger span { display: block; width: 24px; height: 2px; background: #28506F; margin: 5px 0; }
.yoc-mobile-nav { display: none; background: #fff; border-top: 1px solid #e2e8f0; padding: 12px 24px 20px; }
.yoc-mobile-nav a { display: block; padding: 12px 0; font-weight: 600; color: #1e293b; border-bottom: 1px solid #e2e8f0; font-size: 15px; text-decoration: none; }
.yoc-mobile-nav.open { display: block; }
@media (max-width: 900px) { .yoc-menu { display: none; } .yoc-hamburger { display: block; } }

/* ── Shared page hero banner ── */
.yoc-hero { background: #28506F; position: relative; overflow: hidden; padding: 64px 24px; text-align: center; }
.yoc-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .4; }
.yoc-hero-inner { position: relative; z-index: 1; }
.yoc-hero h1 { color: #fff; font-size: clamp(2rem,5vw,3rem); font-weight: 800; margin-bottom: 12px; }
.yoc-hero p { color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 560px; margin: 0 auto; }

/* ── HOME hero ── */
.yoc-home-hero { position: relative; min-height: 80vh; display: flex; align-items: center; background: #f4f7fa; overflow: hidden; }
.yoc-home-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .6; }
.yoc-home-hero-fade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(244,247,250,.98) 0%, rgba(244,247,250,.82) 50%, rgba(244,247,250,.1) 100%); }
.yoc-home-hero-body { position: relative; z-index: 1; max-width: 640px; padding: 64px 24px; text-align: left; }
.yoc-badge { display: inline-block; background: rgba(42,146,229,.1); border: 1px solid rgba(42,146,229,.25); color: #2A92E5; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; margin-bottom: 20px; }
.yoc-home-hero-body h1 { font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 900; color: #28506F; line-height: 1.1; margin-bottom: 20px; }
.yoc-home-hero-body > p { color: #64748b; font-size: 1.1rem; margin-bottom: 32px; }
.yoc-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.yoc-hero-phone { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.yoc-hero-phone a { color: #2A92E5; text-decoration: none; font-size: 1.1rem; }
.yoc-phone-icon { width: 40px; height: 40px; background: rgba(42,146,229,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: background .2s, color .2s; text-decoration: none; white-space: nowrap; }
.btn-blue { background: #2A92E5; color: #fff !important; border-color: #2A92E5; }
.btn-blue:hover { background: #24678D; border-color: #24678D; text-decoration: none; }
.btn-outline-dark { background: transparent; border-color: #28506F; color: #28506F !important; }
.btn-outline-dark:hover { background: #28506F; color: #fff !important; text-decoration: none; }
.btn-white { background: #fff; color: #28506F !important; border-color: #fff; }
.btn-white:hover { background: #f0f4f8; text-decoration: none; }
.btn-ghost-white { background: transparent; border-color: rgba(255,255,255,.4); color: #fff !important; }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* ── HOME: Dedicated & Friendly Service ── */
.yoc-friendly { background: #fff; padding: 80px 24px; }
.yoc-friendly-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 768px) { .yoc-friendly-inner { grid-template-columns: 1fr; gap: 32px; } }
.yoc-friendly-imgwrap { position: relative; }
.yoc-friendly-frame { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.14); position: relative; z-index: 1; }
.yoc-friendly-frame img { width: 100%; height: 100%; object-fit: cover; }
.yoc-circle-a { position: absolute; bottom: -28px; right: -28px; width: 180px; height: 180px; background: rgba(42,146,229,.1); border-radius: 50%; z-index: 0; }
.yoc-circle-b { position: absolute; top: -24px; left: -24px; width: 120px; height: 120px; background: rgba(36,103,141,.1); border-radius: 50%; z-index: 0; }
.yoc-friendly-text h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: #28506F; margin-bottom: 6px; }
.yoc-heading-bar { display: block; width: 80px; height: 5px; background: #2A92E5; border-radius: 999px; margin: 8px 0 20px; }
.yoc-friendly-text p { color: #64748b; font-size: 1.05rem; margin-bottom: 14px; line-height: 1.8; }
.yoc-checklist { padding: 0; margin: 20px 0 28px; }
.yoc-checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e2e8f0; font-weight: 600; color: #1e293b; font-size: .97rem; }
.yoc-checklist li:last-child { border-bottom: none; }
.yoc-check { flex-shrink: 0; width: 22px; height: 22px; background: rgba(42,146,229,.1); color: #2A92E5; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; margin-top: 2px; }
.yoc-text-link { font-weight: 700; color: #2A92E5; font-size: .97rem; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.yoc-text-link:hover { color: #24678D; }

/* ── HOME: Complete Eye Care Needs ── */
.yoc-eyecare { background: #f4f7fa; padding: 80px 24px; border-top: 1px solid #e2e8f0; }
.yoc-eyecare-heading { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.yoc-eyecare-heading h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: #28506F; margin-bottom: 12px; }
.yoc-eyecare-heading p { color: #64748b; font-size: 1.05rem; }
.yoc-eyecare-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px) { .yoc-eyecare-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .yoc-eyecare-grid { grid-template-columns: 1fr; } }
.yoc-eyecare-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 32px 24px 28px; transition: box-shadow .2s, transform .15s; }
.yoc-eyecare-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.09); transform: translateY(-2px); }
.yoc-eyecare-icon { width: 60px; height: 60px; background: rgba(42,146,229,.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background .2s; }
.yoc-eyecare-icon svg { width: 28px; height: 28px; color: #2A92E5; stroke: #2A92E5; }
.yoc-eyecare-card:hover .yoc-eyecare-icon { background: #2A92E5; }
.yoc-eyecare-card:hover .yoc-eyecare-icon svg { stroke: #fff; }
.yoc-eyecare-card h3 { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.yoc-eyecare-card p { color: #64748b; font-size: .93rem; line-height: 1.7; margin-bottom: 20px; }
.yoc-small-link { font-size: .88rem; font-weight: 700; color: #2A92E5; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.yoc-small-link:hover { color: #24678D; }

/* ── HOME: CTA dark ── */
.yoc-cta-dark { background: #28506F; padding: 80px 24px; text-align: center; }
.yoc-cta-dark h2 { color: #fff; font-size: clamp(1.8rem,4vw,3rem); font-weight: 800; margin-bottom: 16px; }
.yoc-cta-dark p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.yoc-cta-dark-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ── ABOUT ── */
.yoc-about { padding: 72px 24px; }
.yoc-about-inner { max-width: 1100px; margin: 0 auto; }
.yoc-about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; margin-bottom: 80px; }
@media (max-width: 768px) { .yoc-about-grid { grid-template-columns: 1fr; gap: 32px; } }
.yoc-doc-wrap { position: relative; }
.yoc-doc-frame { aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 8px 32px rgba(0,0,0,.12); background: linear-gradient(160deg,#e8f0f7 0%,#c8daea 100%); position: relative; z-index: 1; }
.yoc-doc-frame img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.yoc-doc-accent { position: absolute; bottom: -20px; right: -20px; width: 75%; height: 75%; background: rgba(42,146,229,.1); border-radius: 16px; border: 1px solid rgba(42,146,229,.2); z-index: 0; }
.yoc-bio h2 { font-size: 2rem; font-weight: 800; color: #28506F; margin-bottom: 8px; }
.yoc-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.yoc-pill { background: #f4f7fa; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #1e293b; }
.yoc-bio blockquote { border-left: 4px solid #2A92E5; padding: 12px 16px 12px 20px; font-style: italic; color: #28506F; margin: 24px 0; font-size: 1.05rem; background: rgba(42,146,229,.04); border-radius: 0 8px 8px 0; }
.yoc-bio p { color: #64748b; margin-bottom: 14px; line-height: 1.8; }
.yoc-bio h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; color: #28506F; }
.yoc-phil-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 900px) { .yoc-phil-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .yoc-phil-grid { grid-template-columns: 1fr; } }
.yoc-phil-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px 20px; }
.yoc-phil-icon { font-size: 28px; margin-bottom: 12px; }
.yoc-phil-card h4 { font-size: 1rem; font-weight: 700; color: #28506F; margin-bottom: 6px; }
.yoc-phil-card p { font-size: .9rem; color: #64748b; }

/* ── SERVICES ── */
.yoc-services { padding: 72px 24px; }
.yoc-svc-inner { max-width: 860px; margin: 0 auto; }
.yoc-insurance { margin-bottom: 56px; }
.yoc-insurance h2 { font-size: 1.5rem; font-weight: 700; color: #28506F; margin-bottom: 20px; }
.yoc-insurance img { height: 112px; object-fit: contain; margin-bottom: 20px; }
.yoc-insurance-note { display: flex; gap: 12px; align-items: flex-start; background: rgba(42,146,229,.05); border: 1px solid rgba(42,146,229,.2); border-radius: 12px; padding: 18px 20px; color: #64748b; font-size: .97rem; }
.yoc-ins-check { color: #2A92E5; font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.yoc-svc-list { display: flex; flex-direction: column; gap: 24px; }
.yoc-svc-card { display: flex; gap: 24px; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 32px; transition: box-shadow .2s; }
.yoc-svc-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.yoc-svc-icon { flex-shrink: 0; width: 48px; height: 48px; background: rgba(42,146,229,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.yoc-svc-icon svg { width: 24px; height: 24px; stroke: #2A92E5; }
.yoc-svc-card h3 { font-size: 1.15rem; font-weight: 700; color: #28506F; margin-bottom: 10px; }
.yoc-svc-card p { color: #64748b; font-size: .97rem; line-height: 1.75; }
@media (max-width: 560px) { .yoc-svc-card { flex-direction: column; } }
.yoc-svc-cta { margin-top: 56px; background: #28506F; border-radius: 20px; padding: 48px 40px; text-align: center; }
.yoc-svc-cta h2 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.yoc-svc-cta p { color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── ARTICLES ── */
.yoc-articles { padding: 48px 24px 72px; background: rgba(244,247,250,.4); }
.yoc-articles-inner { max-width: 1100px; margin: 0 auto; }
.yoc-articles-intro { max-width: 700px; margin: 0 auto 56px; text-align: center; color: #64748b; font-size: 1.05rem; line-height: 1.8; }
.yoc-art-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .yoc-art-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .yoc-art-grid { grid-template-columns: 1fr; } }
.yoc-art-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); display: flex; flex-direction: column; transition: box-shadow .2s; }
.yoc-art-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.yoc-art-head { background: rgba(244,247,250,.7); padding: 24px 24px 20px; border-bottom: 1px solid #e2e8f0; }
.yoc-art-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.yoc-art-head h3 { font-family: 'Raleway',sans-serif; font-size: 1.3rem; font-weight: 700; color: #28506F; margin-bottom: 6px; }
.yoc-art-head p { color: #64748b; font-size: .9rem; }
.yoc-art-body { padding: 20px 24px 24px; flex: 1; }
.yoc-art-body li { border-bottom: 1px solid #e2e8f0; }
.yoc-art-body li:last-child { border-bottom: none; }
.yoc-art-body a { display: block; padding: 10px 0; color: #1e293b; font-weight: 500; font-size: .93rem; transition: color .15s; line-height: 1.4; text-decoration: none; }
.yoc-art-body a:hover { color: #2A92E5; }
.yoc-art-footer { margin-top: 60px; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 40px; text-align: center; }
.yoc-art-footer h2 { font-size: 1.4rem; font-weight: 800; color: #28506F; margin-bottom: 10px; }
.yoc-art-footer p { color: #64748b; margin-bottom: 20px; }
.yoc-art-footer a { font-weight: 700; color: #2A92E5; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.yoc-art-footer a:hover { color: #24678D; text-decoration: underline; }

/* ── Footer ── */
.yoc-footer { background: #28506F; color: rgba(255,255,255,.75); padding: 56px 24px 28px; }
.yoc-footer-grid { max-width: 1100px; margin: 0 auto 40px; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 40px; }
.yoc-footer-logo { height: 52px; margin-bottom: 16px; }
.yoc-footer-col h4 { color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.yoc-footer-col p, .yoc-footer-col li { font-size: .92rem; line-height: 1.9; }
.yoc-footer-col a { color: rgba(255,255,255,.7); text-decoration: none; }
.yoc-footer-col a:hover { color: #fff; }
.yoc-footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.5); }
