/* ============================================
   ARI Design System — styles.css
   Ascent Representatives, Inc.
   Apple-inspired modern aesthetic
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --ink-navy: #142238;
  --paper: #F7F8FA;
  --amber: #E8A33D;
  --amber-hover: #d4922e;
  --white: #FFFFFF;
  --ink-navy-90: rgba(20, 34, 56, 0.92);
  --ink-navy-80: rgba(20, 34, 56, 0.82);
  --ink-navy-light: #1e3350;
  --text-body: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --border-light: #d2d2d7;
  --bg-elevated: rgba(255, 255, 255, 0.72);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --fs-display: clamp(2.75rem, 6vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: 1.375rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;
  --lh-heading: 1.1;
  --lh-body: 1.65;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  --section-pad: clamp(5rem, 10vw, 8rem);

  /* Layout */
  --max-width: 1120px;
  --max-width-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --nav-height: 52px;

  /* Surfaces */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.10);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  color: var(--ink-navy);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p + p { margin-top: var(--space-sm); }

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--section-pad) 0;
}

.section--navy {
  background-color: var(--ink-navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--paper {
  background-color: var(--paper);
}

.text-center { text-align: center; }
.text-white { color: var(--white); }

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: var(--space-md) auto 0;
  line-height: 1.5;
}

.overline {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: var(--space-sm);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  min-height: 48px;
  text-align: center;
  gap: 0.5rem;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn--amber {
  background-color: var(--amber);
  color: var(--white);
}

.btn--amber:hover {
  background-color: var(--amber-hover);
  box-shadow: 0 4px 16px rgba(232, 163, 61, 0.35);
}

.btn--outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

.btn--navy {
  background-color: var(--ink-navy);
  color: var(--white);
}

.btn--navy:hover {
  background-color: var(--ink-navy-light);
}

.btn--ghost {
  color: var(--amber);
  font-weight: var(--fw-semibold);
  padding: 0;
  min-height: auto;
  border-radius: 0;
}

.btn--ghost:hover {
  transform: none;
  opacity: 0.8;
}

/* --- Navigation (frosted glass) --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(20, 34, 56, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--white);
}

.nav__link--active {
  color: var(--white);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 48px;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--white);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 1px;
}

.nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 34, 56, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: 999;
}

.nav__overlay.is-open {
  display: flex;
}

.nav__overlay .nav__link {
  font-size: 1.5rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.7);
}

.nav__overlay .nav__link:hover,
.nav__overlay .nav__link--active {
  color: var(--white);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-navy);
  margin-top: 0;
  padding-top: var(--nav-height);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 34, 56, 0.95) 0%, rgba(20, 34, 56, 0.75) 50%, rgba(20, 34, 56, 0.9) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--white);
  padding: var(--space-2xl) var(--gutter);
}

.hero__headline {
  font-size: var(--fs-display);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: var(--fw-bold);
}

.hero__subhead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Value Proposition Strip --- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.value-strip__item {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.value-strip__item:last-child {
  border-right: none;
}

.value-strip__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-md);
  color: var(--amber);
  opacity: 0.9;
}

.value-strip__title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.value-strip__text {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* --- Card Grids --- */
.card-grid {
  display: grid;
  gap: var(--space-lg);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-slow), transform var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* --- Manufacturer Logo Grid --- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: center;
}

.logo-grid__item {
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.logo-grid__item:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.logo-grid__item img {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* --- Manufacturer Cards (Manufacturers page) --- */
.mfr-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

.mfr-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.mfr-card__logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.mfr-card__logo img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
}

.mfr-card__name {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--ink-navy);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.mfr-card__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  line-height: 1.55;
}

.mfr-card__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}

.mfr-card__link:hover {
  gap: 0.5rem;
}

/* --- Category Filter --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  border: none;
  background: var(--paper);
  color: var(--text-secondary);
  transition: all var(--transition);
  min-height: 40px;
}

.filter-btn:hover {
  background: var(--ink-navy);
  color: var(--white);
}

.filter-btn--active {
  background: var(--ink-navy);
  color: var(--white);
}

/* --- Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-slow);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-color: var(--paper);
}

.team-card__info {
  padding: var(--space-md) var(--space-sm);
}

.team-card__name {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--ink-navy);
  letter-spacing: -0.01em;
}

.team-card__title {
  font-size: var(--fs-xs);
  color: var(--amber);
  font-weight: var(--fw-semibold);
  margin-top: 2px;
}

.team-card__territory {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.team-card__contact {
  margin-top: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-card__contact a {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  transition: color var(--transition);
}

.team-card__contact a:hover {
  color: var(--amber);
}

/* --- Distributor Callout Banner --- */
.callout {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.callout h2 {
  margin-bottom: var(--space-md);
}

.callout p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

/* --- Service Grid (About + Distributor pages) --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  text-align: center;
  padding: var(--space-lg);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--amber);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Industry Cards --- */
.industry-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xl) var(--space-xl) calc(var(--space-xl) + 4px);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--amber);
  transition: all var(--transition-slow);
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.industry-card h3::before {
  display: none;
}

