/* ==========================================================================
   RJT INTERNATIONAL - DESIGN SYSTEM (TRESMARES CAPITAL INSPIRED)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, "Times New Roman", serif;
  
  /* Colors */
  --bg: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-dark: #121417;
  --bg-dark-card: #1a1d24;
  --main: #1a469d;          /* RJT Signature Sapphire Blue */
  --main-hover: #133373;
  --blue: #1a469d;
  --accent: #2563eb;        /* Royal Blue Accent */
  --accent-light: #e0e7ff;
  --white: #ffffff;
  --lightest: #f7f7f8;
  --lighter: #f0f2f5;
  --light: #e2e5eb;
  --medium: #cbd2dc;
  --dark: #64748b;
  --darkest: #18181a;
  --black: #0a0a0c;

  /* Borders & Shadows */
  --border: rgba(24, 24, 26, 0.1);
  --border-light: rgba(24, 24, 26, 0.05);
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);

  /* Spacing & Transitions */
  --space-unit: clamp(16px, 1.5vw, 24px);
  --container-max: 1560px;
  --container-wide: 1720px;
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.25s;
  --duration-medium: 0.5s;
  --duration-slow: 0.8s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--darkest);
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

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

/* Accessibility: Keyboard Skip Link */
.skip-link {
  position: fixed;
  top: -120px;
  left: 1.5rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--main);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top var(--duration-fast) ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1.5rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

/* Typography Hierarchy */
.display {
  font-family: var(--font-primary);
  letter-spacing: -0.045em;
  line-height: 0.90;
  font-weight: 600;
  color: var(--darkest);
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

.display.--serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.display.--3xlarge {
  font-size: clamp(3.2rem, 8.5vw, 8.2rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
}

.display.--2xlarge {
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.display.--xlarge {
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.display.--large {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.display.--medium {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.display.--small {
  font-size: clamp(1.15rem, 1.6vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

/* Editorial Uppercase Label */
.label-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--main);
  margin-bottom: 1.25rem;
}

.label-badge.--light {
  color: rgba(255, 255, 255, 0.7);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
}

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

.container.--full {
  max-width: 100%;
  padding-left: clamp(1.5rem, 4.5vw, 5rem);
  padding-right: clamp(1.5rem, 4.5vw, 5rem);
}

.container.--narrow {
  max-width: 1140px;
}

/* ==========================================================================
   HEADER COMPONENT (Sticky, Minimalist & Slide-in Menu)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none; /* Allow click-through outside floating navigation elements */
  padding: 1.6rem clamp(1.5rem, 4vw, 4rem);
  transition: padding var(--duration-medium) var(--ease-editorial);
}

/* Full-width feathered frosted background layer behind header controls */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 125px;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.94) 55%,
    rgba(255, 255, 255, 0.72) 72%,
    rgba(255, 255, 255, 0.3) 86%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: opacity var(--duration-medium) var(--ease-editorial);
}

.header.--scrolled {
  padding: 0.85rem clamp(1.5rem, 4vw, 4rem);
}

.header.--scrolled::before {
  opacity: 1;
}

.header-inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .brand {
  pointer-events: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
  flex-shrink: 0;
}

.header .brand:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 3px;
}

.header .brand-logo {
  height: 57px; /* 50% larger than 38px */
  width: auto;
  transition: height var(--duration-medium) var(--ease-editorial), transform var(--duration-fast) ease;
  transform-origin: left center;
}

.header.--scrolled .brand-logo {
  height: 38px; /* Compact on scroll */
}

.header .brand:hover .brand-logo {
  transform: scale(1.02);
}

/* Center Apple Glass Navigation Lozenge (Contains only the links) */
.nav-lozenge {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2.2rem);
  padding: 0.65rem 1.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.07),
              0 2px 6px rgba(0, 0, 0, 0.03),
              inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: padding var(--duration-medium) var(--ease-editorial),
              background var(--duration-medium) ease,
              box-shadow var(--duration-medium) ease,
              border-color var(--duration-medium) ease;
}

.header.--scrolled .nav-lozenge {
  background: rgba(255, 255, 255, 0.88);
  padding: 0.48rem 1.65rem;
  border-color: rgba(220, 224, 232, 0.95);
  box-shadow: 0 14px 38px -4px rgba(0, 0, 0, 0.1),
              0 3px 8px rgba(0, 0, 0, 0.04),
              inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.nav-lozenge .nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  position: relative;
  padding: 0.25rem 0.2rem;
  transition: color var(--duration-fast) ease;
}

.nav-lozenge .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--main);
  transition: width var(--duration-fast) var(--ease-editorial);
}

