/* ── Reset & Base ── */

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

:root {
  --orange: #f7941d;
  --black: #111111;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --gray-text: #555555;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Nav ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 2px solid var(--orange);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.brand-sure {
  color: var(--white);
}

.optima {
  color: var(--orange);
}

.optima { 
  color: var(--orange); 
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  color: #aaaaaa;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}

.nav-cta {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid var(--orange);
  padding: 0.4rem 1rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--orange);
  color: var(--white);
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: #e07f10;
  transform: translateY(-1px);
}

/* ── Section helpers ── */

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin-top: 0.5rem;
}

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

.section-light {
  padding: 5rem 0;
  background: var(--white);
}

.section-light:nth-of-type(even) {
  background: var(--gray-light);
}

.section-dark {
  padding: 5rem 0;
  background: var(--black);
  color: var(--white);
}

/* ── §1 Hero ── */

.hero {
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
}

.hero-inner {
  max-width: 780px;
}


.tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ── §2 Who We Serve ── */

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

.card {
  background: var(--white);
  border-top: 4px solid var(--orange);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.section-light:nth-of-type(even) .card {
  background: var(--white);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ── §3 What We Do ── */

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.what-block {
  border-left: 3px solid var(--orange);
  padding-left: 1.5rem;
}

.what-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.what-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.what-block p {
  font-size: 0.97rem;
  color: #bbbbbb;
  line-height: 1.8;
}

/* ── §4 How We Work ── */

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 160px;
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.step p {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--orange);
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ── §5 What Makes Us Different ── */

.differentiators {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 760px;
}

.diff-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.diff-accent {
  flex-shrink: 0;
  width: 4px;
  height: 100%;
  min-height: 80px;
  background: var(--orange);
  border-radius: 2px;
}

.diff-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.diff-item p {
  font-size: 0.95rem;
  color: #bbbbbb;
  line-height: 1.7;

}

/* ── What Makes Us Different ── */

.diff-blocks {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-flow: column;
  gap: 3rem;
}

.diff-block {
  border-left: 3px solid var(--orange);
  padding-left: 1.5rem;
}

.diff-block:first-child {
  padding-top: 0;
}

.diff-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.diff-block h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.diff-block p {
  font-size: 0.95rem;
  color: #bbbbbb;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ── §6 Evidence ── */

.placeholder-evidence {
  border: 2px dashed var(--gray-mid);
  border-radius: 6px;
  padding: 4rem 2rem;
  text-align: center;
  color: #999999;
  font-size: 0.95rem;
  font-style: italic;
  background: var(--gray-light);
}

/* ── §7 About ── */

.section-about {
  padding: 5rem 0;
  background: var(--black);
  color: var(--white);
}

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

.about-bio {
  max-width: 760px;
  margin: 0 auto;
}

.about-bio::after {
  content: '';
  display: table;
  clear: both;
}

.about-photo {
  float: right;
  width: 300px;
  margin: 0 0 1.5rem 2.5rem;
  border-radius: 10px;
  display: block;
}

.about-bio p {
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ── Why SURE Optima body text ── */

.why-body p {
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ── §8 Contact ── */

.contact-inner {
  max-width: 680px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}

.form-group input,
.form-group textarea {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: 3px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaaaaa;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  padding: 2.5rem 2rem;
  background: var(--gray-light);
  border-left: 4px solid var(--orange);
  border-radius: 0 4px 4px 0;
}

.form-success p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
}

.location-note {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-text);
  text-transform: uppercase;
}

/* ── §7 Clients & Partners Ticker ── */

.ticker-section {
  padding: 1.5rem 0;
}

.ticker-wrapper {
  overflow: hidden;
  width: 100%;
  background: var(--gray-light);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 1.25rem 0;
  cursor: default;
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-size: 1.495rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 2rem;
}

.ticker-sep {
  color: var(--orange);
  font-size: 1.495rem;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Body text (light-section paragraphs) ── */

.body-text p {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ── Card italic closing line ── */

.card-closing {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--orange) !important;
  line-height: 1.65;
}

/* ── Value card layout (equal height, anchored footer) ── */

.cards-value {
  grid-auto-rows: 440px;
}

.cards-value .card {
  display: flex;
  flex-direction: column;
}

.card-top {
  flex: 1;
  overflow: hidden;
}

.card-bottom {
  flex-shrink: 0;
  border-top: 1px solid var(--gray-mid);
  padding-top: 1rem;
  margin-top: 1.25rem;
}

.cards-value .card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  color: var(--black);
}

/* ── About teaser paragraph ── */

.about-teaser {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ── Sub-page header ── */

.page-header {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.page-header .tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

/* ── Section intro paragraph ── */

.section-intro {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 700px;
  line-height: 1.75;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.section-dark .section-intro {
  color: #bbbbbb;
}

/* ── 3-column card grid ── */

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

/* ── White background section (explicit, avoids nth-of-type) ── */

.section-white {
  padding: 5rem 0;
  background: var(--white);
}

/* ── Gray background section ── */

.section-gray {
  padding: 5rem 0;
  background: var(--gray-light);
}

/* ── Compact sections (TL;DR page) ── */

.section-dark.section-compact,
.section-light.section-compact,
.section-gray.section-compact,
.section-white.section-compact {
  padding: 2.5rem 0;
}

/* ── TL;DR page body text ── */

.tldr-intro {
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.8;
}

.tldr-close {
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.tldr-close--emphasis {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
}

/* ── Content type label (solid orange — published content) ── */

.card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

/* ── Card links section (separator + links) ── */

.card-links {
  border-top: 1px solid var(--gray-mid);
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-link {
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}

.card-link:hover {
  opacity: 0.7;
}

/* ── Card subtitle line ── */

.card-subtitle {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--gray-text);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* ── Coming Soon badge ── */

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

/* ── Reading list author line ── */

.reading-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

/* ── What to Expect items ── */

.expectation-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 760px;
}

.expectation-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.expectation-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.expectation-item p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ── Footer ── */

footer {
  background: #0a0a0a;
  border-top: 2px solid var(--orange);
  padding: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.copyright {
  font-size: 0.8rem;
  color: #666666;
}

/* ── Mobile ── */

@media (max-width: 760px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-links {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-cta {
    order: 2;
  }

  .nav-link {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 680px) {
  .about-photo {
    float: none;
    width: 240px;
    margin: 0 auto 2rem;
  }

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

  .cards-3col {
    grid-template-columns: 1fr;
  }

  .cards-value {
    grid-auto-rows: auto;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }


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

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

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
    height: 2rem;
  }

  .two-col {
    gap: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 1.35rem;
  }
}

/* ── Services: Ways of Working Accordion ── */

.accordion {
  border-top: 1px solid var(--orange);
}

.accordion-row {
  border-bottom: 1px solid var(--orange);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.75rem 0;
  text-align: left;
  gap: 1.5rem;
}

.accordion-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.accordion-model-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.accordion-oneliner {
  font-size: 0.95rem;
  font-weight: 400;
  color: #999999;
  line-height: 1.5;
}

.accordion-icon {
  color: var(--orange);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-family: sans-serif;
}

.accordion-row.is-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-row.is-open .accordion-body {
  max-height: 1200px;
}

.accordion-content {
  padding-bottom: 2rem;
}

.accordion-content p {
  font-size: 0.97rem;
  color: #bbbbbb;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.accordion-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-sublist li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1.5rem;
}

.sublist-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.sublist-desc {
  font-size: 0.9rem;
  color: #aaaaaa;
  line-height: 1.7;
}

/* ── Pull Quotes ── */

.pull-quote {
  padding: 1.75rem 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 4px,
      rgba(0, 0, 0, 0.035) 4px,
      rgba(0, 0, 0, 0.035) 5px
    ),
    var(--white);
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  text-align: center;
}

.pq-inner {
  max-width: 760px;
}

.pq-text {
  font-size: 1.45rem;
  font-weight: 600;
  font-style: italic;
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.pq-author {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .pq-text {
    font-size: 1.15rem;
  }
}

/* ── How We Work Together — Expandable Step Cards ── */

.hww-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.hww-card-wrap {
  flex: 1;
  min-width: 0;
}

.hww-arrow {
  flex-shrink: 0;
  width: 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3.25rem;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 800;
  user-select: none;
  pointer-events: none;
}

.hww-card {
  background: var(--white);
  border-top: 4px solid var(--orange);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
}

.hww-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hww-trigger:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.hww-step-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--orange);
  line-height: 1;
}

.hww-step-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.25;
}

/* CSS clip-path triangle: points down at 0deg, rotate(180deg) flips to up */
.hww-chevron {
  display: block;
  font-size: 0;
  width: 18px;
  height: 12px;
  background-color: var(--orange);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-top: 0.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hww-card.is-open .hww-chevron {
  transform: rotate(180deg);
}

.hww-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.hww-card.is-open .hww-body {
  max-height: 300px;
}

.hww-body-inner {
  padding: 0 1.75rem 2rem;
  border-top: 1px solid var(--gray-mid);
}

.hww-body-inner p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-top: 1.25rem;
}

@media (max-width: 680px) {
  .hww-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .hww-arrow {
    width: 100%;
    padding-top: 0;
    height: 2rem;
    align-items: center;
    transform: rotate(90deg);
    font-size: 1.2rem;
  }
}