.industry-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.industry-card__lines {
  font-size: var(--fs-small);
  color: var(--ink-navy);
  font-weight: var(--fw-semibold);
}

.industry-card__cta {
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--amber);
  font-weight: var(--fw-semibold);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
}

.industry-card__cta:hover {
  opacity: 0.8;
}

/* --- Contact Form --- */
.contact-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-3xl);
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--ink-navy);
}

.form__input,
.form__select,
.form__textarea {
  padding: 0.8125rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  color: var(--text-body);
  transition: all var(--transition);
  background: var(--white);
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

/* --- Contact Info Sidebar --- */
.contact-info h3 {
  margin-bottom: var(--space-sm);
}

.contact-info__item {
  display: flex;
  align-items: start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info__icon {
  width: 20px;
  height: 20px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Footer --- */
.footer {
  background-color: var(--ink-navy);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand img {
  height: 36px;
  margin-bottom: var(--space-md);
}

.footer__brand p {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 320px;
}

.footer__heading {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background-color: var(--ink-navy);
  padding: var(--space-3xl) 0 var(--space-2xl);
  margin-top: var(--nav-height);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: var(--fs-display);
  letter-spacing: -0.03em;
}

.page-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 580px;
  margin: var(--space-md) auto 0;
  line-height: 1.55;
}

/* --- Fade-in on Scroll --- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.40s; }

/* ============================================
   Responsive — Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 48px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .value-strip {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-strip__item {
    padding: var(--space-lg) var(--space-xl);
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .card-grid--4,
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Responsive — Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  .hero {
    min-height: 80vh;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .card-grid--4,
  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: var(--space-2xl) 0 var(--space-xl);
  }
}

/* ============================================
   Homepage V2 — positioning + conversion update
   ============================================ */
.hero-v2 {
  padding: calc(var(--nav-height) + 5.5rem) 0 5.5rem;
  background: linear-gradient(135deg, #142238 0%, #182b46 62%, #203a5b 100%);
  overflow: hidden;
}
.hero-v2__grid { display:grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2.5rem,6vw,5.5rem); align-items:center; }
.hero-v2__copy .overline { margin-bottom:1.25rem; }
.hero-v2__copy h1 { color:#fff; font-size:clamp(2.8rem,5.6vw,4.9rem); line-height:.98; letter-spacing:-.045em; max-width:700px; }
.hero-v2__copy h1 span { color:var(--amber); }
.hero-v2__copy > p { color:rgba(255,255,255,.72); font-size:clamp(1.05rem,1.8vw,1.25rem); line-height:1.6; max-width:650px; margin-top:1.7rem; }
.hero-v2__buttons { display:flex; flex-wrap:wrap; gap:1rem; margin-top:2rem; }
.hero-v2__visual { position:relative; }
.hero-v2__visual:before { content:''; position:absolute; width:75%; aspect-ratio:1; background:rgba(232,163,61,.13); border-radius:50%; filter:blur(2px); right:-12%; top:-18%; }
.hero-v2__collage { position:relative; aspect-ratio:4/3; border-radius:26px; overflow:hidden; background:linear-gradient(145deg,#243c5c,#101c2d); box-shadow:0 28px 70px rgba(0,0,0,.32); border:1px solid rgba(255,255,255,.12); }
.hero-v2__collage img { width:100%; height:100%; object-fit:cover; }
.hero-v2__placeholder { display:none; position:absolute; inset:0; padding:3rem; color:white; flex-direction:column; justify-content:flex-end; background:linear-gradient(145deg,#243c5c,#101c2d); }
.hero-v2__collage--placeholder .hero-v2__placeholder { display:flex; }
.hero-v2__placeholder strong { font-size:2rem; line-height:1.1; }
.hero-v2__placeholder span { color:rgba(255,255,255,.7); margin-top:.75rem; }
.hero-v2__placeholder small { color:rgba(255,255,255,.45); margin-top:2rem; }
.value-strip__kicker { color:var(--amber); font-size:.75rem; font-weight:700; letter-spacing:.12em; margin-bottom:.8rem; }
.pathways__intro { max-width:720px; margin-bottom:3rem; }
.pathways__intro p { color:var(--text-secondary); font-size:1.1rem; margin-top:1rem; }
.pathways__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.path-card { background:#fff; border-radius:18px; padding:2rem 1.65rem; min-height:270px; display:flex; flex-direction:column; border:1px solid rgba(20,34,56,.07); box-shadow:var(--shadow-sm); transition:all var(--transition); }
.path-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.path-card > span { color:var(--amber); font-size:.75rem; font-weight:700; letter-spacing:.12em; }
.path-card h3 { margin-top:2.5rem; }
.path-card p { color:var(--text-secondary); font-size:.92rem; line-height:1.55; margin-top:.7rem; }
.path-card b { color:var(--ink-navy); font-size:.88rem; margin-top:auto; padding-top:1.5rem; }
.technology-section { background:#fff; }
.technology-heading { display:grid; grid-template-columns:1.1fr .9fr; gap:4rem; align-items:end; margin-bottom:3rem; }
.technology-heading > p { color:var(--text-secondary); font-size:1.05rem; }
.technology-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }
.technology-card { background:var(--paper); border-radius:20px; padding:2.25rem; border-top:3px solid var(--amber); }
.technology-card > span { text-transform:uppercase; letter-spacing:.12em; font-size:.7rem; font-weight:700; color:var(--amber); }
.technology-card h3 { margin-top:.65rem; font-size:1.35rem; }
.technology-card p { color:var(--text-secondary); margin-top:.75rem; font-size:.95rem; }
@media (max-width: 900px) {
  .hero-v2__grid, .technology-heading { grid-template-columns:1fr; }
  .hero-v2 { padding-top:calc(var(--nav-height) + 4rem); }
  .hero-v2__visual { max-width:700px; }
  .pathways__grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 600px) {
  .hero-v2 { padding-bottom:4rem; }
  .hero-v2__copy h1 { font-size:clamp(2.5rem,12vw,3.7rem); }
  .hero-v2__buttons .btn { width:100%; }
  .pathways__grid, .technology-grid { grid-template-columns:1fr; }
  .path-card { min-height:220px; }
  .hero-v2__placeholder { padding:1.5rem; }
}

/* --- Bright Industrial palette refresh --- */
:root {
  --ink-navy: #243746;
  --ink-navy-light: #365163;
  --paper: #F4F8FB;
  --amber: #1268A5;
  --amber-hover: #0E578B;
  --text-body: #243746;
  --text-secondary: #52616B;
  --text-muted: #73828C;
  --border-light: #DDE7ED;
}
.nav { background: rgba(255,255,255,.94); border-bottom:1px solid #E3EBF0; box-shadow:0 1px 10px rgba(36,55,70,.05); }
.nav__link { color:var(--ink-navy); }
.nav__link:hover, .nav__link--active { color:#1268A5; }
.nav__logo img { content:url('/img/ari-logo.png'); }
.nav__hamburger span { background:var(--ink-navy); }
.nav__overlay { background:rgba(255,255,255,.98); }
.hero-v2 { background:linear-gradient(135deg,#FFFFFF 0%,#F7FAFC 58%,#EEF5F9 100%); }
.hero-v2__copy h1 { color:var(--ink-navy); }
.hero-v2__copy h1 span { color:#1268A5; }
.hero-v2__copy > p { color:var(--text-secondary); }
.hero-v2__visual:before { background:rgba(90,166,214,.13); }
.hero-v2__collage { background:#EAF2F7; border:1px solid #D9E5EC; box-shadow:0 22px 55px rgba(36,55,70,.16); }
.btn--amber { background:#1268A5; color:#fff; }
.btn--amber:hover { background:#0E578B; box-shadow:0 4px 16px rgba(18,104,165,.24); }
.hero-v2 .btn--outline { color:#1268A5; border-color:#9BC3DD; background:#fff; }
.hero-v2 .btn--outline:hover { background:#EDF6FB; border-color:#1268A5; }
.section--navy { background:#F4F8FB; color:var(--text-body); border-top:1px solid #E2EBF0; border-bottom:1px solid #E2EBF0; }
.section--navy h2, .section--navy h3 { color:var(--ink-navy); }
.value-strip__title { color:var(--ink-navy); }
.value-strip__text { color:var(--text-secondary); }
.value-strip__item { border-color:#D9E5EC; }
.value-strip__kicker, .overline, .technology-card span, .path-card > span, .path-card b { color:#1268A5; }
.technology-card { border-top-color:#5AA6D6; }
.footer { background:#123047; }

/* Paired brand marks (e.g. Socomec + Boltswitch) */
.logo-pair { display:flex; align-items:center; justify-content:center; gap:18px; width:100%; height:100%; }
.logo-pair img { max-width:46% !important; max-height:58px !important; width:auto !important; height:auto !important; object-fit:contain; }
.mfr-card__logo .logo-pair img { max-height:52px !important; }

/* --- Header logo enlargement --- */
.nav__logo img {
  content: url('/img/ari-logo-header.png');
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav__logo img {
    height: 46px;
    max-width: 215px;
  }
}

/* Give the Socomec mark more visual weight in paired Socomec / Boltswitch displays */
.logo-pair img:first-child {
  max-width: 62% !important;
  max-height: 78px !important;
}
.logo-pair img:nth-child(2) {
  max-width: 34% !important;
}
.mfr-card__logo .logo-pair img:first-child {
  max-height: 70px !important;
}

/* Header logo fit - keep logo fully inside the navigation bar */
.nav__logo { display:flex; align-items:center; height:100%; }
.nav__logo img {
  height: 44px;
  max-height: calc(var(--nav-height) - 8px);
  width: auto;
  max-width: 230px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav__logo img {
    height: 38px;
    max-height: calc(var(--nav-height) - 8px);
    max-width: 200px;
  }
}

/* Industries product lists */
.industry-product-list { margin: 1rem 0 1.25rem; padding-left: 1.15rem; }
.industry-product-list li { margin: 0 0 .62rem; line-height: 1.5; color: var(--gray-700, #44515c); }
.industry-product-list a { color: var(--blue, #1268a5); text-decoration: none; }
.industry-product-list a:hover { text-decoration: underline; }
