/*
Theme Name: USI Roofing Landing
Theme URI: https://www.usiroofing.com/
Author: Codex
Description: Custom WordPress landing page theme for USI Roofing with editable homepage content and a built-in quote request workflow.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: samekh-sos
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --sos-primary: #4A90C8;
  --sos-primary-dark: #2F6F9E;
  --sos-accent: #1F3F5A;
  --sos-highlight: #DDEEFE;
  --sos-ink: #142A3D;
  --sos-text: #4D6273;
  --sos-surface: #F3F9FF;
  --sos-surface-strong: #EAF4FE;
  --sos-white: #ffffff;
  --sos-border: #D4E5F3;
  --sos-shadow: 0 20px 55px rgba(20, 42, 61, 0.18);
  --sos-shadow-soft: 0 14px 35px rgba(20, 42, 61, 0.08);
  --sos-radius: 24px;
  --sos-radius-sm: 16px;
  --sos-max: 1220px;
  --sos-display: 'Manrope', sans-serif;
  --sos-body: 'Manrope', sans-serif;
  --sos-transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sos-body);
  color: var(--sos-text);
  background:
    radial-gradient(circle at top left, rgba(74, 144, 200, 0.14), transparent 24%),
    linear-gradient(180deg, #F6FBFF 0%, #ffffff 100%);
  line-height: 1.65;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sos-container {
  width: min(var(--sos-max), calc(100% - 32px));
  margin: 0 auto;
}

.sos-nav-hidden-link[hidden] {
  display: none !important;
}

.sos-section {
  padding: 88px 0;
}

.sos-title {
  margin: 0 0 14px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.sos-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--sos-primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: none;
}

.sos-kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  background: currentColor;
}

.sos-copy {
  font-size: 1.05rem;
  max-width: 720px;
}

.sos-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 32px rgba(47, 111, 158, 0.14);
  color: var(--sos-primary-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.sos-topbar {
  padding: 10px 0;
  background: var(--sos-primary);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.sos-topbar .sos-container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.sos-topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.sos-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(47, 111, 158, 0.08);
  box-shadow: 0 12px 30px rgba(10, 25, 48, 0.06);
}

.sos-header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 92px;
}

.sos-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sos-brand-logo {
  width: 76px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.sos-brand-copy strong,
.sos-brand-copy span {
  display: block;
}

.sos-brand-copy strong {
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: 1.18rem;
}

.sos-brand-copy span {
  font-size: 0.82rem;
  color: var(--sos-text);
  max-width: 320px;
}

.sos-nav {
  margin-left: auto;
}

.sos-nav .menu,
.sos-nav-fallback {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(47, 111, 158, 0.04);
  border: 1px solid rgba(47, 111, 158, 0.08);
  padding: 8px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.sos-nav a,
.sos-nav-fallback a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--sos-primary-dark);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: background var(--sos-transition), color var(--sos-transition), transform var(--sos-transition), box-shadow var(--sos-transition);
}

.sos-nav a:hover,
.sos-nav-fallback a:hover {
  background: var(--sos-white);
  color: var(--sos-primary-dark);
  box-shadow: 0 8px 18px rgba(47, 111, 158, 0.1);
  transform: translateY(-1px);
}

.sos-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 6px;
}

.sos-button,
.sos-button-outline,
.sos-booking-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--sos-transition), background var(--sos-transition), color var(--sos-transition), border-color var(--sos-transition);
}

.sos-button,
.sos-booking-form button {
  background: var(--sos-primary);
  color: var(--sos-white);
  box-shadow: 0 14px 26px rgba(74, 144, 200, 0.24);
}

.sos-button:hover,
.sos-booking-form button:hover {
  transform: translateY(-1px);
}

.sos-button-outline {
  border: 1px solid rgba(74, 144, 200, 0.18);
  color: var(--sos-primary-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 253, 0.98));
  box-shadow: 0 10px 24px rgba(47, 111, 158, 0.08);
}

.sos-button-outline:hover,
.sos-button:hover,
.sos-booking-form button:hover {
  transform: translateY(-1px);
}

.sos-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(74, 144, 200, 0.16);
  background: linear-gradient(180deg, #ffffff, #EDF6FD);
  box-shadow: 0 10px 22px rgba(47, 111, 158, 0.08);
}

.sos-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--sos-ink);
}

.sos-hero {
  padding: 44px 0 42px;
}

.sos-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 470px);
  gap: 34px;
  padding: 64px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(66, 23, 7, 0.9), rgba(36, 84, 118, 0.72)),
    var(--hero-image, linear-gradient(135deg, #16354E, #2F6F9E));
  color: var(--sos-white);
  box-shadow: var(--sos-shadow);
}

.sos-hero-card::after {
  content: '';
  position: absolute;
  inset: auto -60px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.sos-hero-content,
.sos-hero-form {
  position: relative;
  z-index: 1;
}

.sos-hero-content .sos-title {
  color: var(--sos-white);
  max-width: 680px;
}

.sos-hero-content .sos-kicker {
  color: rgba(255, 255, 255, 0.92);
}

.sos-hero-content .sos-kicker::before {
  background: rgba(255, 255, 255, 0.85);
}

.sos-hero-content p {
  max-width: 620px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.sos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}

.sos-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sos-pricing-promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 760px;
}

.sos-pricing-promise div {
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(26, 62, 90, 0.6), rgba(26, 62, 90, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(47, 111, 158, 0.16);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

.sos-pricing-promise strong {
  color: var(--sos-white);
  font-family: var(--sos-display);
  font-size: 1.02rem;
  line-height: 1.15;
}

.sos-pricing-promise span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sos-form-card,
.sos-card,
.sos-service-card,
.sos-testimonial,
.sos-pricing-card,
.sos-about-card,
.sos-contact-card,
.sos-map-card {
  background: var(--sos-white);
  border: 1px solid var(--sos-border);
  border-radius: var(--sos-radius);
  box-shadow: var(--sos-shadow-soft);
}

.sos-form-card {
  padding: 26px;
  color: var(--sos-text);
}

.sos-form-card h3 {
  margin: 0 0 6px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: 1.6rem;
}

.sos-form-card p {
  margin: 0 0 18px;
}

.sos-form-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.sos-form-step-indicator {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--sos-surface);
  color: var(--sos-text);
  font-size: 0.85rem;
  font-weight: 800;
}

.sos-form-step-indicator.is-active {
  background: var(--sos-primary);
  color: var(--sos-white);
}

.sos-form-panel {
  display: none;
}

.sos-form-panel.is-active {
  display: block;
}

.sos-booking-form .sos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sos-booking-form .sos-field-full {
  grid-column: 1 / -1;
}

.sos-booking-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--sos-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.sos-field-note {
  margin: -2px 0 8px;
  color: var(--sos-text);
  font-size: 0.88rem;
}

.sos-booking-form input,
.sos-booking-form select,
.sos-booking-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--sos-border);
  border-radius: 14px;
  background: #fbfffe;
  color: var(--sos-ink);
}

.sos-booking-form textarea {
  min-height: 110px;
  resize: vertical;
}

.sos-form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.sos-form-note,
.sos-form-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.sos-form-note {
  background: var(--sos-surface);
  color: var(--sos-text);
}

.sos-form-message.is-success {
  color: #0f5c48;
  background: #e6fbf2;
}

.sos-form-message.is-error {
  color: #8b3030;
  background: #fdeaea;
}

.sos-trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sos-card {
  padding: 22px;
}

.sos-card h3 {
  margin: 0 0 8px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: 1.2rem;
}

.sos-card p {
  margin: 0;
}

.sos-section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--sos-radius);
  background: linear-gradient(135deg, var(--sos-surface), var(--sos-surface-strong));
  border: 1px solid var(--sos-border);
}

.sos-section-cta p {
  margin: 0;
  color: var(--sos-ink);
  font-weight: 700;
}

.sos-before-after-grid,
.sos-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sos-values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.sos-before-after-card {
  border-radius: var(--sos-radius);
  border: 1px solid var(--sos-border);
  background: var(--sos-white);
  box-shadow: var(--sos-shadow-soft);
  overflow: hidden;
}

.sos-before-after-label {
  padding: 14px 18px;
  background: var(--sos-accent);
  color: var(--sos-white);
  font-family: var(--sos-display);
  font-weight: 700;
}

.sos-before-after-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--sos-text);
  background:
    linear-gradient(135deg, rgba(36, 84, 118, 0.1), rgba(36, 84, 118, 0.06)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(36, 84, 118, 0.04) 12px, rgba(36, 84, 118, 0.04) 24px);
}

.sos-stat-grid,
.sos-service-grid,
.sos-pricing-grid,
.sos-testimonial-grid,
.sos-about-grid,
.sos-contact-grid,
.sos-service-area-layout {
  display: grid;
  gap: 22px;
}

.sos-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sos-stat {
  padding: 28px;
  text-align: center;
}

.sos-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sos-primary-dark);
  font-family: var(--sos-display);
  font-size: clamp(2rem, 5vw, 3rem);
}

.sos-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sos-service-card {
  overflow: hidden;
}

.sos-service-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(36, 84, 118, 0.2), rgba(36, 84, 118, 0.12));
}

.sos-service-body {
  padding: 24px;
}

.sos-service-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.sos-service-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--sos-surface);
  color: var(--sos-primary-dark);
  font-size: 1.15rem;
}

.sos-price-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: #EAF5FE;
  color: #2D6D9C;
  font-size: 0.86rem;
  font-weight: 800;
}

.sos-service-card h3,
.sos-pricing-card h3,
.sos-testimonial h3,
.sos-about-card h3,
.sos-contact-card h3,
.sos-map-card h3 {
  margin: 0 0 10px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: 1.45rem;
}

.sos-checklist,
.sos-inline-list,
.sos-footer-links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.sos-checklist li,
.sos-inline-list li,
.sos-footer-links li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
}

.sos-checklist li::before,
.sos-inline-list li::before,
.sos-footer-links li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sos-highlight);
}

.sos-pricing-grid,
.sos-testimonial-grid,
.sos-about-grid,
.sos-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sos-pricing-card,
.sos-testimonial,
.sos-about-card,
.sos-contact-card,
.sos-map-card {
  padding: 26px;
}

.sos-testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
  color: #f5b938;
}

.sos-testimonial blockquote {
  margin: 0 0 14px;
  color: var(--sos-ink);
  font-size: 1.04rem;
  font-weight: 600;
}

.sos-testimonial cite {
  font-style: normal;
  color: var(--sos-text);
  font-weight: 700;
}

.sos-about-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.sos-service-area-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.sos-map-embed {
  overflow: hidden;
  border-radius: 18px;
  min-height: 330px;
  background: linear-gradient(135deg, rgba(36, 84, 118, 0.18), rgba(36, 84, 118, 0.08));
}

.sos-map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
}

.sos-contact-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

.sos-contact-card a {
  color: var(--sos-primary-dark);
  font-weight: 800;
}

.sos-footer {
  padding: 34px 0 48px;
}

.sos-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid var(--sos-border);
  background: var(--sos-white);
  box-shadow: var(--sos-shadow-soft);
}

.sos-footer-inner p {
  margin: 0;
}

.sos-floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: none;
}

.sos-floating-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--sos-primary);
  color: var(--sos-white);
  font-weight: 800;
  box-shadow: var(--sos-shadow);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1140px) {
  .sos-hero-card,
  .sos-service-area-layout,
  .sos-about-grid {
    grid-template-columns: 1fr;
  }

  .sos-service-grid,
  .sos-pricing-grid,
  .sos-testimonial-grid,
  .sos-contact-grid,
  .sos-trust-strip,
  .sos-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .sos-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .sos-nav,
  .sos-header-actions {
    display: none;
  }

  .sos-header.is-open .sos-nav,
  .sos-header.is-open .sos-header-actions {
    display: block;
    width: 100%;
  }

  .sos-header.is-open .sos-header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 18px 0;
  }

  .sos-header.is-open .sos-nav .menu,
  .sos-header.is-open .sos-nav-fallback {
    flex-direction: column;
    align-items: stretch;
  }

  .sos-header.is-open .sos-header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .sos-hero-card {
    padding: 36px 22px;
  }

  .sos-section-cta,
  .sos-before-after-grid,
  .sos-values-grid {
    grid-template-columns: 1fr;
  }

  .sos-section-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .sos-section {
    padding: 70px 0;
  }

  .sos-topbar .sos-container,
  .sos-hero-actions,
  .sos-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sos-service-grid,
  .sos-pricing-grid,
  .sos-testimonial-grid,
  .sos-about-grid,
  .sos-contact-grid,
  .sos-trust-strip,
  .sos-stat-grid,
  .sos-booking-form .sos-grid {
    grid-template-columns: 1fr;
  }

  .sos-form-steps {
    flex-direction: column;
  }

  .sos-floating-cta {
    display: block;
  }
}

.sos-brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--sos-primary-dark);
  letter-spacing: 0.08em;
}

.sos-hero-card {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 470px);
  background:
    linear-gradient(135deg, rgba(47, 111, 158, 0.88), rgba(36, 84, 118, 0.72)),
    var(--hero-image, linear-gradient(135deg, #16354E, #2F6F9E));
}

.sos-pricing-promise div {
  background: linear-gradient(180deg, rgba(26, 62, 90, 0.6), rgba(26, 62, 90, 0.34));
}

.sos-section-tight {
  padding-top: 36px;
}

.sos-hero-stats,
.sos-sector-grid,
.sos-resource-grid,
.sos-project-grid,
.sos-process-grid {
  display: grid;
  gap: 20px;
}

.sos-hero-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
  max-width: 760px;
}

.sos-hero-stat {
  min-height: 156px;
  padding: 22px 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.sos-hero-stat strong {
  display: block;
  color: var(--sos-white);
  font-family: var(--sos-display);
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 14px;
}

.sos-hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.45;
  max-width: 11ch;
}

.sos-sector-grid,
.sos-resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sos-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sos-process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sos-sector-card,
.sos-project-card,
.sos-process-card {
  border-radius: var(--sos-radius);
  border: 1px solid var(--sos-border);
  background: var(--sos-white);
  box-shadow: var(--sos-shadow-soft);
  overflow: hidden;
}

.sos-sector-card,
.sos-process-card {
  padding: 28px;
}

.sos-sector-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--sos-primary);
  color: var(--sos-white);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.sos-sector-card h3,
.sos-project-body h3,
.sos-process-card h3,
.sos-footer-grid h3 {
  margin: 0 0 8px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: 1.25rem;
}

.sos-sector-card p,
.sos-project-body p,
.sos-process-card p {
  margin: 0 0 14px;
}

.sos-sector-card a,
.sos-contact-card a {
  color: var(--sos-primary);
}

.sos-process-section {
  background:
    radial-gradient(circle at top right, rgba(74, 144, 200, 0.18), transparent 28%),
    linear-gradient(180deg, #142A3D 0%, #224D6E 100%);
}

.sos-process-section .sos-kicker,
.sos-process-section .sos-title,
.sos-process-section .sos-process-card h3 {
  color: var(--sos-white);
}

.sos-process-section .sos-kicker::before {
  background: rgba(255, 255, 255, 0.8);
}

.sos-process-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.sos-process-card p {
  color: rgba(255, 255, 255, 0.78);
}

.sos-process-number {
  margin-bottom: 18px;
  font-family: var(--sos-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #BEDCF3;
}

.sos-project-image {
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(47, 111, 158, 0.7), rgba(36, 84, 118, 0.24)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.sos-project-body {
  padding: 24px;
}

.sos-audience-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.sos-audience-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sos-surface);
  color: var(--sos-ink);
  font-weight: 700;
}

.sos-footer {
  background: linear-gradient(180deg, #142A3D 0%, #16354E 100%);
  color: rgba(255, 255, 255, 0.86);
}

.sos-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: 26px;
  padding: 42px 0 22px;
}

.sos-footer-brand {
  margin-bottom: 10px;
  color: var(--sos-white);
  font-family: var(--sos-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.sos-footer-grid p {
  margin: 0 0 10px;
}

.sos-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sos-footer-links li {
  margin-bottom: 10px;
}

.sos-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sos-footer-bottom p {
  margin: 0;
}

@media (max-width: 1140px) {
  .sos-sector-grid,
  .sos-resource-grid,
  .sos-process-grid,
  .sos-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sos-project-grid,
  .sos-values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .sos-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sos-pricing-promise {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sos-sector-grid,
  .sos-resource-grid,
  .sos-project-grid,
  .sos-process-grid,
  .sos-footer-grid,
  .sos-hero-stats,
  .sos-values-grid {
    grid-template-columns: 1fr;
  }

  .sos-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.sos-page-main {
  padding-bottom: 30px;
}

.sos-page-hero {
  padding-top: 52px;
  padding-bottom: 28px;
}

.sos-page-hero-card {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  border: 1px solid var(--sos-border);
  background: var(--sos-white);
  box-shadow: var(--sos-shadow-soft);
}

.sos-page-hero-card .sos-title {
  margin-bottom: 12px;
}

.sos-page-lead {
  margin: 0;
  max-width: 72ch;
  color: var(--sos-text);
  font-size: 1.04rem;
  line-height: 1.7;
}

.sos-page-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.sos-page-content-section {
  padding-top: 8px;
  padding-bottom: 18px;
}

.sos-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.sos-page-shell-single {
  grid-template-columns: minmax(0, 1fr);
}

.sos-page-content {
  padding: clamp(18px, 2.5vw, 28px);
}

.sos-page-content > *:first-child {
  margin-top: 0;
}

.sos-page-content > *:last-child {
  margin-bottom: 0;
}

.sos-page-content p,
.sos-page-content li {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--sos-text);
}

.sos-page-content h2,
.sos-page-content h3,
.sos-page-content h4 {
  margin-top: 1.15em;
  margin-bottom: 0.35em;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  line-height: 1.2;
}

.sos-page-content h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.sos-page-content h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
}

.sos-page-content ul,
.sos-page-content ol {
  margin: 0.65rem 0 0.9rem;
  padding-left: 1.2rem;
}

.sos-page-content li + li {
  margin-top: 0.38rem;
}

.sos-page-content strong {
  color: var(--sos-ink);
}

.sos-page-content a {
  color: var(--sos-primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sos-page-content blockquote {
  margin: 1.1rem 0;
  padding: 14px 16px;
  border-left: 4px solid var(--sos-primary);
  border-radius: 12px;
  background: var(--sos-surface);
}

.sos-page-content .sos-button {
  margin-top: 6px;
  text-decoration: none;
}

.sos-page-main .sos-section-tight {
  padding-top: 10px;
}

.sos-page-main .sos-section + .sos-section::before {
  width: min(1180px, calc(100% - 32px));
}

.sos-page-main .sos-section-cta {
  margin-top: 8px;
  padding: 18px 22px;
  gap: 12px;
}

.sos-page-content .wp-block-image,
.sos-page-content .wp-block-gallery,
.sos-page-content figure,
.sos-page-content img {
  display: none !important;
}

.sos-page-sidebar {
  position: sticky;
  top: 112px;
  padding: 24px;
}

.sos-page-sidebar h3 {
  margin: 0 0 10px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: 1.22rem;
}

.sos-page-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sos-page-link-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--sos-ink);
  font-weight: 700;
  border: 1px solid transparent;
  background: var(--sos-surface);
  transition: border-color var(--sos-transition), background var(--sos-transition), transform var(--sos-transition);
}

.sos-page-link-list a:hover {
  border-color: var(--sos-border);
  background: var(--sos-white);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .sos-page-shell {
    grid-template-columns: 1fr;
  }

  .sos-page-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .sos-page-hero-actions {
    width: 100%;
  }

  .sos-page-hero-actions .sos-button,
  .sos-page-hero-actions .sos-button-outline {
    width: 100%;
  }
}

/* Premium minimalist UI refresh (content + structure preserved) */
:root {
  --sos-section-space: clamp(70px, 9vw, 110px);
  --sos-grid-gap: clamp(16px, 2vw, 24px);
  --sos-radius-lg: 28px;
}

