/* =============================================
   EOS AI — Main Stylesheet (Light Theme)
   ============================================= */

@font-face {
  font-family: 'DancingScript';
  src: url('DancingScript-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

.eos-ai {
  font-family: 'DancingScript', cursive;
  color: #C31212;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.01em;
}

:root {
  --navy:       #0B2545;
  --navy-mid:   #12366e;
  --blue:       #1060A0;
  --blue-light: #1a7acc;
  --logo-blue:  #85C9EC;
  --teal:       #0B8B8F;
  --teal-lt:    #5CCFD4;
  --orange:     #F97316;
  --orange-dk:  #ea6c0a;
  --red:        #C31212;
  --white:      #E8EEF5;
  --offwhite:   #D8E4F0;        /* medium blue-grey — primary light bg */
  --offwhite2:  #CCDBEC;        /* deeper blue-tint — alternate sections */
  --section-blue: #C8D8EA;      /* blue — light tinted sections */
  --grey:       #6B7A8D;
  --grey-lt:    #B8CCDE;
  /* Variety wash colours */
  --wash-teal:    #C8E6E6;      /* soft teal-green */
  --wash-sage:    #CDD9CC;      /* muted sage green */
  --wash-sand:    #E8DEC8;      /* warm sand */
  --wash-slate:   #CDD5DC;      /* cool mid-slate */
  --wash-warm:    #E0D4C8;      /* warm greige */
  --wash-mint:    #C8DDD8;      /* pale mint */
  --text:       #1A2535;
  --text-muted: #4A5568;
  --font-head: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11,37,69,0.08);
  --shadow:    0 4px 24px rgba(11,37,69,0.10);
  --shadow-md: 0 8px 40px rgba(11,37,69,0.13);
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* In-page targets clear sticky navbar (index + any page with section anchors) */
section[id] {
  scroll-margin-top: 96px;
}

#gts-page {
  scroll-margin-top: 96px;
}

/* About — company deck (merged from about.html) */
.deck-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #12366e 60%, #0B8B8F22 100%);
  padding: 56px 5vw 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.deck-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(133,201,236,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(11,139,143,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.deck-hero__eyebrow {
  display: inline-block;
  background: rgba(133,201,236,0.15);
  color: var(--logo-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(133,201,236,0.35);
  position: relative;
}
.deck-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
}
.deck-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
}
.deck-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.pdf-viewer {
  background: #08111e;
  padding: 40px 5vw 56px;
}
.pdf-viewer__stage {
  max-width: 1100px;
  margin: 0 auto;
}
.pdf-viewer iframe {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  display: block;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.65;
}
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #d0dcea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  box-shadow: 0 1px 0 var(--grey-lt), 0 2px 12px rgba(11,37,69,0.06);
}

.navbar--home {
  height: 80px;
}

.navbar__logo img {
  height: 48px;
  width: auto;
}

.navbar--home .navbar__logo img {
  height: 56px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.navbar__links li { position: relative; }

.navbar__links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  display: block;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.navbar__links a:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
}

/* Current page — high contrast vs #d0dcea bar */
.navbar__links a.active {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  box-shadow:
    inset 0 -3px 0 var(--teal),
    0 1px 4px rgba(11, 37, 69, 0.12);
}

.navbar__links a.active:hover {
  background: #fff;
  color: var(--navy);
}

/* Dropdown */
.dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #d0dcea;
  min-width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  z-index: 200;
  border: 1px solid var(--grey-lt);
}
.dropdown__menu a {
  color: var(--text);
  font-size: 0.88rem;
  padding: 10px 20px;
  display: block;
}
.dropdown__menu a:hover { background: var(--offwhite); color: var(--blue); }
.dropdown__menu.open { display: block; }
.navbar__links li.has-dropdown > a { cursor: pointer; }
.dropdown__arrow { font-size: 0.65rem; margin-left: 4px; opacity: 0.55; }

