/* =========================================================================
   OptiPlus Opticians — Design System
   Direction: "Optical precision" — an eye-exam / lens-focus visual language.
   Signature element: the Focus Ring — a concentric aperture motif used to
   frame imagery in the hero and to drive the booking-flow progress meter,
   echoing an optometrist's phoropter dial closing in on clarity.
   ========================================================================= */

:root {
  /* --- Color --- */
  --ink:        #0E1A2B;   /* near-black navy, body text */
  --navy:       #12294F;   /* deep primary — headers, nav */
  --navy-2:     #0A1830;   /* darker navy for footers/contrast blocks */
  --optic-blue: #1C7FE0;   /* brand blue, from the OptiPlus eye mark */
  --optic-blue-light: #E8F2FE;
  --lens-teal:  #0E7C86;   /* secondary accent, cool lens tint */
  --frame-gold: #E8A23D;   /* CTA / warm accent, evokes gold frame rims */
  --frame-gold-dark: #C7841F;
  --paper:      #F7F9FC;   /* page background */
  --paper-2:    #FFFFFF;
  --line:       #DCE3EE;
  --muted:      #5C6B85;

  /* --- Type --- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  /* --- Scale / rhythm --- */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-soft: 0 20px 50px -25px rgba(14, 26, 43, 0.35);
  --shadow-card: 0 10px 30px -18px rgba(14, 26, 43, 0.25);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lens-teal);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--lens-teal);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--navy);
  color: #DCE6F5;
}
.section--dark h2, .section--dark h3 { color: #FFFFFF; }
.section--tint { background: var(--optic-blue-light); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--frame-gold);
  color: var(--navy-2);
  box-shadow: 0 14px 30px -14px rgba(232, 162, 61, 0.65);
}
.btn-primary:hover { background: var(--frame-gold-dark); box-shadow: 0 16px 34px -12px rgba(199, 132, 31, 0.7); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
}
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--optic-blue);
  display: grid; place-items: center;
  position: relative;
}
.brand .mark::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--optic-blue);
}
.brand .plus { color: var(--frame-gold-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.nav-links a, .nav-menu-trigger { opacity: 0.78; transition: opacity .15s; }
.nav-links a:hover, .nav-menu-trigger:hover { opacity: 1; }
.nav-item { position: relative; }
.nav-menu-trigger { appearance: none; border: 0; padding: 8px 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; cursor: pointer; }
.nav-chevron { margin-left:5px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }.nav-item.is-open .nav-chevron, .nav-item:hover .nav-chevron { transform:rotate(180deg); }
.mega-menu { position: absolute; top: calc(100% + 22px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(760px, calc(100vw - 48px)); padding: 24px; display: grid; gap: 24px; background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 55px -28px rgba(14,26,43,.45); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.nav { overflow: visible; }.nav .container { position: relative; }.mega-menu { max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.nav-item:first-child .mega-menu,.nav-item:nth-child(2) .mega-menu { left:0; transform:translateY(8px); }.nav-item:first-child:hover .mega-menu,.nav-item:first-child:focus-within .mega-menu,.nav-item:first-child.is-open .mega-menu,.nav-item:nth-child(2):hover .mega-menu,.nav-item:nth-child(2):focus-within .mega-menu,.nav-item:nth-child(2).is-open .mega-menu { transform:translateY(0); }.nav-item:nth-child(4) .mega-menu { left:auto; right:0; transform:translateY(8px); }.nav-item:nth-child(4):hover .mega-menu,.nav-item:nth-child(4):focus-within .mega-menu,.nav-item:nth-child(4).is-open .mega-menu { transform:translateY(0); }
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu, .nav-item.is-open .mega-menu { opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0); }.mega-shop { grid-template-columns:1.1fr .8fr .9fr; }.mega-menu-intro { padding:8px 20px 8px 0; border-right:1px solid var(--line); }.mega-menu h3 { font-size:22px; margin:10px 0 8px; }.mega-menu h4 { color:var(--muted); font:11px var(--font-mono); letter-spacing:.09em; text-transform:uppercase; margin:4px 0 13px; }.mega-menu p { color:var(--muted); font-size:13px; line-height:1.55; margin:0 0 16px; }.mega-menu-intro > a,.mega-all-link { color:var(--optic-blue); font-size:13px; font-weight:700; }.mega-links { display:flex; flex-direction:column; gap:10px; }.mega-links a { opacity:1; font-size:14px; }.mega-links a:hover { color:var(--optic-blue); }.mega-offers { grid-template-columns:1.3fr .8fr; }.mega-feature-card { overflow:hidden; display:grid; grid-template-columns:145px 1fr; min-height:165px; background:#f1f7fb; border-radius:12px; }.mega-feature-card img,.mega-card-fallback { width:100%; height:100%; min-height:165px; object-fit:cover; }.mega-card-fallback { background:linear-gradient(135deg,#b9e4e1,#e9b767); }.mega-feature-card > div:last-child { padding:18px; }.mega-feature-card span { display:block; color:var(--lens-teal); font:10px var(--font-mono); letter-spacing:.08em; text-transform:uppercase; }.mega-feature-card h3 { font-size:18px; line-height:1.2; margin:8px 0; }.mega-feature-card a { color:var(--optic-blue); opacity:1; font-size:13px; font-weight:700; }.mega-offer-list { display:flex; flex-direction:column; gap:10px; }.mega-offer-list > a:not(.mega-all-link) { opacity:1; padding-bottom:10px; border-bottom:1px solid var(--line); }.mega-offer-list strong,.mega-offer-list span { display:block; }.mega-offer-list strong { font-size:13px; }.mega-offer-list span { color:var(--muted); font-size:12px; margin-top:2px; }.mega-journal { grid-template-columns:1.35fr .65fr; }.journal-card { grid-template-columns:150px 1fr; }.journal-card p { margin-bottom:9px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-toggle { display: none; }
.mega-offer-row { display:flex; align-items:center; gap:10px; }
.mega-offer-row img { width:40px; height:40px; border-radius:7px; object-fit:cover; }
.mega-offer-row small { display:block; color:var(--muted); font-size:12px; margin-top:2px; }

/* =========================================================================
   HERO — Focus Ring signature
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(28,127,224,0.12), transparent 60%),
    var(--paper);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 72px;
}
.hero-copy h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  margin-top: 18px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--optic-blue);
}
.hero-copy p {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-display); font-size: 24px; color: var(--navy); }
.hero-trust span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.03em; }

/* Focus Ring frame around the rotating banner */
.focus-ring {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 470px;
  margin: 0 auto;
  border-radius: 50%;
}
.focus-ring::before,
.focus-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(18,41,79,0.14);
}
.focus-ring::before { inset: -22px; }
.focus-ring::after { inset: -44px; border-style: dashed; border-color: rgba(28,127,224,0.22); }

.focus-ring .ticks {
  position: absolute;
  inset: -44px;
  border-radius: 50%;
  animation: spin-slow 60s linear infinite;
}
.focus-ring .ticks i {
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 8px;
  background: rgba(18,41,79,0.28);
  transform-origin: 50% 234px;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.banner-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--navy);
}
.banner-stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
}
.banner-stage img.is-active {
  opacity: 1;
  transform: scale(1);
}
.banner-stage .banner-tag {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  background: rgba(10,24,48,0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  z-index: 3;
}
.banner-dots {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.banner-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  transition: background .2s, transform .2s;
}
.banner-dots button.is-active { background: var(--optic-blue); transform: scale(1.3); }

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: grid; place-items: center;
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.banner-arrow.prev { left: -6px; }
.banner-arrow.next { right: -6px; }
.banner-arrow:hover { background: #fff; }

/* =========================================================================
   MARQUEE / TRUST STRIP
   ========================================================================= */
.strip {
  background: var(--navy-2);
  color: #cfe0f7;
  padding: 14px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.strip-track span { opacity: 0.85; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(28,127,224,0.35);
}
.svc-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--optic-blue-light);
  color: var(--optic-blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.svc-card h3 { font-size: 19px; }
.svc-card p { color: var(--muted); font-size: 14.5px; margin: 10px 0 18px; }
.svc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lens-teal);
}
.svc-meta a { font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; }
.svc-meta a:hover { color: var(--optic-blue); }

/* =========================================================================
   WHY / PROCESS
   ========================================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why-visual {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: flex; flex-direction: column; gap: 26px; }
.why-item { display: flex; gap: 18px; }
.why-num {
  font-family: var(--font-mono);
  color: var(--optic-blue);
  font-size: 13px;
  padding-top: 4px;
  min-width: 28px;
}
.why-item h4 { font-size: 18px; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* =========================================================================
   BRANCHES
   ========================================================================= */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.branch-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  position: relative;
}
.branch-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lens-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.branch-card h3 { font-size: 19px; margin: 10px 0 4px; }
.branch-card p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.branch-card .hours {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--navy);
  border-top: 1px dashed var(--line); padding-top: 14px;
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
}
.quote-card .stars { color: var(--frame-gold); font-size: 14px; letter-spacing: 2px; }
.quote-card p { font-size: 15.5px; margin: 14px 0 18px; color: var(--ink); }
.quote-person { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--optic-blue-light); color: var(--optic-blue);
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display);
}
.quote-person strong { display: block; font-size: 14px; }
.quote-person span { display: block; font-size: 12.5px; color: var(--muted); }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #0F3A6B 100%);
  border-radius: var(--radius-l);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.15);
  right: -120px; top: -120px;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); max-width: 480px; }