.nav-lozenge .nav-link:hover {
  color: #0071e3;
}

.nav-lozenge .nav-link:hover::after {
  width: 100%;
}

/* Right Action Buttons (Outside Lozenge) */
.header .header-actions {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Action Links & Pill Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-editorial);
  white-space: nowrap;
}

/* Apple Floating Island Capsule Buttons */
.btn-pill.--capsule-outline {
  background: transparent;
  color: #1d1d1f;
  border: 1px solid #d2d2d7;
  padding: 0.45rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  box-shadow: none;
  transition: all var(--duration-fast) ease;
}

.btn-pill.--capsule-outline:hover {
  border-color: #86868b;
  background: rgba(0, 0, 0, 0.04);
}

.btn-pill.--capsule-primary {
  background: #0071e3;
  color: #ffffff;
  border: 1px solid transparent;
  padding: 0.45rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  transition: all var(--duration-fast) ease;
}

.btn-pill.--capsule-primary:hover {
  background: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.btn-pill.--primary {
  background-color: var(--main);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 70, 157, 0.25);
}

.btn-pill.--primary:hover {
  background-color: var(--main-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 70, 157, 0.35);
}

.btn-pill.--outline {
  border: 1px solid var(--border);
  color: var(--darkest);
  background-color: transparent;
}

.btn-pill.--outline:hover {
  border-color: var(--darkest);
  background-color: var(--darkest);
  color: var(--white);
}

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

.btn-pill.--white:hover {
  background-color: var(--lightest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Editorial Line Link with Arrow */
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--darkest);
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 4px;
}

.editorial-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: transform var(--duration-fast) var(--ease-editorial);
  transform-origin: right;
}

.editorial-link:hover::after {
  transform: scaleX(0);
}

.editorial-link .arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-editorial);
}

.editorial-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--darkest);
  transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

.hamburger.--active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 20, 23, 0.88);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  color: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem clamp(1.5rem, 5vw, 4rem) 4rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--duration-medium) var(--ease-editorial), opacity var(--duration-medium) ease, visibility var(--duration-medium);
}

.mobile-drawer.--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer .drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer .drawer-link {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color var(--duration-fast) ease;
}

.mobile-drawer .drawer-link:hover {
  color: var(--accent);
}

.mobile-drawer .drawer-footer {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.mobile-drawer .drawer-info {
  font-size: 0.9rem;
  color: var(--dark);
}

.mobile-drawer .drawer-info a {
  color: var(--white);
}

/* ==========================================================================
   COMPONENT 1: HERO FULLTEXT (Tresmares signature full-viewport hero)
   ========================================================================== */

.component--herofulltext {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(7.5rem, 12vw, 10.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  background-color: var(--bg);
  overflow: hidden;
}

.component--herofulltext .hero-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.component--herofulltext .hero-headline {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
}

.component--herofulltext .hero-headline > span {
  display: block;
  line-height: inherit;
  letter-spacing: inherit;
}

.component--herofulltext .hero-headline .accent-word {
  color: var(--main);
  display: inline;
}

.component--herofulltext .hero-bottom-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-end;
}

@media (min-width: 900px) {
  .component--herofulltext .hero-bottom-row {
    grid-template-columns: minmax(320px, 560px) 1fr auto;
  }
}

.component--herofulltext .hero-description {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  color: var(--darkest);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.component--herofulltext .hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.component--herofulltext .scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--dark);
}

.component--herofulltext .scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 24px;
  background-color: var(--dark);
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   COMPONENT 2: TEXTBLOCK LARGE CENTER (Editorial Statement)
   ========================================================================== */

.component--textblocklarge {
  padding: clamp(6rem, 10vw, 11rem) 0;
  background-color: var(--bg);
  position: relative;
}

.component--textblocklarge.center {
  text-align: center;
}

.component--textblocklarge .text-block-center {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.component--textblocklarge .statement-title {
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--darkest);
  font-weight: 500;
}

.component--textblocklarge .statement-title strong {
  font-weight: 600;
  color: var(--main);
}

/* Subtle separator rule */
.section-divider {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

/* ==========================================================================
   COMPONENT 3: GRID NUMBERS VERTICAL (Heritage Metrics & Authority)
   ========================================================================== */

.component--gridnumbers {
  padding: clamp(5rem, 8vw, 9rem) 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.component--gridnumbers .grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}

@media (min-width: 1024px) {
  .component--gridnumbers .grid-layout {
    grid-template-columns: 1.1fr 1.3fr;
    align-items: start;
  }
}

.component--gridnumbers .story-column {
  max-width: 580px;
}

.component--gridnumbers .story-text {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.45;
  color: var(--darkest);
  margin-bottom: 2rem;
  letter-spacing: -0.015em;
}

.component--gridnumbers .story-subtext {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

.component--gridnumbers .numbers-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 3.5vw, 4rem);
}

