/* =====================================================================
   Aro-Ara Services Pte Ltd — Corporate Website
   Stylesheet: design system + homepage
   Brand: deep navy + sky blue, gold/taupe accent (peacock & quill)
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (derived from the AAS / AroVantage logos) */
  --navy-900: #081d3a;
  --navy-800: #0b2545;
  --navy-700: #123257;
  --navy-600: #184072;
  --blue-600: #1f5aa0;
  --blue-500: #2e73c0;
  --blue-400: #3e8fd6;
  --sky-400:  #58a6e0;
  --sky-300:  #8ec6ef;
  --sky-100:  #e8f2fb;
  --gold:     #b4965f;
  --gold-soft:#c9b188;

  /* Neutrals */
  --ink:      #16233a;
  --slate:    #566379;
  --slate-2:  #7a869a;
  --line:     #e4ebf3;
  --bg:       #ffffff;
  --bg-soft:  #f5f8fc;
  --bg-tint:  #eef4fb;

  /* Effects */
  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:24px;
  --shadow-sm: 0 1px 3px rgba(11,37,69,.06), 0 1px 2px rgba(11,37,69,.04);
  --shadow:    0 10px 30px -12px rgba(11,37,69,.18);
  --shadow-lg: 0 30px 60px -20px rgba(11,37,69,.28);
  --ring:     0 0 0 4px rgba(62,143,214,.18);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font-sans);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; color: var(--navy-800); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(88,166,224,.18), transparent 60%),
              linear-gradient(170deg, var(--navy-800), var(--navy-900));
  color: #dce7f4;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--navy .eyebrow { color: var(--sky-300); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.section-head p { margin-top: 16px; color: var(--slate); font-size: 1.06rem; }
