/* ==========================================================================
   Stevicom Computer Services — brand additions
   Layered after styles.css / interior.css. Layout and type follow the
   existing design system; these rules cover new content components only.
   ========================================================================== */

.brand img { width: 190px; height: auto; }
body.page-interior .brand img { width: 190px; }
.footer-brand img { width: 190px; height: auto; }

/* ---------- Search results ---------- */

.search-panel .container { position: relative; }
.search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% - 8px);
  left: var(--pad);
  right: var(--pad);
  max-height: 60vh;
  overflow-y: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--gray-300);
  box-shadow: 0 24px 48px rgba(3, 21, 41, .14);
}
body.page-interior .search-results { left: 40px; right: 40px; }
.search-results[hidden] { display: none; }
.search-results a {
  display: block;
  padding: 12px 14px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-300);
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--gray-200); }
.search-results strong { display: block; font-size: 16px; line-height: 22px; }
.search-results span { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--gray-600); }
.search-results .search-empty { margin: 0; padding: 14px; font-size: 14px; color: var(--gray-600); }

/* ---------- Homepage: clients, proof, approach ---------- */

.clients {
  padding: var(--section-y) 0;
  background: var(--gray-200);
}
.clients-head { max-width: 860px; margin-bottom: 40px; }
.clients-head .section-heading { margin-bottom: 16px; }
.clients-head p:last-child { margin: 0; max-width: 680px; color: var(--gray-600); }
.client-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--gray-300);
  border: 1px solid var(--gray-300);
}
.client-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 124px;
  padding: 22px 24px;
  background: #fff;
}
.client-cta { text-decoration: none; background: var(--blue-800); }
.client-cta .client-name { color: #fff; }
.client-cta .client-sector { color: var(--hero-accent); }
.client-cta:hover .client-name { text-decoration: underline; text-underline-offset: 3px; }
.client-name {
  display: block;
  color: var(--blue-800);
  font-size: 19px;
  line-height: 23px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.client-sector {
  display: block;
  margin-top: 7px;
  color: var(--gray-500);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.client-note {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 18px;
}

.proof {
  padding: var(--section-y) 0;
  background: var(--blue-900);
  color: #fff;
}
.proof-head { max-width: 820px; margin-bottom: 40px; }
.proof-head .eyebrow { color: var(--blue-100); }
.proof-head .section-heading { color: #fff; margin-bottom: 16px; }
.proof-head p:last-child { margin: 0; max-width: 680px; color: #c8d7e6; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.proof-card {
  padding: 30px 32px 32px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .22);
}
.proof-card .proof-tag {
  display: block;
  margin-bottom: 18px;
  color: var(--hero-accent);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.proof-card h3 { margin: 0 0 10px; color: #fff; font-size: 24px; line-height: 30px; font-weight: 600; }
.proof-card p { margin: 0; color: #c8d7e6; font-size: 15px; line-height: 23px; }
.proof-note { margin: 24px 0 0; color: #93a9bd; font-size: 12px; line-height: 18px; }

.approach-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .22);
}
.approach-card { padding: 28px 26px; background: rgba(3, 21, 41, .18); }
.approach-card .approach-step {
  display: block;
  margin-bottom: 14px;
  color: var(--hero-accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
}
.approach-card h3 { margin: 0 0 10px; color: #fff; font-size: 21px; line-height: 26px; }
.approach-card p { margin: 0; color: #d5e2ee; font-size: 14px; line-height: 21px; }

.tech-note {
  margin: 26px 0 0;
  max-width: 900px;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 18px;
}

/* ---------- Interior: contact methods, partner tiles, roles ---------- */

body.page-interior .contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 50px;
  background: #d8d8d8;
  border: 1px solid #d8d8d8;
}
body.page-interior .contact-method {
  padding: 26px 28px;
  background: #fff;
}
body.page-interior .contact-method h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body.page-interior .contact-method p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--cc-body); }
body.page-interior .contact-method a { color: #000; text-decoration: none; }
body.page-interior .contact-method a:hover { color: var(--cc-blue); text-decoration: underline; text-underline-offset: 3px; }
body.page-interior .contact-method .small { margin-top: 6px; font-size: 14px; line-height: 1.45; color: #666; }

body.page-interior .main-hero .square .hero-sub {
  margin: 14px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
body.page-interior .contact-details {
  display: grid;
  gap: 18px;
  max-width: 360px;
  margin: 0;
}
body.page-interior .contact-details p { margin: 0; font-size: 17px; line-height: 1.55; }
body.page-interior .contact-details strong {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .78;
}
body.page-interior .contact-details a { color: #fff; text-decoration: none; }
body.page-interior .contact-details a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.page-interior .contact-hours {
  margin: 26px 0 0;
  max-width: 360px;
  font-size: 13px;
  line-height: 1.55;
  opacity: .82;
}

body.page-interior .partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 50px;
  background: #d8d8d8;
  border: 1px solid #d8d8d8;
}
body.page-interior .partner-tile {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 22px 20px;
  background: #fff;
  text-decoration: none;
  color: var(--cc-body);
}
body.page-interior .partner-tile:hover { background: #f6f6f6; }
body.page-interior .partner-tile .partner-name {
  color: #000;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
}
body.page-interior .partner-tile .partner-desc {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}
body.page-interior .partner-tile:hover .partner-name { color: var(--cc-blue); }

body.page-interior .role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 50px;
  background: #d8d8d8;
  border: 1px solid #d8d8d8;
}
body.page-interior .role-card { padding: 28px 26px; background: #fff; }
body.page-interior .role-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; }
body.page-interior .role-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cc-body); }
body.page-interior .role-card .role-tag {
  display: block;
  margin-bottom: 12px;
  color: var(--cc-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ---------- Interior: article / guide layout ---------- */

body.page-interior .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .03em;
  text-transform: uppercase;
}
body.page-interior .article-body { max-width: 860px; }
body.page-interior .article-body > h2 { margin-top: 48px; }
body.page-interior .article-body > h3 { margin-top: 36px; }
body.page-interior .article-body > p,
body.page-interior .article-body > ul,
body.page-interior .article-body > ol { max-width: 820px; }
body.page-interior .article-body li { margin-bottom: 10px; }
body.page-interior .article-body li:last-child { margin-bottom: 0; }
body.page-interior .article-lead { font-size: 21px; line-height: 1.5; color: #222; }
body.page-interior .key-takeaways {
  margin: 34px 0 44px;
  padding: 28px 32px;
  background: #f2f2f2;
  border-left: 4px solid var(--cc-orange);
}
body.page-interior .key-takeaways h2 {
  margin: 0 0 14px;
  padding: 0;
  font-size: 20px;
  line-height: 1.3;
}
body.page-interior .key-takeaways ul { margin: 0; padding-left: 20px; }
body.page-interior .key-takeaways li { margin-bottom: 10px; font-size: 16px; line-height: 1.5; }
body.page-interior .key-takeaways li:last-child { margin-bottom: 0; }
body.page-interior .article-note {
  margin: 36px 0;
  padding: 22px 26px;
  border: 1px solid #d8d8d8;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}
body.page-interior .article-note strong { color: #000; }
body.page-interior .article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 46px 0 0;
  padding: 30px 32px;
  background: var(--cc-dark-blue);
  color: #fff;
}
body.page-interior .article-cta h2 { margin: 0 0 8px; color: #fff; font-size: 26px; line-height: 1.2; }
body.page-interior .article-cta p { margin: 0; max-width: 580px; color: #d5e2ee; font-size: 15px; line-height: 1.5; }
body.page-interior .article-cta .btn { flex: none; color: #fff; border-color: #fff; }
body.page-interior .article-cta .btn:hover { background: #fff; color: var(--cc-dark-blue); }

/* ---------- Interior: careers / contact callouts ---------- */

body.page-interior .vacancy-note {
  margin: 0 0 44px;
  padding: 30px 32px;
  background: #f2f2f2;
  border-left: 4px solid var(--cc-blue);
}
body.page-interior .vacancy-note h2 { margin: 0 0 12px; padding: 0; font-size: 24px; line-height: 1.3; }
body.page-interior .vacancy-note p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; }
body.page-interior .vacancy-note p:last-child { margin-bottom: 0; }
body.page-interior .apply-list { margin: 0 0 40px; padding: 0; list-style: none; }
body.page-interior .apply-list li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid #d8d8d8;
  font-size: 16px;
  line-height: 1.5;
}
body.page-interior .apply-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--cc-orange);
}

/* ---------- Interior footer contact ---------- */

body.page-interior .site-footer .social .footer-contact {
  margin: 0 0 18px;
  text-align: right;
  font-size: 13px;
  line-height: 1.6;
  color: #454545;
}
body.page-interior .site-footer .social .footer-contact a { color: #000; text-decoration: none; }
body.page-interior .site-footer .social .footer-contact a:hover { color: var(--cc-blue); text-decoration: underline; }
.footer-contact-line { margin: 0 0 6px; font-size: 14px; line-height: 1.5; }
.footer-contact-line a { text-decoration: none; }
.footer-contact-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { margin: 0; color: var(--gray-500); font-size: 12px; line-height: 18px; }

/* Orange service-tab sections need light active labels and rules. */
body.page-interior .vertical-tabs-custom-fp-block.has-orange-background-color .tab { border-color: rgba(255, 255, 255, .45); }
body.page-interior .vertical-tabs-custom-fp-block.has-orange-background-color .tab.active button { color: #fff; }
body.page-interior .vertical-tabs-custom-fp-block.has-orange-background-color .tab button::after { border-color: #fff; }
body.page-interior .vertical-tabs-custom-fp-block.has-orange-background-color .tabs > .blurb h3 { color: #fff; }

body.page-interior .has-dark-blue-background-color .cc-form .cc-consent,
body.page-interior .has-dark-blue-background-color .cc-form .cc-consent a { color: #d5e2ee; }
body.page-interior .has-dark-blue-background-color .cc-submit { border-color: #fff; color: #fff; }
body.page-interior .has-dark-blue-background-color .cc-submit:hover { background: #fff; color: var(--blue-800); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .client-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .approach-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-interior .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-interior .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-interior .contact-methods { grid-template-columns: 1fr; }
  body.page-interior .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .who-tab { padding-right: 20px; font-size: 14px; line-height: 20px; }
  .who-tab.is-active::after { width: calc(100% - 20px); }
}

@media (max-width: 767px) {
  body.page-interior .header-contact { display: none; }
  #who-title br { display: none; }
  .brand img, body.page-interior .brand img { width: 150px; }
  .footer-brand img { width: 170px; }
  .clients { padding: 48px 0; }
  .clients-head { margin-bottom: 28px; }
  .client-tile { min-height: 100px; padding: 16px; }
  .client-name { font-size: 15px; line-height: 19px; }
  .client-sector { font-size: 9px; }
  .client-note { font-size: 11px; line-height: 16px; }
  .proof { padding: 48px 0; }
  .proof-card { padding: 24px 22px; }
  .proof-card h3 { font-size: 20px; line-height: 1.25; }
  .approach-cards { grid-template-columns: 1fr; }
  .tech-card { min-height: 180px; gap: 18px; }
  .who-panel { height: auto; min-height: 0; }
  body.page-interior .vertical-tabs-custom-fp-block .tab-panels { grid-column: 1; }
  body.page-interior .partner-grid { grid-template-columns: 1fr 1fr; }
  body.page-interior .partner-tile { min-height: 112px; padding: 16px; }
  body.page-interior .partner-tile .partner-name { font-size: 18px; }
  body.page-interior .partner-tile .partner-desc { font-size: 11px; }
  body.page-interior .role-grid { grid-template-columns: 1fr; }
  body.page-interior .article-lead { font-size: 18px; }
  body.page-interior .key-takeaways { padding: 22px 20px; }
  body.page-interior .article-cta { padding: 24px 22px; }
  body.page-interior .article-cta h2 { font-size: 22px; }
  body.page-interior .vacancy-note { padding: 24px 22px; }
  body.page-interior .site-footer .social .footer-contact { text-align: center; }
  .search-panel .search-results { left: 16px; right: 16px; }
}

@media (max-width: 479px) {
  .client-wall { grid-template-columns: 1fr 1fr; }
  .client-tile { min-height: 92px; padding: 14px 12px; }
  .client-name { font-size: 13px; line-height: 17px; }
  .client-sector { display: none; }
  body.page-interior .partner-grid { grid-template-columns: 1fr; }
}