.component--gridnumbers .number-card {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}

.component--gridnumbers .metric-number {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  font-weight: 400;
  color: var(--main);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.component--gridnumbers .metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--darkest);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.component--gridnumbers .metric-description {
  font-size: 0.85rem;
  color: var(--dark);
  line-height: 1.5;
}

/* ==========================================================================
   COMPONENT 5: HIGHLIGHTS CAROUSEL (Refreshed 8-Card Editorial Showcase)
   ========================================================================== */

.component--highlights {
  padding: 0;
  background-color: var(--bg);
  overflow: hidden;
}

/* ------- Section header ------- */
.highlights-header {
  padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem) 2.5rem;
}

.highlights-header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.highlights-title {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.highlights-cta {
  flex-shrink: 0;
  color: var(--main);
  white-space: nowrap;
}

/* ------- Full-bleed scroll track with native CSS Scroll Snapping ------- */
.highlights-track-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y pinch-zoom;
}

.highlights-track-wrap::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.highlights-track-wrap.--is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.highlights-track {
  display: flex;
  gap: 1.5rem;
  padding-top: 0;
  padding-bottom: 2.5rem;
  padding-left: calc(50% - min(86vw, 1120px) / 2);
  padding-right: calc(50% - min(86vw, 1120px) / 2);
  width: max-content;
  touch-action: pan-x pan-y pinch-zoom;
}

@media (max-width: 860px) {
  .highlights-track {
    padding-left: calc(50% - min(90vw, 480px) / 2);
    padding-right: calc(50% - min(90vw, 480px) / 2);
  }
}

/* ------- Individual cards ------- */
.hl-card {
  flex: 0 0 min(86vw, 1120px);
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--white);
  border: 1px solid rgba(24, 24, 26, 0.08);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  touch-action: pan-x pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.hl-card a,
.hl-card .btn-pill {
  touch-action: manipulation;
  user-select: auto;
  -webkit-user-select: auto;
}

.hl-card:hover {
  border-color: rgba(26, 70, 157, 0.25);
  box-shadow: 0 20px 48px -6px rgba(0, 0, 0, 0.09);
}

.hl-card-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  height: 100%;
  min-height: 520px;
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3.5rem);
}

@media (max-width: 860px) {
  .hl-card {
    flex: 0 0 min(90vw, 480px);
    min-height: auto;
    border-radius: 20px;
  }
  
  .hl-card-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    min-height: auto;
  }
}

/* ------- Card text column ------- */
.hl-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hl-card-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--main);
  margin-bottom: 1.25rem;
}

.hl-card-title {
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--darkest);
  margin-bottom: 1.25rem;
}

@media (max-width: 860px) {
  .hl-card-title {
    font-size: clamp(1.85rem, 5.5vw, 2.4rem);
    margin-bottom: 1rem;
  }
}

.hl-card-body {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 2.25rem;
  max-width: 440px;
}

@media (max-width: 860px) {
  .hl-card-body {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* ------- Card Media Area ------- */
.hl-card-media-panel {
  background: #f6f7fa;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.75rem);
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(24, 24, 26, 0.04);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.hl-card-media-panel picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 860px) {
  .hl-card-media-panel {
    border-radius: 14px;
    max-height: 380px;
  }
}

.hl-card-media-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
  opacity: 0.88;
  transform: translateY(6px);
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.hl-card.--active-slide .hl-card-media-img {
  opacity: 1;
  transform: translateY(0);
}

.hl-card:hover .hl-card-media-img {
  transform: scale(1.015);
}

/* ------- Dot controls + prev/next + pause ------- */
.highlights-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 0 3.5rem;
  flex-wrap: wrap;
}

.hl-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px;
  padding: 2px 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 40px;
}

.hl-dot {
  min-width: 28px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: min-width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 6px;
}

.hl-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hl-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.22);
  transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
}

.hl-dot.--active {
  min-width: 44px;
}

.hl-dot.--active::before {
  width: 36px;
  background: rgba(0, 0, 0, 0.15);
}

.hl-dot-progress {
  position: absolute;
  top: 50%;
  left: calc(50% - 18px);
  transform: translateY(-50%);
  height: 8px;
  width: 0px;
  max-width: 36px;
  background: #1d1d1f;
  border-radius: 9999px;
  pointer-events: none;
}

@keyframes hlProgress {
  from {
    width: 0px;
  }
  to {
    width: 36px;
  }
}

.hl-dot.--active .hl-dot-progress {
  width: 36px;
  animation: hlProgress 5.1s linear forwards;
}

