/* ReOptical demo · shared styles (layout itself is inline, from the design) */
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

/* Desktop / mobile layouts: Flatsome breakpoint 850px */
.v-m { display: none; }
@media (max-width: 849px) {
  .v-d { display: none; }
  .v-m { display: block; }
  body { padding-bottom: 84px; }
}

/* Hover & focus states from the style guide */
a, button { transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
a[style*="background: #F5A623"]:hover, button[style*="background: #F5A623"]:hover { background: #E08E0B !important; }
a[style*="background: #0E2A47"][style*="height: 48px"]:hover { background: #2A4A6F !important; }
a[style*="border: 1.5px solid #C9D2DD"]:hover { border-color: #0E2A47 !important; }
a[style*="border: 1.5px solid rgba(255,255,255"]:hover { border-color: #FFFFFF !important; }
a[style*="border-radius: 16px"][style*="border: 1px solid #E5E1D8"]:hover { transform: translateY(-3px); box-shadow: 0 10px 30px -12px rgba(14,42,71,.18); }
a svg[stroke="#E08E0B"], a svg { transition: transform .18s ease; }
a:hover > svg:last-child { transform: translateX(3px); }
nav[aria-label="Main menu"] a:hover { background: rgba(14,42,71,.06); }
input:focus, select:focus, textarea:focus { border-color: #0E2A47 !important; box-shadow: 0 0 0 4px rgba(14,42,71,.10); outline: none; }
:focus-visible { outline: 3px solid #F5A623; outline-offset: 2px; }

/* Mobile sticky CTA (fixed to the bottom of the screen) */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 8px; padding: 8px; background: #FFFFFF; border: 1px solid #E5E1D8; border-radius: 14px; box-shadow: 0 12px 32px -8px rgba(8,24,41,.35); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.sticky-cta a { flex: 1; height: 46px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sticky-wa { border: 1.5px solid #C9D2DD; color: #0E2A47; }
.sticky-quote { background: #F5A623; color: #0E2A47; }

/* Mobile menu */
.m-menu { position: fixed; inset: 0; z-index: 80; background: #FFFFFF; display: none; flex-direction: column; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.m-menu.open { display: flex; }
.m-menu-top { height: 64px; padding: 0 12px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #E5E1D8; }
.m-menu-top img { height: 28px; display: block; }
.m-menu-close { width: 44px; height: 44px; border: 0; background: transparent; color: #0E2A47; display: grid; place-items: center; cursor: pointer; }
.m-menu nav { padding: 12px 20px; display: flex; flex-direction: column; overflow-y: auto; }
.m-menu nav a { padding: 14px 4px; font-size: 18px; font-weight: 600; color: #0E2A47; text-decoration: none; border-bottom: 1px solid #F0EDE6; }
.m-menu nav a[aria-current="page"] { color: #9A5B00; }
.m-menu .m-menu-cta { margin: 16px 20px; height: 54px; border-radius: 10px; background: #F5A623; color: #0E2A47; font-weight: 600; font-size: 16px; text-decoration: none; display: flex; align-items: center; justify-content: center; }

/* Homepage option switcher (demo only) */
.home-switch { position: fixed; left: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 6px; padding: 6px; background: rgba(8,24,41,.92); border-radius: 999px; box-shadow: 0 12px 32px -8px rgba(8,24,41,.45); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 13px; }
.home-switch span { color: #C3CEDA; padding: 0 8px 0 10px; font-weight: 600; }
.home-switch a { color: #FFFFFF; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.home-switch a[aria-current="page"] { background: #F5A623; color: #0E2A47; }
@media (max-width: 849px) { .home-switch { position: static; border-radius: 0; justify-content: center; box-shadow: none; background: #081829; padding: 8px 12px; } .home-switch span { display: none; } }

/* Form demo message */
.demo-sent { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: #E8F3EC; color: #1F5C3A; border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* Pages hub */
.hub { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: #F7F5F0; color: #152232; }
.hub main { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.hub-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9A5B00; }
.hub h1 { margin: 0 0 12px; font-size: clamp(32px, 6vw, 48px); line-height: 1.1; letter-spacing: -.025em; color: #0E2A47; }
.hub-lead { margin: 0 0 32px; color: #556273; font-size: 17px; line-height: 1.6; }
.hub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hub li a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: #FFFFFF; border: 1px solid #E5E1D8; border-radius: 14px; text-decoration: none; color: #0E2A47; }
.hub li a:hover { border-color: #0E2A47; }
.hub li span { color: #556273; font-size: 14px; }