body {
  font-size: clamp(15px, 0.28vw + 14px, 17px);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1000px 520px at 0% -12%, rgba(74, 144, 200, 0.08), transparent 50%),
    linear-gradient(180deg, #fffaf7 0%, #ffffff 58%);
}

.sos-section {
  padding: var(--sos-section-space) 0;
}

.sos-section + .sos-section {
  position: relative;
}

.sos-section + .sos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  transform: translateX(-50%);
  border-top: 1px solid rgba(47, 111, 158, 0.1);
}

.sos-title {
  margin-bottom: 16px;
  font-size: clamp(1.95rem, 3.3vw, 3.2rem);
  line-height: 1.08;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

.sos-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sos-topbar a {
  opacity: 0.9;
  transition: opacity var(--sos-transition);
}

.sos-topbar a:hover {
  opacity: 1;
}

.sos-header {
  width: 100%;
  border-bottom: 1px solid rgba(47, 111, 158, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.sos-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(20, 42, 61, 0.1);
}

.sos-header-inner {
  min-height: 86px;
  gap: 14px;
}

.sos-nav .menu,
.sos-nav-fallback {
  gap: 6px;
  padding: 6px;
  background: rgba(243, 249, 255, 0.78);
}

.sos-nav a,
.sos-nav-fallback a {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.93rem;
}

.sos-button,
.sos-button-outline,
.sos-booking-form button {
  border-radius: 14px;
  font-size: 0.96rem;
  padding: 14px 22px;
  letter-spacing: 0.01em;
}

.sos-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(74, 144, 200, 0.22);
}

.sos-button:hover,
.sos-booking-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(74, 144, 200, 0.24);
}

.sos-button:active,
.sos-booking-form button:active {
  transform: translateY(0);
}

.sos-button-outline {
  background: #fff;
  border: 1px solid rgba(74, 144, 200, 0.28);
  box-shadow: none;
}

.sos-button-outline:hover {
  border-color: rgba(74, 144, 200, 0.48);
  background: #F2F8FE;
}

.sos-hero {
  padding-top: 38px;
}

.sos-hero-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--sos-radius-lg);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(26px, 4.5vw, 62px);
}

.sos-hero-content .sos-title {
  max-width: 18ch;
}

.sos-hero-content p {
  max-width: 60ch;
  font-size: 1.02rem;
}

.sos-form-card,
.sos-card,
.sos-service-card,
.sos-testimonial,
.sos-pricing-card,
.sos-about-card,
.sos-contact-card,
.sos-map-card,
.sos-sector-card,
.sos-project-card,
.sos-process-card,
.sos-page-content,
.sos-page-sidebar,
.sos-page-hero-card {
  border-radius: 22px;
  border: 1px solid rgba(47, 111, 158, 0.12);
  box-shadow: 0 14px 34px rgba(20, 42, 61, 0.08);
}

.sos-card,
.sos-pricing-card,
.sos-testimonial,
.sos-about-card,
.sos-contact-card,
.sos-map-card {
  transition: transform var(--sos-transition), box-shadow var(--sos-transition), border-color var(--sos-transition);
}

.sos-card:hover,
.sos-pricing-card:hover,
.sos-testimonial:hover,
.sos-about-card:hover,
.sos-contact-card:hover,
.sos-map-card:hover,
.sos-service-card:hover,
.sos-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 111, 158, 0.2);
  box-shadow: 0 18px 40px rgba(20, 42, 61, 0.12);
}

.sos-trust-strip,
.sos-service-grid,
.sos-pricing-grid,
.sos-testimonial-grid,
.sos-about-grid,
.sos-contact-grid,
.sos-sector-grid,
.sos-resource-grid,
.sos-project-grid,
.sos-process-grid,
.sos-values-grid {
  gap: var(--sos-grid-gap);
}

.sos-booking-form input,
.sos-booking-form select,
.sos-booking-form textarea {
  border-radius: 12px;
  background: #fff;
  transition: border-color var(--sos-transition), box-shadow var(--sos-transition);
}

.sos-booking-form input:focus,
.sos-booking-form select:focus,
.sos-booking-form textarea:focus {
  outline: none;
  border-color: rgba(74, 144, 200, 0.42);
  box-shadow: 0 0 0 3px rgba(74, 144, 200, 0.14);
}

.sos-form-step-indicator {
  border: 1px solid rgba(47, 111, 158, 0.08);
}

.sos-form-step-indicator.is-active {
  box-shadow: 0 8px 18px rgba(74, 144, 200, 0.22);
}