.hl-dot.--active.--no-transition .hl-dot-progress {
  animation: none !important;
  width: 0px !important;
}

.hl-dot.--active.--paused .hl-dot-progress {
  animation-play-state: paused !important;
}

@media (max-width: 480px) {
  .highlights-controls {
    gap: 0.5rem;
  }
  .hl-dots {
    gap: 2px;
    padding: 2px 6px;
  }
  .hl-dot {
    min-width: 24px;
    height: 36px;
  }
  .hl-dot.--active {
    min-width: 42px;
  }
}

.hl-nav-btn,
.hl-pause-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hl-nav-btn:hover,
.hl-pause-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: scale(1.04);
}

.hl-nav-btn:active,
.hl-pause-btn:active {
  transform: scale(0.96);
}

.hl-nav-btn svg,
.hl-pause-btn svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* ==========================================================================
   COMPONENT 6: UK IN-HOUSE DEVELOPMENT & REACH
   ========================================================================== */

.component--uk-reach {
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  background-color: var(--bg-dark);
  color: var(--white);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.uk-reach-composition {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

@media (min-width: 960px) {
  .uk-reach-composition {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.uk-reach-content {
  display: flex;
  flex-direction: column;
}

.uk-reach-headline {
  color: var(--white);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.accent-word--light {
  color: #60a5fa;
}

.uk-reach-intro {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.uk-reach-support {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

/* Map Card & Geographically Accurate Vector Styling */
.uk-reach-visual {
  display: flex;
  justify-content: center;
}

.uk-map-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.uk-map-frame {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.uk-map-svg {
  width: 100%;
  height: auto;
  max-height: 410px;
  overflow: visible;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}

@media (max-width: 600px) {
  .uk-map-svg {
    max-height: 310px;
  }
}

.uk-land-base {
  fill: #151922;
  stroke: rgba(148, 163, 184, 0.65);
  stroke-width: 1.15;
  stroke-linejoin: round;
}

.context-land-path {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 0.8;
  stroke-dasharray: 2 3;
  stroke-linejoin: round;
}

.uk-coastline-stroke {
  fill: none;
  stroke: rgba(148, 163, 184, 0.7);
  stroke-width: 1.15;
  stroke-linejoin: round;
}

.uk-region-label-group {
  transition: opacity var(--duration-fast) ease;
}

.uk-map-caption {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  letter-spacing: 0.01em;
}

/* Three Supporting Statements Row */
.uk-statements-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 768px) {
  .uk-statements-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.statement-col {
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .statement-col:first-child {
    padding-left: 0;
    padding-right: 1.75rem;
  }
  
  .statement-col:nth-child(2) {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .statement-col:last-child {
    padding-left: 1.75rem;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .statement-col {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .statement-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.statement-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.statement-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.statement-item-text {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

/* Closing Invitation & CTA */
.uk-reach-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.closing-invitation {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0;
}

/* ==========================================================================
   COMPONENT 6: TEAMS (Tresmares-style Draggable Horizontal Team Carousel)
   ========================================================================== */

.component--teams {
  padding: clamp(5.5rem, 9vw, 9.5rem) 0;
  background-color: var(--white);
  position: relative;
}

.component--teams .teams-header {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.component--teams .teams-title {
  max-width: 900px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-top: 1rem;
}

.component--teams .teams-intro-body {
  margin-top: 1.5rem;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.component--teams .teams-intro-body p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--dark);
}

.component--teams .teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 3.2vw, 3rem) clamp(1.25rem, 2vw, 2.25rem);
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

.component--teams .team-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.component--teams .team-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f1f3f7;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.04);
}

.component--teams .team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform var(--duration-medium) var(--ease-editorial);
}

.component--teams .team-card:hover .team-photo {
  transform: scale(1.03);
}

.component--teams .team-info {
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
}

.component--teams .team-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--darkest);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.component--teams .team-role {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 400;
  line-height: 1.45;
}

.component--teams .team-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--main);
  text-decoration: none;
  margin-top: 0.55rem;
  width: fit-content;
  transition: color var(--duration-fast) ease;
}

.component--teams .team-linkedin-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.component--teams .team-linkedin-link:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 2px;
  border-radius: 4px;
}

.component--teams .teams-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.35rem;
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--border-light);
}

.component--teams .teams-closing-text {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--darkest);
  letter-spacing: -0.015em;
  margin: 0;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1023px) {
  .component--teams .teams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.75rem;
  }
}

@media (max-width: 580px) {
  .component--teams .teams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }
  .component--teams .team-name {
    font-size: 1.05rem;
  }
  .component--teams .team-role {
    font-size: 0.8rem;
  }
  .component--teams .team-photo-wrap {
    border-radius: 12px;
  }
}

