/*
 * Altamonte Technologies — site styles (Propshaft, no preprocessing).
 * Tailwind utilities live in tailwind.css; this file owns the shared chrome
 * (header/footer) and the homepage design system.
 */

:root {
  --ink: #0f1419;
  --ink-soft: #2b3340;
  --muted: #5b6470;
  --line: #e6e8ec;
  --line-strong: #d3d7de;
  --surface: #f6f7f9;
  --surface-2: #eef0f4;
  --navy: #0a2240;
  --navy-deep: #07172a;
  --blue: #2f6bff;
  --blue-soft: #e8efff;
  --sky: #0284c7;
  --sky-soft: #e0f2fe;
  --teal: #0d9488;
  --teal-soft: #d8f3ef;
  --amber: #b45309;
  --amber-soft: #fdf0dd;
  --gold: #d3a52f;
  --display: Archivo, "Inter var", Inter, system-ui, sans-serif;
  --radius: 18px;
  --shadow-card: 0 1px 2px rgba(15, 20, 25, .04), 0 12px 32px -12px rgba(15, 20, 25, .12);
  --shadow-lift: 0 2px 4px rgba(15, 20, 25, .05), 0 28px 56px -20px rgba(15, 20, 25, .22);
}

html { scroll-behavior: smooth; }
body { background: #fff; color: var(--ink); }
.site-shell { width: min(100% - 48px, 1200px); margin-inline: auto; }

/* ---------- Header / footer (shared by every page) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .84); border-bottom: 1px solid rgba(15, 20, 25, .08); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.header-inner { height: 72px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 32px; }
.brand-link { display: inline-flex; }
.brand-link img { width: 176px; height: 46px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.desktop-nav a { padding: 8px 12px; border-radius: 8px; transition: background .18s ease, color .18s ease; }
.desktop-nav a:hover { background: rgba(15, 20, 25, .06); color: var(--ink); }
.header-cta { display: inline-flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 9px; font-size: 14px; font-weight: 650; transition: background .18s ease, transform .18s ease; }
.header-cta:hover { background: #26303c; transform: translateY(-1px); }
.header-cta span { transition: transform .18s ease; }
.header-cta:hover span { transform: translateX(3px); }
.menu-button, .mobile-nav { display: none; }

.site-footer { padding: 72px 0 25px; background: var(--navy-deep); color: #c8d2dc; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 60px; }
.footer-brand img { width: 190px; padding: 10px 12px; border-radius: 8px; background: white; }
.footer-brand p { max-width: 330px; margin-top: 20px; color: #8fa0b0; line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.footer-column strong { margin-bottom: 7px; color: white; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.footer-column a { transition: color .18s ease; }
.footer-column a:hover { color: #fff; }
.footer-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: #758698; font-size: 12px; }

/* ---------- Shared type & buttons ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .industry-aside h3, .closing-inner h2, .custom-band h2 { margin: 0; font-family: var(--display); letter-spacing: -.04em; font-weight: 650; line-height: 1.02; }
.section-heading h2 { font-size: clamp(38px, 4.6vw, 58px); }
.section-heading > p { max-width: 640px; margin: 22px 0 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center > p { margin-inline: auto; }
.section-heading.center .eyebrow::before { display: none; }

.button { display: inline-flex; align-items: center; gap: 12px; border-radius: 10px; padding: 15px 22px; font-weight: 650; font-size: 15px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { transition: transform .2s ease; }
.button:hover span { transform: translateX(3px); }
.button-dark { background: var(--ink); color: white; box-shadow: 0 8px 20px -10px rgba(15,20,25,.6); }
.button-dark:hover { background: #26303c; }
.button-light { background: white; color: var(--ink); }
.button-outline { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); }
.arrow-link span, .text-link span { transition: transform .2s ease; }
.arrow-link:hover span, .text-link:hover span { transform: translateX(4px); }
.text-link-light { color: white; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.65,.2,1), transform .7s cubic-bezier(.2,.65,.2,1); transition-delay: var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 80px; background: #eceff4; border-bottom: 1px solid var(--line-strong); }
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-inner h1 { margin: 0; font-family: var(--display); font-size: clamp(42px, 5.2vw, 68px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.hero-lede { max-width: 720px; margin: 26px auto 0; color: var(--muted); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.hero-lede-short { display: none; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 22px; }
.hero-inner .hero-actions { justify-content: center; }
.text-link-underline { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(15,20,25,.35); transition: text-decoration-color .2s ease; }
.text-link-underline:hover { text-decoration-color: var(--ink); }

/* Hero scene: records converging into one system */
.scene { --u: 1cqw; position: relative; max-width: 1080px; aspect-ratio: 1080 / 520; margin: 48px auto 0; container-type: inline-size; }
.scene-lines-tall { display: none; }
.scene-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene-lines path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 5 7; stroke-linecap: round; opacity: .55; animation: dash-flow 3s linear infinite; }
.scene-card { position: absolute; left: var(--x); top: var(--y); width: calc(19 * var(--u)); padding: calc(1 * var(--u)) calc(1.15 * var(--u)) calc(1.1 * var(--u)); border-radius: calc(.95 * var(--u)); background: #fff; border: 1px solid rgba(15,20,25,.1); box-shadow: 0 1px 2px rgba(15,20,25,.05), 0 calc(1.6 * var(--u)) calc(3.2 * var(--u)) calc(-1.6 * var(--u)) rgba(10,34,64,.35); font-size: calc(1.08 * var(--u)); line-height: 1.35; color: var(--ink-soft); transform: rotate(var(--r)); transform-origin: center; animation: float-y 7s ease-in-out infinite; }
.scene-card:nth-child(odd) { animation-duration: 8s; animation-delay: -3s; }
.scene-card header { display: flex; align-items: center; gap: calc(.6 * var(--u)); margin-bottom: calc(.7 * var(--u)); padding-bottom: calc(.6 * var(--u)); border-bottom: 1px solid var(--line); }
.scene-card header i { width: calc(.8 * var(--u)); height: calc(.8 * var(--u)); border-radius: calc(.25 * var(--u)); background: var(--accent); }
.scene-card header b { color: var(--ink); font-weight: 700; }
.scene-card header span { margin-left: auto; color: var(--muted); font-size: calc(.95 * var(--u)); font-variant-numeric: tabular-nums; }
.scene-card .row { display: flex; justify-content: space-between; gap: calc(1 * var(--u)); padding: calc(.25 * var(--u)) 0; white-space: nowrap; }
.scene-card .row span:last-child { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.scene-card em { padding: calc(.15 * var(--u)) calc(.55 * var(--u)); border-radius: 999px; background: var(--blue-soft); color: #1d4ed8; font-style: normal; font-size: calc(.9 * var(--u)); font-weight: 650; }
.scene-card em.ok { background: #dcfce7; color: #15803d; }
.scene-card em.warn { background: var(--amber-soft); color: var(--amber); }
.scene-card.t-blue { --accent: var(--blue); }
.scene-card.t-teal { --accent: var(--teal); }
.scene-card.t-amber { --accent: var(--amber); }
.scene-card.t-navy { --accent: var(--navy); }
.scene-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: calc(1 * var(--u)); padding: calc(1 * var(--u)) calc(1.6 * var(--u)) calc(1 * var(--u)) calc(1.2 * var(--u)); border-radius: calc(1.2 * var(--u)); background: var(--navy); color: #fff; box-shadow: 0 0 0 calc(.6 * var(--u)) rgba(10,34,64,.08), 0 calc(2 * var(--u)) calc(4 * var(--u)) calc(-1.6 * var(--u)) rgba(10,34,64,.6); }
.scene-core svg { width: calc(2.6 * var(--u)); height: calc(2.6 * var(--u)); fill: currentColor; }
.scene-core small { display: block; color: #9fb0c3; font-size: calc(.85 * var(--u)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.scene-core b { display: block; font-family: var(--display); font-size: calc(1.5 * var(--u)); font-weight: 650; letter-spacing: -.02em; }
@keyframes dash-flow { to { stroke-dashoffset: -24; } }
@keyframes float-y { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(calc(-.6 * var(--u))); } }

/* Hero solution tiles */
.hero-solutions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.solution { display: flex; flex-direction: column; padding: 22px 22px 24px; border-radius: 14px; background: #f7f8fa; border: 1px solid rgba(15,20,25,.09); box-shadow: 0 1px 2px rgba(15,20,25,.03); color: var(--ink); }
.solution-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--blue-soft); }
.solution-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.solution b { display: block; margin-top: 18px; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.solution p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.solution-featured { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 18px 40px -20px rgba(10,34,64,.55); }
.solution-featured .solution-icon { background: rgba(255,255,255,.14); }
.solution-featured .solution-icon svg { stroke: #fff; }
.solution-featured p { color: #b9c8d8; }

/* ---------- Expertise cards ---------- */
.expertise { padding: 80px 0 96px; background: #fff; border-top: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { --accent: var(--blue); --accent-soft: #e8efff; --accent-rgb: 47,107,255; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .35s cubic-bezier(.2,.65,.2,1), box-shadow .35s ease, border-color .35s ease; }
.feature-card.crm { --accent: var(--teal); --accent-soft: #d8f3ef; --accent-rgb: 13,148,136; }
.feature-card.automations { --accent: var(--amber); --accent-soft: #fdf0dd; --accent-rgb: 180,83,9; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .45); box-shadow: var(--shadow-lift); }
.feature-card .illo { position: relative; height: 290px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(80% 90% at 50% 0%, rgba(var(--accent-rgb), .22), transparent 70%), linear-gradient(180deg, var(--accent-soft), #f6f7f9); }
.feature-card .illo::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--accent-rgb), .28) 1.2px, transparent 1.2px); background-size: 18px 18px; opacity: .7; }
.feature-card .illo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); }
.feature-card .card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.feature-card h3 { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.feature-card h3::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.feature-card .card-body > p { margin: 14px 0 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.card-tags { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card-tags li { padding: 6px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 12.5px; font-weight: 600; }

/* ERP illustration — a ledger that reconciles on a loop */
.illo-erp { position: absolute; left: 50%; top: 50%; width: 290px; transform: translate(-50%, -50%); padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -16px rgba(15,20,25,.28); }
.illo-erp .ledger-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.illo-erp .ledger-row { display: grid; grid-template-columns: 76px 1fr 44px; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.illo-erp .ledger-row span:first-child { color: var(--ink); font-weight: 600; }
.illo-erp .ledger-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-soft); }
.illo-erp .bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.illo-erp .bar i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: left; animation: erp-fill 6s cubic-bezier(.2,.65,.2,1) infinite; animation-delay: var(--d, 0ms); }
.illo-erp .ledger-total { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 9px; border-top: 2px solid var(--ink); font-size: 13px; font-weight: 750; }
.illo-erp .ledger-total em { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #dcf5e7; color: #15803d; font-size: 11px; font-style: normal; animation: erp-badge 6s ease infinite; }
@keyframes erp-fill { 0%, 8% { transform: scaleX(.3); } 40%, 80% { transform: scaleX(1); } 92%, 100% { transform: scaleX(.3); } }
@keyframes erp-badge { 0%, 42% { opacity: 0; transform: translateY(6px); } 50%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(6px); } }

/* CRM illustration — contacts connect to the account on a loop */
.illo-crm { position: absolute; inset: 0; }
.illo-crm .hub { position: absolute; left: 50%; top: 50%; width: 156px; transform: translate(-50%, -50%); padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -16px rgba(15,20,25,.28); z-index: 2; }
.illo-crm .hub small { display: block; font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.illo-crm .hub b { display: block; margin-top: 4px; font-size: 15px; }
.illo-crm .hub .status { display: inline-block; margin-top: 10px; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); font-size: 11px; font-weight: 650; animation: crm-status 6s ease infinite; }
.illo-crm .contact { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: #fff; border: 2px solid var(--line-strong); font-size: 13.5px; font-weight: 750; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(15,20,25,.35); z-index: 2; animation: crm-contact 6s ease infinite; animation-delay: var(--d, 0ms); }
.illo-crm .contact::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 99px; border: 2px solid #fff; background: var(--line-strong); animation: crm-dot 6s ease infinite; animation-delay: var(--d, 0ms); }
.illo-crm .c1 { left: 44px; top: 44px; } .illo-crm .c2 { right: 48px; top: 54px; } .illo-crm .c3 { left: 68px; bottom: 44px; } .illo-crm .c4 { right: 40px; bottom: 50px; }
.illo-crm svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.illo-crm svg path { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: crm-draw 6s cubic-bezier(.2,.65,.2,1) infinite; animation-delay: var(--d, 0ms); }
.illo-crm .toast { position: absolute; left: 50%; bottom: 16px; padding: 7px 12px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; z-index: 3; animation: crm-toast 6s ease infinite; }
@keyframes crm-draw { 0%, 8% { stroke-dashoffset: 220; } 30%, 82% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 220; } }
@keyframes crm-contact { 0%, 8% { border-color: var(--line-strong); transform: scale(1); } 30%, 82% { border-color: var(--teal); transform: scale(1.06); } 92%, 100% { border-color: var(--line-strong); transform: scale(1); } }
@keyframes crm-dot { 0%, 20% { background: var(--line-strong); } 32%, 82% { background: #16a34a; } 92%, 100% { background: var(--line-strong); } }
@keyframes crm-status { 0%, 30% { background: var(--surface-2); color: var(--ink-soft); } 38%, 82% { background: var(--teal-soft); color: #0f766e; } 92%, 100% { background: var(--surface-2); color: var(--ink-soft); } }
@keyframes crm-toast { 0%, 40% { opacity: 0; transform: translate(-50%, 10px); } 48%, 82% { opacity: 1; transform: translate(-50%, 0); } 90%, 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* Automation illustration — a workflow that runs on a loop */
.illo-auto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.illo-auto .flow { position: relative; display: grid; grid-template-columns: auto 40px auto 40px auto; align-items: center; }
.illo-auto .step { position: relative; display: grid; gap: 5px; width: 100px; padding: 12px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-strong); box-shadow: 0 12px 28px -14px rgba(15,20,25,.3); font-size: 12.5px; font-weight: 650; line-height: 1.25; animation: auto-step 6s ease infinite; animation-delay: var(--d, 0ms); }
.illo-auto .step small { font-size: 9.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.illo-auto .step i { position: absolute; right: 9px; top: 9px; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); animation: auto-dot 6s ease infinite; animation-delay: var(--d, 0ms); }
.illo-auto .wire { position: relative; height: 2px; background: var(--line-strong); }
.illo-auto .wire::after { content: ''; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 99px; background: var(--amber); opacity: 0; box-shadow: 0 0 10px rgba(180,83,9,.7); animation: auto-wire 6s ease-in-out infinite; animation-delay: var(--d, 0ms); }
.illo-auto .receipt { position: absolute; left: 50%; bottom: -54px; padding: 7px 12px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; animation: auto-receipt 6s ease infinite; }
@keyframes auto-step { 0%, 4% { border-color: var(--line-strong); box-shadow: 0 12px 28px -14px rgba(15,20,25,.3); } 10%, 78% { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(180,83,9,.14), 0 12px 28px -14px rgba(15,20,25,.3); } 88%, 100% { border-color: var(--line-strong); box-shadow: 0 12px 28px -14px rgba(15,20,25,.3); } }
@keyframes auto-dot { 0%, 4% { background: var(--line-strong); } 10%, 78% { background: var(--amber); } 88%, 100% { background: var(--line-strong); } }
@keyframes auto-wire { 0% { left: 0; opacity: 0; } 2% { opacity: 1; } 10% { opacity: 1; } 12% { left: calc(100% - 10px); opacity: 0; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes auto-receipt { 0%, 30% { opacity: 0; transform: translate(-50%, 8px); } 36%, 78% { opacity: 1; transform: translate(-50%, 0); } 88%, 100% { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Products (sectionized by industry) ---------- */
.products { padding: 96px 0 32px; background: var(--surface); border-top: 1px solid var(--line); }
.industry { display: grid; grid-template-columns: 340px 1fr; gap: 64px; padding: 56px 0; border-top: 1px solid var(--line-strong); }
.industry:first-of-type { border-top: 0; padding-top: 0; }
.industry-aside { position: sticky; top: 104px; align-self: start; }
.industry-index { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line-strong); font: 700 13px/1 var(--display); color: var(--ink); }
.industry-aviation .industry-index { color: var(--sky); } .industry-marina .industry-index { color: var(--teal); }
.industry-aside h3 { margin-top: 22px; font-size: clamp(34px, 3.6vw, 46px); }
.industry-aside > p { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.industry-aside .arrow-link { margin-top: 24px; }
.industry-body { display: grid; gap: 22px; }
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.product-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .35s cubic-bezier(.2,.65,.2,1), box-shadow .35s ease, border-color .35s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.product-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.product-card-feature .product-media { aspect-ratio: 21 / 9; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.1s cubic-bezier(.2,.65,.2,1); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,23,42,.55), rgba(7,23,42,0) 55%); }
.product-chip { position: absolute; left: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.product-chip i { width: 7px; height: 7px; border-radius: 99px; background: var(--sky); }
.industry-marina .product-chip i { background: var(--teal); }
.product-card.maintenance .product-chip i { background: var(--amber); }
.product-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.product-body h4 { margin: 0; font-family: var(--display); font-size: 24px; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product-body h4 span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 16px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.product-card:hover .product-body h4 span { background: var(--ink); color: #fff; transform: translateX(3px); }
.product-body > p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.product-modules { margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13.5px; font-weight: 550; color: var(--ink-soft); }
.product-modules li { display: flex; align-items: center; gap: 8px; }
.product-modules li::before { content: ''; flex: none; width: 14px; height: 14px; border-radius: 99px; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 8px no-repeat; }
.industry-marina .product-modules li::before { background-color: var(--teal-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.product-card.maintenance .product-modules li::before { background-color: var(--amber-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { position: relative; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: transform .3s cubic-bezier(.2,.65,.2,1), box-shadow .3s ease, border-color .3s ease; }
.tile::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tile-accent, var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.65,.2,1); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.tile:hover::before { transform: scaleX(1); }
.tile svg { width: 24px; height: 24px; stroke: var(--tile-accent, var(--sky)); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile b { display: block; margin-top: 14px; font-size: 14.5px; letter-spacing: -.01em; }
.tile p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.industry-marina .tile { --tile-accent: var(--teal); }

/* ---------- Connected system ---------- */
.connected { padding: 96px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.connected::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(47,107,255,.22), transparent 70%); pointer-events: none; }
.connected .site-shell { position: relative; }
.connected .eyebrow { color: #b9c2cf; }
.connected .eyebrow::before { background: var(--gold); }
.connected .section-heading > p { color: #b9c2cf; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-track::before { content: ''; position: absolute; left: 6%; right: 6%; top: 28px; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28) 12%, rgba(255,255,255,.28) 88%, transparent); }
.flow-track::after { content: ''; position: absolute; left: 6%; right: 6%; top: 27px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent 0%, transparent 35%, var(--gold) 50%, transparent 65%, transparent 100%); background-size: 40% 100%; background-repeat: no-repeat; animation: flow-sweep 3.6s linear infinite; }
@keyframes flow-sweep { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.flow-node { position: relative; padding-top: 2px; }
.flow-node .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 999px; background: #10305a; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 8px var(--navy); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.flow-node:hover .dot { transform: translateY(-3px); border-color: var(--gold); background: #163c6e; }
.flow-node .dot svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-node h3 { margin: 22px 0 0; text-align: center; font-family: var(--display); font-size: 18px; letter-spacing: -.01em; }
.flow-node p { margin: 8px auto 0; max-width: 200px; text-align: center; color: #b9c2cf; font-size: 13.5px; line-height: 1.5; }

/* ---------- Custom work band ---------- */
.custom-band { padding: 88px 0; background: #fff; border-top: 1px solid var(--line); }
.custom-band .site-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.custom-band h2 { font-size: clamp(34px, 3.8vw, 48px); }
.custom-band > .site-shell > div > p { margin: 20px 0 0; max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.custom-band .hero-actions { justify-content: flex-start; }
.stack-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.stack-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .3s cubic-bezier(.2,.65,.2,1), box-shadow .3s ease, border-color .3s ease; }
.stack-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.stack-list li > span:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--surface); }
.stack-list svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stack-list b { display: block; font-size: 15px; }
.stack-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }

/* ---------- Closing CTA ---------- */
.closing-cta { padding: 96px 0; background: var(--navy); color: white; border-bottom: 1px solid rgba(255,255,255,.08); }
.closing-inner { max-width: 820px; text-align: center; }
.closing-inner .eyebrow { color: var(--gold); }
.closing-inner .eyebrow::before { display: none; }
.closing-inner h2 { font-size: clamp(40px, 5vw, 64px); }
.closing-inner > p { max-width: 600px; margin: 24px auto 0; color: #c9d4df; font-size: 19px; line-height: 1.5; }
.closing-inner .hero-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .industry { grid-template-columns: 1fr; gap: 36px; }
  .industry-aside { position: static; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-shell { width: min(100% - 32px, 1200px); }
  .header-inner { height: 66px; grid-template-columns: 1fr auto; }
  .brand-link img { width: 156px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: flex; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px; }
  .menu-button span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .mobile-nav { display: none; position: absolute; left: 0; right: 0; top: 66px; padding: 12px 20px 22px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
  .mobile-nav a:last-child { border-bottom: 0; margin-top: 8px; color: var(--blue); }

  .hero { padding: 52px 0 48px; }
  .hero-inner h1 { font-size: clamp(38px, 7.5vw, 56px); }
  .scene { margin-top: 36px; }
  .hero-solutions { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
  .solution-featured { grid-column: span 2; }
  .expertise, .products, .connected, .custom-band, .closing-cta { padding: 64px 0; }
  .section-heading { margin-bottom: 32px; }
  .product-row { grid-template-columns: 1fr; }
  .flow-track { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .flow-track::before, .flow-track::after { display: none; }
  .flow-node .dot { box-shadow: none; }
  .custom-band .site-shell { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 700px) {
  .scene { --u: 2.35cqw; aspect-ratio: 1080 / 1500; margin-top: 32px; }
  .scene-lines-wide { display: none; }
  .scene-lines-tall { display: block; }
  .scene-card { left: var(--mx); top: var(--my); width: calc(19.8 * var(--u)); }
}

@media (max-width: 600px) {
  .hero { padding: 44px 0 40px; }
  .hero-inner h1 { font-size: 34px; }
  .hero-lede { margin-top: 18px; font-size: 16.5px; line-height: 1.5; }
  .hero-lede-full { display: none; }
  .hero-lede-short { display: block; }
  .hero-actions { margin-top: 26px; }
  .hero-solutions { grid-template-columns: 1fr; }
  .solution-featured { grid-column: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .button { justify-content: center; }
  .hero-actions .text-link { justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr; }
  .product-modules { grid-template-columns: 1fr; }
  .product-card-feature .product-media { aspect-ratio: 16 / 10; }
  .flow-track { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 34px; }
  .closing-inner h2 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-column:last-child a:first-of-type { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
