@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

/* ====== reset & fonts ====== */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --primary: #1A2B6D;
  --primary-deep: #0B1F5C;
  --navy-ink: #0B1F5C;
  --sky: #1E88E5;
  --accent: #4CAF50;
  --accent-dark: #43A047;
  --bg: #ffffff;
  --fg: #1C1C1C;
  --muted: #F3F3F3;
  --muted-2: #FAFAFA;
  --muted-fg: #4A4A4A;
  --border: #E0E0E0;
  --font-sans: 'Open Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', 'Open Sans', sans-serif;
  --radius: 0.5rem;
  --container: 1280px;
  --header-h: 60px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 25px -5px rgb(0 0 0 / 0.15);
}
@media (min-width: 768px) {
  :root { --header-h: 86px; }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--fg); }
h1 { font-size: clamp(2.25rem, 3.5vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.875rem, 2.5vw + 1rem, 2.5rem); }
h3 { font-size: 1.375rem; }
p { color: var(--muted-fg); }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sky); }
img { max-width: 100%; display: block; }

/* ====== layout ====== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 6rem 0; }
.bg-muted { background: var(--muted-2); }
.bg-white { background: #fff; }
.bg-ink { background: var(--navy-ink); color: #fff; }
.bg-ink p, .bg-ink li, .bg-ink span { color: rgba(255,255,255,0.85); }
.bg-primary { background: var(--primary); color: #fff; }
.bg-primary p, .bg-primary li, .bg-primary span { color: rgba(255,255,255,0.85); }
.bg-accent-strip { background: var(--accent); }
.bg-accent-strip * { color: var(--navy-ink); }

/* ====== buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.5;
  font-family: var(--font-display); cursor: pointer; border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-lg { padding: 1rem 2.25rem; height: 3.25rem; }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.9rem; }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 800; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

.btn-outline { background: transparent; border-color: var(--sky); color: var(--sky); }
.btn-outline:hover { background: var(--sky); color: #fff; }

.btn-ghost-white { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn-block { width: 100%; justify-content: center; }

/* ====== utility bar ====== */
.utility-bar { background: var(--navy-ink); display: none; }
@media (min-width: 768px) { .utility-bar { display: block; } }
.utility-bar .container { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; padding-top: 0.3rem; padding-bottom: 0.3rem; }
.utility-bar a { color: rgba(255,255,255,0.75); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em; }
.utility-bar a:hover { color: #fff; }
.utility-bar .u-divider { width: 1px; height: 11px; background: rgba(255,255,255,0.22); }
.utility-bar .u-search { display: inline-flex; align-items: center; }

/* ====== header / navbar ====== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
/* header height stays constant whether or not the page is scrolled */
.site-header.scrolled > .container { padding-top: 0.45rem; padding-bottom: 0.45rem; }
.site-header > .container { display: flex; align-items: center; justify-content: space-between; padding-top: 0.45rem; padding-bottom: 0.45rem; transition: padding 0.3s; }
.site-header .logo img { height: 40px; width: auto; }
.site-header .logo-img { height: 40px; width: auto; }
.site-header nav { display: none; align-items: center; gap: 2rem; margin-left: 4rem; }
@media (min-width: 768px) { .site-header nav { display: flex; } }
.site-header nav a {
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--fg);
  text-transform: uppercase; letter-spacing: 0.06em;
  position: relative; padding: 0.5rem 0; opacity: 0.85;
}
.site-header nav a:hover { color: var(--primary); opacity: 1; }
.site-header nav a.active { color: var(--primary); opacity: 1; }
.site-header nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--primary);
}

/* ====== nav dropdowns (mega-menu style) ====== */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-item .chev { width: 11px; height: 11px; opacity: 0.7; transition: transform 0.2s; }
.nav-item:hover .chev { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--border); border-radius: 0.75rem; box-shadow: var(--shadow-lg);
  padding: 0.6rem; min-width: 260px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.site-header .nav-dropdown a {
  display: block; padding: 0.6rem 0.85rem; border-radius: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem;
  text-transform: none; letter-spacing: normal; opacity: 1; color: var(--fg);
}
.site-header .nav-dropdown a:hover { background: var(--muted); color: var(--primary); }
.site-header .nav-dropdown a.active::after { display: none; }
.header-cta { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .header-cta { display: flex; } }
.header-cta a.call-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary); font-weight: 500; font-size: 0.9rem; }
.header-cta a.call-link:hover { color: var(--primary-deep); }

.menu-toggle { background: none; border: none; padding: 0.5rem; color: var(--fg); cursor: pointer; }
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
  padding: 1rem; flex-direction: column; gap: 0.4rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 0.75rem 0; font-size: 1.1rem; font-weight: 500; color: var(--fg); border-bottom: 1px solid var(--border); }
.mobile-menu a.active { color: var(--primary); }
.mobile-menu .mobile-call { display: flex; align-items: center; gap: 0.5rem; color: var(--primary); font-size: 1.05rem; font-weight: 500; padding: 0.75rem 0; }