@media (max-width: 360px) {
  .component--teams .teams-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   COMPONENT 7: WHY PARTNER (Clarity. Action. Results.)
   ========================================================================== */

.component--whypartner {
  padding: clamp(6rem, 9vw, 10rem) 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.component--whypartner .why-header {
  max-width: 800px;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.component--whypartner .why-intro-text {
  font-size: clamp(1.05rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: var(--dark);
  margin-top: 1.25rem;
  max-width: 64ch;
}

.component--whypartner .why-reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

@media (min-width: 900px) {
  .component--whypartner .why-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.component--whypartner .why-reason-item {
  background-color: var(--white);
  padding: clamp(2rem, 3vw, 2.75rem);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.component--whypartner .why-reason-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.component--whypartner .why-reason-item.--full-width {
  grid-column: 1 / -1;
}

.component--whypartner .why-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--main);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.component--whypartner .why-reason-title {
  font-size: clamp(1.2rem, 1.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--darkest);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.component--whypartner .why-reason-body {
  font-size: 0.96rem;
  color: var(--dark);
  line-height: 1.65;
  max-width: 62ch;
  margin: 0;
}

.component--whypartner .why-products-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--main);
  font-weight: 600;
  font-size: 0.98rem;
  margin-top: 1.5rem;
  text-decoration: none;
  transition: gap var(--duration-fast) ease, color var(--duration-fast) ease;
}

.component--whypartner .why-products-link svg {
  transition: transform var(--duration-fast) ease;
}

.component--whypartner .why-products-link:hover {
  color: var(--main-hover);
  gap: 0.75rem;
}

.component--whypartner .why-products-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   COMPONENT 9: CONTACT LEAD SECTION (Focused, Typography-Led Final Invitation)
   ========================================================================== */

.component--contact-lead {
  background-color: var(--darkest);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Very subtle, static sapphire radial glow fading seamlessly into charcoal */
.component--contact-lead::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(340px, 60vw, 720px);
  height: clamp(260px, 42vw, 460px);
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.04) 50%, rgba(11, 15, 23, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.component--contact-lead .contact-lead-box {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.component--contact-lead .contact-lead-title {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 1.35rem;
}

.component--contact-lead .contact-lead-body {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.65;
  margin: 0 0 2.25rem;
  max-width: 620px;
}

.component--contact-lead .contact-lead-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.component--contact-lead .contact-lead-actions .btn-pill {
  font-size: 0.95rem;
  padding: 0.85rem 2.25rem;
}

.component--contact-lead .contact-email-quiet {
  display: inline-block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.component--contact-lead .contact-email-quiet:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.component--contact-lead .btn-pill:focus-visible,
.component--contact-lead .contact-email-quiet:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ==========================================================================
   COMPONENT 10: FOOTER
   ========================================================================== */

.footer {
  background-color: var(--darkest);
  color: var(--white);
  padding: clamp(3.5rem, 5vw, 5rem) 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.footer .footer-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin: 0 auto clamp(4rem, 6vw, 6rem);
}

.footer .footer-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.footer .footer-subtext {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.footer .footer-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .footer .footer-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer .gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1.25;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-medium) ease;
}

.footer .gallery-item:hover img {
  transform: scale(1.05);
}

.footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 3.5rem;
}

.footer .footer-middle,
.footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .footer .footer-middle,
  .footer .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer .footer-brand-col .footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer .footer-brand-col p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 320px;
}

.footer-badge {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.footer-badge iframe {
  border: none;
  height: 132px;
  width: 132px;
  display: block;
}

.footer .footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer .footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--duration-fast) ease;
}

.footer .footer-links a:hover {
  color: var(--accent);
}

.footer .contact-detail {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer .contact-detail a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer .footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .footer .footer-bottom {
    flex-direction: row;
  }
}

.footer .legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer .legal-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer .legal-links a:hover {
  color: var(--white);
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-medium) var(--ease-editorial), transform var(--duration-medium) var(--ease-editorial);
}

.reveal.--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Active Navigation Link States */
.nav-lozenge .nav-link.--active {
  color: var(--main);
  font-weight: 600;
}

.nav-lozenge .nav-link.--active::after {
  width: 100%;
}

.mobile-drawer .drawer-link.--active {
  color: var(--main);
  font-weight: 700;
}

/* Accessibility & Anchor Offsets */
[id] {
  scroll-margin-top: 110px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

/* Responsive adjustments */
@media (max-width: 1023px) {
  .nav-lozenge {
    display: none;
  }
  .header .header-actions .btn-pill.--capsule-outline {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 0.75rem 0.75rem;
  }
  .header::before {
    height: 96px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.94) 50%,
      rgba(255, 255, 255, 0.7) 68%,
      rgba(255, 255, 255, 0.28) 84%,
      rgba(255, 255, 255, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 50%,
      rgba(0, 0, 0, 0.5) 72%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 50%,
      rgba(0, 0, 0, 0.5) 72%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  .nav-lozenge {
    padding: 0.4rem 0.85rem;
  }
  .header .header-actions .btn-pill.--capsule-primary {
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
  }
  .header .brand-logo {
    height: 38px;
  }
  .header.--scrolled .brand-logo {
    height: 28px;
  }
}

/* ==========================================================================
   SOLUTIONS PAGE DESIGN SYSTEM
   ========================================================================== */

/* Solutions Hero Component */
.component--solutions-hero {
  padding-top: clamp(8.5rem, 15vw, 13rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  background-color: var(--bg);
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.solutions-hero-wrap {
  max-width: 1180px;
}

.solutions-hero-headline {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--darkest);
}

.solutions-hero-headline .accent-word {
  color: var(--main);
}

.solutions-hero-intro {
  max-width: 860px;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.solutions-hero-subintro {
  max-width: 860px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 2.75rem;
}

.solutions-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Solutions Overview Grid Section */
.component--solutions-overview {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background-color: var(--bg-subtle);
}

.overview-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .overview-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.overview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-fast) var(--ease-editorial),
              box-shadow var(--duration-fast) var(--ease-editorial),
              border-color var(--duration-fast) ease;
  position: relative;
  min-height: 230px;
}

.overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 70, 157, 0.4);
  box-shadow: var(--shadow-md);
}

.overview-card-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--main);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overview-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--darkest);
  margin-bottom: 0.75rem;
}