/* Download App — rich dropdown (QR + store badges) */
.dropdown__menu--app {
  min-width: 304px;
  padding: 16px 18px 18px;
  text-align: center;
}
.dropdown__menu--app .dropdown__app-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.dropdown__app-qr {
  display: block;
  width: 200px;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 37, 69, 0.12);
}
.dropdown__app-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}
.dropdown__store-link {
  display: inline-block;
  padding: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  background: transparent !important;
}
.dropdown__store-link:hover {
  opacity: 0.92;
  filter: brightness(1.05);
}
.dropdown__store-link img {
  display: block;
  height: 44px;
  width: auto;
}
.dropdown__store-link--play img {
  height: 52px;
}
.form-error {
  display: none;
  color: var(--red);
  font-size: 0.88rem;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(195, 18, 18, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(195, 18, 18, 0.22);
}

.navbar__login {
  color: var(--blue) !important;
  font-weight: 600 !important;
  border: 1.5px solid rgba(16,96,160,0.30) !important;
  border-radius: 6px !important;
  padding: 7px 14px !important;
}
.navbar__login:hover {
  background: var(--offwhite) !important;
  border-color: var(--blue) !important;
  color: var(--navy) !important;
}

.navbar__cta {
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: 24px !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  margin-left: 4px;
}
.navbar__cta:hover {
  background: var(--orange-dk) !important;
  color: #fff !important;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---- HERO (photo background) ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 5vw;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-port.jpg');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
  opacity: 1;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6,17,31,0.55) 0%,
    rgba(6,17,31,0.30) 55%,
    rgba(6,17,31,0.05) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(133,201,236,0.18);
  color: var(--logo-blue);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(133,201,236,0.35);
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero__title span { color: var(--logo-blue); }

.hero__sub {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.90);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.65;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.hero__card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(10px);
  transition: transform var(--transition);
}
.hero__card:hover { transform: translateY(-4px); }
.hero__card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.hero__card-title { color: #000; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.hero__card-text { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.5; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  border-radius: 24px;
}
.btn-primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.50);
  border-radius: 24px;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,37,69,0.30);
  border-radius: 24px;
}
.btn-outline-dark:hover { background: var(--offwhite); border-color: var(--navy); }

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

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  border-radius: 24px;
}
.btn-teal:hover { background: #0a7a7e; border-color: #0a7a7e; color: #fff; transform: translateY(-2px); }

/* ---- SECTIONS ---- */
section { padding: 88px 5vw; }

.section-pill {
  display: inline-block;
  background: rgba(11,139,143,0.10);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(11,139,143,0.20);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--logo-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.72;
}

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ---- STATS BAND ---- */
.stats-band {
  background: #0f2540;
  padding: 52px 5vw;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.stat__number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--logo-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.60);
  font-weight: 500;
  line-height: 1.4;
}

/* ---- AI EVOLUTION TIMELINE ---- */
.evolution {
  background: var(--navy);
  padding: 80px 5vw;
  overflow: hidden;
  position: relative;
}

.evolution::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(133,201,236,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 30%, rgba(11,139,143,0.09) 0%, transparent 50%);
  pointer-events: none;
}

.evolution__header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.evolution__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.evolution__header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.58);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.evolution__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.evolution__track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--logo-blue), var(--teal));
  opacity: 0.30;
}

.evo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.evo-step__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.evo-step--past .evo-step__dot {
  background: rgba(133,201,236,0.10);
  border: 2px solid rgba(133,201,236,0.28);
}

.evo-step--now .evo-step__dot {
  background: linear-gradient(135deg, var(--logo-blue), var(--teal));
  box-shadow: 0 0 28px rgba(133,201,236,0.38);
}

.evo-step__year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(133,201,236,0.55);
  margin-bottom: 8px;
}

.evo-step--now .evo-step__year { color: var(--logo-blue); }

.evo-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.evo-step--now .evo-step__title { color: var(--logo-blue); }

.evo-step__desc {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.55;
}

.evo-step--now .evo-step__desc { color: rgba(255,255,255,0.68); }

/* ---- FEATURE GRID ---- */
.features { background: var(--section-blue); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--grey-lt);
}

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

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(11,139,143,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid rgba(11,139,143,0.18);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- OUTCOMES ---- */
.outcomes { background: var(--white); }

.outcomes__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

.outcomes__intro-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 20px;
}

.outcomes__intro-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

.outcomes__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outcomes__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.outcomes__checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}

.outcomes__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.outcome-card {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid var(--grey-lt);
  transition: all var(--transition);
}

.outcome-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,0.25);
  background: var(--white);
}

.outcome-card__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.outcome-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.outcome-card__text {
  display: none; /* text lives in popup; face is icon + title only */
}

/* ---- FEATURES: PLATFORM LAYOUT (Built for container shipping teams) ---- */
.features--platform {
  background: var(--section-blue);
}

.features__platform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.features__platform-left .section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.features__platform-left .section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 32px;
}

.features__platform-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 24px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-secondary-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* check-cards (right column of platform section) */
.check-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all var(--transition);
}

.check-card + .check-card {
  margin-top: 14px;
}

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

.check-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  margin-top: 2px;
}

.check-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.check-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- SAAS CAPABILITIES CARDS ---- */
.saas-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.saas-card {
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: all var(--transition);
}

.saas-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,0.25);
}

.saas-card__badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(11,139,143,0.10);
  border: 1px solid rgba(11,139,143,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.saas-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.saas-card__text {
  display: none; /* text lives in popup; face is icon + title only */
}

/* ---- CAPABILITIES ---- */
.capabilities__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.capabilities__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.capabilities__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.55;
}

.capabilities__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 2px;
}

.capabilities__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cap-pill {
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.cap-pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.cap-pill__icon { font-size: 1.6rem; margin-bottom: 8px; }

/* ---- OPERATIONS PROCESS ---- */
.process {
  background: var(--offwhite2);
  text-align: center;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

/* Slide-reveal card */
.process__card {
  position: relative;
  min-height: 19rem;
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius-lg);
  background: linear-gradient(var(--white), #fbfcff);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: default;
}

.process__face {
  position: absolute;
  inset: 0;
  padding: 1rem 1rem 1.1rem;
  transition: opacity 0.24s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.process__face--front {
  background: linear-gradient(160deg, var(--white), #f0f6ff);
  gap: 12px;
}

/* Progressive tint — left to right */
.process__card:nth-child(1) .process__face--front { background: linear-gradient(160deg, #f0f7ff, #e6f1fd); }
.process__card:nth-child(2) .process__face--front { background: linear-gradient(160deg, #edf6fb, #e0f1f7); }
.process__card:nth-child(3) .process__face--front { background: linear-gradient(160deg, #eaf6f4, #daf2ee); }
.process__card:nth-child(4) .process__face--front { background: linear-gradient(160deg, #edf8f2, #d9f2e8); }
.process__card:nth-child(5) .process__face--front { background: linear-gradient(160deg, #f5f7ee, #eaf2d5); }
.process__card:nth-child(6) .process__face--front { background: linear-gradient(160deg, #fdf5ea, #fce9cc); }
.process__card:nth-child(7) .process__face--front { background: linear-gradient(160deg, #fdf0ea, #fce0cc); }

/* Match card border to tint */
.process__card:nth-child(1) { border-color: #c8ddf5; }
.process__card:nth-child(2) { border-color: #b8d8ed; }
.process__card:nth-child(3) { border-color: #a8ddd6; }
.process__card:nth-child(4) { border-color: #a8ddc8; }
.process__card:nth-child(5) { border-color: #c8d8a0; }
.process__card:nth-child(6) { border-color: #f0c898; }
.process__card:nth-child(7) { border-color: #f0b898; }

.process__face--back {
  background: linear-gradient(var(--navy), var(--navy-mid));
  color: var(--white);
  opacity: 0;
  transform: translateY(100%);
  overflow-y: hidden;
  gap: 8px;
}

.process__card:hover .process__face--front,
.process__card:focus-within .process__face--front {
  opacity: 0;
  transform: translateY(-18%);
}

.process__card:hover .process__face--back,
.process__card:focus-within .process__face--back {
  opacity: 1;
  transform: translateY(0);
}

.process__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.process__step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(11,37,69,0.10);
  line-height: 1;
  flex-shrink: 0;
}

.process__face--back .process__step-num {
  color: rgba(255,255,255,0.18);
}

.process__icon {
  width: 32px;
  height: 32px;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.process__card:hover .process__icon {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(255,122,26,0.12);
}

.process__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-top: auto;
}

.process__back-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--logo-blue);
  line-height: 1.3;
}

.process__face--back p {
  font-size: 0.77rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0;
}

/* ---- SERVICES TABS ---- */
.services { background: var(--white); }

.services__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--grey-lt);
  background: var(--white);
  color: var(--grey);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.tab-panel__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.tab-panel__content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.tab-panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-panel__list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.tab-panel__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.tab-panel__visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--grey-lt);
}

.service-metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 10px;
  background: var(--offwhite);
  border: 1px solid var(--grey-lt);
}

.service-metric__icon { font-size: 1.6rem; width: 48px; text-align: center; }
.service-metric__label { font-size: 0.80rem; color: var(--grey); margin-bottom: 2px; }
.service-metric__value { font-size: 1.05rem; font-weight: 700; color: var(--navy); }

/* ---- WHY EOS ---- */
.why { background: var(--offwhite); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  transition: all var(--transition);
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-sm);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { box-shadow: var(--shadow-md); }

.why-card__popup {
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: -0.35rem;
  z-index: 10;
  padding: 1.4rem 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(249,115,22,0.20);
  background: linear-gradient(rgba(255,255,255,0.998), rgba(255,247,240,0.985));
  box-shadow: 0 26px 46px rgba(18,27,51,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.why-card:hover .why-card__popup,
.why-card:focus-within .why-card__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.why-card__popup-num { font-size: 1.6rem; font-weight: 900; color: var(--grey-lt); line-height: 1; margin-bottom: 8px; }
.why-card__popup-title { font-weight: 700; font-size: 1rem; color: var(--orange); margin-bottom: 10px; }
.why-card__popup-body { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

.why-card__num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--grey-lt);
  line-height: 1;
  margin-bottom: 12px;
}

.why-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ---- CLIENT LOGOS ---- */
.clients { background: var(--offwhite2); }

.logos__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.logos__grid .logo-tile {
  flex: 0 0 calc((100% - 5 * 16px) / 6);
}

.logo-tile {
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 90px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.logo-tile:hover {
  box-shadow: var(--shadow);
  border-color: var(--logo-blue);
  transform: translateY(-2px);
}

.logo-tile img {
  max-height: 38px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition);
}

.logo-tile:hover img { filter: grayscale(0%); }

.logo-tile__name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ---- TEAM ---- */
.team { background: var(--section-blue); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-card__linkedin {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
.team-card__linkedin:hover { color: var(--teal); }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #12366e 100%);
  text-align: center;
  padding: 88px 5vw;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #12366e 100%);
  padding: 80px 5vw 72px;
  text-align: center;
}

.page-hero__eyebrow {
  display: inline-block;
  background: rgba(133,201,236,0.15);
  color: var(--logo-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(133,201,236,0.30);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- GTS PAGE ---- */
.gts-intro { background: var(--white); }

.gts-intro__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.gts-intro__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.gts-intro__text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tier-badge--tfo { background: rgba(11,139,143,0.10); color: var(--teal); }
.tier-badge--inspect { background: rgba(16,96,160,0.10); color: var(--blue); }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 12px; }

.accordion-item {
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
  background: var(--white);
}

.accordion-item:hover { box-shadow: var(--shadow); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  transition: background var(--transition);
}

.accordion-trigger:hover { background: var(--offwhite); }
.accordion-trigger.open { background: var(--navy); }

.accordion-trigger__label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.accordion-trigger__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grey-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  transition: all var(--transition);
}

.accordion-trigger.open .accordion-trigger__num {
  background: var(--teal);
  color: #fff;
}

.accordion-trigger__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}

.accordion-trigger.open .accordion-trigger__text { color: #fff; }

.accordion-trigger__value {
  font-size: 0.8rem;
  color: var(--grey);
  font-style: italic;
  transition: color var(--transition);
}

.accordion-trigger.open .accordion-trigger__value { color: rgba(255,255,255,0.60); }

.accordion-trigger__icon {
  font-size: 1.2rem;
  color: var(--grey);
  transition: transform var(--transition), color var(--transition);
}

.accordion-trigger.open .accordion-trigger__icon {
  transform: rotate(45deg);
  color: #fff;
}

.accordion-body {
  display: none;
  padding: 24px 24px 24px 70px;
  background: var(--offwhite);
  border-top: 1px solid var(--grey-lt);
}

.accordion-body.open { display: block; }

.accordion-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.accordion-body ul li {
  padding-left: 18px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.accordion-body ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-size: 1.4rem;
  line-height: 1;
  top: -1px;
}

.accordion-body__value {
  background: var(--white);
  border-left: 3px solid var(--teal);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--navy);
  font-weight: 600;
}

/* ---- TFO CARDS (9 service areas) ---- */
.tfo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 5vw 56px;
  max-width: 1200px;
  margin: 0 auto;
}

.tfo-card {
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: visible;
  cursor: default;
  min-height: 140px;
}

.tfo-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.tfo-card__face {
  display: flex;
  flex-direction: column;
}

.tfo-card__num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 10px;
}

.tfo-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.tfo-card__sub {
  font-size: 0.78rem;
  color: var(--teal);
  font-style: italic;
  line-height: 1.4;
}

.tfo-card__popup {
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: -0.35rem;
  z-index: 10;
  padding: 1.2rem 1.3rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(16,96,160,0.25);
  background: linear-gradient(rgba(255,255,255,0.998), rgba(240,248,255,0.985));
  box-shadow: 0 26px 46px rgba(18,27,51,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.tfo-card:hover .tfo-card__popup,
.tfo-card:focus-within .tfo-card__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tfo-card__popup-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 4px;
}

.tfo-card__popup-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tfo-card__popup-list {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 1.1rem;
  margin: 0 0 10px;
}

.tfo-card__popup-list li {
  margin-bottom: 3px;
}

.tfo-card__popup-summary {
  font-size: 0.82rem;
  color: var(--teal);
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid rgba(16,96,160,0.12);
  padding-top: 8px;
  margin-top: 4px;
}

/* Inspection grid */
.inspections__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.inspect-card {
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: visible;
  cursor: default;
}

.inspect-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.inspect-card__face {
  display: flex;
  flex-direction: column;
}

.inspect-card__icon { font-size: 2rem; margin-bottom: 14px; }
.inspect-card__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.inspect-card__def { font-size: 0.82rem; color: var(--teal); font-style: italic; line-height: 1.4; }

.inspect-card__popup {
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: -0.35rem;
  min-height: calc(100% + 2.7rem);
  z-index: 10;
  padding: 1.2rem 1.3rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(16,96,160,0.25);
  background: linear-gradient(rgba(255,255,255,0.998), rgba(240,248,255,0.985));
  box-shadow: 0 26px 46px rgba(18,27,51,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.inspect-card:hover .inspect-card__popup,
.inspect-card:focus-within .inspect-card__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.inspect-card__popup-icon { font-size: 1.6rem; margin-bottom: 10px; }
.inspect-card__popup-title { font-weight: 700; font-size: 0.95rem; color: var(--orange); margin-bottom: 6px; line-height: 1.3; }
.inspect-card__popup-def { font-size: 0.80rem; color: var(--teal); font-style: italic; margin-bottom: 10px; line-height: 1.4; }
.inspect-card__popup-body { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CONTACT ---- */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact__info h2 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact__info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }

.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }

.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--offwhite);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid var(--grey-lt);
}

.contact-item__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey); font-weight: 600; margin-bottom: 2px; }
.contact-item__value { font-size: 0.95rem; color: var(--navy); font-weight: 500; }

.contact-form { background: var(--offwhite); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--grey-lt); }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-lt);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11,139,143,0.10);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- ABOUT / DECK VIEWER ---- */
.about__story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.about__text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  padding: 56px 5vw 28px;
  color: rgba(255,255,255,0.60);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img { height: 44px; margin-bottom: 16px; }

.footer__brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }

.footer__col h4 {
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #fff;
  margin-bottom: 18px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--logo-blue); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer__bottom a { color: rgba(255,255,255,0.45); }
.footer__bottom a:hover { color: var(--logo-blue); }

/* ---- PRESENTATION VIEWER (about.html) ---- */
.deck-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #12366e 60%, #0B8B8F22 100%);
  padding: 56px 5vw 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.deck-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(133,201,236,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(11,139,143,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.deck-hero__eyebrow {
  display: inline-block;
  background: rgba(133,201,236,0.15);
  color: var(--logo-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(133,201,236,0.30);
  position: relative;
}

.deck-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; position: relative; }
.deck-hero p { font-size: 1rem; color: rgba(255,255,255,0.62); max-width: 560px; margin: 0 auto 28px; line-height: 1.7; position: relative; }
.deck-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---- AI EVOLUTION (dark band) ---- */
.evolution__header .section-label { color: var(--logo-blue); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .capabilities__layout,
  .gts-intro__layout,
  .about__story,
  .contact__layout,
  .outcomes__intro { grid-template-columns: 1fr; gap: 40px; }

  .tab-panel.active { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__visual { display: none; }
  .outcomes__cards { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 70vh; }
  .features__platform-layout { grid-template-columns: 1fr; gap: 48px; }
  .saas-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow-md); border-top: 1px solid var(--grey-lt); }
  .navbar__links.open { display: flex; }
  .navbar__hamburger { display: flex; }
  .hero__title { font-size: 2.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .capabilities__visual { grid-template-columns: 1fr 1fr; }
  .outcomes__cards { grid-template-columns: 1fr; }
  .evolution__track { grid-template-columns: 1fr 1fr; gap: 32px; }
  .evolution__track::before { display: none; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .logos__grid .logo-tile { flex: 0 0 calc((100% - 3 * 16px) / 4); }
  .features__platform-layout { grid-template-columns: 1fr; gap: 40px; }
  .saas-cards { grid-template-columns: 1fr; }
  .features__platform-actions { flex-direction: column; align-items: flex-start; }
  .detail-cards { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   Detail Cards — hover-reveal popup (Platform section)
   ============================================= */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.detail-card {
  position: relative;
  min-height: 9rem;
  background: linear-gradient(180deg, #ffffff, var(--offwhite));
  border: 1px solid var(--grey-lt);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.detail-card-face {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.15rem;
}

.detail-card-face .check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.detail-card-face p {
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  font-size: 0.92rem;
}

.detail-card-hint {
  font-size: 0.72rem;
  color: var(--grey);
  margin-top: 6px;
  opacity: 0.8;
}

/* The popup — hidden by default, revealed on hover */
.detail-card-popup {
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: -0.35rem;
  min-height: calc(100% + 2.7rem);
  z-index: 10;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: 20px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  background: linear-gradient(rgba(255,255,255,0.998), rgba(255,247,240,0.985));
  box-shadow: 0 26px 46px rgba(18,27,51,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.detail-card:hover .detail-card-popup,
.detail-card:focus-within .detail-card-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.detail-card-popup__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange);
  margin-bottom: 8px;
  line-height: 1.3;
}

.detail-card-popup__body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Saas-card hover popup ────────────────────────────────────── */
.saas-card--hover {
  position: relative;
  overflow: visible;
}

.saas-card__face {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.saas-card__popup {
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: -0.35rem;
  min-height: calc(100% + 2.7rem);
  z-index: 10;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  background: linear-gradient(rgba(255,255,255,0.998), rgba(255,247,240,0.985));
  box-shadow: 0 26px 46px rgba(18,27,51,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.saas-card--hover:hover .saas-card__popup,
.saas-card--hover:focus-within .saas-card__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.saas-card__popup-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--orange);
  margin-bottom: 8px;
  line-height: 1.3;
}

.saas-card__popup-body {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Outcome-card hover popup ─────────────────────────────────── */
.outcome-card--hover {
  position: relative;
  overflow: visible;
}

.outcome-card__face {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.outcome-card__popup {
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: -0.35rem;
  min-height: calc(100% + 2.7rem);
  z-index: 10;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  background: linear-gradient(rgba(255,255,255,0.998), rgba(255,247,240,0.985));
  box-shadow: 0 26px 46px rgba(18,27,51,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.outcome-card--hover:hover .outcome-card__popup,
.outcome-card--hover:focus-within .outcome-card__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.outcome-card__popup-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--orange);
  margin-bottom: 8px;
  line-height: 1.3;
}

.outcome-card__popup-body {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Core Capabilities section ────────────────────────────────── */
.core-cap {
  padding: 80px 5vw;
}

.core-cap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 48px auto 0;
}

@media (max-width: 900px) {
  .core-cap__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .core-cap__grid { grid-template-columns: 1fr; }
}

.core-cap-card {
  position: relative;
  overflow: visible;
  background: var(--white);
  border: 1px solid var(--grey-lt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.3rem 1.3rem;
  min-height: 7rem;
  cursor: default;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.core-cap-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(249,115,22,0.25);
}

.core-cap-card__face {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.core-cap-card__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.core-cap-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.3;
}

.core-cap-card__popup {
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: -0.35rem;
  min-height: calc(100% + 2.7rem);
  z-index: 10;
  padding: 1.1rem 1.3rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(249, 115, 22, 0.18);
  background: linear-gradient(rgba(255,255,255,0.998), rgba(255,247,240,0.985));
  box-shadow: 0 26px 46px rgba(18,27,51,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  pointer-events: none;
}

.core-cap-card:hover .core-cap-card__popup,
.core-cap-card:focus-within .core-cap-card__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.core-cap-card__popup-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--orange);
  margin-bottom: 8px;
  line-height: 1.3;
}

.core-cap-card__popup-body {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}