main { padding-top: var(--header-h); }

/* ====== footer ====== */
.site-footer { background: var(--navy-ink); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { color: #fff; font-size: 1.125rem; margin-bottom: 1.5rem; font-family: var(--font-display); font-weight: 600; }
.footer-col p, .footer-col ul li, .footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a:hover { color: var(--sky); }
.footer-col img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-col .contact-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-col .contact-row svg { color: var(--sky); flex-shrink: 0; margin-top: 2px; }
.footer-col .contact-row a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ====== hero (home) ====== */
.hero {
  position: relative; height: calc(100vh - 4rem);
  display: flex; flex-direction: column; background: var(--navy-ink); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; mix-blend-mode: luminosity; animation: hero-zoom 22s ease-in-out infinite; transform-origin: center center; }
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--navy-ink) 0%, rgba(30,136,229,0.55) 65%, transparent 100%); }
@keyframes hero-zoom {
  0% { transform: scale(1.05) translate(0, 0); }
  50% { transform: scale(1.16) translate(-1.5%, -1%); }
  100% { transform: scale(1.05) translate(1%, 1%); }
}
.hero-content { position: relative; z-index: 10; flex: 1; display: flex; align-items: center; }
.hero-content .container { width: 100%; }
.hero-badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(30,136,229,0.2); border: 1px solid rgba(30,136,229,0.35);
  color: var(--sky); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; max-width: 900px; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.2rem; max-width: 700px; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .hero p.lead { font-size: 1.4rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ====== ticker (in hero bottom) ====== */
.ticker {
  position: relative; z-index: 10; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.85rem 0; overflow: hidden;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 28s linear infinite; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; justify-content: center; min-width: 190px;
  padding: 0.1rem 2.75rem;
}
.ticker-item + .ticker-item { border-left: 1px solid var(--border); }
.ticker-item .item { display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0.8; transition: opacity 0.3s; }
.ticker-item .item:hover { opacity: 1; }
.ticker-item .label { font-size: 0.7rem; font-weight: 600; color: var(--muted-fg); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; white-space: nowrap; }
.ticker-item .value { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--fg); white-space: nowrap; }
.ticker-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }
@media (max-width: 767px) {
  .ticker { padding: 0.75rem 0; }
  .ticker-item { min-width: 165px; padding: 0.1rem 1.75rem; }
}

/* ====== client logo marquee ====== */
.clients-section { padding-bottom: 0; overflow: hidden; }
.clients-heading { margin-bottom: 2rem; }
.clients-heading .eyebrow {
  display: block; margin-bottom: 0.65rem; color: var(--primary);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.clients-heading h2 { margin-bottom: 0.65rem; }
.clients-heading p { max-width: 620px; margin: 0 auto; }
.clients-marquee {
  width: 100%; overflow: hidden; padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--muted-2);
}
.clients-track {
  display: flex; width: max-content; align-items: center;
  animation: clients-scroll 36s linear infinite;
}
.clients-track:hover { animation-play-state: running; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-logo {
  width: 190px; height: 92px; margin: 0 0.75rem; padding: 0.8rem 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.client-logo img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
@media (max-width: 767px) {
  .clients-section { padding-top: 3.5rem; }
  .client-logo { width: 155px; height: 78px; margin: 0 0.5rem; padding: 0.65rem 0.9rem; }
  .clients-track { animation-duration: 30s; }
}

/* ====== page banner ====== */
.page-banner {
  position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center;
  background: var(--navy-ink); overflow: hidden; padding: 5rem 1.5rem;
}
.page-banner.alt-banner { min-height: 52vh; align-items: flex-end; padding-bottom: 4rem; }
.page-banner .bg { position: absolute; inset: 0; }
.page-banner .bg img, .page-banner .bg { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; mix-blend-mode: luminosity; }
.page-banner .overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, rgba(11,31,92,0.5) 50%, var(--navy-ink) 100%); }
.page-banner.alt-banner .overlay { background: linear-gradient(to right, rgba(11,31,92,0.95) 0%, rgba(26,43,109,0.8) 60%, transparent 100%); }
.page-banner .content { position: relative; z-index: 10; text-align: center; max-width: 800px; }
.page-banner.alt-banner .content { text-align: left; max-width: 720px; }
/* longer words in the services heading need a wider box to land on 2 lines like the products one */
.page-banner.services-banner .content { max-width: 1150px; }
.page-banner h1 { color: #fff; margin-bottom: 1rem; }
.page-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 640px; }
.page-banner h4 { color: #fff; font-weight: 400; white-space: nowrap; }
.page-banner h3 { color: #fff; }
/* subtitle: one line, wider than the 800px content box, but kept truly centred on screen */
.page-banner.services-banner p, .page-banner.products-banner p, .page-banner.about-banner p {
  font-weight: 700; font-size: 1rem; max-width: none; white-space: nowrap;
  width: max-content; position: relative; left: 50%; transform: translateX(-50%);
}
@media (max-width: 1250px) {
  .page-banner.services-banner p, .page-banner.products-banner p, .page-banner.about-banner p {
    white-space: normal; width: auto; max-width: 640px;
    left: 0; transform: none; margin-left: auto; margin-right: auto;
  }
}
.page-banner.alt-banner p { max-width: 540px; }
.page-banner .overline { display: block; margin-bottom: 1rem; color: var(--sky); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-display); white-space: nowrap; }
.page-banner.alt-banner .overline { text-align: left; }

/* ====== service cards ====== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; }

.cards-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: #fff; border-radius: 1rem; padding: 2rem; border: 1px solid var(--border); transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.card.hover-lift:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .icon {
  width: 56px; height: 56px; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
  background: rgba(26,43,109,0.1); color: var(--primary); margin-bottom: 1.5rem; transition: background 0.25s, color 0.25s;
}
.card .icon svg { width: 28px; height: 28px; }
.card:hover .icon { background: var(--primary); color: #fff; }
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; margin-bottom: 1rem; }
.card .more { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--primary); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.card:hover .more { color: var(--sky); }
.card .btn { margin-top: 0.5rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--primary); font-weight: 600; }
.link-arrow:hover { color: var(--sky); }

/* ====== value chips / pills ====== */
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--muted); border-radius: 999px; padding: 0.5rem 1rem;
  font-size: 0.9rem; font-weight: 500; color: var(--fg);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.acc-strip { background: var(--accent); padding: 1.25rem 0; }
