/* ==========================================================================
   Astro International — clean static stylesheet
   Hand-written, zero dependencies. Palette & layout ported 1:1 from the
   original Tailwind design (navy / emerald).
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  --navy-50:  #f0f4f8;
  --navy-100: #d9e2ec;
  --navy-200: #b3c5d9;
  --navy-300: #8da8c5;
  --navy-400: #6b8bb1;
  --navy-500: #4f6f94;
  --navy-600: #3d577a;
  --navy-700: #2c4160;
  --navy-800: #1c2e47;
  --navy-900: #00163e;
  --navy-950: #081828;

  --emerald-50:  #edfcf2;
  --emerald-100: #d3f8e0;
  --emerald-200: #aaf0c4;
  --emerald-300: #73e3a3;
  --emerald-400: #38cd7b;
  --emerald-500: #16b364;
  --emerald-600: #0a8f4f;
  --emerald-700: #087242;

  --border: #e2e8f0;
  --muted: #64748b;          /* muted-foreground */
  --bg: #ffffff;

  --container: 1280px;       /* max-w-7xl */
  --radius: 0.5rem;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 22, 62, .05);
  --shadow-md: 0 4px 12px -2px rgba(0, 22, 62, .1);
  --shadow-xl: 0 20px 40px -12px rgba(0, 22, 62, .18);
}

