/* PACIFIC VISION EYE CARE - SHARED STYLES */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Karla', system-ui, sans-serif;
  background: #FFFFFF;
  color: #223B44;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --ink:      #0A2F3D;
  --teal:     #0EA5B7;
  --teal-dk:  #0B7C8A;
  --teal-lt:  #5FD3E3;
  --aqua:     #E8F7F9;
  --aqua-bd:  #CFEEF2;
  --white:    #FFFFFF;
  --coral:    #FF6B4A;
  --coral-dk: #E8532F;
  --text:     #223B44;
  --muted:    #5C7580;
  --border:   #E1EFF1;
  --gold:     #F5C842;
}

h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', sans-serif; color: var(--ink); font-weight: 700; line-height: 1.18; }
.eyebrow { font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dk); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,74,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,107,74,.36); background: var(--coral-dk); }
.btn-outline { border: 2px solid var(--teal); color: var(--teal-dk); }
.btn-outline:hover { background: var(--aqua); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(14,165,183,.28); }

/* TOPBAR */
.topbar {
  background: var(--ink); color: var(--aqua); font-size: .82rem;
  padding: 8px 0; text-align: center; letter-spacing: .02em;
}

/* NAV */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 76px; background: #FFFFFF;
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 500;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative;
}
.logo-icon::after { content:''; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }
.logo-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.15; }
.logo-sub { font-size: .64rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dk); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; font-size: .93rem; color: var(--text); position: relative; }
.nav-links a:hover { color: var(--teal-dk); }
.nav-links .dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(10,47,61,.14); padding: 10px; min-width: 240px;
  opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 50;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 500; font-size: .88rem; }
.dropdown-menu a:hover { background: var(--aqua); color: var(--teal-dk); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 700; color: var(--teal-dk); font-size: .92rem; }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 600;
}
.hamburger span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: all .25s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 0; right: -100%; width: 82%; max-width: 360px; height: 100vh;
  background: #fff; z-index: 550; box-shadow: -10px 0 40px rgba(0,0,0,.15);
  padding: 100px 30px 30px; overflow-y: auto; transition: right .3s ease;
}
.mobile-menu.active { right: 0; }
.mobile-menu a { display: block; padding: 14px 0; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-menu .mm-group-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 18px; }
.overlay { display: none; position: fixed; inset: 0; background: rgba(10,47,61,.4); z-index: 540; opacity: 0; transition: opacity .25s ease; }
.overlay.active { display: block; opacity: 1; }

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger, .mobile-menu, .overlay { display: flex; }
  .mobile-menu { flex-direction: column; }
  .nav-cta .btn { padding: 10px 18px; font-size: .85rem; }
}

/* HERO - split panel with lens cutout seam */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; position: relative; background: var(--ink); }
.hero-copy { padding: 64px 5% 64px 5%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-copy .eyebrow { color: var(--teal-lt); }
.hero-copy h1 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3rem); margin: 12px 0 18px; }
.hero-copy p.lead { font-size: 1.08rem; color: #B9D8DE; margin-bottom: 28px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { position: relative; background-size: cover; background-position: center; min-height: 320px; }
.hero-lens {
  position: absolute; left: 0; top: 50%; transform: translate(-50%,-50%);
  width: 108px; height: 108px; border-radius: 50%; background: #fff; border: 3px solid var(--teal);
  display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box;
  z-index: 20; box-shadow: 0 14px 30px rgba(10,47,61,.2);
}
.hero-lens .num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.hero-lens .label { font-size: .68rem; color: var(--teal-dk); font-weight: 500; text-align: center; line-height: 1.2; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 220px; order: -1; }
  .hero-lens { left: 50%; top: 0; }
}

/* PAGE HERO (interior pages) - muted photo, solid ink text panel */
.page-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; background: var(--ink); position: relative; }
.page-hero-copy { padding: 46px 5%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.page-hero-copy .eyebrow { color: var(--teal-lt); }
.page-hero-copy h1 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-top: 8px; }
.page-hero-copy p { color: #B9D8DE; max-width: 520px; margin-top: 12px; font-size: 1.02rem; }
.page-hero-photo { position: relative; background-size: cover; background-position: center; min-height: 180px; opacity: .55; }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } .page-hero-photo { min-height: 140px; opacity: .35; } }