.acc-strip-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: center; }
.acc-strip-inner > div { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--navy-ink); font-weight: 600; font-size: 0.95rem; font-family: var(--font-display); }
.acc-strip-inner > div::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-ink); }

/* ====== capabilities marquee ====== */
.capabilities-strip { padding: 1.1rem 0; overflow: hidden; }
.capabilities-marquee { width: 100%; overflow: hidden; }
.capabilities-track {
  display: flex; width: max-content; align-items: center;
  animation: capabilities-scroll 26s linear infinite;
}
@keyframes capabilities-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.cap-item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--navy-ink); font-weight: 700; font-family: var(--font-display);
  font-size: 1rem; white-space: nowrap; padding: 0 1.75rem;
}
.cap-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-ink); flex-shrink: 0; }

/* ====== stratosphere ====== */
.split-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .split-2 { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split-2.flip-img > div:first-child { order: 2; }
@media (min-width: 1024px) { .split-2.flip-img > div:first-child { order: 1; } .split-2.flip-img > div:last-child { order: 2; } }
.split-2 .text-col h2 { margin-bottom: 1.5rem; }
.split-2 .text-col p { font-size: 1.075rem; line-height: 1.7; }
.split-2 .text-col p + p { margin-top: 1.15rem; }

.strato-diagram { max-width: 360px; width: 100%; margin: 0 auto; aspect-ratio: 1; }
.strato-home { padding: 5.5rem 0; }
.strato-home .split-2 { gap: 3rem; }
.strato-home .strato-diagram {
  max-width: 380px; opacity: 0; transform: translateY(24px) scale(0.78);
  transition: opacity 1.35s ease-out, transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.strato-home.in .strato-diagram { opacity: 1; transform: translateY(0) scale(1); }
.strato-story .strato-diagram {
  opacity: 0; transform: translateY(24px) scale(0.78);
  transition: opacity 1.35s ease-out, transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.strato-story.in .strato-diagram { opacity: 1; transform: translateY(0) scale(1); }
.strato-home .mt-12 { margin-top: 1.25rem; }
@media (prefers-reduced-motion: reduce) {
  .strato-home .strato-diagram,
  .strato-story .strato-diagram { opacity: 1; transform: none; transition: none; }
}

/* ====== values grid (about) ====== */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.value-card:hover { border-color: var(--sky); box-shadow: var(--shadow-md); }
.value-card .head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.value-card .head .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); transition: background 0.25s; }
.value-card:hover .head .dot { background: var(--sky); }
.value-card h3 { font-size: 1.25rem; }
.value-card p { font-size: 0.95rem; }

/* ====== pillars (about "Who we are") ====== */
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
.pillar { background: var(--muted); padding: 1.5rem; border-radius: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.pillar:hover { background: #ECECEC; }
.pillar .icon { width: 48px; height: 48px; background: #fff; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; color: var(--primary); box-shadow: var(--shadow-sm); }
.pillar .icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.075rem; }

/* ====== partners (about) ====== */
.partners-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
.partner-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); padding: 2rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.partner-card h3 { color: var(--accent); font-family: var(--font-display); margin-bottom: 1rem; font-size: 1.25rem; }
.partner-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ====== stats ====== */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.stats-grid .stat > .num { font-family: var(--font-display); font-weight: 700; color: var(--sky); font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-bottom: 0.5rem; display: block; }
.stats-grid .stat > .label { font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.9); }
.stats-grid .stat-capacity { transform: scale(0.82); }
.stats-grid.dark .stat > .num { color: var(--sky); }
.stats-grid.dark .stat > .label { color: rgba(255,255,255,0.65); }
.stats-grid.dark > .stat + .stat { border-left: 1px solid rgba(255,255,255,0.15); }
/* compact navy stats band - less vertical padding than a normal section */
.section.stats-band { padding: 2.25rem 0; }
.stats-home { padding: 2rem 0; }
.stats-home .stats-grid { gap: 1rem; }

/* ====== CTA band ====== */
.cta-band { padding: 5rem 1.5rem; text-align: center; }
.cta-band .content { max-width: 760px; margin: 0 auto; }
.cta-band h2 { margin-bottom: 1.5rem; }
.cta-band p { font-size: 1.15rem; margin-bottom: 2.5rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ====== services page tabs ====== */
.services-layout { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 1024px) { .services-layout { flex-direction: row; gap: 3rem; } }
.sidebar { width: 100%; }
@media (min-width: 1024px) { .sidebar { width: 280px; flex-shrink: 0; position: sticky; top: calc(var(--header-h) + 1rem); align-self: flex-start; } }
.sidebar-inner { background: #fff; border-radius: 1rem; border: 1px solid var(--border); padding: 0.5rem; box-shadow: var(--shadow-sm); }
.sidebar button {
  width: 100%; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem; border-radius: 0.75rem;
  background: transparent; border: none; cursor: pointer;
  text-align: left; font-family: inherit; font-size: 0.95rem; font-weight: 600;
  color: var(--muted-fg); margin-bottom: 0.2rem; transition: background 0.2s, color 0.2s;
}
.sidebar button:last-child { margin-bottom: 0; }
.sidebar button:hover { background: var(--muted); color: var(--fg); }
.sidebar button.active { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.sidebar button.active .ico { color: var(--accent); }
.sidebar button .ico { width: 20px; height: 20px; color: var(--muted-fg); flex-shrink: 0; }
.sidebar button.active .ico, .sidebar button:hover .ico { color: currentColor; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-intro { max-width: 760px; margin-bottom: 3rem; }
.tab-intro h2 { margin-bottom: 1rem; font-size: 1.75rem; }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.product-tile { background: #fff; border-radius: 0.75rem; border: 1px solid var(--border); padding: 1.25rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-sm); transition: border-color 0.2s; }
.product-tile:hover { border-color: var(--primary); }
.product-tile .ico-wrap { width: 40px; height: 40px; border-radius: 50%; background: rgba(26,43,109,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.product-tile .ico-wrap svg { width: 20px; height: 20px; }

.product-card { background: #fff; border-radius: 1rem; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-card .head { padding: 1.25rem 1.5rem; color: #fff; }
.product-card .head h3 { color: #fff; font-size: 1.15rem; }
.product-card .head.bg-primary { background: var(--primary); }
.product-card .head.bg-ink { background: var(--navy-ink); }
.product-card .body { padding: 1.25rem 1.5rem; }
.product-card ul { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 640px) { .product-card ul { grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; } }
.product-card li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--fg); }
.product-card li .check { color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

.cards-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.cards-3-col { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .cards-3-col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-3-col { grid-template-columns: repeat(3, 1fr); } }
.feat-card { background: #fff; border-radius: 1rem; border: 1px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: border-color 0.2s; }
.feat-card:hover { border-color: var(--primary); }
.feat-card h3 { font-size: 1.075rem; margin-bottom: 0.5rem; }
.feat-card p { font-size: 0.92rem; }

.feature-card-lg { background: #fff; border-radius: 1rem; border: 1px solid var(--border); padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start; box-shadow: var(--shadow-sm); }
.feature-card-lg > .icon-wrap { background: var(--muted); color: var(--primary); padding: 1rem; border-radius: 0.75rem; flex-shrink: 0; }
.feature-card-lg > .icon-wrap svg { width: 32px; height: 32px; }
.feature-card-lg h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.callout {
  background: rgba(76,175,80,0.18); color: var(--primary);
  border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.9rem; font-weight: 600;
}

.spotlight {
  background: var(--primary); color: #fff; border-radius: 1.5rem; padding: 2.5rem 3rem;
}
.spotlight h3 { color: var(--accent); margin-bottom: 1rem; }
.spotlight p { color: rgba(255,255,255,0.95); max-width: 720px; margin-bottom: 1.5rem; }
.spotlight .badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.spotlight .badges span { padding: 0.5rem 1rem; border-radius: 0.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); font-size: 0.9rem; font-weight: 600; }

.ink-block { background: var(--navy-ink); color: #fff; padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); }
.ink-block h3, .ink-block h4 { color: var(--sky); margin-bottom: 0.5rem; }
.ink-block p { color: rgba(255,255,255,0.85); }
/* chips sitting inside a navy ink-block */
.ink-block .chip { background: rgba(255,255,255,0.1); color: #fff; }
.ink-block .chip .dot { background: var(--sky); }
.ink-block.feature-img { position: relative; overflow: hidden; }
.ink-block.feature-img img { position: absolute; bottom: 0; right: 0; width: 75%; height: 75%; object-fit: cover; opacity: 0.4; mix-blend-mode: overlay; pointer-events: none; }

.muted-callout {
  background: var(--muted); padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  display: flex; gap: 1rem; align-items: flex-start;
}
.muted-callout .ico { color: var(--primary); flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
.muted-callout h4 { font-size: 1.075rem; margin-bottom: 0.25rem; }
.muted-callout p { font-size: 0.95rem; }

/* ====== teams departments ====== */
.dept-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .dept-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .dept-grid { grid-template-columns: repeat(3, 1fr); } }
.dept-cell { background: #fff; padding: 2rem; transition: background 0.2s; }
.dept-cell:hover { background: var(--muted-2); }
.dept-cell .icon { margin-bottom: 1.25rem; }
.dept-cell .icon svg { width: 32px; height: 32px; }
.dept-cell h3 { color: var(--navy-ink); font-size: 1.075rem; margin-bottom: 0.75rem; }
.dept-cell p { font-size: 0.95rem; }

/* ====== culture (teams) ====== */
.culture-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .culture-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.culture-grid p + p { margin-top: 1.15rem; }
.culture-grid .image { position: relative; border-radius: 0.5rem; overflow: hidden; }
.culture-grid .image img { width: 100%; height: 320px; object-fit: cover; }
.culture-grid .image .grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,92,0.6) 0%, transparent 100%); }
.culture-grid .image .pill { position: absolute; bottom: 1.25rem; left: 1.5rem; background: rgba(26,43,109,0.85); color: #fff; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 999px; }

.divider-light { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 3rem; margin-top: 4rem; }

/* ====== contact ====== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.form-card { background: #fff; border-radius: 1.5rem; padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
@media (min-width: 768px) { .form-card { padding: 3rem; } }
.form-card h2 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--fg); font-size: 0.95rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid var(--border);
  background: var(--muted-2); font-family: inherit; font-size: 1rem; color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,43,109,0.15);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1rem;
}
.form-success.show { display: flex; }
.form-success .check {
  width: 64px; height: 64px; background: rgba(30,136,229,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.form-success .check svg { width: 32px; height: 32px; color: var(--primary); }
.form-success h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.form-success p { color: var(--muted-fg); font-size: 1rem; margin-bottom: 1.5rem; max-width: 480px; }
.form-success .mail-options {
  display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin-bottom: 2rem;
}
.form-success .mail-options .btn { font-size: 0.9rem; padding: 0.6rem 1.15rem; }

.details-card { background: var(--primary); color: #fff; border-radius: 1.5rem; padding: 2.5rem; box-shadow: var(--shadow-lg); }
.details-card h3 { color: var(--sky); font-family: var(--font-display); margin-bottom: 2rem; font-size: 1.5rem; }
.detail-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.detail-row .ico-wrap {
  width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.detail-row .ico-wrap svg { width: 24px; height: 24px; color: var(--sky); }
.detail-row h4 { font-size: 1.075rem; margin-bottom: 0.25rem; color: #fff; }
.detail-row p, .detail-row a { color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.detail-row a:hover { color: #fff; }

.map-card { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); min-height: 260px; height: 100%; position: relative; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ====== hi-wall split AC expandable panel ====== */
.hiwall-toggle {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--primary);
  background: transparent; color: var(--primary); font-size: 0.9rem; font-weight: 700;
  line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 0.75rem; transition: background 0.2s, color 0.2s, transform 0.2s;
}
.hiwall-toggle:hover { background: var(--primary); color: #fff; }
.hiwall-toggle.open { transform: rotate(45deg); background: var(--primary); color: #fff; }

.hiwall-panel-row { margin-top: -0.75rem; margin-bottom: -0.75rem; }
.hiwall-panel {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  margin-top: 0;
}
.hiwall-panel.open { max-height: 1400px; margin-top: 1.5rem; margin-bottom: 0.75rem; }

.hiwall-brand-tabs { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.hiwall-brand-btn {
  background: none; border: none; padding: 0.6rem 1rem; font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem; color: var(--muted-fg); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s;
}
.hiwall-brand-btn:hover { color: var(--fg); }
.hiwall-brand-btn.active { color: var(--primary); border-bottom-color: var(--accent); }

.hiwall-brand-panel { display: none; }
.hiwall-brand-panel.active { display: block; }
.hiwall-empty { font-size: 0.92rem; color: var(--muted-fg); padding: 1rem 0; }

.hiwall-type-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.hiwall-type-btn {
  background: var(--muted-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.4rem 1rem; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  color: var(--muted-fg); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hiwall-type-btn:hover { color: var(--fg); border-color: var(--primary); }
.hiwall-type-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.hiwall-type-panel { display: none; }
.hiwall-type-panel.active { display: block; }

.hiwall-product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  max-height: 420px; overflow-y: auto; padding-right: 0.5rem;
}
@media (min-width: 640px) { .hiwall-product-grid { grid-template-columns: repeat(3, 1fr); } }
.hiwall-product {
  display: flex; flex-direction: column; gap: 0.5rem; cursor: pointer;
  border-radius: 0.6rem; padding: 0.4rem; margin: -0.4rem; transition: background 0.2s;
}
.hiwall-product:hover, .hiwall-product:focus-visible { background: var(--muted); outline: none; }
.hiwall-product-img {
  aspect-ratio: 4 / 3; border-radius: 0.6rem; background: var(--muted-2);
  border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hiwall-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.4rem; }
.hiwall-product-img.placeholder { color: var(--muted-fg); font-size: 0.8rem; text-align: center; padding: 0.5rem; }
.hiwall-product span { font-size: 0.85rem; font-weight: 600; color: var(--fg); line-height: 1.35; }

/* ====== hi-wall model detail modal ====== */
.model-modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(11,31,92,0.6); backdrop-filter: blur(2px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.model-modal-backdrop.open { display: flex; }
.model-modal {
  background: rgba(255,255,255,0.78); backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 1rem; max-width: 640px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 2rem; position: relative;
  box-shadow: var(--shadow-lg);
}
.model-modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px;
  border-radius: 50%; border: none; background: var(--muted); color: var(--fg);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.model-modal-close:hover { background: var(--border); }
.model-modal-head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; padding-right: 2rem; }
.model-modal-img { width: 120px; height: 90px; flex-shrink: 0; border-radius: 0.6rem; overflow: hidden; background: var(--muted-2); }
.model-modal-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.3rem; }
.model-modal-head h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.model-modal-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.model-modal-table-wrap { overflow-x: auto; }
.model-modal-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.model-modal-table th, .model-modal-table td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
.model-modal-table td { white-space: normal; }
.model-modal-table th { white-space: nowrap; }
.model-modal-table th { background: rgba(243,243,243,0.6); font-family: var(--font-display); font-weight: 600; color: var(--fg); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; }
.model-modal-close { background: rgba(243,243,243,0.75); }
.model-modal-table td { color: var(--muted-fg); font-weight: 500; }
.model-modal-table td:first-child { color: var(--fg); font-weight: 700; }
.model-modal-note { display: none; margin-top: 1rem; font-size: 0.8rem; color: var(--muted-fg); font-style: italic; }

/* ====== product spec tabs / cards ====== */
.spec-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.spec-tab-btn {
  padding: 0.55rem 1.4rem; border-radius: 999px; border: 2px solid var(--border);
  background: #fff; font-weight: 700; font-size: 0.85rem; font-family: var(--font-display);
  color: var(--muted-fg); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.spec-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.spec-tab-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.spec-tab-panel { display: none; }
.spec-tab-panel.active { display: block; }

.spec-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }

.spec-card { background: #fff; border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.25rem 1.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.spec-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.spec-card .type-badge {
  display: inline-block; background: var(--muted); color: var(--primary);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.65rem;
}
.spec-card .model { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--fg); margin-bottom: 0.5rem; }
.spec-card .spec-line { font-size: 0.85rem; color: var(--muted-fg); line-height: 1.55; }
.spec-card .spec-line strong { color: var(--fg); font-weight: 600; }

.spec-footnote { font-size: 0.8rem; color: var(--muted-fg); line-height: 1.7; max-width: 900px; }
.spec-footnote p + p { margin-top: 0.35rem; }

/* single-card AHU layout: same size as the standard spec-card */
.ahu-grid { max-width: 380px; margin: 0 auto; }
.ahu-grid .type-badge { white-space: nowrap; }

/* ====== clickable model name ====== */
.spec-card .model.has-photo {
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--primary); transition: color 0.2s;
}
.spec-card .model.has-photo:hover { color: var(--sky); }
.spec-card .model.has-photo svg { width: 14px; height: 14px; opacity: 0.6; }
.spec-card .model.has-photo:hover svg { opacity: 1; }

/* ====== product photo modal ====== */
.product-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(11,31,92,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.product-modal.open { display: flex; }
.product-modal-panel {
  position: relative; background: #fff; border-radius: 1rem;
  width: 100%; max-width: 900px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 25px 60px -12px rgba(0,0,0,0.4);
  animation: modal-in 0.22s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .product-modal-panel { animation: none; } }

.product-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.35rem 1.65rem 0.75rem; }
.product-modal-head h3 { font-size: 1.2rem; color: var(--primary); margin: 0; }
.product-modal-close {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--muted); color: var(--fg); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s;
}
.product-modal-close:hover { background: var(--primary); color: #fff; }
.product-modal-close svg { width: 16px; height: 16px; }

.product-modal-photo { padding: 0.25rem 1.65rem 1.25rem; }
.product-modal-photo img { width: 100%; max-height: 380px; object-fit: contain; display: block; }

.product-modal-head .modal-subtitle { font-size: 0.92rem; color: var(--muted-fg); margin-top: 0.15rem; }

.product-modal-details { padding: 0 1.65rem 1.65rem; }
.product-modal-details .spec-line { font-size: 0.9rem; color: var(--muted-fg); line-height: 1.6; }
.product-modal-details .spec-line strong { color: var(--fg); font-weight: 600; }

.modal-range { font-size: 0.92rem; color: var(--fg); font-weight: 600; margin-bottom: 0.75rem; }
.modal-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.modal-badges span {
  background: rgba(30,136,229,0.1); color: var(--sky);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 999px;
}
.modal-subhead {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary);
  margin: 1.5rem 0 0.75rem;
}
.modal-features { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0.4rem; }
@media (min-width: 640px) { .modal-features { grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; } }
.modal-features li {
  position: relative; padding-left: 1.1rem; font-size: 0.88rem; color: var(--muted-fg); line-height: 1.5;
}
.modal-features li::before {
  content: ''; position: absolute; left: 0; top: 0.5rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.modal-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 0.6rem; }
.modal-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; white-space: nowrap; }
.modal-table th, .modal-table td {
  padding: 0.5rem 0.75rem; text-align: center;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
}
.modal-table th:last-child, .modal-table td:last-child { border-right: none; }
.modal-table thead th {
  background: var(--primary); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 0.75rem; position: sticky; top: 0;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.modal-table thead th:last-child { border-right: none; }
.modal-table thead th:first-child { text-align: left; }
.modal-table .group-row td {
  background: var(--muted); font-weight: 700; color: var(--fg);
  text-align: left; font-size: 0.75rem; letter-spacing: 0.03em;
  border-right: none;
}
.modal-table .row-label { text-align: left; color: var(--fg); font-weight: 600; white-space: normal; min-width: 170px; }
.modal-table tbody td { color: var(--muted-fg); }
.modal-table tbody tr:last-child td { border-bottom: none; }

.modal-notes { margin-top: 1rem; font-size: 0.75rem; color: var(--muted-fg); line-height: 1.6; }
.modal-notes p + p { margin-top: 0.2rem; }

/* ====== on-scroll reveal ====== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ====== utility ====== */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-12 { margin-bottom: 3rem; }
.border-top { border-top: 1px solid var(--border); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ====== responsive small ====== */
@media (max-width: 640px) {
  .stats-grid { gap: 1.5rem; }
  .hero { min-height: 100vh; height: auto; }
  .hero-content { padding: 4rem 0; }
}

/* ====== wordmark logo (no image asset) ====== */
.wordmark { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.wordmark .clima { font-weight: 700; font-size: 1.35rem; color: var(--primary); letter-spacing: -0.01em; }
.wordmark .vise { font-weight: 700; font-size: 1.35rem; color: var(--navy-ink); letter-spacing: -0.01em; margin-left: 0.05em; }
.wordmark .tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-fg); margin-top: 0.15rem; }
.site-header .logo { display: flex; align-items: center; gap: 0.6rem; }
.site-header .logo .mark { width: 34px; height: 34px; border-radius: 0.5rem; background: linear-gradient(135deg, var(--primary), var(--sky)); flex-shrink: 0; }

/* ====== header search ====== */
.header-search-toggle { background: none; border: none; color: var(--fg); cursor: pointer; padding: 0.5rem; display: inline-flex; }
.header-search-toggle:hover { color: var(--primary); }
.header-search-box {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
  padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.25s, padding 0.25s;
}
.header-search-box.open { max-height: 100px; padding: 1.25rem 0; }
.header-search-box form { display: flex; gap: 0.75rem; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .header-search-box form { padding: 0 2rem; } }
.header-search-box input {
  flex: 1; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid var(--border);
  font-family: inherit; font-size: 1rem; background: var(--muted-2);
}
.header-search-box input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }

/* ====== search page ====== */
.search-hero { padding: 3.5rem 0 2.5rem; background: var(--muted-2); border-bottom: 1px solid var(--border); }
.search-hero h1 { margin-bottom: 1.5rem; }
.search-input-wrap { position: relative; max-width: 640px; }
.search-input-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-fg); }
.search-input-wrap input {
  width: 100%; padding: 1rem 1.25rem 1rem 3rem; border-radius: 0.75rem; border: 1px solid var(--border);
  font-family: inherit; font-size: 1.05rem; background: #fff; box-shadow: var(--shadow-sm);
}
.search-input-wrap input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.search-results { display: flex; flex-direction: column; gap: 1rem; max-width: 720px; }
.search-result { display: block; background: #fff; border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.25rem 1.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.search-result:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.search-result h3 { font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--primary); }
.search-result p { font-size: 0.92rem; margin: 0; }
.search-empty { color: var(--muted-fg); font-size: 1rem; }

/* ====== JC-style 2x2 image card grid ====== */
.grid-2x2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2x2 { grid-template-columns: repeat(2, 1fr); } }
.img-card { background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow 0.25s, transform 0.25s; }
.img-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.img-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.img-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.img-card:hover .thumb img { transform: scale(1.05); }
/* product photos with padding around the unit: show the whole unit instead of cropping in */
.img-card .thumb.thumb-contain { background: #fff; }
.img-card .thumb.thumb-contain img { object-fit: contain; padding: 1.5rem; box-sizing: border-box; }
.img-card .body { padding: 1.5rem 1.75rem; }
.img-card h3 { margin-bottom: 0.6rem; }
.img-card p { font-size: 0.92rem; margin-bottom: 1rem; }

/* ====== intro / mission block ====== */
.intro-block { max-width: 820px; margin: 0 auto; text-align: center; }
.intro-block h2 { margin-bottom: 1.25rem; }
.intro-block p + p { margin-top: 1rem; }

/* ====== industries 1x3 tall image cards ====== */
.industries-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-card {
  position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 3/4;
  transition: transform 0.35s, box-shadow 0.35s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry-card img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: center;
  animation: industry-pan 14s ease-in-out infinite;
}
.industry-card:nth-child(2) img { animation-delay: -4.5s; }
.industry-card:nth-child(3) img { animation-delay: -9s; }
@keyframes industry-pan {
  0%, 100% { transform: scale(1.04); }
  50% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .industry-card img { animation: none; }
  .industry-card:hover { transform: none; }
}
.industry-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,92,0.92) 0%, rgba(11,31,92,0.4) 55%, transparent 100%); }
.industry-card .content { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; }
.industry-card h3 { color: #fff; margin-bottom: 0.5rem; }
.industry-card p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 0.75rem; }
.industry-card .learn { color: #fff; font-weight: 700; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.3rem; }

/* ====== product portfolio gradient tile grid ====== */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-tile {
  border-radius: 1rem; padding: 1.75rem 1.25rem; min-height: 160px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem;
  color: #fff; transition: transform 0.25s;
}
.portfolio-tile:hover { transform: translateY(-3px); }
.portfolio-tile svg { width: 28px; height: 28px; opacity: 0.9; }
.portfolio-tile h4 { color: #fff; font-size: 1rem; }
.portfolio-tile.t1 { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.portfolio-tile.t2 { background: linear-gradient(135deg, var(--sky), #1565C0); }
.portfolio-tile.t3 { background: linear-gradient(135deg, var(--primary-deep), var(--navy-ink)); }

/* ====== certification / partner banner ====== */
.cert-banner { background: var(--muted-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3.5rem 0; }
.cert-banner .inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; max-width: 720px; margin: 0 auto; }
.cert-banner .badge-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cert-banner .badge-icon svg { width: 30px; height: 30px; }
.cert-banner p { font-size: 1.05rem; }

/* ====== EHS / safety block ====== */
.eyebrow-badge {
  display: inline-block; padding: 0.45rem 1.1rem; border-radius: 999px;
  background: rgba(30,136,229,0.1); color: var(--primary);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.ehs-photo {
  width: 100%; display: block; border-radius: 1rem;
  filter: grayscale(1); transition: filter 0.4s;
}
.ehs-photo:hover { filter: grayscale(0); }
.pull-quote {
  margin: 0; padding-left: 1.5rem; border-left: 4px solid var(--sky);
  font-size: 1.075rem; line-height: 1.8; color: var(--muted-fg);
}

/* ====== partner brand logos ====== */
.partner-logos { display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.partner-logos img { width: auto; display: block; }
/* the two marks have very different aspect ratios, so they are sized individually */
.partner-logos img[src*="johnson-controls"] { height: 62px; }
.partner-logos img[src*="york"] { height: 28px; }
.partner-logos .logo-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
/* logos on a white plate so brand colours stay readable on the navy block */
.partner-plate {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap;
  background: #fff; border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.partner-plate img { width: auto; display: block; }
.partner-plate img[src*="johnson-controls"] { height: 50px; }
.partner-plate img[src*="york"] { height: 23px; }
.partner-plate .logo-sep { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
@media (max-width: 480px) {
  .partner-logos img[src*="johnson-controls"] { height: 48px; }
  .partner-logos img[src*="york"] { height: 22px; }
  .partner-plate img[src*="johnson-controls"] { height: 40px; }
  .partner-plate img[src*="york"] { height: 18px; }
  .partner-logos .logo-sep, .partner-plate .logo-sep { display: none; }
}

/* ====== footer: social + legal row (JC 5-col pattern) ====== */
.footer-social { display: flex; gap: 0.65rem; margin-top: 1rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.2s; }
.footer-social a:hover { background: var(--sky); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-bottom .footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom .footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-bottom .footer-legal a:hover { color: #fff; }
@media (min-width: 1280px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