.section--navy .section-head p { color: #aec4de; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--blue-500); --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  background: var(--_bg); color: var(--_fg); white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(31,90,160,.6); }
.btn--primary { --_bg: linear-gradient(135deg, var(--blue-500), var(--blue-400)); }
.btn--gold { --_bg: linear-gradient(135deg, var(--gold), var(--gold-soft)); --_fg: #2a2110; }
.btn--ghost { --_bg: transparent; --_fg: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-600); box-shadow: none; }
.btn--light { --_bg: #fff; --_fg: var(--navy-800); }
.btn--outline-light { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
body:not([data-page="home"]) .site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
/* Inner pages: logo shrinks a touch since the bar is always solid */
body:not([data-page="home"]) .brand-mark { height: 50px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 90px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { height: 58px; width: auto; transition: height .35s var(--ease); }
.scrolled .brand-mark { height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .16em; color: var(--navy-800); white-space: nowrap; }
.brand-sub { font-family: var(--font-display); font-weight: 600; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 5px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .94rem;
  color: var(--navy-800); padding: 9px 14px; border-radius: 999px; position: relative;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); background: var(--sky-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { padding-inline: 18px; }
.nav-login svg { width: 16px; height: 16px; }
.nav-mobile-actions { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 166px; padding-bottom: clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 88% -5%, rgba(88,166,224,.16), transparent 55%),
    radial-gradient(700px 480px at -10% 20%, rgba(180,150,95,.10), transparent 55%),
    linear-gradient(180deg, #fbfdff, #f1f6fc);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(18,50,87,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,50,87,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 85%);
          mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 500; color: var(--slate); box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge b { color: var(--navy-800); font-weight: 600; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(180,150,95,.18); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.03em; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue-600), var(--sky-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--slate); max-width: 40ch; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pills { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pill {
  font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-700); background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero-pill span { color: var(--gold); margin-right: 6px; }

/* Hero visual: stacked product frames */
.hero-visual { position: relative; }
.frame {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f4f7fb; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4deea; display: block; }
.frame-bar i:nth-child(1){ background:#e4a0a0; } .frame-bar i:nth-child(2){ background:#e6c892; } .frame-bar i:nth-child(3){ background:#a8cf9a; }
.frame-bar span { margin-left: 8px; font-size: .72rem; color: var(--slate-2); font-family: var(--font-display); }
.hero-visual .frame-main { position: relative; z-index: 2; transform: rotate(-.4deg); }
.hero-visual .frame-float {
  position: absolute; z-index: 3; width: 46%; right: -6%; bottom: -14%;
  box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite;
}
.hero-visual .glow { position: absolute; z-index: 1; inset: 8% 4% -10% 8%; border-radius: 30px;
  background: radial-gradient(closest-side, rgba(62,143,214,.28), transparent); filter: blur(10px); }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }

/* ---------- Marquee / trust strip ---------- */
.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.pillars-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.pillar { background: #fff; padding: 26px 24px; text-align: center; }
.pillar b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-800); letter-spacing: .02em; }
.pillar span { font-size: .82rem; color: var(--slate-2); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Divisions ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--sky-400)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d3e2f2; }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--sky-100), #fff); border: 1px solid var(--line); color: var(--blue-600);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.28rem; }
.card .card-sub { color: var(--blue-600); font-size: .82rem; font-weight: 600; font-family: var(--font-display); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.card p { color: var(--slate); margin-top: 10px; font-size: .96rem; }
.card ul { margin-top: 18px; display: grid; gap: 10px; }
.card ul li { position: relative; padding-left: 26px; color: var(--slate); font-size: .93rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sky-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f5aa0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}

/* ---------- AroVantage showcase ---------- */
.showcase-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; margin-bottom: 56px; }
.showcase-intro .lead-logo { background: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-lg); }
.showcase-intro .lead-logo img { margin: 0 auto; }
.badge-ai {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px;
  background: rgba(88,166,224,.16); color: var(--sky-300); font-size: .78rem; font-weight: 600;
  font-family: var(--font-display); letter-spacing: .04em;
}
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); border-color: rgba(142,198,239,.45); background: rgba(255,255,255,.06); }
.product-media { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border-bottom: 1px solid rgba(255,255,255,.08); }
.product-media .launch {
  position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(180deg, rgba(8,29,58,.35), rgba(8,29,58,.68));
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  opacity: 0; transition: opacity .3s var(--ease);
}
.product-media:hover .launch { opacity: 1; }
.product-media .launch svg { width: 20px; height: 20px; }
.product-media .launch span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); margin-right: 4px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product-media .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .72rem; font-weight: 600; font-family: var(--font-display);
  letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: rgba(8,29,58,.72); color: #fff; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.14);
}
.product-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.product-placeholder .ph-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 12px; background: rgba(142,198,239,.14); color: var(--sky-300); border: 1px solid rgba(142,198,239,.28); }
.product-placeholder .ph-icon svg { width: 26px; height: 26px; }
.product-placeholder p { color: #9fb6d2; font-size: .84rem; }
.product-placeholder b { color: #cfe0f2; font-family: var(--font-display); font-size: .96rem; display:block; margin-bottom: 4px; }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { color: #fff; font-size: 1.22rem; }
.product-body .p-tagline { color: var(--sky-300); font-size: .86rem; font-weight: 500; margin-top: 4px; }
.product-body p.desc { color: #a9c0da; font-size: .93rem; margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chip { font-size: .74rem; color: #bcd2ea; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 4px 10px; border-radius: 999px; }
.product-body .p-link { margin-top: auto; padding-top: 18px; }
.p-link a { display: inline-flex; align-items: center; gap: 7px; color: var(--sky-300); font-family: var(--font-display); font-weight: 600; font-size: .9rem; transition: gap .25s; }
.p-link a:hover { gap: 12px; color: #fff; }
.p-link a svg { width: 16px; height: 16px; }

/* ---------- Approach / value ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.vm-cards { display: grid; gap: 18px; }
.vm {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: 24px 26px; box-shadow: var(--shadow-sm);
}
.vm h4 { font-family: var(--font-display); color: var(--navy-800); font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.vm h4 svg { width: 20px; height: 20px; color: var(--gold); }
.vm p { color: var(--slate); font-size: .96rem; }
.value-list { display: grid; gap: 16px; margin-top: 8px; }
.value-item { display: flex; gap: 16px; }
.value-item .vi-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.value-item .vi-ic svg { width: 22px; height: 22px; }
.value-item h4 { font-family: var(--font-display); font-size: 1.02rem; color: var(--navy-800); }
.value-item p { color: var(--slate); font-size: .93rem; margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: radial-gradient(900px 400px at 85% 0%, rgba(88,166,224,.22), transparent 60%), linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); color: #fff; text-align: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-inner::before { content:""; position:absolute; inset:0; background-image:
  radial-gradient(circle at 15% 80%, rgba(180,150,95,.16), transparent 40%); }
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.cta-inner p { color: #b9cde3; margin-top: 14px; max-width: 54ch; margin-inline: auto; }
.cta-inner .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px,5vw,60px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.contact-item .ci-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--sky-100), #fff); border: 1px solid var(--line); color: var(--blue-600); }
.contact-item .ci-ic svg { width: 22px; height: 22px; }
.contact-item span.lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-2); }
.contact-item a, .contact-item p { font-family: var(--font-display); font-weight: 600; color: var(--navy-800); font-size: 1.02rem; }
.contact-item a:hover { color: var(--blue-600); }
.contact-note { font-size: .86rem; color: var(--slate-2); margin-top: 4px; font-family: var(--font-sans); font-weight: 400; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,4vw,36px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-700); margin-bottom: 7px; font-family: var(--font-display); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-400); background: #fff; box-shadow: var(--ring); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-hint { font-size: .8rem; color: var(--slate-2); margin-top: 14px; text-align: center; }
.form-status { margin-top: 14px; font-size: .9rem; text-align: center; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #1f7a4d; } .form-status.err { color: #b4452f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb4ce; padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .foot-logo { background: #fff; border-radius: 12px; padding: 14px 16px; display: inline-block; box-shadow: var(--shadow); }
.footer-brand .foot-logo img { height: 58px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: .92rem; color: #8ca6c4; }
.footer-col h5 { color: #fff; font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: .92rem; color: #9fb4ce; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7f98b6; }
.footer-bottom .pill-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-bottom .pill-tags span { font-size: .72rem; letter-spacing: .08em; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: all .35s var(--ease); border: none;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue-600); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-top: 8px; }
  .hero-lead { max-width: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .showcase-intro { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pillars-row { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }

  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 90px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  body.nav-open .nav-links { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  body.nav-open .nav-links .btn { display: inline-flex; }
  body.nav-open .nav-mobile-actions { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-mobile-actions .btn { width: 100%; }
}
@media (max-width: 620px) {
  .products { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pillars-row { grid-template-columns: 1fr 1fr; }
  .hero-visual .frame-float { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-mark { height: 50px; }
  .brand-name { font-size: 1.18rem; letter-spacing: .13em; }
  .brand-sub { font-size: .58rem; letter-spacing: .24em; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
}

/* =====================================================================
   Dropdown navigation
   ===================================================================== */
.nav-item.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-item.has-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 5px; background: none; border: none;
  font-family: var(--font-display); font-weight: 500; font-size: .94rem; color: var(--navy-800);
  padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s;
}
.nav-drop-toggle .chev { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-item.has-dropdown:hover .nav-drop-toggle,
.nav-drop-toggle.active, .nav-drop-toggle[aria-expanded="true"] { color: var(--blue-600); background: var(--sky-100); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; display: grid; gap: 2px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item.has-dropdown:hover .dropdown, .nav-item.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-item.has-dropdown:hover .chev, .nav-item.has-dropdown.open .chev { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: 11px 14px; border-radius: 9px; font-family: var(--font-display);
  font-weight: 500; font-size: .92rem; color: var(--navy-800); transition: background .18s, color .18s;
}
.dropdown a:hover { background: var(--sky-100); color: var(--blue-600); }

/* =====================================================================
   Inner-page components
   ===================================================================== */
.page-banner {
  position: relative; padding: 150px 0 64px; overflow: hidden; color: #dce7f4;
  background: radial-gradient(1000px 500px at 82% -20%, rgba(88,166,224,.2), transparent 60%),
              linear-gradient(165deg, var(--navy-800), var(--navy-900));
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 90% at 70% 10%, #000, transparent 80%); mask-image: radial-gradient(70% 90% at 70% 10%, #000, transparent 80%);
}
.page-banner > .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: #95b0ce; margin-bottom: 18px; font-family: var(--font-display); }
.breadcrumb a { color: #bcd2ea; } .breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }
.page-banner .eyebrow { color: var(--sky-300); }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 16ch; }
.page-banner p { color: #aec4de; margin-top: 16px; font-size: 1.08rem; max-width: 56ch; }
.page-banner .hero-actions { margin-top: 28px; }

.prose { max-width: 720px; }
.prose p { color: var(--slate); font-size: 1.05rem; margin-bottom: 18px; }
.prose h3 { font-size: 1.4rem; margin: 32px 0 12px; }
.prose ul { display: grid; gap: 12px; margin: 18px 0; }
.prose ul li { position: relative; padding-left: 30px; color: var(--slate); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231f5aa0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3e2f2; }
.feature .fi { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(140deg, var(--sky-100), #fff); border: 1px solid var(--line); color: var(--blue-600); }
.feature .fi svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.14rem; }
.feature p { color: var(--slate); margin-top: 9px; font-size: .95rem; }

/* Product detail hero (text + visual) */
.pd-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pd-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--sky-100); color: var(--blue-600); font-size: .8rem; font-weight: 600; font-family: var(--font-display); margin-bottom: 18px; }
.pd-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.pd-hero .tagline { color: var(--blue-600); font-weight: 600; font-family: var(--font-display); margin-top: 8px; font-size: 1.1rem; }
.pd-hero p.lead { color: var(--slate); font-size: 1.06rem; margin-top: 16px; }
.pd-visual { position: relative; }
.pd-visual .frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pd-visual .frame img { width: 100%; display: block; }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips-row .chip { font-size: .8rem; color: var(--navy-700); background: var(--sky-100); border: 1px solid #d3e2f2; padding: 6px 13px; border-radius: 999px; font-weight: 500; }

.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.industries span { font-size: .9rem; color: var(--slate); background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }

.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.benefit-list li { position: relative; padding-left: 30px; color: var(--slate); list-style: none; }
.benefit-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231f5aa0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

@media (max-width: 1080px) {
  /* Dropdowns become accordions inside the mobile menu */
  .nav-item.has-dropdown { display: block; width: 100%; }
  .nav-item.has-dropdown::before { display: none; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    background: transparent; padding: 2px 0 8px 14px; min-width: 0; display: none; z-index: auto;
  }
  .nav-item.has-dropdown.open .dropdown { display: grid; }
  .feature-grid { grid-template-columns: 1fr; }
  .pd-hero { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
}
