/* =========================================================================
   LogiseSoft — corporate logistics platform, "light + gradient" design system.
   White canvas, deep indigo brand, soft gradient meshes, big confident type,
   rounded cards, autoplay motion. Sora (display) + Inter (body).
   ========================================================================= */

:root {
  --paper: #ffffff;
  --bg-soft: #f6f7fc;
  --bg-tint: #eef0fb;

  --ink: #0b1020;        /* headlines */
  --body: #414a60;       /* body copy */
  --muted: #6a7488;      /* secondary */
  --faint: #9aa2b4;      /* captions */

  --line: #e7e9f3;
  --line-strong: #d5d9ea;

  --brand: #0b6aa2;      /* sea blue */
  --brand-deep: #085a8c; /* deep sea blue */
  --brand-2: #0a9ec2;    /* teal-cyan */
  --sky: #38bdf8;        /* bright sky accent */
  --brand-tint: #e8f3fb;
  --brand-tint-2: #eef7fc;

  --grad: linear-gradient(120deg, #084c78 0%, #0b6aa2 45%, #0a9ec2 100%);
  --grad-soft: linear-gradient(120deg, #0b6aa2, #22a7d8);
  --ink-grad: linear-gradient(180deg, #071b2e, #0c2842);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 11px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20,22,60,.05), 0 2px 6px rgba(20,22,60,.05);
  --shadow: 0 8px 24px rgba(30,25,90,.08), 0 2px 8px rgba(30,25,90,.05);
  --shadow-md: 0 18px 48px rgba(40,30,110,.12), 0 6px 16px rgba(40,30,110,.07);
  --shadow-lg: 0 34px 80px rgba(50,35,130,.18), 0 10px 26px rgba(50,35,130,.10);
  --shadow-brand: 0 14px 34px rgba(11,106,162,.34);

  --maxw: 1200px;
  --gutter: 28px;

  --disp: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ----------------------------- base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--disp); color: var(--ink); margin: 0 0 .5em; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.95rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; }

p { margin: 0 0 1.1rem; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1320px; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--muted); letter-spacing: -0.011em; max-width: 62ch; font-weight: 400; }

.section { padding: 120px 0; position: relative; }
.section--tight { padding: 78px 0; }
.section--soft { background: var(--bg-soft); }
.gradtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 650; letter-spacing: .04em;
  color: var(--brand-deep); margin-bottom: 20px;
  background: var(--brand-tint); border: 1px solid #cfe8f5;
  padding: 7px 15px 7px 12px; border-radius: var(--radius-pill);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(11,106,162,.14); }

.section-head { max-width: 760px; margin-bottom: 62px; }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ----------------------------- buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), color .2s var(--ease);
  white-space: nowrap; position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--grad); background-size: 140% 140%; color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(11,106,162,.44); background-position: 100% 0; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }

.btn-ondark { background: #fff; color: var(--ink); }
.btn-ondark:hover { background: #eef0ff; }
.btn-ondark-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(6px); }
.btn-ondark-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }

.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-deep); letter-spacing: -0.01em; }
.textlink svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }
.textlink.ondark { color: #fff; }

/* ----------------------------- logo ----------------------------- */
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--disp); font-weight: 700; font-size: 1.24rem; letter-spacing: -0.03em; color: var(--ink); }
.brand .logo { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; box-shadow: 0 6px 16px rgba(79,70,229,.34); }
.brand .wm b { color: var(--brand-deep); font-weight: 700; }
.brand .wm { white-space: nowrap; }

