/* ---------------------------------
   OpsIntel Advisors
   Base website styles
---------------------------------- */

:root {
  --navy: #0b1f33;
  --navy-light: #15334f;
  --blue: #2a6f97;
  --blue-light: #dcebf3;
  --gold: #c59b4a;
  --white: #ffffff;
  --off-white: #f6f8fa;
  --gray-light: #e5e9ed;
  --gray: #66717c;
  --text: #1b2733;
  --max-width: 1180px;
  --shadow: 0 18px 45px rgba(11, 31, 51, 0.08);
}

/* Reset browser defaults */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
}

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

/* Shared page structure */

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-label,
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  letter-spacing: -0.045em;
}

h2 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 15px;
  font-size: 1.35rem;
}

p {
  color: var(--gray);
  font-size: 1.04rem;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-light);
  backdrop-filter: blur(12px);
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-secondary {
  color: var(--blue);
  font-weight: 500;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--blue);
}

.nav-contact {
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
}

.nav-contact:hover {
  color: var(--white);
  background: var(--blue);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(
      120deg,
      rgba(246, 248, 250, 0.98) 0%,
      rgba(246, 248, 250, 0.94) 58%,
      rgba(220, 235, 243, 0.88) 100%
    );
}

.hero::after {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 570px;
  height: 570px;
  content: "";
  border: 90px solid rgba(42, 111, 151, 0.08);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.hero-summary {
  max-width: 760px;
  margin-bottom: 38px;
  color: #4e5d69;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: var(--blue);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.button-secondary:hover {
  background: var(--white);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

/* Services */

.section-intro {
  max-width: 700px;
  margin-bottom: 50px;
  font-size: 1.15rem;
}

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

.service-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow);
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* Dark Operational AI section */

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

.section-dark h2 {
  color: var(--white);
}

.section-dark .section-label {
  color: #83bedc;
}

.section-dark p {
  color: #c7d3dc;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}

/* Contact */

.contact-section {
  padding: 100px 0;
  text-align: center;
  background: var(--blue);
}

.contact-content {
  max-width: 850px;
}

.contact-section .section-label,
.contact-section h2,
.contact-section p {
  color: var(--white);
}

.contact-section h2 {
  margin-right: auto;
  margin-left: auto;
}

.contact-section p {
  margin-bottom: 30px;
}

/* Footer */

.site-footer {
  padding: 26px 0;
  background: #071522;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.site-footer p {
  margin-bottom: 0;
  color: #9eabb5;
  font-size: 0.85rem;
}

/* Tablet and mobile layout */

@media (max-width: 900px) {
  nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

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

  .two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

  .navigation {
    min-height: 68px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .nav-contact {
    padding: 8px 13px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 90px 0;
  }

  .hero-summary {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .service-card {
    padding: 28px;
  }

  .footer-content {
    flex-direction: column;
    gap: 5px;
  }
}