.sos-section-cta {
  border-radius: 20px;
  padding: 24px;
  gap: 16px;
}

.sos-process-section {
  position: relative;
  overflow: hidden;
}

.sos-process-section::before {
  content: '';
  position: absolute;
  inset: auto -90px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.sos-process-grid {
  position: relative;
  z-index: 1;
}

.sos-footer {
  padding-top: 46px;
}

.sos-footer-grid {
  gap: 30px;
}

.sos-footer-links a {
  opacity: 0.9;
  transition: opacity var(--sos-transition), color var(--sos-transition);
}

.sos-footer-links a:hover {
  opacity: 1;
  color: #fff;
}

.sos-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.sos-footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: transform var(--sos-transition), background var(--sos-transition), border-color var(--sos-transition);
}

.sos-footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
}

.sos-floating-cta a {
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 14px 28px rgba(20, 42, 61, 0.26);
}

.sos-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.sos-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sos-logo-wall,
.sos-tools-grid {
  display: grid;
  gap: 14px;
}

.sos-logo-wall {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sos-logo-chip {
  min-height: 66px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--sos-border);
  background: var(--sos-white);
  color: var(--sos-ink);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: var(--sos-shadow-soft);
}

.sos-tools-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sos-tool-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--sos-border);
  background: var(--sos-white);
  box-shadow: var(--sos-shadow-soft);
}

.sos-tool-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--sos-surface);
  color: var(--sos-primary-dark);
  font-size: 1.2rem;
}

.sos-tool-card h3 {
  margin: 0 0 8px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: 1.18rem;
}

.sos-tool-card p {
  margin: 0;
  color: var(--sos-text);
}

.sos-manufacturers-section .sos-container,
.sos-transparency-section .sos-container {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.6vw, 36px);
  border-radius: 26px;
  border: 1px solid rgba(47, 111, 158, 0.18);
  background:
    radial-gradient(circle at top right, rgba(74, 144, 200, 0.13), transparent 48%),
    radial-gradient(circle at bottom left, rgba(74, 144, 200, 0.08), transparent 42%),
    var(--sos-white);
  box-shadow: 0 18px 36px rgba(20, 42, 61, 0.1);
}

.sos-manufacturers-section .sos-container::after,
.sos-transparency-section .sos-container::after {
  content: '';
  position: absolute;
  right: -44px;
  top: -44px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(74, 144, 200, 0.1);
  pointer-events: none;
}

.sos-manufacturers-section .sos-title,
.sos-transparency-section .sos-title {
  position: relative;
  z-index: 1;
  max-width: 22ch;
}

.sos-manufacturers-section .sos-logo-wall {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sos-manufacturers-section .sos-logo-chip {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(47, 111, 158, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.94));
  color: #1c4565;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(20, 42, 61, 0.08);
  transition: transform var(--sos-transition), box-shadow var(--sos-transition), border-color var(--sos-transition);
}

.sos-manufacturers-section .sos-logo-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 111, 158, 0.42);
  box-shadow: 0 16px 30px rgba(20, 42, 61, 0.14);
}

.sos-transparency-section .sos-tools-grid {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  gap: 16px;
}

.sos-transparency-section .sos-tool-card {
  padding: 24px 22px;
  border-radius: 16px;
  border: 1px solid rgba(47, 111, 158, 0.2);
  background: linear-gradient(180deg, #ffffff, #f2f8fe);
  box-shadow: 0 14px 28px rgba(20, 42, 61, 0.1);
  transition: transform var(--sos-transition), box-shadow var(--sos-transition), border-color var(--sos-transition);
}

.sos-transparency-section .sos-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 111, 158, 0.38);
  box-shadow: 0 18px 34px rgba(20, 42, 61, 0.14);
}

.sos-transparency-section .sos-tool-card h3 {
  margin-bottom: 10px;
  color: #173c5a;
  font-size: 1.14rem;
}

.sos-transparency-section .sos-tool-card p {
  color: #4b6274;
  line-height: 1.68;
}

.sos-transparency-section .sos-tool-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ecf6ff, #dcebfb);
  box-shadow:
    inset 0 0 0 1px rgba(47, 111, 158, 0.2),
    0 10px 16px rgba(20, 42, 61, 0.12);
}

@media (max-width: 920px) {
  .sos-topbar {
    font-size: 0.86rem;
  }

  .sos-header.is-open .sos-nav .menu,
  .sos-header.is-open .sos-nav-fallback {
    gap: 6px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 200, 0.14);
    background: #fff;
  }

  .sos-header.is-open .sos-nav a,
  .sos-header.is-open .sos-nav-fallback a {
    border-radius: 12px;
    background: #F2F8FE;
  }

  .sos-header.is-open .sos-header-actions {
    gap: 10px;
    padding: 8px 0 0;
  }

  .sos-manufacturers-section .sos-container,
  .sos-transparency-section .sos-container {
    padding: 18px;
  }

  .sos-logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sos-tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sos-section {
    padding: 58px 0;
  }

  .sos-title {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .sos-topbar {
    display: none;
  }

  .sos-header-inner {
    min-height: 76px;
  }

  .sos-hero-card {
    border-radius: 22px;
  }

  .sos-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sos-footer {
    padding-top: 34px;
  }

  .sos-footer-bottom {
    padding-bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sos-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Positional refresh: same palette, modern div layout */
.sos-hero-card {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: start;
}

.sos-hero-content {
  padding-right: clamp(0px, 2vw, 24px);
}

.sos-hero-form {
  margin-top: 24px;
}

.sos-trust-strip {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sos-trust-strip .sos-card {
  grid-column: span 3;
}

.sos-trust-strip .sos-card:nth-child(1),
.sos-trust-strip .sos-card:nth-child(5) {
  grid-column: span 6;
}

.sos-service-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sos-service-grid .sos-service-card {
  grid-column: span 4;
}

.sos-service-grid .sos-service-card:nth-child(1),
.sos-service-grid .sos-service-card:nth-child(2) {
  grid-column: span 6;
}

.sos-service-grid .sos-service-card:nth-child(3n + 2) {
  transform: translateY(14px);
}

.sos-process-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sos-process-grid .sos-process-card {
  grid-column: span 4;
}

.sos-process-grid .sos-process-card:nth-child(1),
.sos-process-grid .sos-process-card:nth-child(2) {
  grid-column: span 6;
}

.sos-project-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sos-project-grid .sos-project-card {
  grid-column: span 6;
}

.sos-project-grid .sos-project-card:nth-child(3) {
  grid-column: span 7;
}

.sos-project-grid .sos-project-card:nth-child(4) {
  grid-column: span 5;
}

.sos-about-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sos-about-grid .sos-about-card:first-child {
  grid-column: span 6;
}

.sos-about-grid .sos-about-card:nth-child(2),
.sos-about-grid .sos-about-card:nth-child(3) {
  grid-column: span 3;
}

.sos-service-area-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 26px;
}

.sos-service-area-layout .sos-map-card:last-child {
  transform: translateY(22px);
}

.sos-contact-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.sos-contact-grid .sos-contact-card {
  grid-column: span 4;
}

.sos-contact-grid .sos-contact-card:nth-child(2) {
  transform: translateY(-10px);
}

@media (max-width: 1140px) {
  .sos-trust-strip .sos-card,
  .sos-trust-strip .sos-card:nth-child(1),
  .sos-trust-strip .sos-card:nth-child(5),
  .sos-service-grid .sos-service-card,
  .sos-service-grid .sos-service-card:nth-child(1),
  .sos-service-grid .sos-service-card:nth-child(2),
  .sos-process-grid .sos-process-card,
  .sos-process-grid .sos-process-card:nth-child(1),
  .sos-process-grid .sos-process-card:nth-child(2),
  .sos-project-grid .sos-project-card,
  .sos-project-grid .sos-project-card:nth-child(3),
  .sos-project-grid .sos-project-card:nth-child(4),
  .sos-about-grid .sos-about-card:first-child,
  .sos-about-grid .sos-about-card:nth-child(2),
  .sos-about-grid .sos-about-card:nth-child(3),
  .sos-contact-grid .sos-contact-card {
    grid-column: span 6;
  }

  .sos-service-grid .sos-service-card:nth-child(3n + 2),
  .sos-contact-grid .sos-contact-card:nth-child(2),
  .sos-service-area-layout .sos-map-card:last-child {
    transform: none;
  }
}

@media (max-width: 760px) {
  .sos-hero-card {
    grid-template-columns: 1fr;
  }

  .sos-trust-strip,
  .sos-service-grid,
  .sos-process-grid,
  .sos-project-grid,
  .sos-about-grid,
  .sos-contact-grid {
    grid-template-columns: 1fr;
  }

  .sos-trust-strip .sos-card,
  .sos-trust-strip .sos-card:nth-child(1),
  .sos-trust-strip .sos-card:nth-child(5),
  .sos-service-grid .sos-service-card,
  .sos-service-grid .sos-service-card:nth-child(1),
  .sos-service-grid .sos-service-card:nth-child(2),
  .sos-process-grid .sos-process-card,
  .sos-process-grid .sos-process-card:nth-child(1),
  .sos-process-grid .sos-process-card:nth-child(2),
  .sos-project-grid .sos-project-card,
  .sos-project-grid .sos-project-card:nth-child(3),
  .sos-project-grid .sos-project-card:nth-child(4),
  .sos-about-grid .sos-about-card:first-child,
  .sos-about-grid .sos-about-card:nth-child(2),
  .sos-about-grid .sos-about-card:nth-child(3),
  .sos-contact-grid .sos-contact-card {
    grid-column: auto;
  }

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

/* Front-page proof section (reference-inspired) */
.sos-proof-process {
  padding-top: 34px;
}

.sos-proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.sos-proof-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.sos-proof-image {
  border-radius: 16px;
  min-height: 230px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(47, 111, 158, 0.22);
  box-shadow: 0 14px 30px rgba(20, 42, 61, 0.12);
}

.sos-proof-image-a {
  grid-column: 1 / span 9;
  min-height: 300px;
}

.sos-proof-image-b {
  grid-column: 1 / span 5;
  min-height: 245px;
}

.sos-proof-image-c {
  grid-column: 6 / span 7;
  min-height: 245px;
}

.sos-proof-badge {
  position: absolute;
  left: clamp(160px, 25%, 220px);
  top: clamp(210px, 40%, 262px);
  width: clamp(128px, 11vw, 154px);
  height: clamp(128px, 11vw, 154px);
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-align: center;
  align-content: center;
  padding: 10px;
  color: var(--sos-white);
  background: var(--sos-primary);
  box-shadow: 0 16px 30px rgba(47, 111, 158, 0.26);
}

.sos-proof-badge strong {
  display: block;
  font-family: var(--sos-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1;
}

.sos-proof-badge span {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sos-proof-note {
  grid-column: 6 / -1;
  margin: 0;
  color: var(--sos-text);
  font-size: 1rem;
  line-height: 1.58;
}

.sos-proof-content .sos-title {
  max-width: 11ch;
  text-transform: uppercase;
}

.sos-proof-steps {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sos-proof-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sos-ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sos-proof-step-number {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid var(--sos-primary);
  background: #102538;
  color: #fff;
  font-family: var(--sos-display);
  font-size: 1.02rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .sos-proof-layout {
    grid-template-columns: 1fr;
  }

  .sos-proof-badge {
    right: 14px;
    left: auto;
    top: 216px;
  }
}

@media (max-width: 760px) {
  .sos-proof-visual {
    grid-template-columns: 1fr;
  }

  .sos-proof-image-a,
  .sos-proof-image-b,
  .sos-proof-image-c,
  .sos-proof-note {
    grid-column: auto;
  }

  .sos-proof-image-a,
  .sos-proof-image-b,
  .sos-proof-image-c {
    min-height: 210px;
  }

  .sos-proof-badge {
    position: static;
    margin: -16px auto 8px;
    width: 130px;
    height: 130px;
  }

  .sos-proof-content .sos-title {
    max-width: 100%;
  }
}

/* Hero section polish: cleaner hierarchy and better sub-div alignment */
.sos-hero .sos-hero-card {
  position: relative;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
  padding: clamp(24px, 4vw, 56px);
  background: var(--hero-image, #16354E);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sos-hero .sos-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(11, 31, 47, 0.52);
  z-index: 0;
}

.sos-hero .sos-hero-card::after {
  display: none;
}

.sos-hero .sos-hero-content,
.sos-hero .sos-hero-form {
  position: relative;
  z-index: 1;
}

.sos-hero .sos-hero-content {
  display: grid;
  gap: 16px;
  padding-right: clamp(0px, 1.5vw, 16px);
}

.sos-hero .sos-hero-content .sos-title {
  max-width: 17ch;
  margin: 0;
}

.sos-hero .sos-hero-content p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.sos-hero .sos-hero-actions {
  margin: 4px 0 2px;
}

.sos-hero .sos-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sos-hero .sos-pricing-promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
  max-width: 760px;
}

.sos-hero .sos-pricing-promise div {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 142px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.sos-hero .sos-pricing-promise strong {
  color: var(--sos-white);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.sos-hero .sos-pricing-promise span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sos-hero .sos-hero-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
  max-width: 760px;
}

.sos-hero .sos-hero-stat {
  min-height: 132px;
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(2px);
}

.sos-hero .sos-hero-stat strong {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 2vw, 1.95rem);
}

.sos-hero .sos-hero-stat span {
  font-size: 0.92rem;
  max-width: none;
}

.sos-hero .sos-hero-form {
  margin-top: clamp(4px, 1vw, 12px);
}

@media (max-width: 1100px) {
  .sos-hero .sos-pricing-promise {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sos-hero .sos-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sos-hero .sos-hero-card {
    grid-template-columns: 1fr;
  }

  .sos-hero .sos-pricing-promise,
  .sos-hero .sos-hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Trust badge section refresh */
.sos-section-tight .sos-trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.sos-section-tight .sos-trust-strip .sos-card,
.sos-section-tight .sos-trust-strip .sos-card:nth-child(1),
.sos-section-tight .sos-trust-strip .sos-card:nth-child(5) {
  grid-column: auto;
  position: relative;
  min-height: 0;
  padding: 24px 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(74, 144, 200, 0.18);
  box-shadow: 0 10px 28px rgba(20, 42, 61, 0.08);
  transition: transform var(--sos-transition), box-shadow var(--sos-transition), border-color var(--sos-transition);
}

.sos-section-tight .sos-trust-strip .sos-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--sos-primary);
  opacity: 0.85;
}

.sos-section-tight .sos-trust-strip .sos-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 144, 200, 0.34);
  box-shadow: 0 16px 32px rgba(20, 42, 61, 0.12);
}

.sos-section-tight .sos-trust-strip .sos-card h3 {
  margin: 0 0 10px;
  padding-right: 8px;
  font-size: clamp(1.26rem, 1.55vw, 1.52rem);
  line-height: 1.3;
}

.sos-section-tight .sos-trust-strip .sos-card p {
  margin: 0;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.62;
  color: #4f6377;
}

@media (max-width: 1100px) {
  .sos-section-tight .sos-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sos-section-tight .sos-trust-strip {
    grid-template-columns: 1fr;
  }
}

/* About section refresh */
#about .sos-kicker {
  margin-bottom: 8px;
}

#about .sos-title {
  max-width: 24ch;
  margin-bottom: 22px;
}

#about .sos-about-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

#about .sos-about-card {
  position: relative;
  overflow: hidden;
  padding: 24px 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(74, 144, 200, 0.2);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(20, 42, 61, 0.08);
}

#about .sos-about-card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 62px;
  height: 3px;
  border-radius: 999px;
  background: var(--sos-primary);
  opacity: 0.86;
}