/* ----------------------------- header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20,22,60,.06); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 20px; }
.nav-links a { color: var(--body); font-weight: 550; font-size: .96rem; letter-spacing: -0.01em; padding: 9px 14px; border-radius: var(--radius-pill); white-space: nowrap; transition: color .15s ease, background .15s ease; }
.nav-links a:hover { color: var(--ink); background: var(--bg-tint); }
.nav-links a.active { color: var(--brand-deep); background: var(--brand-tint); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ----------------------------- hero (gradient mesh) ----------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 55% at 12% 8%, rgba(11,106,162,.20), transparent 60%),
    radial-gradient(50% 50% at 92% 4%, rgba(10,158,194,.18), transparent 58%),
    radial-gradient(55% 60% at 78% 96%, rgba(56,189,248,.14), transparent 60%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 70%);
  border-bottom: 1px solid var(--line);
}
.hero .container { padding-top: 74px; padding-bottom: 90px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1.02fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; max-width: 15ch; }
.hero .lead { font-size: 1.28rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-trust b { color: var(--ink); font-weight: 650; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

/* page hero (subpages) — gradient mesh, centered/left */
.page-hero { position: relative; overflow: hidden;
  background:
    radial-gradient(55% 60% at 85% 6%, rgba(10,158,194,.20), transparent 60%),
    radial-gradient(45% 55% at 6% 10%, rgba(11,106,162,.18), transparent 60%),
    linear-gradient(180deg, #f7fbfe, #fff 78%);
  border-bottom: 1px solid var(--line); }
.page-hero .container { padding-top: 72px; padding-bottom: 60px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--brand-deep); }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); max-width: 17ch; margin-bottom: 20px; }
.page-hero .lead { font-size: 1.2rem; max-width: 60ch; }
.page-hero .hero-actions { margin-top: 30px; }

/* ----------------------------- autoplay video frame ----------------------------- */
.videoframe { position: relative; border-radius: var(--radius-lg); padding: 8px;
  background: linear-gradient(135deg, rgba(10,158,194,.5), rgba(11,106,162,.2) 40%, rgba(56,189,248,.45));
  box-shadow: var(--shadow-lg); }
