/* Summit Catalog Co. — site styles */
:root {
  --navy: #35476b;
  --navy-deep: #1f2c47;
  --teal: #1baad2;
  --teal-deep: #0287b2;
  --sky: #e8f4f9;
  --ink: #2d3443;
  --muted: #6b7486;
  --line: #e2e7ee;
  --head: "Raleway", "Segoe UI", sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 86px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr, .hidden-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--teal); border: 2px solid var(--teal); padding: 14px 28px; border-radius: 3px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 16px rgba(31,44,71,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 190px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal-deep); border-bottom-color: var(--teal); }
.site-nav a.nav-cta { background: var(--navy); color: #fff; padding: 10px 20px; border: 0; border-radius: 3px; }
.site-nav a.nav-cta:hover { background: var(--teal-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero (home) */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; min-height: 600px;
  background: linear-gradient(90deg, rgba(25,36,60,.94) 0%, rgba(25,36,60,.82) 42%, rgba(25,36,60,.45) 100%), var(--bg) center / cover no-repeat;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-slide.slide-flip { background: linear-gradient(270deg, rgba(25,36,60,.9) 0%, rgba(25,36,60,.7) 40%, rgba(25,36,60,.1) 75%), var(--bg) center 8% / cover no-repeat; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-top: 70px; padding-bottom: 90px; width: 100%; }
.slide-flip .hero-grid { grid-template-columns: 1fr 1fr; }
.hero-kicker { font-family: var(--head); font-weight: 700; color: var(--teal); letter-spacing: .25em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.hero h1, .hero h2 { color: #fff; font-size: clamp(36px, 5vw, 60px); font-weight: 300; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero h1 strong, .hero h2 strong { font-weight: 800; }
.hero p { font-size: 19px; color: #e1eaf4; max-width: 520px; margin: 0 0 30px; }
.hero-art img { border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); }
.hero-art.devices img { box-shadow: none; transform: none; filter: drop-shadow(0 25px 35px rgba(0,0,0,.45)); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; }
.hero-controls .wrap { display: flex; gap: 12px; }
.hero-controls button { width: 40px; height: 5px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; border-radius: 3px; }
.hero-controls button.is-active { background: var(--teal); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(rgba(31,44,71,.82), rgba(31,44,71,.88)), var(--bg) center / cover; color: #fff; padding: 90px 0 80px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 54px); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; }
.page-hero p { max-width: 760px; margin: 0 auto; color: #d6e3f0; font-size: 18px; }

/* Sections */
.section { padding: 96px 0; }
.section.tint { background: var(--sky); }
.section-title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 300; letter-spacing: .06em; text-transform: uppercase; position: relative; padding-bottom: 20px; margin-bottom: 28px; }
.section-title strong { font-weight: 800; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 4px; background: var(--teal); }
.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img img { width: 100%; border-radius: 4px; box-shadow: 0 20px 45px rgba(31,44,71,.18); }
.split-img.plain img { box-shadow: none; border-radius: 0; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.checklist li { position: relative; padding-left: 28px; font-weight: 600; color: var(--navy); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Database stats */
.database { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #d6e3f0; }
.database .section-title { color: #fff; }
.database.photo-bg { background: linear-gradient(90deg, rgba(25,36,60,.95) 0%, rgba(25,36,60,.88) 55%, rgba(25,36,60,.7) 100%), var(--bg) center / cover; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 10px; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: 26px 10px; text-align: center; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 700; }

/* Expertise */
.expertise { text-align: center; }
.expertise .lead { max-width: 820px; margin: 0 auto; font-size: 19px; }
.badge-80 { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--teal); margin-bottom: 26px; font-family: var(--head); color: var(--navy); }
.badge-80 strong { font-size: 44px; font-weight: 800; line-height: 1; }
.badge-80 span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(rgba(31,44,71,.9), rgba(31,44,71,.94)), url('/images/contact-bg.jpg') center / cover; color: #d6e3f0; }
.contact .section-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 26px; }
.c-card { display: flex; align-items: center; gap: 18px; background: #fff; color: var(--ink); border-radius: 4px; padding: 18px 22px; text-decoration: none; }
.c-card .ic { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.c-card .ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-card h3 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 2px; }
.c-card p { margin: 0; font-size: 17px; }
a.c-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.contact-form { background: #fff; color: var(--ink); border-radius: 4px; padding: 38px; border-top: 5px solid var(--teal); }
.contact-form h3 { font-size: 24px; margin-bottom: 14px; }
.contact-form label { display: block; font-weight: 600; font-size: 15px; color: var(--navy); margin: 14px 0 6px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cdd5e0; background: #f8fafc; border-radius: 3px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(27,170,210,.18); }
.form-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.form-foot small { color: var(--muted); }

/* Examples */
.examples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ex-card { position: relative; display: block; border: 0; padding: 0; background: #fff; text-align: left; cursor: zoom-in; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(31,44,71,.12); transition: transform .25s, box-shadow .25s; font: inherit; }
.ex-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,44,71,.2); }
.ex-card img { width: 100%; aspect-ratio: 408 / 206; object-fit: cover; }
.ex-card .ex-label { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.ex-card h2 { font-size: 18px; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.ex-card .view { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); white-space: nowrap; }
.note { text-align: center; margin-top: 46px; }

/* Services page */
.svc + .svc { border-top: 1px solid var(--line); }
.svc-num { font-family: var(--head); font-weight: 800; color: var(--teal); letter-spacing: .2em; font-size: 13px; text-transform: uppercase; display: block; margin-bottom: 8px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15,22,36,.9); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; border-radius: 3px; }
.lightbox figcaption { color: #fff; text-align: center; font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; margin-top: 12px; font-weight: 700; }
.lb-close { position: absolute; top: -46px; right: 0; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }
.lb-nav { position: absolute; top: 45%; transform: translateY(-50%); background: rgba(255,255,255,.18); border: 0; color: #fff; font-size: 42px; width: 50px; height: 70px; cursor: pointer; }
.lb-prev { left: -62px; } .lb-next { right: -62px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aeb9cc; padding: 50px 0 36px; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 3px; width: 210px; }
.site-footer h3 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #d6e3f0; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: 13px; text-align: center; }

.thanks { min-height: 55vh; display: flex; align-items: center; text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-slide, .split, .contact-grid { gap: 40px; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { width: 160px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.08); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .site-nav a.nav-cta { margin: 14px 24px; text-align: center; }
  .hero-slide, .hero-slide.slide-flip { min-height: 0; background: linear-gradient(rgba(25,36,60,.82), rgba(25,36,60,.86)), var(--bg) center / cover no-repeat; }
  .hero-grid, .slide-flip .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 80px; gap: 34px; text-align: center; }
  .slide-flip .hero-grid > [aria-hidden] { display: none; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-art img { transform: none; margin: 0 auto; }
  .hero-controls .wrap { justify-content: center; }
  .split, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .section { padding: 68px 0; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .checklist { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .btn-row .btn { flex: 1 1 100%; text-align: center; }
}