#about .sos-about-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.22rem, 1.45vw, 1.44rem);
  line-height: 1.28;
}

#about .sos-about-card p {
  margin: 0;
  font-size: 0.99rem;
  line-height: 1.64;
  color: #4f6377;
  max-width: 54ch;
}

#about .sos-about-grid .sos-about-card:first-child {
  grid-column: span 12;
  min-height: 0;
}

#about .sos-about-grid .sos-about-card:nth-child(2),
#about .sos-about-grid .sos-about-card:nth-child(3) {
  grid-column: span 6;
}

#about .sos-values-grid {
  margin-top: 18px;
  gap: 14px;
}

#about .sos-values-grid .sos-card {
  padding: 20px 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(74, 144, 200, 0.16);
  box-shadow: 0 8px 20px rgba(20, 42, 61, 0.06);
}

#about .sos-values-grid .sos-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

#about .sos-values-grid .sos-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  #about .sos-about-grid .sos-about-card:nth-child(2),
  #about .sos-about-grid .sos-about-card:nth-child(3) {
    grid-column: span 12;
  }
}

/* Landing page wide polish: consistent modern style across all sections */
.home .sos-section {
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

.home .sos-section.sos-section-tight {
  padding-top: clamp(28px, 4vw, 42px);
}

.home .sos-kicker {
  margin-bottom: 10px;
}

.home .sos-title {
  max-width: 22ch;
  margin: 0 0 14px;
}

.home .sos-copy {
  max-width: 64ch;
  margin-bottom: 22px;
}

.home .sos-service-grid,
.home .sos-process-grid,
.home .sos-project-grid,
.home .sos-pricing-grid,
.home .sos-resource-grid,
.home .sos-testimonial-grid,
.home .sos-contact-grid,
.home .sos-service-area-layout {
  gap: 18px;
}

.home .sos-card,
.home .sos-service-card,
.home .sos-process-card,
.home .sos-project-card,
.home .sos-pricing-card,
.home .sos-testimonial,
.home .sos-contact-card,
.home .sos-map-card,
.home .sos-tool-card,
.home .sos-about-card {
  border-radius: 20px;
  border: 1px solid rgba(74, 144, 200, 0.17);
  box-shadow: 0 12px 28px rgba(20, 42, 61, 0.08);
  background: #fff;
}

.home .sos-service-card:hover,
.home .sos-process-card:hover,
.home .sos-project-card:hover,
.home .sos-pricing-card:hover,
.home .sos-testimonial:hover,
.home .sos-contact-card:hover,
.home .sos-tool-card:hover,
.home .sos-about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 144, 200, 0.32);
  box-shadow: 0 18px 34px rgba(20, 42, 61, 0.12);
}

.home .sos-service-body,
.home .sos-project-body {
  padding: 22px;
}

.home .sos-service-card h3,
.home .sos-process-card h3,
.home .sos-project-card h3,
.home .sos-pricing-card h3,
.home .sos-testimonial h3,
.home .sos-contact-card h3,
.home .sos-tool-card h3 {
  margin: 0 0 10px;
  line-height: 1.3;
}

.home .sos-service-card p,
.home .sos-process-card p,
.home .sos-project-card p,
.home .sos-pricing-card p,
.home .sos-resource-grid .sos-card p,
.home .sos-testimonial blockquote,
.home .sos-contact-card p,
.home .sos-tool-card p {
  color: #4f6377;
  line-height: 1.62;
}

.home .sos-project-image {
  min-height: 210px;
}

.home .sos-logo-wall {
  gap: 12px;
}

.home .sos-logo-chip {
  border-radius: 14px;
  border: 1px solid rgba(74, 144, 200, 0.2);
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 42, 61, 0.06);
}

.home .sos-tools-grid {
  gap: 16px;
}

.home .sos-tool-card {
  padding: 22px;
}

.home .sos-tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ecf5fd;
  color: var(--sos-primary);
}

.home .sos-values-grid {
  gap: 14px;
}

.home .sos-map-embed {
  border-radius: 16px;
}

@media (max-width: 1140px) {
  .home .sos-section {
    padding-top: clamp(42px, 6vw, 64px);
    padding-bottom: clamp(42px, 6vw, 64px);
  }

  .home .sos-title {
    max-width: 100%;
  }
}

/* Projects section (reference-inspired) */
.home #projects .sos-projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.home #projects .sos-kicker {
  color: var(--sos-primary);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home #projects .sos-title {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.home #projects .sos-projects-nav {
  display: flex;
  gap: 8px;
}

.home #projects .sos-projects-nav button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 2px;
  background: #15151a;
  color: #fff;
  font-size: 1rem;
}

.home #projects .sos-project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home #projects .sos-project-card,
.home #projects .sos-project-card:nth-child(3),
.home #projects .sos-project-card:nth-child(4) {
  grid-column: auto;
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  transform: none;
}

.home #projects .sos-project-card:hover {
  transform: none;
  box-shadow: none;
}

.home #projects .sos-project-image {
  position: relative;
  min-height: 350px;
  border-radius: 0;
  border: 0;
  background-size: cover;
  background-position: center;
}

.home #projects .sos-project-image::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 160px;
  height: 160px;
  border-top: 16px solid var(--sos-primary);
  border-left: 16px solid var(--sos-primary);
  pointer-events: none;
}

.home #projects .sos-project-body {
  padding: 12px 0 0;
}

.home #projects .sos-project-body h3 {
  position: relative;
  margin: 0;
  padding-top: 14px;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  line-height: 1.2;
}

.home #projects .sos-project-body h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 4px;
  border-radius: 2px;
  background: var(--sos-primary);
}

.home #projects .sos-projects-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.home #projects .sos-projects-cta .sos-button {
  min-width: 240px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .home #projects .sos-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home #projects .sos-projects-head {
    align-items: center;
  }

  .home #projects .sos-projects-nav {
    display: none;
  }

  .home #projects .sos-project-grid {
    grid-template-columns: 1fr;
  }

  .home #projects .sos-project-image {
    min-height: 270px;
  }

  .home #projects .sos-project-image::before {
    width: 120px;
    height: 120px;
    border-top-width: 12px;
    border-left-width: 12px;
  }
}

/* Contact section refresh */
.home #contact .sos-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.home #contact .sos-contact-grid .sos-contact-card,
.home #contact .sos-contact-grid .sos-contact-card:nth-child(2) {
  grid-column: auto;
  transform: none;
  position: relative;
  min-height: 248px;
  padding: 28px 26px 24px;
  border-radius: 24px;
  border: 1px solid rgba(74, 144, 200, 0.2);
  box-shadow: 0 12px 30px rgba(20, 42, 61, 0.08);
  overflow: hidden;
}

.home #contact .sos-contact-card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--sos-primary);
  opacity: 0.82;
}

.home #contact .sos-contact-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1.2;
}

.home #contact .sos-contact-card p {
  margin: 0 0 12px;
  font-size: 1.04rem;
  line-height: 1.6;
}

.home #contact .sos-contact-card p:last-child {
  margin-bottom: 0;
}

.home #contact .sos-contact-card a {
  color: var(--sos-primary);
  font-weight: 800;
  text-decoration: none;
}

.home #contact .sos-contact-card a:hover {
  color: var(--sos-primary-dark);
}

.home #contact .sos-contact-card:last-child {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home #contact .sos-contact-card:last-child p:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--sos-primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(74, 144, 200, 0.24);
}

.home #contact .sos-contact-card:last-child p:last-child a:hover {
  background: var(--sos-primary-dark);
  color: #fff;
}

@media (max-width: 1100px) {
  .home #contact .sos-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home #contact .sos-contact-grid {
    grid-template-columns: 1fr;
  }

  .home #contact .sos-contact-card:last-child {
    grid-column: auto;
  }
}

/* Subpage content spacing polish */
.sos-page-content h2,
.sos-page-content h3,
.sos-page-content h4 {
  margin-top: 1.05em;
  margin-bottom: 0.28em;
}

.sos-page-content p {
  margin: 0 0 0.75rem;
  line-height: 1.66;
}

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

.sos-page-content h2 + p,
.sos-page-content h3 + p,
.sos-page-content h4 + p {
  margin-top: 0;
}

.sos-page-content ul,
.sos-page-content ol {
  margin: 0.5rem 0 0.95rem;
}

.sos-page-content li + li {
  margin-top: 0.3rem;
}

/* Footer column headings and links */
.sos-footer .sos-footer-grid h3,
.sos-footer .sos-footer-links a {
  color: #fff;
}

/* Subpage buttons: keep text white */
.sos-page-main .sos-button,
.sos-page-main .sos-button-outline {
  color: #fff;
}

.sos-page-main .sos-button-outline {
  background: var(--sos-primary-dark);
  border-color: rgba(255, 255, 255, 0.26);
}