.overview-card-summary {
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.overview-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--main);
  transition: gap var(--duration-fast) ease;
}

.overview-card:hover .overview-card-link {
  gap: 0.75rem;
}

.overview-card-link svg {
  width: 14px;
  height: 14px;
}

/* Detailed Solution Sections */
.component--solution-detail {
  padding: clamp(5rem, 8vw, 8rem) 0;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.component--solution-detail.--bg-white {
  background-color: var(--bg);
}

.component--solution-detail.--bg-subtle {
  background-color: var(--bg-subtle);
}

.component--solution-detail.--bg-dark {
  background-color: var(--bg-dark);
  color: var(--white);
  border-top: none;
}

.solution-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .solution-layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
  
  .solution-layout.--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
  
  .solution-layout.--reverse .solution-content-col {
    order: 2;
  }
  
  .solution-layout.--reverse .solution-visual-col {
    order: 1;
  }
}

.solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--main);
  background-color: rgba(26, 70, 157, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.component--solution-detail.--bg-dark .solution-badge {
  color: #93c5fd;
  background-color: rgba(147, 197, 253, 0.15);
}

.solution-title-category {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.component--solution-detail.--bg-dark .solution-title-category {
  color: rgba(255, 255, 255, 0.6);
}

.solution-headline {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--darkest);
  margin-bottom: 1.25rem;
}

.component--solution-detail.--bg-dark .solution-headline {
  color: var(--white);
}

.solution-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 2rem;
}

.component--solution-detail.--bg-dark .solution-body {
  color: rgba(255, 255, 255, 0.75);
}

.solution-body p + p {
  margin-top: 1rem;
}

.applications-wrap {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.component--solution-detail.--bg-dark .applications-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.applications-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--darkest);
  margin-bottom: 1rem;
}

.component--solution-detail.--bg-dark .applications-heading {
  color: rgba(255, 255, 255, 0.9);
}

.applications-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.app-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--darkest);
  font-weight: 500;
}

.component--solution-detail.--bg-dark .app-item {
  color: rgba(255, 255, 255, 0.85);
}

.app-item-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--main);
  margin-top: 2px;
}

.component--solution-detail.--bg-dark .app-item-icon {
  color: #60a5fa;
}

.solution-closing-line {
  margin-top: 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--main);
  padding: 1rem 1.25rem;
  background: rgba(26, 70, 157, 0.06);
  border-left: 3px solid var(--main);
  border-radius: 0 8px 8px 0;
}

.component--solution-detail.--bg-dark .solution-closing-line {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.08);
  border-left-color: #60a5fa;
}

/* Conceptual Diagram & UI Cards */
.concept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.component--solution-detail.--bg-dark .concept-card {
  background: var(--bg-dark-card);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.concept-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.component--solution-detail.--bg-dark .concept-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.concept-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
}