.cta-band p { color: #C7D6EC; margin-top: 10px; max-width: 440px; }
.cta-band-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  background: var(--navy-2);
  color: #B9C8DF;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 0.9fr;
  gap: 32px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; line-height: 1.7; max-width: 300px; color: #9FB2CE; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6E85A8;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6E85A8;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================================
   FLOATING CTA
   ========================================================================= */
.float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.4);
  border: none;
  transition: transform .18s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-btn.whatsapp { background: #25D366; color: #fff; }
.float-btn.call { background: var(--navy); color: #fff; }
.float-book {
  display: none;
}

@media (max-width: 720px) {
  .float-book {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--frame-gold);
    color: var(--navy-2);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 999px;
    box-shadow: 0 12px 28px -10px rgba(0,0,0,0.4);
  }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1040px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 1fr; }
  .focus-ring { order: -1; max-width: 320px; }
  .nav-phone { display: none; }
  .nav-links { display:none; position:absolute; z-index:110; top:78px; left:0; right:0; max-height:calc(100vh - 78px); overflow-y:auto; align-items:stretch; flex-direction:column; gap:0; padding:12px 28px 26px; background:#f7f9fc; border-bottom:1px solid var(--line); box-shadow:0 18px 35px -28px rgba(14,26,43,.45); }
  .nav-links.is-open { display:flex; }.nav-links > li { border-bottom:1px solid var(--line); }.nav-links > li > a,.nav-menu-trigger { display:flex; width:100%; justify-content:space-between; align-items:center; padding:15px 0; opacity:1; }.mega-menu { position:static; width:auto; max-height:none; overflow:visible; transform:none; display:none; opacity:1; visibility:visible; pointer-events:auto; box-shadow:none; border:0; border-radius:0; padding:0 0 18px; background:transparent; }.nav-item:hover .mega-menu,.nav-item:focus-within .mega-menu { display:none; }.nav-item.is-open .mega-menu { display:grid; transform:none; }.mega-shop,.mega-offers,.mega-journal { grid-template-columns:1fr; gap:16px; }.mega-menu-intro { padding:0; border:0; }.mega-feature-card,.journal-card { grid-template-columns:100px 1fr; min-height:120px; }.mega-feature-card img,.mega-card-fallback { min-height:120px; }.mega-feature-card > div:last-child { padding:14px; }.mega-feature-card h3 { font-size:16px; }.mega-menu h3 { font-size:19px; }
  .nav-toggle { display: block; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 560px) {
  .btn-primary-nav,.viewcrd-btn {display:none;}
  .nav-cart{ margin:0px 20px;}
  .section { padding: 64px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { width: 100%; }
  .hero-trust { gap: 20px; }

}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--optic-blue);
  outline-offset: 2px;
}

/* =========================================================================
   BLOG + LANDING PAGE STYLES
   ========================================================================= */

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.article-card-body {
  padding: 24px;
}
.article-card-body h3 {
  font-size: 24px;
  margin: 10px 0 8px;
}
.article-card-body p {
  color: var(--muted);
  margin: 0 0 18px;
}
.article-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lens-teal);
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 0 80px;
}
.article-header {
  margin-bottom: 30px;
}
.article-hero {
  border-radius: var(--radius-l);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: #fff;
}
.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.article-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 34px 28px;
}
.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 28px;
  margin-bottom: 12px;
}
.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}
.article-body p { margin: 0 0 18px; }
.article-body ul,
.article-body ol {
  margin: 0 0 18px 20px;
}
.article-body blockquote {
  background: var(--optic-blue-light);
  border-left: 4px solid var(--optic-blue);
  padding: 18px 18px 18px 22px;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--navy);
  margin: 26px 0;
  font-size: 18px;
}
.article-cta,
.landing-cta {
  margin-top: 36px;
  padding: 30px 28px;
  border-radius: var(--radius-m);
  background: linear-gradient(120deg, #123564 0%, var(--navy) 100%);
  color: #fff;
}
.article-cta h3,
.landing-cta h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 32px);
}
.article-cta p,
.landing-cta p {
  color: rgba(255,255,255,0.82);
  margin: 0 0 18px;
  font-size: 16px;
}
.article-cta a,
.landing-cta a {
  display: inline-flex;
}

.landing-section {
  padding: 52px 0 90px;
}
.landing-hero {
  background: linear-gradient(135deg, rgba(17,53,104,0.08), rgba(28,127,224,0.12));
  padding: 64px 0 30px;
  border-bottom: 1px solid var(--line);
}
.landing-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.landing-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.landing-hero-card img {
  width: 100%;
  object-fit: cover;
}
.landing-content {
  max-width: 980px;
  margin: 0 auto;
}
.landing-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px 28px;
}
.product-inline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.product-inline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.product-inline-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.product-inline-card-body {
  padding: 18px;
}
.product-inline-card-body h4 {
  margin: 0 0 8px;
  font-size: 18px;
}
.product-inline-card-body p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .article-list,
  .product-inline-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-inner {
    grid-template-columns: 1fr;
  }
}