.sos-page-main .sos-button-outline:hover {
  background: #1a4565;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Contact page form */
.sos-contact-form-wrap .sos-title {
  margin-bottom: 8px;
}

.sos-contact-page-form .sos-grid,
.sos-contact-form-wrap .sos-unified-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sos-contact-page-form .sos-field-full {
  grid-column: 1 / -1;
}

.sos-contact-page-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--sos-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.sos-contact-form-wrap .sos-unified-inquiry-form {
  display: grid;
  gap: 14px;
}

.sos-contact-page-form input,
.sos-contact-page-form textarea,
.sos-contact-form-wrap .sos-unified-inquiry-form input:not([type="checkbox"]):not([type="radio"]),
.sos-contact-form-wrap .sos-unified-inquiry-form select,
.sos-contact-form-wrap .sos-unified-inquiry-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--sos-border);
  border-radius: 14px;
  background: #fbfffe;
  color: var(--sos-ink);
}

.sos-contact-page-form textarea,
.sos-contact-form-wrap .sos-unified-inquiry-form textarea {
  min-height: 130px;
  resize: vertical;
}

.sos-contact-form-wrap .sos-unified-inquiry-form input:focus,
.sos-contact-form-wrap .sos-unified-inquiry-form select:focus,
.sos-contact-form-wrap .sos-unified-inquiry-form textarea:focus {
  border-color: rgba(47, 111, 158, 0.42);
  box-shadow: 0 0 0 4px rgba(73, 144, 199, 0.12);
  outline: 0;
}

.sos-contact-form-wrap .sos-unified-inquiry-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #43586a;
  font-size: 0.97rem;
  line-height: 1.55;
}

.sos-contact-form-wrap .sos-unified-inquiry-consent input {
  width: auto;
  margin-top: 4px;
}

.sos-contact-form-wrap .sos-unified-inquiry-note {
  margin: 0;
  color: #506679;
  font-size: 0.97rem;
  line-height: 1.5;
}

.sos-contact-form-wrap .sos-unified-inquiry-note a {
  color: var(--sos-primary-dark);
  font-weight: 700;
}

.sos-contact-form-wrap .sos-unified-inquiry-submit {
  width: fit-content;
  min-width: 144px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sos-primary-dark), var(--sos-primary));
  color: #fff;
  font-family: var(--sos-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 26px rgba(47, 111, 158, 0.24);
}

.sos-contact-form-wrap .sos-unified-inquiry-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(47, 111, 158, 0.28);
}

.sos-contact-form-wrap .sos-unified-inquiry-submit:active {
  transform: translateY(0);
}

@media (max-width: 760px) {
  .sos-contact-page-form .sos-grid,
  .sos-contact-form-wrap .sos-unified-inquiry-grid {
    grid-template-columns: 1fr;
  }
}

/* Landing page mobile refinements */
@media (max-width: 760px) {
  .home .sos-container {
    width: min(var(--sos-max), calc(100% - 24px));
  }

  .home .sos-section {
    padding: 46px 0;
  }

  .home .sos-hero .sos-hero-card {
    padding: 24px 16px;
    gap: 18px;
    border-radius: 20px;
  }

  .home .sos-hero-actions .sos-button,
  .home .sos-hero-actions .sos-button-outline,
  .home #projects .sos-projects-cta .sos-button {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .home .sos-service-grid,
  .home .sos-process-grid,
  .home .sos-pricing-grid,
  .home .sos-resource-grid,
  .home .sos-testimonial-grid,
  .home .sos-values-grid,
  .home .sos-service-area-layout,
  .home .sos-tools-grid,
  .home .sos-contact-grid {
    grid-template-columns: 1fr;
  }

  .home .sos-manufacturers-section .sos-logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home .sos-manufacturers-section .sos-logo-chip {
    min-height: 64px;
    padding: 10px 8px;
    font-size: 0.76rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .sos-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    text-align: center;
  }

  .sos-footer-grid > div {
    width: 100%;
    max-width: 340px;
  }

  .sos-footer-links {
    display: grid;
    justify-items: center;
  }

  .sos-footer-socials {
    justify-content: center;
  }

  .sos-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 82px;
  }
}

@media (max-width: 420px) {
  .home .sos-manufacturers-section .sos-logo-chip {
    min-height: 58px;
    padding: 8px 6px;
    font-size: 0.7rem;
  }
}

/* Subpages: remove gap and divider between title card and content card */
.sos-page-main .sos-page-content-section.sos-section {
  padding-top: 52px;
}

.sos-page-content-header {
  margin-bottom: 24px;
}

.sos-page-content-header .sos-title {
  margin-bottom: 10px;
}

.sos-page-content {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
}

.sos-page-content-header {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.sos-page-content-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(160px, 100%);
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 111, 158, 0.28), rgba(47, 111, 158, 0));
}

.sos-page-content-header .sos-kicker {
  margin-bottom: 14px;
}

.sos-page-brand-mark {
  margin-bottom: 18px;
}

.sos-page-brand-mark img {
  display: block;
  width: min(220px, 58vw);
  height: auto;
}

.sos-page-content-header .sos-title {
  max-width: 14ch;
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.sos-page-lead {
  max-width: 62ch;
  color: #506679;
  font-size: 1.02rem;
}

.sos-page-content p,
.sos-page-content li {
  color: #43586a;
}

.sos-page-content h2 {
  position: relative;
  padding-top: 18px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.sos-page-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sos-primary), rgba(74, 144, 200, 0.18));
}

.sos-page-content h3 {
  font-size: clamp(1.16rem, 1.9vw, 1.38rem);
}

.sos-page-content-body > p:first-child {
  max-width: 64ch;
  color: #23384a;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.sos-page-content blockquote {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3f9ff, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(73, 144, 199, 0.08);
}

.sos-page-content-body > ul,
.sos-page-content-body > ol {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.sos-page-content-body > ul li,
.sos-page-content-body > ol li {
  position: relative;
  padding: 14px 16px 14px 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(73, 144, 199, 0.1);
  box-shadow: 0 10px 24px rgba(20, 42, 61, 0.05);
}

.sos-page-content-body > ul li::before,
.sos-page-content-body > ol li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sos-primary), var(--sos-primary-dark));
  box-shadow: 0 6px 14px rgba(74, 144, 200, 0.24);
}

.sos-page-content-body > ol {
  counter-reset: sos-page-steps;
}

.sos-page-content-body > ol li::before {
  content: counter(sos-page-steps);
  counter-increment: sos-page-steps;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.sos-page-main .sos-section-cta {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  gap: 16px;
  border-radius: 24px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 28%), linear-gradient(135deg, #173a56, #2f6f9e);
  border: 0;
  box-shadow: 0 18px 42px rgba(20, 42, 61, 0.16);
}

.sos-page-main .sos-section-cta p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 600;
}

.sos-page-main .sos-section-cta .sos-button {
  background: #fff;
  color: #18354d;
  box-shadow: none;
}

/* Homepage highlights moved below hero and styled like standard cards */
.home .sos-hero-highlights {
  padding-top: 26px;
}

.home .sos-hero-highlights .sos-pricing-promise {
  margin-top: 0;
  max-width: none;
}

.home .sos-hero-highlights .sos-hero-stats {
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home .sos-hero-highlights .sos-pricing-promise div,
.home .sos-hero-highlights .sos-hero-stat {
  background: var(--sos-white);
  border: 1px solid var(--sos-border);
  box-shadow: var(--sos-shadow-soft);
  backdrop-filter: none;
}

.home .sos-hero-highlights .sos-pricing-promise div {
  min-height: 0;
}

.home .sos-hero-highlights .sos-pricing-promise strong,
.home .sos-hero-highlights .sos-hero-stat strong {
  color: var(--sos-ink);
}

.home .sos-hero-highlights .sos-pricing-promise span,
.home .sos-hero-highlights .sos-hero-stat span {
  color: var(--sos-text);
}

/* Keep all trust cards equal size */
.home .sos-section-tight .sos-trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.home .sos-section-tight .sos-trust-strip .sos-card {
  height: 100%;
  min-height: 210px;
}

/* Contact page layout */
.page-template-default.page .sos-contact-page-hero {
  padding-top: 28px;
  padding-bottom: 18px;
}

.sos-contact-page-hero-inner {
  border-radius: 24px;
  padding: clamp(34px, 6vw, 62px) clamp(24px, 4vw, 46px);
  background:
    linear-gradient(140deg, rgba(20, 42, 61, 0.82), rgba(47, 111, 158, 0.78)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  box-shadow: var(--sos-shadow-soft);
}

.sos-contact-page-hero-inner h1 {
  margin: 0;
  color: #fff;
  font-family: var(--sos-display);
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.01em;
  text-transform: none;
}

.sos-contact-map-section {
  padding-top: 10px;
}

.sos-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.9fr);
  gap: 12px;
  align-items: stretch;
}

.sos-contact-map-card,
.sos-contact-info-card {
  overflow: hidden;
}

.sos-contact-map-card iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 0;
}

.sos-contact-info-card {
  padding: 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
}

.sos-contact-info-card h2 {
  margin: 0 0 16px;
  color: var(--sos-ink);
  font-family: var(--sos-display);
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  text-transform: none;
}

.sos-contact-info-block {
  padding: 10px 0;
  border-top: 1px solid rgba(47, 111, 158, 0.12);
}

.sos-contact-info-block:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

