/* ============================================
   Transunion Petroleum Limited — Styles
   ============================================ */

:root {
  --navy: #0c1f3d;
  --navy-dark: #071428;
  --navy-mid: #142d52;
  --gold: #c8872a;
  --gold-light: #d4a03c;
  --white: #ffffff;
  --grey-50: #f7f8fa;
  --grey-100: #eef0f4;
  --grey-300: #c5cad3;
  --grey-500: #6b7280;
  --grey-600: #4b5563;
  --text: #1e2d45;
  --text-light: #a8b0be;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1280px;
  --header-h: 80px;
  --radius: 8px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label--center {
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

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

.btn--primary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-top: 8px;
  transition: gap var(--transition);
}

.link-arrow:hover {
  gap: 12px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__img {
  width: 48px;
  height: 48px;
}

.logo__text {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.logo--footer .logo__text {
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  white-space: nowrap;
  transition: color var(--transition);
}

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

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.75) 45%,
    rgba(255, 255, 255, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 80px 24px;
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.85;
}

/* About */
.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about__text p {
  color: var(--grey-600);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.about__visual {
  position: relative;
}

.about__image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(12, 31, 61, 0.12);
}

.about__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about__info-panel {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 24px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 16px 48px rgba(7, 20, 40, 0.3);
}

.info-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-block__icon {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.info-block__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.info-block__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Business */
.business {
  background: var(--navy);
  padding: 80px 0;
}

.business__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
}

.business__item {
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.business__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.business__icon {
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.business__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 12px;
}

.business__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

/* Impact */
.impact {
  background: var(--grey-50);
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.impact__item {
  text-align: center;
  padding: 16px 8px;
}

.impact__icon {
  color: var(--gold);
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.impact__number {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.impact__label {
  font-size: 13px;
  color: var(--grey-500);
  line-height: 1.4;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: var(--text-light);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__grid--simple {
  grid-template-columns: 1.5fr 1fr 1.2fr;
}

.footer__about {
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0 24px;
  color: var(--text-light);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background var(--transition);
}

.social-link:hover {
  background: var(--gold);
}

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-light);
  transition: color var(--transition);
}

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

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.footer__contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--grey-500);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: var(--grey-500);
  transition: color var(--transition);
}

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

/* Responsive */
@media (max-width: 1100px) {
  .nav__link {
    padding: 8px 8px;
    font-size: 10px;
  }

  .about__info-panel {
    width: 240px;
    right: -10px;
    padding: 20px 18px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer__grid--simple {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--grey-100);
  }

  .nav-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__info-panel {
    position: static;
    transform: none;
    width: 100%;
    margin-top: -40px;
    margin-left: 24px;
    margin-right: 24px;
    width: calc(100% - 48px);
  }

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

  .business__item:nth-child(2)::after {
    display: none;
  }

  .business__item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.7) 100%
    );
  }

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

  .impact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================
   Inner Pages
   ============================================ */

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.page-hero--tall {
  min-height: 420px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 31, 61, 0.88) 0%,
    rgba(12, 31, 61, 0.65) 50%,
    rgba(12, 31, 61, 0.4) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 720px;
}

.page-hero__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.content-block p {
  color: var(--grey-600);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-grid--reverse .split-grid__image {
  order: -1;
}

.split-grid__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(12, 31, 61, 0.12);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(12, 31, 61, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12, 31, 61, 0.14);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body {
  padding: 24px;
}

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

.card__text {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.65;
}

.card--dark {
  background: var(--navy-mid);
  box-shadow: none;
}

.card--dark .card__title {
  color: var(--white);
}

.card--dark .card__text {
  color: rgba(255, 255, 255, 0.75);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--grey-50);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}

.value-item__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.biz-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--grey-100);
}

.biz-detail:last-child {
  border-bottom: none;
}

.biz-detail:nth-child(even) .biz-detail__image {
  order: 2;
}

.biz-detail__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.biz-detail__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.biz-detail__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.biz-detail__text {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.75;
  margin-bottom: 12px;
}

.biz-detail__list {
  margin-top: 16px;
}

.biz-detail__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 8px;
}

.biz-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.doc-list {
  margin-top: 32px;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color var(--transition);
}

.doc-item:hover {
  border-color: var(--gold);
}

.doc-item__info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.doc-item__info span {
  font-size: 13px;
  color: var(--grey-500);
}

.doc-item__download {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.job-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(12, 31, 61, 0.08);
}

.job-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.job-card__meta {
  font-size: 13px;
  color: var(--grey-500);
}

.job-card__meta span {
  margin-right: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
}

.contact-info__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.5;
}

.contact-form {
  background: var(--grey-50);
  padding: 40px;
  border-radius: var(--radius);
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  border: 1px solid var(--grey-300);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cta-banner {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section--grey {
  background: var(--grey-50);
}

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

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 16px;
}

.section-header p {
  color: var(--grey-600);
  font-size: 15px;
  line-height: 1.7;
}

.section--navy .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gold);
}

.timeline__item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 24px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline__year {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline__text {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .split-grid,
  .contact-grid,
  .biz-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .biz-detail:nth-child(even) .biz-detail__image {
    order: 0;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}