/* ----- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--navy-900);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

/* icons */
.icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: .875rem; height: .875rem; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-50); }
::-webkit-scrollbar-thumb { background: rgba(100,116,139,.3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(100,116,139,.5); }

/* ----- Layout helpers ---------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.bg-white { background: #fff; }
.bg-navy { background: var(--navy-900); }
.bg-navy-tint { background: rgba(240,244,248,.5); }
.bg-fade { background: linear-gradient(to bottom, #fff, rgba(240,244,248,.5)); }

.eyebrow {
  font-size: .875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--emerald-600);
}
.eyebrow.on-dark { color: var(--emerald-400); }
.section-head { max-width: 42rem; margin: 0 auto 4rem; text-align: center; }
.section-head h2 {
  margin-top: .75rem; font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--navy-900);
}
.section-head p { margin-top: 1rem; color: var(--muted); line-height: 1.7; }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: rgba(255,255,255,.6); }

.text-emerald { color: var(--emerald-500); }
.text-emerald-400 { color: var(--emerald-400); }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; transition: all .3s ease; white-space: nowrap;
}
.btn svg { transition: transform .3s ease; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--emerald-500); color: #fff; }
.btn-primary:hover { background: var(--emerald-600); box-shadow: 0 10px 25px -5px rgba(22,179,100,.3); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-outline { border: 1px solid var(--border); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-50); }
.btn-glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: .625rem 1.25rem; font-size: .875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .9rem; font-weight: 600; color: var(--emerald-600); transition: gap .3s ease;
}
.link-arrow:hover { gap: .75rem; }
.link-arrow.on-dark { color: var(--emerald-400); }

/* ----- Top bar ----------------------------------------------------------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: .75rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 2.25rem; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .375rem; }
.topbar a:hover { color: #fff; }
.topbar .left { display: flex; gap: 1.5rem; }
.topbar .right { display: flex; gap: 1rem; }
@media (max-width: 1023px) { .topbar { display: none; } }

/* ----- Header / nav ------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 50; width: 100%; background: #fff;
  transition: box-shadow .3s ease, background .3s ease;
}
.header.scrolled {
  background: rgba(255,255,255,.7); backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,22,62,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 5rem; }
@media (max-width: 1023px) { .nav-inner { height: 4rem; } }

.brand { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; display: block; }
@media (max-width: 1023px) { .brand-logo { height: 42px; } }
.footer .brand-logo { height: 60px; }
.brand .mark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem; border-radius: var(--radius);
  background: var(--navy-900); color: #fff;
}
.brand .name { font-size: 1.125rem; font-weight: 700; color: var(--navy-900); line-height: 1; }
.brand .sub { display: block; font-size: .625rem; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > a, .nav > .has-menu > button {
  display: inline-flex; align-items: center; gap: .125rem;
  padding: .5rem .75rem; font-size: .9rem; font-weight: 500; color: var(--navy-800);
  border-radius: .375rem; transition: color .2s ease;
}
.nav > a:hover, .nav > .has-menu > button:hover { color: var(--emerald-600); }
.nav a.active { color: var(--emerald-600); }
@media (max-width: 1023px) { .nav { display: none; } }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem; border-radius: .5rem; color: var(--navy-800); transition: background .2s ease;
}
.icon-btn:hover { background: var(--navy-50); }
.nav-quote { display: inline-flex; }
@media (max-width: 639px) { .nav-quote { display: none; } }
.menu-btn { display: none; }
@media (max-width: 1023px) { .menu-btn { display: inline-flex; } }

/* Mega dropdown */
.has-menu { position: relative; }
.menu-panel {
  position: absolute; top: calc(100% + .25rem); left: 0; z-index: 60;
  background: #fff; border: 1px solid var(--border); border-radius: .75rem;
  box-shadow: var(--shadow-xl); opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .18s ease; overflow: hidden;
}
.has-menu:hover .menu-panel, .has-menu:focus-within .menu-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.menu-products { width: 640px; display: grid; grid-template-columns: 1fr 1fr; }
.menu-products .col { padding: 1rem; border-bottom: 1px solid var(--border); }
.menu-products .col:nth-child(odd) { border-right: 1px solid var(--border); }
.menu-products .cat { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.menu-products .cat .ci {
  display: inline-flex; align-items: center; justify-content: center; height: 2rem; width: 2rem;
  border-radius: .5rem; background: var(--navy-50); color: var(--navy-700); transition: all .2s;
}
.menu-products .cat:hover .ci { background: var(--emerald-50); color: var(--emerald-600); }
.menu-products .cat strong { font-size: .875rem; color: var(--navy-900); }
.menu-products .cat:hover strong { color: var(--emerald-600); }
.menu-products .subs { padding-left: 2.5rem; display: flex; flex-direction: column; gap: .25rem; }
.menu-products .subs a { font-size: .75rem; color: var(--muted); padding: .125rem 0; }
.menu-products .subs a:hover { color: var(--emerald-600); }
.menu-industries { width: 480px; padding: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.menu-industries a { display: flex; align-items: flex-start; gap: .5rem; padding: .625rem; border-radius: .5rem; transition: background .2s; }
.menu-industries a:hover { background: var(--navy-50); }
.menu-industries .ii {
  display: inline-flex; align-items: center; justify-content: center; height: 1.75rem; width: 1.75rem;
  border-radius: .375rem; background: var(--emerald-50); color: var(--emerald-600); flex-shrink: 0;
}
.menu-industries .name { font-size: .875rem; font-weight: 500; color: var(--navy-900); }
.menu-industries .tag { font-size: .75rem; color: var(--muted); }

/* Search dropdown */
.search-bar {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: var(--shadow-md); display: none;
}
.search-bar.open { display: block; animation: fadeIn .3s ease; }
.search-bar .inner { max-width: 48rem; margin: 0 auto; padding: 1.5rem; position: relative; }
.search-bar input {
  width: 100%; padding: .75rem 1rem .75rem 3rem; font-size: .9rem;
  border: 1px solid var(--border); border-radius: .5rem; background: rgba(255,255,255,.8);
}
.search-bar input:focus { outline: 2px solid var(--emerald-500); outline-offset: 0; }
.search-bar .si { position: absolute; left: 2.5rem; top: 2.25rem; color: var(--muted); }

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 60; opacity: 0;
  visibility: hidden; transition: opacity .3s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 320px; max-width: 85vw; background: #fff;
  z-index: 70; padding: 1.5rem; transform: translateX(100%); transition: transform .3s ease;
  overflow-y: auto; box-shadow: var(--shadow-xl);
}
.drawer.open { transform: translateX(0); }
.drawer .brand { margin-bottom: 1.5rem; }
.drawer nav { display: flex; flex-direction: column; gap: .25rem; }
.drawer nav a { padding: .625rem .75rem; font-size: .9rem; font-weight: 500; color: var(--navy-800); border-radius: .375rem; }
.drawer nav a:hover, .drawer nav a.active { background: var(--navy-50); color: var(--emerald-600); }
.drawer .close { position: absolute; top: 1rem; right: 1rem; color: var(--navy-600); }

/* ----- Enquiry modal ----------------------------------------------------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,22,62,.55); backdrop-filter: blur(2px); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: fixed; z-index: 90; left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(.98); opacity: 0; visibility: hidden;
  width: min(34rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: #fff; border-radius: 1rem; box-shadow: var(--shadow-xl); padding: 2rem;
  transition: opacity .25s ease, transform .25s ease;
}
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; color: var(--navy-600); display: inline-flex; padding: .25rem; border-radius: .375rem; }
.modal-close:hover { color: var(--navy-900); background: var(--navy-50); }
.modal h3 { font-size: 1.4rem; color: var(--navy-900); margin: .25rem 0 .5rem; }
.modal-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
@media (max-width: 480px) { .modal { padding: 1.5rem; width: calc(100vw - 1.5rem); } }
body.modal-open { overflow: hidden; }

/* ----- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); }
.hero .bg-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; opacity: .2; }
.hero .bg-grid > div { background-size: cover; background-position: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(to right, #00163e, rgb(0 28 56 / 95%) 45%, rgb(0 56 110 / 80%)); }
.glow { position: absolute; border-radius: 9999px; filter: blur(120px); pointer-events: none; }
.glow-a { top: 0; right: 0; height: 500px; width: 500px; background: rgba(22,179,100,.1); }
.glow-b { bottom: 0; left: 25%; height: 400px; width: 400px; background: rgba(56,205,123,.05); }
.hero .inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 6rem 1.5rem; }
@media (min-width: 1024px) { .hero .inner { padding: 8rem 1.5rem; } }
.hero .content { max-width: 48rem; }
.badge-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem 1rem; margin-bottom: 1.5rem;
  border-radius: 9999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px); font-size: .875rem; color: rgba(255,255,255,.9);
}
.dot { height: .5rem; width: .5rem; border-radius: 9999px; background: var(--emerald-400); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); color: #fff; line-height: 1.1; }
.hero h1 .hl { color: var(--emerald-400); }
.hero .lead { margin-top: 1.5rem; font-size: 1.125rem; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 42rem; }
.hero .cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .stats { margin-top: 4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .hero .stats { grid-template-columns: repeat(4, 1fr); } }
.hero .stat .si { color: var(--emerald-400); margin-bottom: .25rem; }
.hero .stat .val { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; }
.hero .stat .lbl { display: block; font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; margin-top: .25rem; }

/* ----- Client marquee ---------------------------------------------------- */
.clients { padding: 4rem 0; background: #fff; border-bottom: 1px solid var(--border); }
.clients .label { text-align: center; font-size: .875rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; margin-bottom: 2.5rem; }
.marquee-wrap { position: relative; overflow: hidden; }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 2; }
.marquee-wrap::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.marquee { display: flex; gap: 2rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee .logo { display: flex; align-items: center; justify-content: center; min-width: 200px; height: 5rem; }
.marquee .logo span { font-size: 1.25rem; font-weight: 700; color: #467ca0; white-space: nowrap; transition: color .3s ease; }
.marquee .logo:hover span { color: var(--navy-800); }

/* ----- Generic card grids ------------------------------------------------ */
.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: block; height: 100%; overflow: hidden; background: #fff;
  border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .5s ease, border-color .3s ease, transform .3s ease;
}
.card:hover { box-shadow: var(--shadow-xl); }

/* Category card */
.cat-card .media { position: relative; height: 12rem; overflow: hidden; }
.cat-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cat-card:hover .media img { transform: scale(1.1); }
.cat-card .media .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,22,62,.8), rgba(0,22,62,.2) 50%, transparent); }
.cat-card .media .badge-i {
  position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem; border-radius: .75rem; background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px); color: var(--navy-700); transition: all .3s ease;
}
.cat-card:hover .media .badge-i { background: var(--emerald-500); color: #fff; }
.cat-card .media h3 { position: absolute; bottom: 1rem; left: 1rem; font-size: 1.25rem; color: #fff; }
.cat-card .body { padding: 1.5rem; }
.cat-card .body p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.cat-card .accent { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--emerald-500); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.cat-card:hover .accent { transform: scaleX(1); }

/* Product card */
.prod-card .media { position: relative; height: 13rem; overflow: hidden; background: var(--navy-50); }
.prod-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.prod-card:hover .media img { transform: scale(1.1); }
.prod-card .cert {
  position: absolute; top: .75rem; left: .75rem; padding: .25rem .625rem; border-radius: 9999px;
  background: var(--emerald-500); color: #fff; font-size: .625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.prod-card .body { padding: 1.25rem; }
.prod-card h3 { font-size: 1rem; color: var(--navy-900); transition: color .2s ease; }
.prod-card:hover h3 { color: var(--emerald-600); }
.prod-card .body p { margin-top: .5rem; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.prod-card .more { margin-top: 1rem; }

/* ----- Products page: division panels ------------------------------------ */
.cat-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .cat-panels { grid-template-columns: 1fr; } }
.cat-panel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s ease, border-color .3s ease; }
.cat-panel:hover { box-shadow: var(--shadow-md); border-color: var(--emerald-200); }
.cat-media { height: 12rem; overflow: hidden; background: var(--navy-50); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.cat-panel:hover .cat-media img { transform: scale(1.05); }
.cat-panel-inner { flex: 1; display: flex; flex-direction: column; padding: 2rem; }
.cat-panel-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.cat-panel-head .ci { display: inline-flex; align-items: center; justify-content: center; height: 3rem; width: 3rem; border-radius: .75rem; background: var(--navy-900); color: #fff; flex-shrink: 0; }
.cat-panel-head h3 { font-size: 1.25rem; color: var(--navy-900); margin-bottom: .375rem; }
.cat-panel-head p { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.range { flex: 1; border-top: 1px solid var(--border); padding-top: 1.25rem; margin-bottom: 1.5rem; }
.range-label { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--emerald-600); margin-bottom: .875rem; }
.range-list { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
@media (max-width: 520px) { .range-list { grid-template-columns: 1fr; } }
.range-list li { position: relative; padding-left: 1.25rem; font-size: .875rem; color: var(--navy-700); line-height: 1.4; }
.range-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--emerald-500); }
.cat-cta { align-self: flex-start; }

.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ----- Industries (dark) ------------------------------------------------- */
.industries-dark { position: relative; overflow: hidden; background: var(--navy-900); padding: 6rem 0; }
.glass-dark {
  background: rgba(0,22,62,.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
}
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1023px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
.ind-chip { position: relative; display: block; height: 100%; border-radius: .75rem; padding: 1.25rem; transition: background .3s ease; }
.ind-chip:hover { background: rgba(255,255,255,.1); }
.ind-chip .ci { display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border-radius: .5rem; background: rgba(22,179,100,.2); color: var(--emerald-400); margin-bottom: 1rem; transition: all .3s ease; }
.ind-chip:hover .ci { background: var(--emerald-500); color: #fff; }
.ind-chip h3 { font-size: .875rem; color: #fff; margin-bottom: .375rem; transition: color .2s ease; }
.ind-chip:hover h3 { color: var(--emerald-400); }
.ind-chip p { font-size: .75rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ----- Why us ------------------------------------------------------------ */
.whyus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 1023px) { .whyus-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.whyus-copy h2 { margin-top: .75rem; font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--navy-900); }
.whyus-copy p { margin-top: 1rem; color: var(--muted); line-height: 1.7; }
.whyus-copy .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 1.5rem; border-radius: 1rem; background: rgba(240,244,248,.5);
  border: 1px solid var(--border); transition: all .3s ease;
}
.feature:hover { background: #fff; border-color: var(--emerald-200); box-shadow: var(--shadow-md); }
.feature .fi { display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; width: 2.75rem; border-radius: .75rem; background: var(--emerald-100); color: var(--emerald-600); margin-bottom: 1rem; }
.feature h3 { font-size: 1rem; color: var(--navy-900); margin-bottom: .5rem; }
.feature p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ----- Testimonials ------------------------------------------------------ */
.tst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 767px) { .tst-grid { grid-template-columns: 1fr; } }
.tst {
  position: relative; padding: 2rem; border-radius: 1rem; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.tst .quote-i { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--navy-100); width: 2.5rem; height: 2.5rem; }
.tst .stars { display: flex; gap: .125rem; margin-bottom: 1rem; color: var(--emerald-500); }
.tst .stars svg { fill: var(--emerald-500); }
.tst .body { color: var(--navy-700); line-height: 1.7; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.tst .who { display: flex; align-items: center; gap: .75rem; }
.tst .avatar { display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; width: 2.75rem; border-radius: 9999px; background: var(--navy-900); color: #fff; font-size: .875rem; font-weight: 600; }
.tst .who .n { font-size: .875rem; font-weight: 600; color: var(--navy-900); }
.tst .who .r { font-size: .75rem; color: var(--muted); }

/* ----- CTA band ---------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: 5rem 0; background: linear-gradient(to right, var(--navy-900), var(--navy-800)); }
.cta-band .inner { position: relative; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.cta-band .badge-i { display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; width: 3.5rem; border-radius: 1rem; background: var(--emerald-500); color: #fff; margin-bottom: 1.5rem; }
.cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); color: #fff; }
.cta-band p { margin-top: 1rem; font-size: 1.125rem; color: rgba(255,255,255,.7); max-width: 42rem; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-band .actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
/* CTA image variant: photo background shown clearly, white text over a soft navy scrim */
.cta-band.cta-image { background: var(--navy-900); }
.cta-band.cta-image::before { content: ''; position: absolute; inset: 0; z-index: 0; background: url(../images/image-bg.jpg) center/cover no-repeat; opacity: .75; }
.cta-band.cta-image::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,22,62,.38), rgba(0,22,62,.55)); }
.cta-band.cta-image .inner { z-index: 2; }

/* ----- Page header ------------------------------------------------------- */
.page-header { position: relative; overflow: hidden; background: var(--navy-900); padding: 5rem 0; }
@media (min-width: 1024px) { .page-header { padding: 7rem 0; } }
.page-header .bg-img { position: absolute; inset: 0; }
.page-header .bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.page-header .bg-img .shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,8,26,.78), rgba(0,22,62,.30)); }
.page-header .inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.crumb { display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; }
.crumb a:hover { color: var(--emerald-400); }
.crumb .current { color: rgba(255,255,255,.8); }
.page-header h1 { font-size: clamp(1.875rem, 4vw, 3rem); color: #fff; }
.page-header .subtitle { margin-top: 1rem; font-size: 1.125rem; color: rgba(255,255,255,.7); max-width: 42rem; line-height: 1.7; }

/* ----- Footer ------------------------------------------------------------ */
.footer { background: #00163e; color: rgba(255,255,255,.7); }
.footer .inner { max-width: var(--container); margin: 0 auto; padding: 4rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand .mark { background: var(--emerald-500); }
.footer .brand .name { color: #fff; }
.footer .about { font-size: .875rem; line-height: 1.7; margin: 1.25rem 0 1.5rem; max-width: 24rem; }
.footer .contact { display: flex; flex-direction: column; gap: .625rem; font-size: .875rem; }
.footer .contact a, .footer .contact div { display: flex; align-items: flex-start; gap: .625rem; }
.footer .contact svg { color: var(--emerald-400); flex-shrink: 0; }
.footer .contact a:hover { color: var(--emerald-400); }
.footer h3 { font-size: .875rem; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: .625rem; font-size: .875rem; }
.footer ul a:hover { color: var(--emerald-400); }
.footer .news p { font-size: .875rem; margin-bottom: 1rem; }
.footer .news form { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.footer .news input { flex: 1; min-width: 0; padding: .5rem .75rem; font-size: .875rem; border-radius: .375rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.footer .news input::placeholder { color: rgba(255,255,255,.4); }
.footer .news button { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem; border-radius: .375rem; background: var(--emerald-500); color: #fff; flex-shrink: 0; }
.footer .news button:hover { background: var(--emerald-600); }
.socials { display: flex; gap: .625rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem; border-radius: .5rem; background: rgba(255,255,255,.1); transition: background .2s ease; }
.socials a:hover { background: var(--emerald-500); }
.footer .bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer .bottom p, .footer .bottom a { font-size: .875rem; color: rgba(255,255,255,.5); }
.footer .bottom .links { display: flex; gap: 1.5rem; }
.footer .bottom a:hover { color: var(--emerald-400); }

/* ----- Forms ------------------------------------------------------------- */
.field label { display: block; font-size: .875rem; font-weight: 500; color: var(--navy-900); margin-bottom: .375rem; }
.field label .req { color: #ef4444; }
.field input, .field select, .field textarea {
  width: 100%; padding: .625rem 1rem; font-size: .875rem; border: 1px solid var(--border);
  border-radius: .5rem; background: #fff;
}
.field textarea { resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--emerald-500); outline-offset: 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.upload-box { display: flex; align-items: center; justify-content: center; height: 7rem; border: 2px dashed var(--border); border-radius: .5rem; text-align: center; color: var(--muted); transition: border-color .2s ease; }
.upload-box:hover { border-color: var(--emerald-400); }
.side-card { padding: 1.5rem; border-radius: 1rem; background: rgba(240,244,248,.5); border: 1px solid var(--border); }
.side-card.dark { background: var(--navy-900); color: #fff; }
.side-card h3 { font-size: 1.125rem; color: var(--navy-900); margin-bottom: 1rem; }
.side-card.dark h3 { color: #fff; }
.side-card .row { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; margin-bottom: 1rem; }
.side-card .row svg { color: var(--emerald-600); flex-shrink: 0; margin-top: .125rem; }
.side-card .row .lbl { font-weight: 500; color: var(--navy-900); }
.side-card .row .val { color: var(--muted); }
.side-card.dark ul { display: flex; flex-direction: column; gap: .75rem; }
.side-card.dark li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.7); }
.side-card.dark li svg { color: var(--emerald-400); flex-shrink: 0; margin-top: .125rem; }
/* form pages: responsive two-column layout (form + info sidebar) */
.form-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) {
  .form-layout { grid-template-columns: 1fr 20rem; gap: 3rem; }
  .form-layout.side-left { grid-template-columns: 20rem 1fr; }
}
.form-layout > * { min-width: 0; }
/* keep the visually-hidden file input from stretching the layout */
.field input.sr-only, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Prevent iOS Safari from auto-zooming (and getting stuck zoomed-in) when a
   form control smaller than 16px is focused. Applies only on touch-sized viewports. */
@media (max-width: 768px) {
  .field input, .field select, .field textarea,
  .search-bar input, .footer .news input,
  .toolbar .search input, .toolbar select { font-size: 16px; }
}

.form-note { padding: .75rem 1rem; border-radius: .5rem; font-size: .875rem; }
.form-note.err { background: #fef2f2; color: #b91c1c; }
.success-box { text-align: center; padding: 5rem 0; }
.success-box .ci { display: inline-flex; align-items: center; justify-content: center; height: 5rem; width: 5rem; border-radius: 9999px; background: var(--emerald-100); color: var(--emerald-600); margin-bottom: 1.5rem; }
.success-box h2 { font-size: 1.875rem; color: var(--navy-900); margin-bottom: 1rem; }
.success-box p { color: var(--muted); font-size: 1.125rem; line-height: 1.7; max-width: 36rem; margin: 0 auto 2rem; }

/* ----- Filter toolbar (products / downloads) ----------------------------- */
.toolbar { display: flex; gap: .75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.toolbar .search { position: relative; flex: 1; min-width: 220px; }
.toolbar .search svg { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar .search input { width: 100%; padding: .625rem 1rem .625rem 2.5rem; font-size: .875rem; border: 1px solid var(--border); border-radius: .5rem; background: #fff; }
.toolbar select { padding: .625rem 1rem; font-size: .875rem; border: 1px solid var(--border); border-radius: .5rem; background: #fff; }
.layout-cols { display: flex; gap: 2rem; align-items: flex-start; }
@media (max-width: 1023px) { .layout-cols { flex-direction: column; } }
.filter-aside { width: 16rem; flex-shrink: 0; position: sticky; top: 7rem; }
@media (max-width: 1023px) { .filter-aside { width: 100%; position: static; } }
.filter-aside h3 { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--navy-900); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.filter-aside button { display: block; width: 100%; text-align: left; padding: .5rem .75rem; border-radius: .5rem; font-size: .875rem; color: var(--navy-700); transition: background .2s; }
.filter-aside button:hover { background: var(--navy-50); }
.filter-aside button.active { background: var(--emerald-50); color: var(--emerald-700); font-weight: 500; }

/* Industry list card */
.ind-card .media { position: relative; height: 14rem; overflow: hidden; }
.ind-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ind-card:hover .media img { transform: scale(1.1); }
.ind-card .media .shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--navy-900), rgba(0,22,62,.5) 50%, transparent); }
.ind-card .media .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.ind-card .media .ci { display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; width: 2.75rem; border-radius: .75rem; background: var(--emerald-500); color: #fff; margin-bottom: .75rem; }
.ind-card .media h3 { font-size: 1.25rem; color: #fff; }
.ind-card .media p { margin-top: .25rem; font-size: .875rem; color: rgba(255,255,255,.7); }
.ind-card .foot { padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.ind-card .foot.foot-end { justify-content: flex-end; }
.ind-card .foot span { font-size: .875rem; color: var(--muted); }

/* Brand card */
.brand-card { padding: 1.5rem; }
.brand-card:hover { border-color: var(--emerald-200); }
.brand-card .top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.brand-card .logo { display: inline-flex; align-items: center; justify-content: center; height: 3.5rem; width: 3.5rem; border-radius: .75rem; background: var(--navy-900); color: #fff; font-size: 1.25rem; font-weight: 700; flex-shrink: 0; }
.brand-card h3 { font-size: 1.125rem; color: var(--navy-900); transition: color .2s; }
.brand-card:hover h3 { color: var(--emerald-600); }
.brand-card .partner { font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: .25rem; margin-top: .125rem; }
.brand-card > p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.chip { display: inline-flex; align-items: center; gap: .25rem; padding: .125rem .5rem; border-radius: 9999px; background: var(--emerald-50); color: var(--emerald-700); font-size: .75rem; }

/* Project card */
.proj-card { overflow: hidden; }
.proj-card .media { position: relative; height: 14rem; overflow: hidden; background: var(--navy-50); }
.proj-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-card .media .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,22,62,.6), transparent); }
.proj-card .feat { position: absolute; top: .75rem; right: .75rem; padding: .25rem .625rem; border-radius: 9999px; background: var(--emerald-500); color: #fff; font-size: .75rem; font-weight: 600; }
.proj-card .body { padding: 1.5rem; }
.proj-card .meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .75rem; font-size: .75rem; color: var(--muted); }
.proj-card .meta span { display: inline-flex; align-items: center; gap: .25rem; }
.proj-card h3 { font-size: 1.125rem; color: var(--navy-900); margin-bottom: .5rem; }
.proj-card .body > p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.proj-card .supplied .k { font-size: .75rem; font-weight: 600; color: var(--navy-900); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .375rem; }
.proj-card .supplied .v { font-size: .875rem; color: var(--muted); }

/* Blog card */
.blog-card .media { position: relative; height: 12rem; overflow: hidden; background: var(--navy-50); }
.blog-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.blog-card:hover .media img { transform: scale(1.1); }
.blog-card .cat { position: absolute; top: .75rem; left: .75rem; padding: .25rem .625rem; border-radius: 9999px; background: var(--emerald-500); color: #fff; font-size: .75rem; font-weight: 600; }
.blog-card .body { padding: 1.25rem; }
.blog-card .date { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--muted); margin-bottom: .5rem; }
.blog-card h3 { font-size: 1rem; color: var(--navy-900); margin-bottom: .5rem; transition: color .2s; }
.blog-card:hover h3 { color: var(--emerald-600); }
.blog-card .body p { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }

/* ----- Blog article page ------------------------------------------------- */
.article-wrap { max-width: 48rem; margin: 0; }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; font-size: .875rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: .375rem; }
.cat-pill { padding: .25rem .75rem; border-radius: 9999px; background: var(--emerald-50); color: var(--emerald-700); font-weight: 600; font-size: .75rem; }
.article-cover { border-radius: 1rem; overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16 / 7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { color: var(--navy-700); line-height: 1.8; }
.article .lead { font-size: 1.15rem; color: var(--navy-800); margin-bottom: 1.5rem; }
.article h2 { font-size: 1.4rem; color: var(--navy-900); margin: 2rem 0 .75rem; }
.article p { margin-bottom: 1rem; }
.article ul { margin: 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: .625rem; }
.article li { position: relative; padding-left: 1.75rem; }
.article li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 2px; background: var(--emerald-500); }
.article li strong { color: var(--navy-900); }
.article-cta { margin: 2.5rem 0 1.5rem; padding: 1.75rem; border-radius: 1rem; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.article-cta h3 { color: #fff; font-size: 1.15rem; margin-bottom: .25rem; }
.article-cta p { color: rgba(255,255,255,.7); font-size: .9rem; }
.article-back { margin-bottom: .5rem; }
.article-back svg { transform: rotate(180deg); }
.related { max-width: var(--container); margin: 4rem auto 0; }
.related-h { font-size: 1.5rem; color: var(--navy-900); margin-bottom: 1.5rem; }

/* Career row */
.job { padding: 1.5rem; border-radius: 1rem; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all .3s ease; }
.job:hover { border-color: var(--emerald-200); box-shadow: var(--shadow-md); }
.job .head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.job h3 { font-size: 1.125rem; color: var(--navy-900); margin-bottom: .5rem; }
.job .tags { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .875rem; color: var(--muted); align-items: center; }
.job .tags span { display: inline-flex; align-items: center; gap: .375rem; }
.job .tags .pill { padding: .125rem .625rem; border-radius: 9999px; background: var(--emerald-50); color: var(--emerald-700); font-size: .75rem; font-weight: 500; }
.job > p { margin-top: 1rem; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.job .reqs { margin-top: 1rem; }
.job .reqs .k { font-size: .75rem; font-weight: 600; color: var(--navy-900); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.job .reqs ul { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; }
@media (max-width: 640px) { .job .reqs ul { grid-template-columns: 1fr; } }
.job .reqs li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--muted); }
.job .reqs li svg { color: var(--emerald-500); flex-shrink: 0; margin-top: .125rem; }

/* Download row */
.dl { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all .3s ease; }
.dl:hover { border-color: var(--emerald-200); box-shadow: var(--shadow-md); }
.dl .di { display: inline-flex; align-items: center; justify-content: center; height: 3rem; width: 3rem; border-radius: .75rem; background: var(--navy-50); color: var(--navy-700); flex-shrink: 0; transition: all .3s; }
.dl:hover .di { background: var(--emerald-500); color: #fff; }
.dl .info { flex: 1; min-width: 0; }
.dl h3 { font-size: .875rem; color: var(--navy-900); margin-bottom: .25rem; }
.dl .info p { font-size: .75rem; color: var(--muted); margin-bottom: .5rem; }
.dl .info .m { display: flex; gap: .75rem; font-size: .75rem; color: var(--muted); text-transform: capitalize; }
.dl .grab { display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem; border-radius: .5rem; color: var(--navy-600); flex-shrink: 0; transition: all .2s; }
.dl .grab:hover { background: var(--emerald-50); color: var(--emerald-600); }

/* Detail page */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 1023px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-media { border-radius: 1rem; overflow: hidden; background: var(--navy-50); aspect-ratio: 4/3; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.spec-list { display: flex; flex-direction: column; }
.spec-list .r { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; }
.spec-list .r .k { color: var(--muted); }
.spec-list .r .v { color: var(--navy-900); font-weight: 500; text-align: right; }
.tags-inline { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ----- Animations -------------------------------------------------------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Reveal: pure-CSS fade-up that always ends visible (no JS dependency for
   content to appear). IntersectionObserver, when present, replays it on scroll. */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { animation: fadeUp .6s ease both; }
.js .reveal { opacity: 0; }
.js .reveal.in { animation: fadeUp .6s ease both; opacity: 1; }

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

/* ----- Self-contained image placeholders (zero remote dependencies) ------ */
.ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ph svg { width: 3rem; height: 3rem; stroke-width: 1.5; }
.ph-navy { background: linear-gradient(135deg, var(--navy-100), var(--navy-50)); color: var(--navy-200); }
.ph-brand { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--emerald-800) 140%); color: rgba(255,255,255,.16); }
.ph-brand svg { width: 4.5rem; height: 4.5rem; }
.ph-tint { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: rgba(56,205,123,.22); }
.ph-tint svg { width: 4rem; height: 4rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Floating WhatsApp button (persistent on every page) */
.wa-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 999px; background: #25d366; color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .2s ease, box-shadow .2s ease; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.28); color: #fff; }
.wa-fab svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.wa-fab span { white-space: nowrap; }
@media (max-width: 640px) {
  .wa-fab { right: 1rem; bottom: 1rem; padding: .85rem; }
  .wa-fab span { display: none; }
}