.sos-contact-info-block h3 {
  margin: 0 0 6px;
  color: var(--sos-ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.02em;
}

.sos-contact-info-block p {
  margin: 0;
  color: var(--sos-text);
  line-height: 1.6;
}

.sos-contact-info-block a {
  color: var(--sos-primary-dark);
  font-weight: 700;
}

.sos-contact-form-section {
  padding-top: 10px;
}

.sos-contact-form-surface {
  border-radius: 24px;
  padding: clamp(14px, 2.4vw, 22px);
  background:
    linear-gradient(140deg, rgba(20, 42, 61, 0.72), rgba(47, 111, 158, 0.68)),
    url('https://images.unsplash.com/photo-1479839672679-a46483c0e7c8?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.sos-contact-form-section .sos-contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.sos-contact-form-section .sos-contact-form-wrap .sos-title {
  margin-bottom: 6px;
}

.sos-page-inline-form-section {
  padding-top: 10px;
}

.sos-page-inline-form-section .sos-contact-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.sos-page-inline-form-section .sos-title {
  margin-bottom: 8px;
}

.sos-page-inline-form-section .sos-contact-page-form input[disabled],
.sos-page-inline-form-section .sos-unified-inquiry-form input[disabled] {
  background: #eef4fa;
  color: #4d6273;
  opacity: 1;
}

.sos-resources-lenders-section {
  padding-top: 12px;
}

.sos-resources-lenders-wrap {
  padding: clamp(34px, 5vw, 56px) clamp(18px, 3vw, 34px);
  border-radius: 34px;
  background: linear-gradient(180deg, #edf4ff 0%, #e8f0fb 100%);
  box-shadow: 0 18px 40px rgba(20, 42, 61, 0.08);
}

.sos-resources-lenders-title {
  margin: 0;
  text-align: center;
  color: #111111;
  font-family: var(--sos-display);
  font-size: clamp(2rem, 4.5vw, 4.7rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.sos-resources-lenders-grid {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(18px, 3vw, 28px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}

.sos-resources-lender-card {
  min-height: 140px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(19, 53, 93, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 42, 61, 0.06);
}

.sos-resources-lender-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .sos-contact-layout {
    grid-template-columns: 1fr;
  }

  .sos-contact-map-card iframe {
    min-height: 360px;
  }

  .sos-resources-lenders-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sos-page-content {
    padding: 18px 16px;
  }

  .sos-page-content-header .sos-title {
    max-width: none;
  }

  .sos-page-content-body > ul li,
  .sos-page-content-body > ol li {
    padding: 12px 14px 12px 46px;
  }

  .sos-page-main .sos-section-cta {
    padding: 18px 16px;
  }

  .sos-resources-lenders-wrap {
    border-radius: 24px;
    padding: 28px 14px;
  }

  .sos-resources-lenders-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .sos-resources-lender-card {
    min-height: 110px;
    padding: 16px;
    border-radius: 18px;
  }

  .sos-resources-lender-card img {
    max-height: 54px;
  }
}

/* Homepage first section: video hero (reference-matched) */
.home .sos-hero.sos-hero-video {
  position: relative;
  padding: 0;
  overflow: visible;
  background: #0f141a;
  --sos-hero-wedge-h: clamp(64px, 8vw, 100px);
}

.home .sos-hero-video-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home .sos-hero-slide {
  position: absolute;
  inset: 0;
}

.home .sos-hero-slide-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  will-change: opacity, transform;
  animation: sosHeroCinematic 32s ease-in-out infinite;
}

.home .sos-hero-slide-img:first-child {
  opacity: 1;
}

.home .sos-hero-slide-img:nth-child(1) {
  animation-delay: 0s;
}

.home .sos-hero-slide-img:nth-child(2) {
  animation-delay: 8s;
}

.home .sos-hero-slide-img:nth-child(3) {
  animation-delay: 16s;
}

.home .sos-hero-slide-img:nth-child(4) {
  animation-delay: 24s;
}

@keyframes sosHeroCinematic {
  0% {
    opacity: 0;
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  6% {
    opacity: 1;
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  24% {
    opacity: 1;
    transform: scale(1.1) translate3d(1.2%, -0.8%, 0);
  }
  31% {
    opacity: 0;
    transform: scale(1.12) translate3d(2%, -1.2%, 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.12) translate3d(2%, -1.2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .sos-hero-slide-img {
    animation: none;
    opacity: 0;
  }

  .home .sos-hero-slide-img:first-child {
    opacity: 1;
  }
}

.home .sos-hero-video-shade {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 19, 0.54);
}

.home .sos-hero-video .sos-container {
  position: relative;
  z-index: 2;
}

.home .sos-hero-video-content {
  max-width: 912px;
  min-height: clamp(280px, 40vh, 420px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 4.5vw, 56px) 0 clamp(40px, 5.5vw, 68px);
}

.home .sos-hero-video-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 12px;
  background: #000;
  color: var(--sos-primary);
  font-family: var(--sos-display);
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home .sos-hero-video-title {
  margin: 0;
  max-width: 18ch;
  display: grid;
  gap: 0.08em;
  color: #fff;
  font-family: var(--sos-display);
  font-size: clamp(1.45rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.home .sos-hero-video-title-primary {
  white-space: nowrap;
}

.home .sos-hero-video-cta {
  margin-top: 0;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  background: var(--sos-primary);
  color: #fff;
  font-weight: 800;
  text-transform: none;
  box-shadow: none;
}

.home .sos-hero-video-cta::after {
  content: '\2197';
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 12px;
  background: #fff;
  color: var(--sos-primary);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.home .sos-hero-video-wedge {
  position: absolute;
  left: 0;
  bottom: calc(-1 * var(--sos-hero-wedge-h));
  z-index: 2;
  width: min(640px, 58vw);
  height: var(--sos-hero-wedge-h);
  background: var(--sos-primary);
  clip-path: polygon(0 0, 100% 0, 54% 100%);
}

@media (max-width: 980px) {
  .home .sos-hero-video-content {
    min-height: 34vh;
    padding: 34px 0 48px;
  }

  .home .sos-hero-video-title {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .home .sos-hero-video-content {
    min-height: 240px;
    padding: 24px 0 38px;
  }

  .home .sos-hero-video-kicker {
    margin-bottom: 12px;
    font-size: clamp(0.9rem, 4.2vw, 1.1rem);
  }

  .home .sos-hero-video-title {
    font-size: clamp(1.2rem, 6.6vw, 1.9rem);
    line-height: 0.96;
  }

  .home .sos-hero-video-cta {
    min-height: 40px;
    font-size: 0.78rem;
  }

  .home .sos-hero-video-wedge {
    --sos-hero-wedge-h: 68px;
    width: min(390px, 72vw);
  }
}

/* Homepage second section: Who We Help */
.home .sos-whohelp-section {
  padding-top: clamp(56px, 7.2vw, 94px);
  padding-bottom: clamp(52px, 6.8vw, 88px);
  background: #efefef;
}

.home .sos-whohelp-title {
  margin: 0 0 34px;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.home .sos-whohelp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home .sos-whohelp-card {
  background: #dedede;
}

.home .sos-whohelp-media {
  position: relative;
  min-height: 390px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home .sos-whohelp-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  background: var(--sos-primary);
  color: #fff;
  font-size: 2rem;
}

.home .sos-whohelp-card h3 {
  margin: 0;
  padding: 18px 20px 22px;
  color: #242229;
  font-family: var(--sos-body);
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

@media (max-width: 1200px) {
  .home .sos-whohelp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home .sos-whohelp-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home .sos-whohelp-title {
    margin-bottom: 18px;
  }

  .home .sos-whohelp-media {
    min-height: 260px;
  }

  .home .sos-whohelp-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .home .sos-whohelp-card h3 {
    padding: 14px 14px 16px;
  }
}

/* Homepage count strip (after third section) */
.home .sos-count-strip-section {
  padding: 0;
  background: transparent;
}

.home .sos-count-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 28px min(7vw, 100px) 30px;
  background: var(--sos-primary);
}

.home .sos-count-item {
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.home .sos-count-number {
  color: #fff;
  font-family: var(--sos-display);
  font-size: clamp(2.5rem, 5.1vw, 4.7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.home .sos-count-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--sos-body);
  font-size: clamp(0.8rem, 1.05vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

@media (max-width: 980px) {
  .home .sos-count-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
}

@media (max-width: 760px) {
  .home .sos-count-strip {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 24px 16px 26px;
  }

  .home .sos-count-number {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

/* Homepage fifth section: hover-expand service tabs */
.home .sos-hover-services-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #d9d9d9 0%, #d9d9d9 61%, rgba(217, 217, 217, 0.22) 61%, rgba(217, 217, 217, 0.22) 100%),
    var(--sos-hover-services-bg, url('https://images.unsplash.com/photo-1590418606746-018840f9cd0f?auto=format&fit=crop&w=1800&q=80')) bottom center / cover no-repeat;
  padding-top: clamp(56px, 7.4vw, 96px);
  padding-bottom: clamp(82px, 10vw, 150px);
}

.home .sos-hover-services-kicker {
  margin: 0 0 10px;
  color: var(--sos-primary);
  font-family: var(--sos-display);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 800;
  text-transform: none;
}

.home .sos-hover-services-title {
  margin: 0 0 28px;
  max-width: 9.5ch;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.home .sos-hover-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.home .sos-hover-tab {
  background: #ececec;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.home .sos-hover-tab-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 16px;
}

.home .sos-hover-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid var(--sos-primary);
  display: grid;
  place-items: center;
  color: #2a2a2f;
  font-size: 1.18rem;
}

.home .sos-hover-tab h3 {
  margin: 0;
  color: #2a2a2f;
  font-family: var(--sos-body);
  font-size: clamp(1rem, 1.2vw, 1.95rem);
  font-weight: 800;
  text-transform: none;
}

.home .sos-hover-tab-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--sos-primary);
  color: #fff;
  font-size: 1.2rem;
}

.home .sos-hover-tab-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.home .sos-hover-tab-body p {
  margin: 0;
  padding: 0 18px 18px;
  color: #2b2a30;
  font-size: 0.98rem;
  line-height: 1.58;
}

.home .sos-hover-tab:hover .sos-hover-tab-body,
.home .sos-hover-tab:focus-within .sos-hover-tab-body,
.home .sos-hover-tab:focus .sos-hover-tab-body,
.home .sos-hover-tab.is-active .sos-hover-tab-body {
  max-height: 260px;
  opacity: 1;
}

.home .sos-hover-tab:hover .sos-hover-tab-toggle,
.home .sos-hover-tab:focus-within .sos-hover-tab-toggle,
.home .sos-hover-tab:focus .sos-hover-tab-toggle,
.home .sos-hover-tab.is-active .sos-hover-tab-toggle {
  background: #111;
}

@media (max-width: 1200px) {
  .home .sos-hover-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home .sos-hover-tabs {
    grid-template-columns: 1fr;
  }

  .home .sos-hover-services-title {
    margin-bottom: 18px;
  }

  .home .sos-hover-tab-head {
    min-height: 72px;
    padding: 12px;
  }

  .home .sos-hover-tab-toggle {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* Homepage sixth section: projects showcase */
.home .sos-projects-showcase-section {
  background: #efefef;
  padding-top: clamp(50px, 7vw, 84px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.home .sos-projects-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 24px;
}

.home .sos-projects-showcase-kicker {
  margin: 0 0 8px;
  color: var(--sos-primary);
  font-family: var(--sos-display);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 800;
  text-transform: none;
}

.home .sos-projects-showcase-title {
  margin: 0;
  color: #201f25;
  font-family: var(--sos-display);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.home .sos-projects-showcase-nav {
  display: inline-flex;
  gap: 8px;
}

.home .sos-projects-showcase-nav button {
  width: 52px;
  height: 52px;
  border: 0;
  background: #1f1e24;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: opacity var(--sos-transition), background var(--sos-transition);
}

.home .sos-projects-showcase-prev,
.home .sos-projects-showcase-next {
  display: inline-grid;
  place-items: center;
}

.home .sos-projects-showcase-nav button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.home .sos-projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home .sos-projects-showcase-card {
  background: transparent;
}

.home .sos-projects-showcase-link {
  display: block;
}

.home .sos-projects-showcase-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.home .sos-projects-showcase-image img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
}

.home .sos-projects-showcase-image::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 140px;
  height: 140px;
  border-top: 14px solid var(--sos-primary);
  border-left: 14px solid var(--sos-primary);
}

.home .sos-projects-showcase-card h3 {
  position: relative;
  margin: 12px 0 0;
  padding-top: 14px;
  color: #232228;
  font-family: var(--sos-body);
  font-size: clamp(1.2rem, 1.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
}

.home .sos-projects-showcase-card h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 4px;
  background: var(--sos-primary);
}

.home .sos-projects-showcase-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.home .sos-projects-showcase-cta .sos-button {
  min-height: 52px;
  border-radius: 0;
  background: var(--sos-primary);
}

@media (max-width: 1100px) {
  .home .sos-projects-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home .sos-projects-showcase-head {
    align-items: center;
    margin-bottom: 16px;
  }

  .home .sos-projects-showcase-nav {
    display: none;
  }

  .home .sos-projects-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home .sos-projects-showcase-image {
    min-height: 240px;
  }

  .home .sos-projects-showcase-image::before {
    width: 104px;
    height: 104px;
    border-top-width: 10px;
    border-left-width: 10px;
  }
}

/* Homepage seventh section: manufactures logo wall */
.home .sos-manufactures-showcase-section {
  position: relative;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.98), transparent 38%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
  padding-top: clamp(52px, 7.2vw, 90px);
  padding-bottom: clamp(62px, 8.2vw, 110px);
}

.home .sos-manufactures-head {
  max-width: 760px;
  margin: 0 auto;
}

.home .sos-manufactures-kicker {
  margin: 0;
  color: #2f6f9e;
  font-family: var(--sos-body);
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}

.home .sos-manufactures-title {
  margin: 12px auto 16px;
  max-width: none;
  color: #123a59;
  font-family: var(--sos-display);
  font-size: clamp(1.8rem, 3.2vw, 3.55rem);
  font-weight: 800;
  line-height: 0.96;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
}

.home .sos-manufactures-intro {
  margin: 0 auto;
  max-width: 58ch;
  text-align: center;
  color: #52687c;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.7;
}

.home .sos-manufactures-panel {
  position: relative;
  margin-top: clamp(26px, 4vw, 40px);
  margin-left: clamp(-26px, -3vw, -54px);
  margin-right: clamp(-26px, -3vw, -54px);
  padding: clamp(26px, 4vw, 44px) 0;
  border-radius: 40px;
  border: 1px solid rgba(47, 111, 158, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 255, 0.96));
  box-shadow:
    0 24px 54px rgba(20, 42, 61, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.home .sos-manufactures-panel::before,
.home .sos-manufactures-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0 auto 0 0;
  z-index: 2;
  width: clamp(70px, 10vw, 140px);
  background: linear-gradient(90deg, rgba(250, 252, 255, 0.96), rgba(250, 252, 255, 0));
}

.home .sos-manufactures-panel::before {
  left: 0;
}

.home .sos-manufactures-panel::after {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, rgba(250, 252, 255, 0.96), rgba(250, 252, 255, 0));
}

.home .sos-manufactures-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin-top: 18px;
}

.home .sos-manufactures-track {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(34px, 5vw, 82px);
  animation: sosBrandScrollLtr 46s linear infinite;
}

.home .sos-manufactures-marquee-reverse .sos-manufactures-track {
  animation-name: sosBrandScrollRtl;
}

.home .sos-manufactures-card {
  min-height: 138px;
  min-width: clamp(180px, 15vw, 232px);
  display: grid;
  place-items: center;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform var(--sos-transition), opacity var(--sos-transition), filter var(--sos-transition);
}

.home .sos-manufactures-card:hover {
  transform: translateY(-3px);
  filter: saturate(1.04);
}

.home .sos-manufactures-card img {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(0.12) saturate(0.9) contrast(0.96) brightness(1.03);
}

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

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

@media (max-width: 1100px) {
  .home .sos-manufactures-title {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
  }

  .home .sos-manufactures-card {
    min-width: 184px;
  }
}

@media (max-width: 760px) {
  .home .sos-manufactures-title {
    margin: 10px auto 22px;
    white-space: normal;
    line-height: 1.02;
  }

  .home .sos-manufactures-panel {
    margin-left: -8px;
    margin-right: -8px;
    padding: 18px 0;
    border-radius: 24px;
  }

  .home .sos-manufactures-marquee {
    margin-top: 12px;
  }

  .home .sos-manufactures-track {
    gap: 22px;
  }

  .home .sos-manufactures-card {
    min-height: 94px;
    min-width: 146px;
    padding: 8px 6px;
  }

  .home .sos-manufactures-card img {
    max-height: 50px;
  }

  .home .sos-manufactures-intro {
    font-size: 0.95rem;
  }
}

/* Homepage eighth section: client feedback */
.home .sos-client-feedback-section {
  background-color: #f2f2f2;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(73, 144, 199, 0.08) 0,
    rgba(73, 144, 199, 0.08) 2px,
    transparent 2px,
    transparent 10px
  );
  padding-top: clamp(56px, 7vw, 94px);
  padding-bottom: clamp(60px, 8vw, 106px);
}

.home .sos-client-feedback-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.home .sos-client-feedback-intro {
  display: grid;
  align-content: start;
  gap: 12px;
}

.home .sos-client-feedback-kicker {
  margin: 0;
  color: var(--sos-primary);
  font-family: var(--sos-display);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.home .sos-client-feedback-title {
  margin: 14px 0 0;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
  max-width: 16ch;
}

.home .sos-client-feedback-rating {
  margin: 26px 0 0;
  color: var(--sos-primary);
  font-family: var(--sos-display);
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  font-style: italic;
  font-weight: 700;
}

.home .sos-client-feedback-copy p {
  margin: 0;
  color: #2e2e35;
  font-size: clamp(1.03rem, 1.2vw, 1.45rem);
  line-height: 1.6;
  max-width: 44ch;
}

.home .sos-client-feedback-copy .sos-button {
  margin-top: 24px;
}

.home .sos-client-feedback-nav {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.home .sos-client-feedback-nav button {
  width: 48px;
  height: 48px;
  border: 0;
  background: #1f1e24;
  color: #fff;
  cursor: default;
}

.home .sos-client-feedback-cards {
  margin-top: clamp(34px, 4.4vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.3vw, 22px);
}

.home .sos-client-feedback-card {
  background: #fff;
  border: 1px solid rgba(73, 144, 199, 0.22);
  padding: clamp(20px, 2.2vw, 32px);
  display: grid;
  gap: 14px;
}

.home .sos-client-feedback-card h3 {
  margin: 0;
  color: var(--sos-primary);
  font-family: var(--sos-display);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.1;
}

.home .sos-client-feedback-card p {
  margin: 0;
  color: #2a2a31;
  font-size: clamp(0.98rem, 1.02vw, 1.15rem);
  line-height: 1.75;
}

.home .sos-client-feedback-stars {
  margin-top: 6px;
  color: var(--sos-primary);
  font-size: 0.98rem;
  letter-spacing: 4px;
}

@media (max-width: 1100px) {
  .home .sos-client-feedback-head {
    grid-template-columns: 1fr;
  }

  .home .sos-client-feedback-title {
    max-width: none;
  }

  .home .sos-client-feedback-copy p {
    max-width: none;
  }

  .home .sos-client-feedback-nav {
    justify-content: flex-start;
  }

  .home .sos-client-feedback-cards {
    grid-template-columns: 1fr;
  }
}

/* Homepage ninth section: our clients logos */
.home .sos-our-clients-section {
  background: #efefef;
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(54px, 7.6vw, 98px);
}

.home .sos-our-clients-title {
  margin: 0;
  text-align: center;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.home .sos-our-clients-logos {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 1.1vw, 20px);
}

.home .sos-our-clients-logo {
  min-height: clamp(56px, 6vw, 84px);
  display: grid;
  place-items: center;
}

.home .sos-our-clients-logo img {
  max-width: min(160px, 100%);
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.52;
  filter: grayscale(0.1);
}

@media (max-width: 1100px) {
  .home .sos-our-clients-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home .sos-our-clients-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .home .sos-our-clients-logo img {
    max-width: 136px;
    max-height: 52px;
  }
}

/* Homepage tenth section: contact showcase */
.home .sos-contact-showcase-section {
  background: #efefef;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.home .sos-contact-showcase-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4.2vw, 74px);
  align-items: end;
}

.home .sos-contact-showcase-left {
  display: grid;
  align-content: start;
}

.home .sos-contact-showcase-kicker {
  margin: 0;
  color: var(--sos-primary);
  font-family: var(--sos-display);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 800;
  text-transform: none;
}

.home .sos-contact-showcase-title {
  margin: 14px 0 0;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
  max-width: 12ch;
}

.home .sos-contact-showcase-card {
  margin-top: clamp(28px, 3.5vw, 42px);
  background: #d9d9dc;
  padding: clamp(18px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 14px;
}

.home .sos-contact-showcase-card p {
  margin: 0;
  color: #2b2c33;
  font-size: clamp(1rem, 1.08vw, 1.18rem);
  line-height: 1.45;
  grid-column: 1 / 2;
}

.home .sos-contact-showcase-card i {
  width: 20px;
  color: var(--sos-primary);
}

.home .sos-contact-showcase-card a {
  color: inherit;
  text-decoration: none;
}

.home .sos-contact-showcase-card .sos-button {
  grid-column: 2 / 3;
  grid-row: 1 / 4;
  align-self: center;
}

.home .sos-contact-showcase-map {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  min-height: 380px;
}

.home .sos-contact-showcase-map-frame {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(16, 34, 52, 0.16);
}

.home .sos-contact-showcase-map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home .sos-contact-showcase-map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-block;
  line-height: 1;
}

.home .sos-contact-showcase-map-marker em {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.72),
     1px -1px 0 rgba(0, 0, 0, 0.72),
    -1px  1px 0 rgba(0, 0, 0, 0.72),
     1px  1px 0 rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.home .sos-contact-showcase-awards {
  margin-top: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(73, 144, 199, 0.25);
}

.home .sos-contact-showcase-award {
  min-height: 96px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
}

.home .sos-contact-showcase-award + .sos-contact-showcase-award {
  border-left: 1px solid rgba(73, 144, 199, 0.25);
}

@media (max-width: 1100px) {
  .home .sos-contact-showcase-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home .sos-contact-showcase-title {
    max-width: none;
  }

  .home .sos-contact-showcase-map {
    width: min(100%, 320px);
    min-height: 320px;
  }

  .home .sos-contact-showcase-awards {
    grid-template-columns: 1fr;
  }

  .home .sos-contact-showcase-award + .sos-contact-showcase-award {
    border-left: 0;
    border-top: 1px solid rgba(73, 144, 199, 0.25);
  }
}

@media (max-width: 760px) {
  .home .sos-contact-showcase-card {
    grid-template-columns: 1fr;
  }

  .home .sos-contact-showcase-card .sos-button {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 8px;
    justify-self: start;
  }
}

/* Homepage eleventh section: roof evaluation form */
.home .sos-evaluation-section {
  background-color: #efefef;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(73, 144, 199, 0.07) 0,
    rgba(73, 144, 199, 0.07) 2px,
    transparent 2px,
    transparent 11px
  );
  padding-top: clamp(34px, 4vw, 52px);
  padding-bottom: clamp(46px, 6vw, 74px);
}

.home .sos-evaluation-wrap {
  position: relative;
  min-height: clamp(520px, 54vw, 760px);
  border: 1px solid rgba(73, 144, 199, 0.18);
  overflow: hidden;
  background: #dde2e8;
}

.home .sos-evaluation-media {
  position: absolute;
  inset: 0 38% 0 0;
  background-image:
    linear-gradient(90deg, rgba(17, 23, 30, 0.46), rgba(17, 23, 30, 0.16) 55%, rgba(17, 23, 30, 0)),
    var(--sos-evaluation-bg, url("https://images.unsplash.com/photo-1621905251918-48416bd8575a?auto=format&fit=crop&w=1800&q=80"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #9ea9b5;
}

.home .sos-evaluation-panel {
  position: relative;
  margin-left: auto;
  width: min(100%, 50%);
  min-height: 100%;
  background: var(--sos-primary);
  padding: clamp(28px, 3.2vw, 40px);
  color: #fff;
  display: grid;
  align-content: start;
  gap: 16px;
}

.home .sos-evaluation-title {
  margin: 0;
  font-family: var(--sos-display);
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
  max-width: 9ch;
  color: #fff;
}

.home .sos-evaluation-form,
.home .sos-unified-inquiry-form.is-home-evaluation {
  display: grid;
  gap: 12px;
}

.home .sos-evaluation-grid,
.home .sos-unified-inquiry-form.is-home-evaluation .sos-unified-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home .sos-evaluation-form input:not([type="checkbox"]):not([type="radio"]),
.home .sos-evaluation-form select,
.home .sos-evaluation-form textarea,
.home .sos-unified-inquiry-form.is-home-evaluation input:not([type="checkbox"]):not([type="radio"]),
.home .sos-unified-inquiry-form.is-home-evaluation select,
.home .sos-unified-inquiry-form.is-home-evaluation textarea {
  width: 100%;
  border: 0;
  background: #fff;
  color: #1f1e24;
  padding: 12px 14px;
  font-size: 0.98rem;
  line-height: 1.3;
}

.home .sos-evaluation-form textarea,
.home .sos-unified-inquiry-form.is-home-evaluation textarea {
  resize: vertical;
  min-height: 102px;
}

.home .sos-evaluation-consent,
.home .sos-unified-inquiry-form.is-home-evaluation .sos-unified-inquiry-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  font-size: 0.97rem;
  line-height: 1.45;
}

.home .sos-evaluation-consent input,
.home .sos-unified-inquiry-form.is-home-evaluation .sos-unified-inquiry-consent input {
  width: auto;
  margin-top: 4px;
}

.home .sos-evaluation-note,
.home .sos-unified-inquiry-form.is-home-evaluation .sos-unified-inquiry-note {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.4;
}

.home .sos-evaluation-note a,
.home .sos-unified-inquiry-form.is-home-evaluation .sos-unified-inquiry-note a {
  color: #fff;
}

.home .sos-evaluation-submit,
.home .sos-unified-inquiry-form.is-home-evaluation .sos-unified-inquiry-submit {
  width: fit-content;
  border: 0;
  background: #1f1e24;
  color: #fff;
  font-family: var(--sos-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .home .sos-evaluation-media {
    inset: 0;
  }

  .home .sos-evaluation-panel {
    width: min(100%, 620px);
  }
}

@media (max-width: 760px) {
  .home .sos-evaluation-wrap {
    min-height: 0;
  }

  .home .sos-evaluation-panel {
    width: 100%;
    margin-top: 220px;
    padding: 20px;
  }

  .home .sos-evaluation-grid,
  .home .sos-unified-inquiry-form.is-home-evaluation .sos-unified-inquiry-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer redesign */
.sos-footer {
  background: #efefef;
  border-top: 1px solid rgba(73, 144, 199, 0.2);
}

.sos-footer .sos-footer-stripe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 70px);
  padding: clamp(36px, 5vw, 66px) 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(73, 144, 199, 0.07) 0,
    rgba(73, 144, 199, 0.07) 2px,
    transparent 2px,
    transparent 11px
  );
}

.sos-footer .sos-footer-stripe h3 {
  margin: 0 0 20px;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.sos-footer .sos-footer-stripe p,
.sos-footer .sos-footer-links li {
  margin: 0 0 8px;
  color: #2f3038;
  font-size: clamp(1.03rem, 1.1vw, 1.32rem);
  line-height: 1.45;
}

.sos-footer .sos-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sos-footer .sos-footer-links li::before {
  display: none;
}

.sos-footer .sos-footer-bottom {
  border-top: 1px solid rgba(73, 144, 199, 0.22);
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.sos-footer .sos-footer-bottom p {
  margin: 0;
  color: #1f1e24;
  font-size: clamp(1rem, 1.04vw, 1.2rem);
  line-height: 1.3;
}

.sos-footer .sos-footer-divider {
  margin: 0 8px;
}

.sos-footer .sos-footer-licenses {
  color: var(--sos-primary);
}

.sos-footer .sos-footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.sos-footer .sos-footer-socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #1f1e24;
  text-decoration: none;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-size: 1.3rem;
}

.sos-footer .sos-footer-socials a:hover {
  color: var(--sos-primary);
}

.sos-footer .sos-footer-legal-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.sos-footer .sos-footer-legal-links a {
  color: #1f1e24;
  text-decoration: none;
  font-size: clamp(1rem, 1.04vw, 1.2rem);
}

.sos-footer .sos-footer-legal-links a + a {
  padding-left: 14px;
  border-left: 2px solid rgba(31, 30, 36, 0.72);
}

.sos-footer .sos-footer-legal-links a:hover {
  color: var(--sos-primary);
}

.sos-floating-whatsapp {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 120;
}

.sos-floating-whatsapp a {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sos-primary);
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.sos-floating-whatsapp a:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .sos-footer .sos-footer-stripe {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sos-footer .sos-footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 16px 0;
  }

  .sos-footer .sos-footer-legal-links {
    justify-content: center;
  }
}

/* Header redesign to match reference */
.sos-topbar {
  display: block;
  min-height: 38px;
  background: #f3f3f3;
  border-bottom: 1px solid #dedede;
}

.sos-topbar .sos-container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sos-topbar a {
  color: var(--sos-primary);
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  font-weight: 700;
  text-decoration: none;
}

.sos-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sos-topbar a:hover {
  color: var(--sos-primary-dark);
}

.sos-header {
  background: #fff;
  border-bottom: 1px solid #dadada;
  box-shadow: none;
  backdrop-filter: none;
}

.sos-header-inner {
  min-height: 94px;
  gap: 0;
}

.sos-brand.sos-brand-shell {
  width: 186px;
  min-height: 94px;
  display: grid;
  place-items: center;
  background: #efefef;
  border-right: 1px solid #d9d9d9;
  flex: 0 0 auto;
}

.sos-brand.sos-brand-shell .sos-brand-logo {
  width: 106px;
}

.sos-nav {
  margin-left: 24px;
  flex: 1 1 auto;
}

.sos-nav .menu,
.sos-nav-fallback {
  width: 100%;
  justify-content: center;
  gap: clamp(12px, 1.2vw, 26px);
  border: 0;
  border-radius: 0;
  padding: 0 10px;
  background: transparent;
  box-shadow: none;
}

.sos-nav a,
.sos-nav-fallback a {
  min-height: 94px;
  border-radius: 0;
  padding: 0;
  color: #1f1e24;
  font-size: clamp(0.96rem, 0.92vw, 1.18rem);
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
  gap: 6px;
}

.sos-nav-fallback a i {
  font-size: 0.7em;
}

.sos-nav a:hover,
.sos-nav-fallback a:hover {
  background: transparent;
  box-shadow: none;
  color: var(--sos-primary);
  transform: none;
}

.sos-header-actions {
  margin-left: 16px;
  padding-left: 0;
  flex: 0 0 auto;
}

.sos-header-proposal {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  background: var(--sos-primary);
  color: #fff;
  text-decoration: none;
  text-transform: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0 12px 0 20px;
  gap: 12px;
}

.sos-header-proposal-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--sos-primary);
}

.sos-header-proposal:hover {
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .sos-nav a,
  .sos-nav-fallback a {
    font-size: 0.92rem;
  }

  .sos-topbar a {
    font-size: 1.1rem;
  }
}

@media (max-width: 980px) {
  .sos-topbar {
    min-height: 34px;
  }

  .sos-topbar .sos-container {
    min-height: 34px;
    justify-content: center;
  }

  .sos-topbar a {
    font-size: 0.88rem;
  }

  .sos-header-inner {
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
  }

  .sos-brand.sos-brand-shell {
    width: 132px;
    min-height: 78px;
  }

  .sos-brand.sos-brand-shell .sos-brand-logo {
    width: 84px;
  }

  .sos-menu-toggle {
    display: block;
    margin-left: 12px;
  }

  .sos-nav,
  .sos-header-actions {
    display: none;
  }

  .sos-header.is-open .sos-nav,
  .sos-header.is-open .sos-header-actions {
    display: block;
    width: 100%;
  }

  .sos-header.is-open .sos-header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
  }

  .sos-header.is-open .sos-nav .menu,
  .sos-header.is-open .sos-nav-fallback {
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 0;
  }

  .sos-header.is-open .sos-nav a,
  .sos-header.is-open .sos-nav-fallback a {
    min-height: 46px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(73, 144, 199, 0.15);
  }

  .sos-header.is-open .sos-header-actions {
    margin-left: 0;
  }

  .sos-header.is-open .sos-header-proposal {
    margin-top: 8px;
    width: fit-content;
  }
}

/* PDF sync refinements */

.sos-nav-has-submenu {
  position: relative;
}

.sos-nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  border: 1px solid rgba(73, 144, 199, 0.2);
  box-shadow: 0 14px 24px rgba(15, 23, 33, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--sos-transition), transform var(--sos-transition), visibility var(--sos-transition);
  z-index: 10;
}

.sos-nav-has-submenu:hover .sos-nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sos-nav-submenu a {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

.home .sos-hero-video-content {
  max-width: 760px;
}

.home .sos-hero-video-title {
  text-transform: none;
}

.home .sos-hero-video-subtitle {
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: #fff;
  max-width: 48ch;
}

.home .sos-hero-video-text {
  margin: 10px 0 0;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 58ch;
}

.home .sos-hero-video-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}

.home .sos-hero-video-actions .sos-button,
.home .sos-hero-video-actions .sos-button-outline {
  min-height: 58px;
  padding: 0 20px;
  align-items: center;
}

.home .sos-hero-video-actions .sos-button-outline {
  border-width: 1px;
}

.home .sos-hero-credibility {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.97rem;
  line-height: 1.55;
  display: grid;
  gap: 4px;
}

.home .sos-hero-trust-line {
  margin-top: 12px;
  font-weight: 700;
  color: #fff;
}

.home .sos-whohelp-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home a.sos-whohelp-card {
  text-decoration: none;
}

.home .sos-projects-showcase-card p {
  margin: 8px 0 0;
  color: #2f3038;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

/* Keep homepage section heading sizes consistent and avoid all-caps everywhere */
.home .sos-whohelp-title,
.home .sos-hover-services-title,
.home .sos-projects-showcase-title,
.home .sos-manufactures-title,
.home .sos-client-feedback-title,
.home .sos-contact-showcase-title,
.home .sos-evaluation-title {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.05;
  text-transform: none;
}

@media (max-width: 980px) {
  .sos-nav-submenu {
    position: static;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 8px 14px;
    display: block;
    min-width: 0;
  }

  .sos-nav-submenu a {
    min-height: 34px;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .home .sos-whohelp-grid {
    grid-template-columns: 1fr;
  }
}

/* Projects page */
.sos-projects-page-main {
  background: #efefef;
}

.sos-projects-page-hero {
  position: relative;
  min-height: 210px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sos-projects-page-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 23, 0.58);
}

.sos-projects-page-hero .sos-container {
  position: relative;
  z-index: 2;
}

.sos-projects-page-hero-title {
  margin: 0;
  color: #fff;
  font-family: var(--sos-display);
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  line-height: 1.05;
  text-transform: none;
}

.sos-projects-page-hero-wedge {
  position: absolute;
  left: 0;
  bottom: -22px;
  width: 260px;
  height: 24px;
  background: var(--sos-primary);
  clip-path: polygon(0 0, 100% 0, 48% 100%);
  z-index: 3;
}

.sos-project-portfolio-section {
  padding-top: 52px;
  padding-bottom: 62px;
}

.sos-project-portfolio-title {
  margin: 0;
  text-align: center;
  color: #1f1e24;
  font-family: var(--sos-display);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.04;
  text-transform: none;
}

.sos-project-portfolio-intro {
  width: min(720px, 100%);
  margin: 14px auto 0;
  text-align: center;
  color: #526679;
  font-size: 1rem;
  line-height: 1.7;
}

.sos-project-list-section,
.sos-project-detail-section {
  position: relative;
}

.sos-project-portfolio-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sos-project-portfolio-card {
  background: #f8f8f8;
  border: 1px solid rgba(73, 144, 199, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(18, 32, 46, 0.06);
}

.sos-project-portfolio-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.sos-project-portfolio-image {
  position: relative;
}

.sos-project-portfolio-image img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  display: block;
}

.sos-project-portfolio-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  background: var(--sos-primary);
}

.sos-project-portfolio-copy {
  padding: 8px 10px 10px;
}

.sos-project-portfolio-copy h3 {
  margin: 0;
  color: #1f1e24;
  font-size: 0.95rem;
  line-height: 1.25;
}

.sos-project-portfolio-copy p {
  margin: 3px 0 0;
  color: var(--sos-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: none;
}

.sos-project-portfolio-link {
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  color: var(--sos-primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: none;
}

.sos-project-portfolio-link::after {
  content: " ";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
}

.sos-project-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(73, 144, 199, 0.22);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 32, 46, 0.08);
}

.sos-project-detail-head h2 {
  margin: 0;
  color: #1a2230;
  font-family: var(--sos-display);
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  line-height: 1.05;
}

.sos-project-detail-head p {
  margin: 8px 0 0;
  color: #324157;
  font-size: 1.05rem;
  font-weight: 700;
}

.sos-project-detail-cover {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(73, 144, 199, 0.22);
  box-shadow: 0 14px 28px rgba(18, 32, 46, 0.08);
}

.sos-project-detail-cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.sos-project-gallery-trigger {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.sos-project-cover-trigger:focus-visible,
.sos-project-gallery-trigger:focus-visible {
  outline: 3px solid rgba(74, 144, 200, 0.72);
  outline-offset: -3px;
}

.sos-project-gallery-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sos-project-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(73, 144, 199, 0.2);
  background: #fff;
  box-shadow: 0 8px 16px rgba(18, 32, 46, 0.07);
}

.sos-project-gallery-item img {
  width: 100%;
  height: clamp(170px, 18vw, 260px);
  object-fit: cover;
  display: block;
  transition: transform 0.34s ease;
}

.sos-project-gallery-item:hover img {
  transform: scale(1.04);
}

.sos-project-gallery-caption {
  padding: 10px 12px 12px;
  color: #18354d;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.sos-no-scroll {
  overflow: hidden;
}

.sos-project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 18, 30, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 82px;
}

.sos-project-lightbox[hidden] {
  display: none !important;
}

.sos-project-lightbox-inner {
  width: min(1100px, 100%);
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sos-project-lightbox-inner img {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
}

.sos-project-lightbox-close,
.sos-project-lightbox-nav {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sos-project-lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.sos-project-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.sos-project-lightbox-prev {
  left: 18px;
}

.sos-project-lightbox-next {
  right: 18px;
}

.sos-project-lightbox-close:hover,
.sos-project-lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.58);
}

.sos-project-lightbox-close:focus-visible,
.sos-project-lightbox-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .sos-project-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sos-project-detail-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .sos-project-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .sos-project-portfolio-image img {
    height: 210px;
  }

  .sos-project-portfolio-section {
    padding-top: 40px;
  }

  .sos-projects-page-hero {
    min-height: 160px;
  }

  .sos-project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .sos-project-detail-head,
  .sos-project-detail-cover {
    border-radius: 12px;
  }

  .sos-project-lightbox {
    padding: 26px 16px;
  }

  .sos-project-lightbox-nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 24px;
  }

  .sos-project-lightbox-prev {
    left: 8px;
  }

  .sos-project-lightbox-next {
    right: 8px;
  }
}