.videoframe .inner { border-radius: 18px; overflow: hidden; background: #0b1020; line-height: 0; position: relative; }
.videoframe video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; background: #0b1020; }
.videoframe .badge { position: absolute; left: 14px; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(11,16,32,.6); backdrop-filter: blur(6px); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.16); }
.videoframe .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: livepulse 1.8s var(--ease) infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.video-hero { max-width: none; }
.video-band { max-width: 1000px; margin: 0 auto; }
.video-cap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-top: 22px; }
.video-cap span { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.video-cap span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ----------------------------- stats ----------------------------- */
.stats-band { padding: 30px 0 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 14px; }
.stat b { display: block; font-family: var(--disp); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { display: block; margin-top: 8px; font-size: .93rem; color: var(--muted); }

/* ----------------------------- WHY / value grid ----------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 30px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.why::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .3s var(--ease); }
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why:hover::before { opacity: 1; }
.why .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-deep);
  display: grid; place-items: center; margin-bottom: 18px; }
.why .ic svg { width: 26px; height: 26px; }
.why h3 { font-size: 1.2rem; margin-bottom: 9px; }
.why p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ----------------------------- feature ROWS (detailed, alternating) ----------------------------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.frow + .frow { margin-top: 108px; }
.frow.reverse .frow-media { order: 2; }
.frow-copy .eyebrow { margin-bottom: 18px; }
.frow-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.frow-copy .lead { font-size: 1.12rem; margin-bottom: 24px; }
.fsublist { display: grid; gap: 16px; }
.fsub { display: flex; gap: 14px; }
.fsub .fi { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.fsub .fi svg { width: 20px; height: 20px; }
.fsub b { display: block; color: var(--ink); font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; }
.fsub span { color: var(--muted); font-size: .95rem; }

/* media panel — animated illustration (NO screenshots) */
.frow-media { position: relative; }
.illus { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background:
    radial-gradient(60% 60% at 20% 10%, rgba(124,58,237,.16), transparent 60%),
    radial-gradient(50% 60% at 90% 90%, rgba(14,165,233,.14), transparent 60%),
    linear-gradient(160deg, #0d1230, #141a3f);
  aspect-ratio: 4 / 3; border: 1px solid rgba(124,58,237,.28); }

/* ----------------------------- detailed capability cards ----------------------------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.cap:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.cap .ic { width: 54px; height: 54px; border-radius: 15px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow-brand); }
.cap .ic svg { width: 26px; height: 26px; }
.cap h3 { font-size: 1.24rem; margin-bottom: 10px; }
.cap > p { color: var(--muted); font-size: .98rem; margin-bottom: 18px; }
.cap ul { display: grid; gap: 11px; }
.cap li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--body); }
.cap li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 5px; background: var(--brand-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 11px; background-position: center; background-repeat: no-repeat; }

/* ----------------------------- workflow (numbered, connected) ----------------------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 30px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.flow-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.flow-step .n { font-family: var(--disp); font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 14px; }
.flow-step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.flow-step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ----------------------------- personas ----------------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ----------------------------- module link cards ----------------------------- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); overflow: hidden; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.mod:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.mod .badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); background: var(--brand-tint); padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 18px; }
.mod .badge svg { width: 15px; height: 15px; }
.mod h3 { font-size: 1.4rem; margin-bottom: 9px; }
.mod > p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.mod ul { display: grid; gap: 9px; margin-bottom: 22px; }
.mod li { position: relative; padding-left: 20px; font-size: .93rem; color: var(--body); }
.mod li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 1px; background: var(--brand); }
.mod .textlink { margin-top: auto; }

/* ----------------------------- checklist / split ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { display: grid; gap: 15px; margin-top: 24px; }
.checklist li { position: relative; padding-left: 34px; color: var(--body); }
.checklist li b { color: var(--ink); font-weight: 650; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 7px; background: var(--brand-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; }

/* ----------------------------- CTA gradient band ----------------------------- */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: 0; }
.cta-inner { position: relative; z-index: 2; border-radius: var(--radius-lg); padding: 72px 8%; text-align: center; overflow: hidden;
  background: radial-gradient(70% 120% at 10% 0%, rgba(255,255,255,.16), transparent 55%), var(--grad); box-shadow: var(--shadow-lg); }
.cta-inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 100%, rgba(14,165,233,.35), transparent 60%); z-index: -1; }
.cta-inner h2 { color: #fff; max-width: 22ch; margin: 0 auto 14px; }
.cta-inner p { color: rgba(255,255,255,.86); font-size: 1.16rem; max-width: 58ch; margin: 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ----------------------------- contact ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font-family: inherit; font-size: .98rem; color: var(--ink); padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-soft); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(11,106,162,.16); }
.field textarea { resize: vertical; min-height: 118px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.row2 .field { margin: 0; }
.form-note { font-size: .82rem; color: var(--faint); margin: 4px 0 0; }
.form-success { display: none; align-items: center; gap: 12px; padding: 16px 18px; background: #eaf7f0; border: 1px solid #bfe6cf; border-radius: 12px; color: #16794a; font-weight: 550; margin-bottom: 18px; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: 0 0 auto; }
.contact-aside .ci-item { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-aside .ci-item:first-of-type { border-top: 0; }
.contact-aside .ci-item .ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; }
.contact-aside .ci-item .ic svg { width: 21px; height: 21px; }
.contact-aside .ci-item b { display: block; color: var(--ink); font-size: 1rem; }
.contact-aside .ci-item span { font-size: .92rem; color: var(--muted); }

/* ----------------------------- footer ----------------------------- */
.site-footer { background: var(--ink-grad); color: #97a0bd; padding: 80px 0 34px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; background: radial-gradient(50% 120% at 50% 0%, rgba(10,158,194,.24), transparent 60%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.site-footer .brand { color: #fff; margin-bottom: 18px; } .site-footer .brand .wm b { color: #a5b4fc; }
.site-footer .fdesc { font-size: .95rem; color: #8b95b4; max-width: 38ch; }
.footer-col h5 { color: #fff; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; font-weight: 650; }
.footer-col a { display: block; color: #97a0bd; font-size: .94rem; padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: .86rem; color: #74809f; flex-wrap: wrap; position: relative; }

/* ----------------------------- back to top ----------------------------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: 50px; height: 50px; border-radius: 14px; border: 0; background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ----------------------------- reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ----------------------------- responsive ----------------------------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 18ch; }
  .why-grid, .caps, .mods, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .frow, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .frow.reverse .frow-media, .split.reverse > :first-child { order: 0; }
  .frow + .frow { margin-top: 64px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  html { font-size: 110%; }            /* scale rem-based body text up for phone readability */
  body { font-size: 1rem; line-height: 1.62; }
  /* keep the big display headings from over-wrapping / looking skewed on narrow phones */
  h1, .hero h1, .page-hero h1 { font-size: 2.05rem; line-height: 1.13; letter-spacing: -0.03em; max-width: 100%; }
  h2, .frow-copy h2 { font-size: 1.55rem; line-height: 1.2; }
  .lead, .hero .lead, .page-hero .lead, .frow-copy .lead { font-size: 1.14rem; line-height: 1.58; }
  .cap li, .mod li, .why p, .cap > p, .mod > p, .flow-step p, .fsub span { font-size: 1rem; }
  .field label { font-size: .95rem; }
  .field input, .field textarea { font-size: 1.02rem; }
  .hero-trust { gap: 8px 12px; font-size: .95rem; }
  /* full-bleed photo band: fit + centre the copy on phones */
  .photoband .container { padding: 58px 0; text-align: center; }
  .photoband .container > div { max-width: 100% !important; }
  .section { padding: 78px 0; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 20px; gap: 2px; box-shadow: var(--shadow-md); }
  .nav-links.open a { padding: 12px 10px; font-size: 1.02rem; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: grid; }
  .why-grid, .caps, .mods, .cards-3, .flow, .stats { grid-template-columns: 1fr; }
  .cta-inner { padding: 54px 24px; }
  /* buttons: equal width, justified full-width & stacked on phones (side spacing from the container padding) */
  .cta-actions, .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .field.row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { right: 16px; bottom: 16px; }
}

/* =========================================================================
   SEA-BLUE LOGO RECOLOR (overrides the inline SVG gradient stops via CSS)
   + REAL PHOTOGRAPHY frames (replaces the old SVG illustrations)
   ========================================================================= */
.brand .logo stop:nth-of-type(1) { stop-color: #0aa7cc; }
.brand .logo stop:nth-of-type(2) { stop-color: #0b6aa2; }
.brand .logo stop:nth-of-type(3) { stop-color: #084c78; }

.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frow-media .photo { aspect-ratio: 4 / 3; }
.split .photo { aspect-ratio: 5 / 4; }
.photo .ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,27,46,.1) 24%, rgba(7,27,46,.62) 62%, rgba(6,20,36,.92)); }
/* photo caption — reset the leaked .cap card styles; clean premium overlay on the photo */
.photo .cap {
  position: absolute; inset: auto 0 0 0; z-index: 2; color: #fff;
  background: linear-gradient(to top, rgba(5,16,30,.94), rgba(5,16,30,.5) 62%, transparent);
  border: 0; border-radius: 0; box-shadow: none; transform: none;
  padding: 52px 26px 22px;
}
.photo .cap:hover { transform: none; box-shadow: none; }
.photo .cap .k {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #8fd6f0; margin-bottom: 9px;
}
.photo .cap .k::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #0aa7cc, #38bdf8);
}
.photo .cap b {
  display: block; font-family: var(--disp); font-weight: 700;
  font-size: 1.18rem; letter-spacing: -0.02em; color: #fff; margin-bottom: 4px;
}
.photo .cap span { display: block; font-size: .95rem; color: #d6e4f1; line-height: 1.45; }

.photoband { position: relative; overflow: hidden; color: #fff; }
.photoband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photoband .ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(6,22,40,.92), rgba(6,22,40,.66) 55%, rgba(8,76,120,.5)); }
.photoband .container { position: relative; z-index: 2; padding: 92px 0; }
.photoband h2 { color: #fff; }
.photoband .lead { color: #cfe0ef; }
.photoband .eyebrow { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #bfe3f5; }
.photoband .eyebrow::before { box-shadow: 0 0 0 4px rgba(255,255,255,.12); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots .photo { aspect-ratio: 3 / 2; }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }
