/* ══════════════════════════════════════════════════════════
   Thales landing page
   thalesgroup.com is behind an Incapsula bot-wall that blocks direct
   fetches, so these colours were verified by sampling the site's own
   favicon (themes/custom/thales/favicon.ico) rather than guessed:
   #2d2f6f deep navy / #4279a8 mid blue / #53b5d6 bright accent blue.
   ══════════════════════════════════════════════════════════ */

:root {
  --th-navy: #2d2f6f;       /* verified brand navy */
  --th-navy-2: #212353;     /* deeper shade for layering */
  --th-blue: #4279a8;       /* verified mid blue */
  --th-cyan: #53b5d6;       /* verified bright accent */
  --th-cyan-dk: #408da6;    /* hover / active */
  --th-cyan-tint: #eaf6fa;
  --th-gray-1: #f5f7f9;
  --th-gray-2: #e3e7ec;
  --th-gray-3: #b0b8c2;
  --th-gray-4: #626c7a;
  --th-text: #22263a;
  --th-muted: #626c7a;
  --th-white: #ffffff;

  /* Cancels the Bootstrap 5 .container gutter this page is rendered inside,
     so full-bleed bands run edge to edge. Falls back to 1.5rem if absent. */
  --th-bleed: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
}

/* ── IMAGE FRAMES ──
   Every image sits in a ratio-locked frame, so any source image renders at an
   identical size and cannot shift the layout.
   .th-img-cover   → photos / renders (crop to fill)
   .th-img-contain → diagrams, logos, transparent art (fit whole, no crop) */
.th-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: var(--th-gray-1);
}

@supports not (aspect-ratio: 16 / 10) {
  .th-img-frame {
    height: 0;
    padding-bottom: 62.5%;
  }
}

.th-img-frame > img,
.th-img-frame > .th-img-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.th-img-cover {
  object-fit: cover;
  object-position: center;
}

.th-img-contain {
  object-fit: contain;
  object-position: center;
  padding: 20px;
}

/* Placeholder shown until a real image is dropped in */
.th-img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(45, 47, 111, 0.05) 0px,
      rgba(45, 47, 111, 0.05) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--th-gray-1);
  border: 2px dashed var(--th-gray-3);
  border-radius: 14px;
  color: var(--th-gray-4);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 12px;
}

.th-img-ph i {
  font-size: 26px;
  opacity: 0.55;
}

.th-img-ph-sm {
  font-size: 11px;
}

.th-img-ph-sm i {
  font-size: 20px;
}

/* Frame ratio variants */
.th-frame-hero {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

/* The hero sits on the dark band, so its placeholder needs light-on-dark */
.th-frame-hero .th-img-ph {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 12px,
      transparent 12px,
      transparent 24px
    ),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
}

.th-frame-iam {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}

.th-frame-why {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

@supports not (aspect-ratio: 4 / 3) {
  .th-frame-hero { padding-bottom: 75%; }
  .th-frame-iam  { padding-bottom: 75%; }
  .th-frame-why  { padding-bottom: 75%; }
}

/* ── SHARED SECTION FURNITURE ── */
.th-section-head {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.th-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--th-gray-4);
  margin-bottom: 14px;
  position: relative;
  padding-left: 26px;
}

.th-kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 3px;
  background: var(--th-cyan);
  transform: translateY(-50%);
}

.th-kicker-light {
  color: rgba(255, 255, 255, 0.55);
}

.th-kicker-light::before {
  background: var(--th-cyan);
}

.th-h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--th-text);
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.th-h2-light {
  color: var(--th-white);
}

.th-sub {
  font-size: clamp(14px, 1rem, 1.05rem);
  color: var(--th-muted);
  line-height: 1.7;
  margin: 0;
}

.th-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.th-tag-blue {
  color: var(--th-navy);
  background: var(--th-cyan-tint);
}

.th-tag-dark {
  color: var(--th-white);
  background: rgba(255, 255, 255, 0.12);
}

/* ── BUTTONS ── */
.th-btn-primary {
  background: var(--th-cyan);
  color: var(--th-navy) !important;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--th-cyan);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.th-btn-primary:hover {
  background: var(--th-cyan-dk);
  border-color: var(--th-cyan-dk);
  color: var(--th-white) !important;
  text-decoration: none;
  transform: translateY(-2px);
}

.th-btn-ghost {
  background: transparent;
  color: var(--th-white) !important;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s, background 0.2s;
}

.th-btn-ghost:hover {
  border-color: var(--th-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--th-white) !important;
  text-decoration: none;
}

.th-btn-ghost-dark {
  border-color: rgba(255, 255, 255, 0.4);
}

.th-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--th-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: gap 0.15s, color 0.2s;
}

.th-link:hover {
  color: var(--th-cyan-dk);
  text-decoration: none;
  gap: 11px;
}

/* ── CHECKLISTS ── */
.th-checklist {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Each item is icon + a stacked term/description block, rather than one
   flowing line — a long bold term (e.g. "Data Protection on Demand") can
   wrap onto its own line cleanly instead of breaking mid-phrase against a
   trailing dash. */
.th-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.th-checklist li > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.th-checklist i {
  color: var(--th-cyan-dk);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 3px;
}

.th-checklist strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--th-text);
  line-height: 1.4;
}

.th-checklist span {
  font-size: 12px;
  color: var(--th-muted);
  line-height: 1.45;
}

/* ══════════ HERO ══════════ */
.th-hero {
  background: var(--th-navy);
  margin: 0 var(--th-bleed);
  padding: 76px 30px 84px;
  position: relative;
  overflow: hidden;
}

/* Soft cyan glow, echoing Thales's signature accent colour */
.th-hero::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 58%;
  height: 165%;
  background: radial-gradient(circle at 50% 50%, rgba(83, 181, 214, 0.25), rgba(83, 181, 214, 0) 65%);
  pointer-events: none;
}

.th-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.th-hero-visual {
  min-width: 0;
}

.th-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--th-cyan);
  margin-bottom: 18px;
}

.th-hero-text h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: var(--th-white);
  line-height: 1.1;
  letter-spacing: -1.1px;
  margin-bottom: 18px;
}

.th-hero-text h1 .th-accent {
  color: var(--th-cyan);
}

.th-hero-text > p {
  font-size: clamp(15px, 1.05rem, 1.1rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.72;
  margin-bottom: 30px;
}

.th-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.th-hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.th-hero-points i {
  color: var(--th-cyan);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 1000px) {
  .th-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .th-hero {
    padding: 56px 22px 62px;
  }
}

/* ══════════ IDENTITY & ACCESS MANAGEMENT ══════════ */
.th-iam {
  background: var(--th-white);
  padding: 84px 30px;
}

.th-iam-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.th-iam-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 44px;
}

.th-iam-head-text h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--th-text);
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.th-iam-head-text p {
  font-size: 14.5px;
  color: var(--th-muted);
  line-height: 1.7;
  margin: 0;
}

.th-iam-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.th-iam-card {
  background: var(--th-gray-1);
  border: 1px solid var(--th-gray-2);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.th-iam-card:hover {
  box-shadow: 0 14px 34px rgba(45, 47, 111, 0.1);
  transform: translateY(-4px);
  border-color: var(--th-cyan);
  background: var(--th-white);
}

.th-iam-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--th-cyan-tint);
  color: var(--th-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.th-iam-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--th-text);
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.th-iam-card p {
  font-size: 13.5px;
  color: var(--th-muted);
  line-height: 1.62;
  margin-bottom: 16px;
  flex-grow: 1;
}

.th-card-link {
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--th-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s, color 0.2s;
}

.th-card-link:hover {
  color: var(--th-cyan-dk);
  text-decoration: none;
  gap: 11px;
}

@media (max-width: 1000px) {
  .th-iam-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .th-iam-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .th-iam {
    padding: 52px 20px;
  }
  .th-iam-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════ WHY IT MATTERS ══════════ */
.th-why {
  background: var(--th-navy-2);
  margin: 0 var(--th-bleed);
  padding: 88px 30px;
}

.th-why-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.th-why-visual {
  min-width: 0;
}

.th-why-left .th-h2 {
  margin-bottom: 30px;
}

.th-why-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.th-why-item:last-child {
  border-bottom: none;
}

.th-why-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(83, 181, 214, 0.16);
  border: 1px solid rgba(83, 181, 214, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--th-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.th-why-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--th-white);
  margin-bottom: 5px;
}

.th-why-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .th-why-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .th-why {
    padding: 58px 22px;
  }
}

/* ══════════ BROADER PORTFOLIO ══════════ */
.th-portfolio {
  background: var(--th-gray-1);
  padding: 84px 30px;
}

.th-portfolio-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.th-portfolio-card {
  background: var(--th-white);
  border: 1px solid var(--th-gray-2);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.th-portfolio-card:hover {
  box-shadow: 0 16px 38px rgba(45, 47, 111, 0.1);
  transform: translateY(-4px);
}

.th-portfolio-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-bottom: 18px;
}

.th-pi-navy {
  background: rgba(45, 47, 111, 0.1);
  color: var(--th-navy);
}

.th-pi-blue {
  background: rgba(66, 121, 168, 0.14);
  color: var(--th-blue);
}

.th-pi-cyan {
  background: var(--th-cyan-tint);
  color: var(--th-cyan-dk);
}

.th-portfolio-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--th-text);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.th-portfolio-lead {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--th-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

@media (max-width: 1000px) {
  .th-portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .th-portfolio {
    padding: 52px 20px;
  }
}

/* ══════════ INDUSTRIES ══════════ */
.th-industries {
  background: var(--th-white);
  padding: 84px 30px;
}

.th-ind-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.th-ind {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 22px 12px;
  background: var(--th-gray-1);
  border: 1px solid var(--th-gray-2);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--th-text);
  line-height: 1.35;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.th-ind:hover {
  border-color: var(--th-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(45, 47, 111, 0.1);
}

.th-ind i {
  font-size: 24px;
  color: var(--th-navy);
}

@media (max-width: 1000px) {
  .th-ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .th-ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .th-industries {
    padding: 52px 20px;
  }
}

/* ══════════ CTA ══════════ */
.th-cta {
  background: linear-gradient(120deg, var(--th-navy-2) 0%, var(--th-navy) 55%, var(--th-cyan-dk) 130%);
  margin: 0 var(--th-bleed);
  padding: 88px 30px;
  text-align: center;
}

.th-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.th-cta h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--th-white);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.th-cta p {
  font-size: clamp(14px, 1rem, 1.05rem);
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
  margin: 0 auto 32px;
}

.th-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .th-cta {
    padding: 58px 22px;
  }
}