/* trust strip (ring icon boxes) */
.trust-strip { padding: 26px 5%; background: var(--aqua); display: flex; gap: 14px; flex-wrap: wrap; }
.trust-strip .t-item { flex: 1; min-width: 150px; background: #fff; border-radius: 12px; padding: 16px; border: 1px solid var(--aqua-bd); text-align: center; }
.ring-badge { width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; border: 1.5px solid var(--teal); }
.trust-strip .t-item .t-label { font-size: .82rem; font-weight: 500; color: var(--ink); }

/* SECTIONS */
section { padding: 76px 5%; }
.section-alt { background: var(--aqua); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head.left { text-align: left; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(10,47,61,.08); }
.card .ic {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--teal-dk); font-size: 1.3rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .87rem; color: var(--teal-dk); }

/* BENTO (asymmetric "why patients choose us" grid) */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; max-width: 1180px; margin: 0 auto; }
.bento .b-photo { grid-row: span 2; border-radius: 20px; background-size: cover; background-position: center; min-height: 260px; }
.bento .b-tile { background: var(--aqua); border-radius: 16px; padding: 24px; }
.bento .b-tile.dark { background: var(--ink); color: #fff; }
.bento .b-tile.dark h3, .bento .b-tile.dark .num { color: #fff; }
.bento .b-tile .num { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:1.9rem; color: var(--teal-dk); }
.bento .b-tile p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.bento .b-tile.dark p { color: #B9D8DE; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento .b-photo { grid-row: span 1; min-height: 200px; grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento .b-photo { grid-column: span 1; } }

/* NUMBERED LIST (services breakdown, alternative to card grid) */
.num-list { max-width: 820px; margin: 0 auto; }
.num-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.num-item:last-child { border-bottom: none; }
.num-item .n {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--teal);
  display: flex; align-items: center; justify-content: center; font-family:'Bricolage Grotesque',sans-serif; font-weight: 700; color: var(--teal-dk);
}
.num-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.num-item p { color: var(--muted); font-size: .93rem; }
.num-item a { color: var(--teal-dk); font-weight: 700; font-size: .85rem; }

/* ACCORDION (services / FAQ) */
.acc-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; overflow: hidden; background: #fff; }
.acc-q { padding: 20px 22px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; gap: 12px; }
.acc-q .plus { font-size: 1.3rem; color: var(--teal-dk); transition: transform .2s ease; flex-shrink: 0; }
.acc-item.open .acc-q .plus { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a-inner { padding: 0 22px 20px; color: var(--muted); }
.acc-a-inner a { color: var(--teal-dk); font-weight: 700; }
.acc-item.open .acc-a { max-height: 600px; }

/* stat strip */
.stat-strip { background: var(--ink); color: #fff; padding: 26px 5%; }
.stat-strip .grid-4 { text-align: center; }
.stat-strip .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.stat-strip .lbl { font-size: .78rem; opacity: .8; margin-top: 6px; color: var(--teal-lt); }

/* testimonials */
.testi { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.testi .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testi p { font-style: italic; color: var(--text); margin-bottom: 14px; }
.testi .who { font-weight: 700; font-size: .88rem; color: var(--ink); }
.testi .who span { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

.cta-band { background: linear-gradient(135deg, var(--teal), var(--teal-lt)); color: #fff; text-align: center; padding: 66px 5%; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { opacity: .95; margin: 12px 0 26px; font-size: 1.02rem; }
.cta-band .btn-primary { background: #fff; color: var(--coral-dk); box-shadow: 0 10px 24px rgba(0,0,0,.12); }

/* provider grid (choose your doctor) */
.provider-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; text-align: center; }
.provider-card .p-photo { height: 240px; background-size: cover; background-position: center top; }
.provider-card .p-body { padding: 22px; }
.provider-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.provider-card .p-role { color: var(--teal-dk); font-size: .85rem; font-weight: 700; margin-bottom: 10px; }
.provider-card p.p-bio { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

/* doctor bio split page */
.doc-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; max-width: 1000px; margin: 0 auto; align-items: start; }
.doc-split .d-photo { border-radius: 18px; background-size: cover; background-position: center top; min-height: 380px; }
.doc-split .d-cred { display: inline-block; background: var(--aqua); color: var(--teal-dk); font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 10px; }
@media (max-width: 800px) { .doc-split { grid-template-columns: 1fr; } .doc-split .d-photo { min-height: 260px; } }

/* PRODUCT / FRAME SHOP GRID */
.shop-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.shop-tab { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border); font-size: .85rem; font-weight: 700; color: var(--muted); cursor: pointer; background: #fff; }
.shop-tab.active, .shop-tab:hover { border-color: var(--teal); color: var(--teal-dk); background: var(--aqua); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; }
@media (max-width: 960px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }
.frame-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.frame-card .f-photo { height: 170px; background-size: cover; background-position: center; }
.frame-card .f-body { padding: 16px 18px 18px; }
.frame-card .f-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dk); font-weight: 700; }
.frame-card h4 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1rem; margin: 4px 0 6px; color: var(--ink); }
.frame-card .f-price { color: var(--coral-dk); font-weight: 700; font-size: .95rem; }

/* insurance plan pills */
.plan-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; }
.plan-pill { background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: .9rem; color: var(--ink); }

/* forms */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 40px; box-shadow: 0 20px 50px rgba(10,47,61,.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  font-family: inherit; font-size: .95rem; background: var(--aqua); color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--ink); color: #B9D8DE; padding: 66px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; }
.footer-grid h4 { color: #fff; font-family: 'Karla', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-grid a { display: block; color: #9FC3CB; font-size: .89rem; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-name { color: #fff; }
.footer-disclosure { font-size: .78rem; font-style: italic; color: #7FA3AB; margin-top: 10px; }
.footer-bottom { max-width: 1180px; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: #7FA3AB; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* utility */
.mt-lg { margin-top: 56px; }
.text-center { text-align: center; }
.badge-pill { display: inline-block; background: var(--aqua); color: var(--teal-dk); font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 10px; }
