/* LensZoom site styles. Brand colors come from the logo. */
:root {
  --navy: #0b2454;
  --blue: #1565c0;
  --sky: #2b8be6;
  --orange: #f57c0e;
  --orange-dark: #d9660a;
  --ink: #1d2433;
  --muted: #5b6577;
  --line: #e3e8f0;
  --bg-soft: #f4f7fb;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11, 36, 84, 0.08);
  --max: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 100; }

/* Top bar */
.topbar { background: var(--navy); color: #cfdcf3; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 600; padding: 10px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--blue); }
.nav .btn { margin-left: 8px; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 240px; padding: 8px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; font-weight: 500; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font-size: 1rem; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: #fff !important; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 8px; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-light { background: #fff; color: var(--navy) !important; }
.btn-light:hover { background: #e9f0fb; }
.btn-sm { padding: 8px 14px; font-size: .92rem; }

/* Hero */
.hero { background: linear-gradient(120deg, var(--navy) 0%, #12408f 55%, var(--blue) 100%); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); box-shadow: 0 0 0 60px rgba(255,255,255,.04); }
.hero h1 { color: #fff; max-width: 720px; }
.hero p.lead { font-size: 1.2rem; color: #dbe6fa; max-width: 640px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--orange); margin-bottom: 10px; }
.hero .eyebrow { color: #ffb366; }

.page-hero { background: var(--bg-soft); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 1.08rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* Sections */
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(11,36,84,.14); }
.icon { width: 56px; height: 56px; border-radius: 12px; background: #e8f1fd; display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 32px; height: 32px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Product cards */
.product { padding: 0; overflow: hidden; }
.product .thumb { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eef4fc, #dde9f9); display: grid; place-items: center; }
.product .thumb svg { width: 72px; height: 72px; stroke: var(--blue); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.08rem; }
.product .sku { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.product p { font-size: .95rem; }
.product .btn { margin-top: auto; align-self: flex-start; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--blue); background: #e8f1fd; border-radius: 20px; padding: 2px 10px; margin-bottom: 8px; }

.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; }
.subnav a { text-decoration: none; border: 1px solid var(--line); padding: 6px 14px; border-radius: 20px; color: var(--navy); font-weight: 600; font-size: .92rem; background: #fff; }
.subnav a:hover { border-color: var(--blue); color: var(--blue); }

/* Feature list */
.features { list-style: none; padding: 0; margin: 0; }
.features li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.features li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

.audience { text-align: center; }
.stat { font-size: 2rem; font-weight: 800; color: var(--orange); }

/* CTA band */
.cta { background: var(--orange); color: #fff; padding: 48px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; }
.cta p { margin: 6px 0 0; color: #fff3e6; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .95rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #c9d3e2; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
textarea { min-height: 140px; resize: vertical; }
.req { color: var(--orange-dark); }
.hint { font-size: .85rem; color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; }
.checks label { font-weight: 400; color: var(--ink); display: flex; gap: 8px; align-items: center; margin: 0; }
.checks input { width: auto; }
.hidden { display: none !important; }
.form-status { padding: 14px; border-radius: 8px; font-weight: 600; }
.form-status.ok { background: #e7f6ec; color: #17643a; }
.form-status.err { background: #fdecec; color: #9b1c1c; }

.aside-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.layout-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; align-items: start; }
.notice { background: #fff8ec; border: 1px solid #ffd9a8; color: #7a4a0d; padding: 12px 16px; border-radius: 8px; font-size: .92rem; margin-bottom: 24px; }

/* Footer */
.site-footer { background: var(--navy); color: #c3d0e8; padding: 52px 0 24px; font-size: .95rem; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer a { color: #c3d0e8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-logo { background: #fff; border-radius: 8px; padding: 8px 12px; display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 52px; width: auto; }
.legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-2 { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .dropdown-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .site-header .container { position: relative; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .form .row, .checks { grid-template-columns: 1fr; }
  .brand img { height: 48px; }
  .site-header .container { min-height: 68px; }
  section { padding: 44px 0; }
  .hero { padding: 52px 0; }
  .topbar .hide-sm { display: none; }
}