.component--solution-detail.--bg-dark .concept-tag {
  color: rgba(255, 255, 255, 0.5);
}

.concept-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
}

.concept-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: #10b981;
}

/* Flow elements */
.flow-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flow-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  transition: border-color var(--duration-fast) ease;
}

.component--solution-detail.--bg-dark .flow-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.flow-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--main);
  margin-bottom: 0.35rem;
}

.component--solution-detail.--bg-dark .flow-box-label {
  color: #93c5fd;
}

.flow-box-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--darkest);
  margin-bottom: 0.25rem;
}

.component--solution-detail.--bg-dark .flow-box-title {
  color: var(--white);
}

.flow-box-desc {
  font-size: 0.85rem;
  color: var(--dark);
  line-height: 1.45;
}

.component--solution-detail.--bg-dark .flow-box-desc {
  color: rgba(255, 255, 255, 0.65);
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium);
  padding: 0.2rem 0;
}

.component--solution-detail.--bg-dark .flow-connector {
  color: rgba(255, 255, 255, 0.3);
}

.flow-connector svg {
  width: 18px;
  height: 18px;
}

/* UI Mock Elements (Conceptual) */
.ui-search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--darkest);
  margin-bottom: 1.25rem;
}

.ui-search-bar svg {
  width: 16px;
  height: 16px;
  color: var(--main);
  flex-shrink: 0;
}

.ui-chips-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.ui-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--dark);
}

.component--solution-detail.--bg-dark .ui-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.ui-chip.--active {
  background: var(--main);
  color: var(--white);
  border-color: var(--main);
}

/* Validation Triage Box */
.triage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.triage-item {
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.85rem;
}

.triage-item.--pass {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.triage-item.--flag {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
}

.triage-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.triage-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Shared Approach Section */
.component--solutions-approach {
  padding: clamp(6rem, 10vw, 9.5rem) 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}

.approach-intro-wrap {
  max-width: 920px;
  margin-bottom: 4rem;
}

.approach-headline {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}

.approach-body {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--dark);
}

.approach-body p + p {
  margin-top: 1rem;
}

.approach-visual-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 860px) {
  .approach-visual-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }
}

.approach-node {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.approach-node-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(26, 70, 157, 0.08);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.approach-node.--center {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.approach-node.--center .approach-node-icon {
  background: var(--main);
  color: var(--white);
}

.approach-node-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--darkest);
}

.approach-node.--center .approach-node-title {
  color: var(--white);
}

.approach-node-sub {
  font-size: 0.875rem;
  color: var(--dark);
  line-height: 1.45;
}

.approach-node.--center .approach-node-sub {
  color: rgba(255, 255, 255, 0.65);
}

.approach-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main);
}

.approach-arrow svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 859px) {
  .approach-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
}

/* Solutions Closing CTA */
.component--solutions-closing {
  padding: clamp(6rem, 9vw, 9rem) 0;
  background-color: var(--bg);
  border-top: 1px solid var(--border-light);
}

.solutions-closing-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.solutions-closing-headline {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--darkest);
  margin-bottom: 1.5rem;
}

.solutions-closing-body {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--dark);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}



/* ==========================================================================
   PRODUCTS PAGE STYLES
   ========================================================================== */

/* Products Hero */
.component--products-hero {
  padding: clamp(8rem, 12vw, 12rem) 0 clamp(3.5rem, 5vw, 5rem);
  background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.products-hero-wrap {
  max-width: 960px;
}

.products-hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--darkest);
  margin-top: 1rem;
  margin-bottom: 1.75rem;
}

.products-hero-intro {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--darkest);
  font-weight: 500;
  margin-bottom: 1.25rem;
  max-width: 860px;
}

.products-hero-subintro {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 2.5rem;
  max-width: 820px;
}

.products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Compact Product Index Bar */
.products-index-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 70px;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(255, 255, 255, 0.92);
}

.product-index-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.index-pill {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  transition: all var(--duration-fast) ease;
  background: transparent;
}

.index-pill:hover,
.index-pill:focus-visible {
  color: var(--blue);
  background: var(--blue-subtle);
}

.index-sep {
  color: var(--border-hover);
  font-weight: 700;
  user-select: none;
}

@media (max-width: 768px) {
  .products-index-bar {
    top: 60px;
    padding: 0.75rem 0;
    overflow-x: auto;
  }
  .product-index-pills {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0 1rem;
    white-space: nowrap;
  }
}

/* Product Showcase Items */
.component--product-item {
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 120px;
}

.component--product-item.--alt-bg {
  background-color: #fafbfc;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .product-showcase-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .product-showcase-grid.--reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .product-showcase-grid.--reverse .product-info {
    order: 2;
  }
  .product-showcase-grid.--reverse .product-media {
    order: 1;
  }
}

/* Product Info Column */
.product-info {
  display: flex;
  flex-direction: column;
}

/* Product Meta Header Row (Products Page) */
.product-meta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 0.85rem 0;
  padding: 0;
}

.product-number {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25rem;
  color: var(--blue);
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.product-meta .label-badge {
  display: inline-block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.25rem;
  color: var(--blue);
}

.--light-badge {
  background: transparent;
  color: var(--blue);
  border: none;
}

.product-brand-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--darkest);
  margin-bottom: 0.4rem;
}

.product-headline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--main);
  margin-bottom: 1.25rem;
}

.product-description {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 1.75rem;
}

/* Structured Context Cards */
.product-context-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.context-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.component--product-item.--alt-bg .context-card {
  background: var(--white);
}

.context-card-label {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.context-card-text {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--darkest);
  margin: 0;
}

.product-action-wrap {
  display: flex;
}

/* Product Screenshot Media Frame */
.product-media {
  width: 100%;
}

.product-frame {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: 0 16px 36px -10px rgba(17, 24, 39, 0.1), 0 0 1px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.media-viewer {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.product-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  transition: transform var(--duration-normal) ease;
}

.btn-enlarge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(17, 24, 39, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--duration-fast) ease;
  z-index: 10;
}

.btn-enlarge:hover,
.btn-enlarge:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.04);
}

.media-caption {
  padding: 0.75rem 0.5rem 0.25rem;
  font-size: 0.825rem;
  line-height: 1.45;
  color: var(--dark);
  text-align: center;
}

/* Gallery Navigation Tabs (Inform:Data, Preflight, Docscanner, NetWorKING) */
.gallery-nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-nav-tabs::-webkit-scrollbar {
  display: none;
}

.gallery-tab {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem 0.625rem;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  -webkit-appearance: none;
  appearance: none;
}

.gallery-tab:hover {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
}

.gallery-tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.gallery-tab.--active,
.gallery-tab[aria-selected="true"] {
  color: var(--blue) !important;
  -webkit-text-fill-color: var(--blue) !important;
  font-weight: 600;
  background: transparent !important;
  border-bottom: 2px solid var(--blue) !important;
  box-shadow: none !important;
}

.gallery-slide {
  display: none;
}

.gallery-slide.--active {
  display: block;
}

.concept-card--gallery {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: none;
}

/* Product Editorial Pair (Voice2CRM & DockWalk) */
.component--product-editorial-pair {
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 860px) {
  .pair-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.editorial-product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 120px;
}

.editorial-product-card .product-context-cards {
  flex-grow: 1;
}

/* Products Closing Box */
.component--products-closing {
  padding: clamp(6rem, 9vw, 9rem) 0;
  background-color: var(--bg);
}

.products-closing-card {
  background: var(--darkest);
  border-radius: 24px;
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.products-closing-headline {
  color: var(--white);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.products-closing-body {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Accessible Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-container {
  position: relative;
  max-width: 94vw;
  max-height: 90vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.lightbox-close-btn:hover,
.lightbox-close-btn:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.1);
}

.lightbox-content {
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  padding: 0.85rem 1.25rem;
  background: #181c24;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   LEGAL PAGES DESIGN SYSTEM (Privacy Policy, etc.)
   ========================================================================== */

.component--legal-hero {
  padding-top: clamp(8.5rem, 15vw, 13rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  background-color: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.legal-hero-wrap {
  max-width: 860px;
}

.legal-hero-headline {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--darkest);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.component--legal-content {
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(5rem, 8vw, 8rem);
  background-color: var(--white);
}

.legal-document-container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-document {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.legal-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--darkest);
  font-weight: 500;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--darkest);
  letter-spacing: -0.025em;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.legal-section p {
  margin-bottom: 1.25rem;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.65;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--main);
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal-table th {
  background-color: #f8fafc;
  color: var(--darkest);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: #334155;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr:hover td {
  background-color: #f8faff;
}

.legal-table td strong {
  color: var(--darkest);
  font-weight: 600;
}

.legal-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  background-color: rgba(26, 70, 157, 0.08);
  color: var(--main);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.legal-contact-card {
  margin-top: 1.25rem;
  padding: 1.75rem 2rem;
  background-color: #f8fafc;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  line-height: 1.7;
}

.legal-contact-card strong {
  font-size: 1.1rem;
  color: var(--darkest);
  display: block;
  margin-bottom: 0.35rem;
}

.legal-document a {
  color: var(--main);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) ease;
}

.legal-document a:hover {
  color: var(--accent);
}



