:root {
  --brand-950: #08283a;
  --brand-900: #0d3449;
  --brand-800: #123f57;
  --brand-700: #17536f;
  --brand-600: #1d6989;
  --brand-500: #2a83a6;
  --accent-600: #d5682f;
  --accent-500: #e47b3c;
  --ink-900: #16242c;
  --ink-700: #40515b;
  --ink-500: #6d7b83;
  --surface-100: #f3f6f7;
  --surface-50: #f8fafb;
  --border: #dce4e8;
  --white: #fff;
  --shadow-sm: 0 8px 24px rgba(8, 40, 58, 0.08);
  --shadow-md: 0 18px 45px rgba(8, 40, 58, 0.14);
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink-900);
  background: var(--white);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-size: 1rem;
}

#main-content {
  display: flow-root;
  min-height: 45vh;
}

#main-content section {
  float: none;
  width: auto;
}

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-600);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--brand-950);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--brand-950);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

.site-topbar {
  padding: 0.42rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--brand-950);
  font-size: 0.84rem;
}

.site-topbar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 1030;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 228, 232, 0.9);
  box-shadow: 0 3px 18px rgba(8, 40, 58, 0.05);
  backdrop-filter: blur(12px);
}

.site-header .navbar {
  min-height: 78px;
  padding: 0.65rem 0;
}

.navbar-brand img {
  display: block;
  width: auto;
  height: 46px;
}

.site-header .nav-link {
  position: relative;
  margin: 0 0.08rem;
  padding: 0.8rem 0.72rem !important;
  color: var(--ink-700);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .nav-link::after {
  position: absolute;
  right: 0.72rem;
  bottom: 0.44rem;
  left: 0.72rem;
  height: 2px;
  content: "";
  background: var(--accent-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--brand-900);
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  transform: scaleX(1);
}

.site-messages {
  position: relative;
  z-index: 1020;
  padding-top: 1rem;
}

.site-messages .alert {
  margin-bottom: 0;
  border: 0;
  border-left: 4px solid currentColor;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-search {
  display: flex;
  min-width: 210px;
  overflow: hidden;
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.site-search:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(42, 131, 166, 0.13);
}

.site-search .form-control {
  min-width: 0;
  padding: 0.55rem 0 0.55rem 0.9rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 0.88rem;
}

.site-search button {
  width: 42px;
  color: var(--brand-700);
  background: transparent;
  border: 0;
}

.site-search button:hover {
  color: var(--white);
  background: var(--brand-700);
}

.language-switcher select {
  min-height: 38px;
  padding: 0.4rem 1.8rem 0.4rem 0.65rem;
  color: var(--ink-700);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
}

.btn {
  padding: 0.64rem 1.05rem;
  border-radius: var(--radius-sm);
  font-weight: 650;
  transition: transform 150ms ease, box-shadow 150ms ease, color 150ms ease, background-color 150ms ease;
}

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

.btn-info,
.btn-primary {
  color: var(--white);
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-info:hover,
.btn-primary:hover {
  color: var(--white);
  background: var(--brand-900);
  border-color: var(--brand-900);
  box-shadow: var(--shadow-sm);
}

.btn-brand-light {
  color: var(--brand-950);
  background: var(--white);
  border-color: var(--white);
}

.btn-brand-light:hover {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.list-group-item.active {
  color: var(--white);
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.site-footer {
  clear: both;
  margin-top: 5rem;
  padding: 4rem 0 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 85% 15%, rgba(42, 131, 166, 0.2), transparent 28rem),
    var(--brand-950);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

.site-footer .btn-brand-light {
  color: var(--brand-950);
}

.site-footer .btn-brand-light:hover {
  color: var(--white);
}

.footer-contact-column .footer-social-qr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.footer-social-qr img {
  width: 128px;
  height: 128px;
  padding: 0.25rem;
  background: #fff;
  border-radius: 0.35rem;
  object-fit: contain;
}

.footer-social-qr p {
  max-width: 9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  line-height: 1.45;
}

.footer-logo {
  width: auto;
  max-width: 220px;
  height: 48px;
  margin-bottom: 1.1rem;
  object-fit: contain;
  object-position: left center;
}

.footer-intro {
  max-width: 34rem;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .container {
    max-width: calc(100% - 2rem);
  }

  .navbar-brand img {
    height: 42px;
  }

  .site-header .nav-link {
    padding-right: 0.4rem !important;
    padding-left: 0.4rem !important;
    font-size: 0.86rem;
  }

  .site-search {
    width: 180px;
    min-width: 180px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .container {
    max-width: calc(100% - 1.5rem);
  }

  .navbar-brand img {
    height: 38px;
  }

  .site-header .nav-link {
    padding-right: 0.28rem !important;
    padding-left: 0.28rem !important;
    font-size: 0.8rem;
  }

  .site-search {
    width: 155px;
    min-width: 155px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .language-switcher select {
    padding-right: 1.45rem;
    padding-left: 0.5rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    position: relative;
  }

  .site-header .navbar-collapse {
    padding: 1rem 0 0.4rem;
  }

  .site-header .nav-link {
    padding: 0.65rem 0 !important;
  }

  .site-header .nav-link::after {
    right: auto;
    bottom: 0.25rem;
    left: 0;
    width: 2.5rem;
  }

  .header-actions {
    align-items: stretch;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
  }

  .site-search {
    flex: 1;
  }
}

@media (max-width: 575.98px) {
  .site-topbar > .container > span {
    display: none;
  }

  .site-topbar > .container {
    justify-content: center !important;
  }

  .site-topbar .d-flex {
    width: 100%;
    justify-content: space-between;
  }

  .site-header .navbar {
    min-height: 68px;
  }

  .navbar-brand img {
    height: 38px;
  }

  .header-actions {
    flex-direction: column;
  }

  .language-switcher select {
    width: 100%;
  }

  .site-footer {
    padding-top: 3rem;
  }

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

/* Inner page foundations */

.page-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  color: rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 80% 20%, rgba(42, 131, 166, 0.26), transparent 24rem),
    var(--brand-950);
}

.page-hero h1 {
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 48rem;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.content-heading {
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.product-layout {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.content-heading h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.content-heading > p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--ink-700);
}

.category-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  grid-template-columns: minmax(9rem, 34%) 1fr;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-card-image {
  display: flex;
  padding: 0.7rem;
  background: var(--surface-100);
}

.category-card-image img,
.category-card-image .image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-sm);
}

.category-card-body {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 1.35rem;
}

.category-card h2 {
  font-size: 1.2rem;
}

.category-card h2 a,
.solution-list-card h2 a {
  color: var(--brand-950);
  text-decoration: none;
}

.category-card p {
  color: var(--ink-700);
}

.category-card .category-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  color: var(--accent-600);
  font-size: 0.76rem;
  font-weight: 800;
}

.category-card .text-link {
  margin-top: auto;
}

.solution-list-card {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.solution-list-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.solution-list-image {
  display: block;
  overflow: hidden;
  background: var(--surface-100);
}

.solution-list-image img,
.solution-list-image .image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.solution-list-image img {
  transition: transform 250ms ease;
}

.solution-list-card:hover .solution-list-image img {
  transform: scale(1.025);
}

.solution-list-body {
  padding: 1.5rem;
}

.solution-list-category {
  margin-bottom: 0.5rem;
  color: var(--accent-600);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.solution-list-card h2 {
  font-size: 1.3rem;
}

.solution-list-body > p:not(.solution-list-category) {
  color: var(--ink-700);
}

.solution-map-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.13), transparent 22rem),
    linear-gradient(135deg, var(--brand-950), var(--brand-700));
}

.solution-map-hero h1,
.solution-map-hero .eyebrow {
  color: var(--white);
}

.solution-map-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.solution-map-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.solution-map-steps span {
  display: flex;
  min-height: 4.2rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.solution-map-steps strong {
  color: #ffbd8f;
  font-size: 0.8rem;
}

.solution-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.solution-category-links a {
  padding: 0.55rem 0.9rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.solution-category-links a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.solution-group-section {
  scroll-margin-top: 6rem;
  background: var(--surface-50);
}

.solution-group-section + .solution-group-section {
  border-top: 1px solid var(--border);
}

.solution-group-heading {
  max-width: 57rem;
  margin-bottom: 1.7rem;
}

.solution-group-heading h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.solution-group-heading > p:last-child {
  color: var(--ink-700);
}

.solution-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.solution-featured-image {
  display: flex;
  min-height: 24rem;
  padding: 1.2rem;
  overflow: hidden;
  background: var(--surface-100);
}

.solution-featured-image img,
.solution-featured-image .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-md);
}

.solution-featured-body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 4rem);
}

.solution-featured-body h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
}

.solution-featured-body h3 a {
  color: var(--brand-950);
  text-decoration: none;
}

.solution-featured-body > p:not(.eyebrow) {
  color: var(--ink-700);
}

.solution-featured-body .btn {
  margin-top: 0.8rem;
}

.solution-list-heading {
  max-width: 48rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.solution-list-heading > p:last-child {
  color: var(--ink-700);
}

@media (max-width: 991.98px) {
  .solution-map-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .solution-featured-image {
    min-height: 20rem;
  }
}

@media (max-width: 575.98px) {
  .solution-map-steps {
    grid-template-columns: 1fr;
  }

  .solution-map-steps span {
    min-height: 0;
  }

  .solution-featured-image {
    min-height: 15rem;
    padding: 0.75rem;
  }

  .solution-featured-body {
    padding: 1.5rem;
  }
}

.empty-state {
  display: grid;
  min-height: 16rem;
  color: var(--ink-500);
  background: var(--surface-50);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  place-content: center;
  text-align: center;
}

.empty-state i {
  margin-bottom: 0.8rem;
  color: var(--brand-500);
  font-size: 2rem;
}

.empty-state h2 {
  margin-bottom: 0.45rem;
  color: var(--brand-950);
  font-size: 1.25rem;
}

.empty-state > p {
  max-width: 30rem;
  margin-right: auto;
  margin-left: auto;
}

.content-result-summary {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  margin-top: 1rem;
  color: var(--brand-800);
  background: #eaf4f7;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
}

.product-search-form {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.product-search-form input {
  min-width: 0;
  flex: 1;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.product-search-form input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(42, 131, 166, 0.14);
  outline: 0;
}

.product-search-form .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.product-search-empty {
  padding: 2rem;
}

.product-search-empty .btn {
  margin-top: 0.65rem;
}

.product-result-list {
  display: grid;
  gap: 1rem;
}

.product-result-row {
  display: grid;
  min-height: 10rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  grid-template-columns: 11rem 1fr;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.product-result-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-result-image {
  display: grid;
  padding: 0.7rem;
  background: var(--surface-100);
  place-items: center;
}

.product-result-image img,
.product-result-image .image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 8.6rem;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-sm);
}

.product-result-image .image-placeholder {
  display: grid;
  color: var(--brand-500);
  place-items: center;
}

.product-result-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 1.3rem 1.5rem;
}

.product-result-copy h2 {
  font-size: 1.25rem;
}

.product-result-copy h2 a {
  color: var(--brand-950);
  text-decoration: none;
}

.product-result-copy .product-result-category {
  margin-bottom: 0.35rem;
  color: var(--accent-600);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-result-copy p {
  color: var(--ink-700);
}

.product-result-copy .text-link {
  margin-top: auto;
}

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

@media (max-width: 575.98px) {
  .category-card {
    grid-template-columns: 1fr;
  }

  .category-card-image img,
  .category-card-image .image-placeholder {
    height: 13rem;
    min-height: 0;
  }

  .product-result-row {
    grid-template-columns: 8rem 1fr;
  }

  .product-result-image img,
  .product-result-image .image-placeholder {
    min-height: 7rem;
  }

  .product-result-copy {
    padding: 1rem;
  }

  .product-search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .product-search-form .btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Home page */

.section-space {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

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

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  max-width: 48rem;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-copy {
  color: var(--ink-700);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.6rem;
}

.section-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-decoration: none;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(110deg, rgba(8, 40, 58, 0.98) 0%, rgba(13, 52, 73, 0.94) 54%, rgba(23, 83, 111, 0.88) 100%),
    url("../img/logo/construction_logo.png") center/cover;
}

.home-hero::before {
  position: absolute;
  width: 38rem;
  height: 38rem;
  top: -18rem;
  right: -12rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 6rem rgba(255, 255, 255, 0.025),
    0 0 0 12rem rgba(255, 255, 255, 0.018);
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.home-hero .eyebrow {
  color: #ffad78;
}

.home-hero h1 {
  max-width: 56rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.08;
}

.hero-lead {
  max-width: 48rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.btn-hero-primary {
  color: var(--white);
  background: var(--accent-500);
  border-color: var(--accent-500);
}

.btn-hero-primary:hover {
  color: var(--white);
  background: var(--accent-600);
  border-color: var(--accent-600);
  box-shadow: 0 12px 30px rgba(213, 104, 47, 0.28);
}

.btn-hero-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-hero-secondary:hover {
  color: var(--brand-950);
  background: var(--white);
  border-color: var(--white);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.1rem;
  font-size: 0.9rem;
}

.hero-trust i {
  margin-right: 0.45rem;
  color: #84d2b5;
}

.hero-visual {
  position: relative;
  max-width: 31rem;
  padding: 0.75rem;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.hero-visual > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--white);
  border-radius: calc(var(--radius-lg) - 0.35rem);
}

.hero-stat {
  position: absolute;
  right: -1rem;
  bottom: 1.8rem;
  left: 2rem;
  display: grid;
  padding: 1rem 1.2rem;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  color: var(--brand-950);
  font-size: 1.05rem;
}

.hero-stat span {
  font-size: 0.86rem;
}

.capability-card {
  height: 100%;
  padding: 2rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.capability-card:hover {
  border-color: rgba(42, 131, 166, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.capability-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.4rem;
  color: var(--brand-700);
  background: #e9f4f7;
  border-radius: 1rem;
  font-size: 1.35rem;
  place-items: center;
}

.capability-card h3 {
  font-size: 1.2rem;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--ink-700);
}

.product-card {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card-image {
  display: block;
  padding: 1rem;
  background: var(--surface-100);
}

.product-card-image img,
.image-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-sm);
  place-items: center;
}

.image-placeholder {
  color: var(--brand-500);
  font-size: 2rem;
}

.product-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.product-category {
  margin-bottom: 0.45rem;
  color: var(--accent-600);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.product-card h3 a,
.solution-card h3 a {
  color: var(--brand-950);
  text-decoration: none;
}

.product-card p:not(.product-category) {
  color: var(--ink-700);
}

.engineering-section {
  color: rgba(255, 255, 255, 0.76);
  background: var(--brand-950);
}

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

.engineering-section .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.engineering-image {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.engineering-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
  border-radius: var(--radius-md);
}

.engineering-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.engineering-points > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.engineering-points strong {
  color: #ffad78;
}

.solution-card {
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.solution-card > a {
  display: block;
  overflow: hidden;
  background: var(--surface-100);
}

.solution-card img,
.solution-card .image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 250ms ease;
}

.solution-card:hover img {
  transform: scale(1.025);
}

.solution-card > div {
  padding: 1.4rem 1.5rem 1.6rem;
}

.solution-card > div > p {
  margin-bottom: 0.4rem;
  color: var(--accent-600);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.solution-card h3 {
  font-size: 1.22rem;
}

.solution-card span {
  color: var(--ink-700);
}

.home-cta {
  padding: 2rem 0 0;
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.13), transparent 18rem),
    var(--brand-700);
  border-radius: var(--radius-lg);
}

.home-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.home-cta p:not(.eyebrow) {
  max-width: 48rem;
  margin-bottom: 0;
}

.home-cta .eyebrow {
  color: #ffd0b2;
}

@media (max-width: 991.98px) {
  .home-hero {
    padding-top: 4.5rem;
  }

  .hero-visual {
    margin-right: auto;
    margin-left: 0;
  }

  .home-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }
}

@media (max-width: 575.98px) {
  .hero-stat {
    position: static;
    margin-top: 0.75rem;
  }

  .home-cta {
    padding: 0;
  }

  .home-cta > .container {
    max-width: none;
    padding: 0;
  }

  .home-cta-inner {
    border-radius: 0;
  }
}

/* Product pages */

.product-page {
  padding: 1.35rem 0 clamp(4rem, 7vw, 6rem);
  background:
    linear-gradient(180deg, var(--surface-50) 0, var(--white) 16rem);
}

.product-breadcrumb {
  margin-bottom: 1.5rem;
}

.product-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  color: var(--ink-500);
  font-size: 0.86rem;
  list-style: none;
}

.product-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-breadcrumb li:not(:last-child)::after {
  color: #aab7bd;
  content: "/";
}

.product-breadcrumb a {
  color: var(--ink-700);
  text-decoration: none;
}

.product-breadcrumb a:hover {
  color: var(--accent-600);
}

.product-catalog-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  color: var(--brand-950);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.product-catalog-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.product-sidebar-inner {
  position: sticky;
  top: 7rem;
}

.product-sidebar-card {
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.product-sidebar-heading {
  padding: 1.3rem 1.25rem 1rem;
}

.product-sidebar-heading p {
  margin-bottom: 0.25rem;
  color: var(--accent-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-sidebar-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.product-sidebar-search {
  display: flex;
  margin: 0 1.1rem 1rem;
  overflow: hidden;
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.product-sidebar-search:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(42, 131, 166, 0.12);
}

.product-sidebar-search input {
  width: 100%;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  background: transparent;
  border: 0;
  outline: 0;
}

.product-sidebar-search button {
  width: 2.7rem;
  flex: 0 0 2.7rem;
  color: var(--brand-700);
  background: transparent;
  border: 0;
}

.product-sidebar-search button:hover {
  color: var(--white);
  background: var(--brand-700);
}

.product-category-nav {
  border-top: 1px solid var(--border);
}

.product-nav-group + .product-nav-group {
  border-top: 1px solid var(--border);
}

.product-nav-parent {
  display: flex;
  align-items: stretch;
}

.product-nav-parent > a {
  min-width: 0;
  flex: 1;
  padding: 0.78rem 0.55rem 0.78rem 1.1rem;
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.product-nav-parent > button {
  width: 2.7rem;
  flex: 0 0 2.7rem;
  color: var(--ink-500);
  background: transparent;
  border: 0;
}

.product-nav-parent > button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.product-nav-parent.active {
  background: #eaf4f7;
}

.product-nav-parent.active > a,
.product-nav-parent:hover > a {
  color: var(--brand-900);
}

.product-nav-children {
  padding: 0.25rem 0.7rem 0.8rem;
  background: var(--surface-50);
}

.product-nav-children > a {
  display: block;
  padding: 0.55rem 0.65rem;
  color: var(--ink-700);
  border-radius: 0.4rem;
  font-size: 0.84rem;
  line-height: 1.4;
  text-decoration: none;
}

.product-nav-children > a:hover {
  color: var(--brand-900);
  background: var(--white);
}

.product-nav-children > a.active {
  color: var(--white);
  background: var(--brand-700);
  font-weight: 700;
}

.product-nav-empty {
  padding: 1rem;
  margin: 0;
  color: var(--ink-500);
}

.product-support-card {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 255, 255, 0.13), transparent 10rem),
    var(--brand-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.product-support-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  place-items: center;
}

.product-support-card .eyebrow {
  margin-bottom: 0.35rem;
  color: #ffb687;
  font-size: 0.68rem;
}

.product-support-card h2 {
  color: var(--white);
  font-size: 1.2rem;
}

.product-support-card > p:not(.eyebrow) {
  font-size: 0.86rem;
}

.product-support-card ul {
  padding: 0.8rem 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.product-support-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.35rem 0;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.product-support-card li i {
  width: 1rem;
  flex: 0 0 1rem;
  margin-top: 0.28rem;
  color: #8fd0df;
  text-align: center;
}

.product-support-card a:not(.btn) {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.product-summary {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-gallery {
  position: relative;
  overflow: hidden;
  padding: 0.75rem;
  background:
    linear-gradient(145deg, #f7fafb, #edf2f4);
  border: 1px solid #e6ecef;
  border-radius: var(--radius-md);
}

.product-gallery .carousel-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  border-radius: calc(var(--radius-md) - 0.25rem);
}

.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next {
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  color: var(--white);
  background: rgba(8, 40, 58, 0.78);
  border-radius: 50%;
  opacity: 1;
  transform: translateY(-50%);
}

.product-gallery .carousel-control-prev {
  left: 1.15rem;
}

.product-gallery .carousel-control-next {
  right: 1.15rem;
}

.product-gallery .carousel-control-prev-icon,
.product-gallery .carousel-control-next-icon {
  width: 1rem;
  height: 1rem;
}

.product-gallery .carousel-indicators {
  bottom: 0.9rem;
  gap: 0.3rem;
  margin-bottom: 0;
}

.product-gallery .carousel-indicators [data-bs-target] {
  width: 0.55rem;
  height: 0.55rem;
  margin: 0;
  background: var(--brand-700);
  border: 2px solid var(--white);
  border-radius: 50%;
  opacity: 0.42;
}

.product-gallery .carousel-indicators .active {
  opacity: 1;
}

.product-gallery-placeholder {
  display: grid;
  min-height: 24rem;
  color: var(--brand-500);
  background: var(--white);
  border-radius: var(--radius-sm);
  place-content: center;
  text-align: center;
}

.product-gallery-placeholder i {
  margin-bottom: 0.8rem;
  font-size: 2.4rem;
}

.product-summary-category {
  margin-bottom: 0.75rem;
  color: var(--accent-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-summary-content h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  overflow-wrap: anywhere;
}

.product-summary-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-700);
  font-size: 1.02rem;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.product-summary-excerpt > :last-child {
  margin-bottom: 0;
}

.product-summary-overview-link {
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: var(--brand-700);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.product-summary-overview-link:hover {
  color: var(--accent-600);
}

.product-summary-points {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem 0;
  margin: 1.2rem 0 0;
  border-top: 1px solid var(--border);
  color: var(--ink-700);
  font-size: 0.88rem;
}

.product-summary-points span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.product-summary-points i {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--brand-700);
  background: #e8f3f6;
  border-radius: 50%;
  font-size: 0.62rem;
  place-items: center;
}

.product-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.btn-outline-primary {
  color: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-outline-primary:hover {
  color: var(--white);
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.product-section-navigation {
  position: sticky;
  z-index: 1010;
  top: 78px;
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem;
  margin: 1.2rem 0 0;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
  backdrop-filter: blur(12px);
}

.product-section-navigation a {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  color: var(--ink-700);
  border-radius: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.product-section-navigation a:hover,
.product-section-navigation a:focus {
  color: var(--white);
  background: var(--brand-700);
}

.product-detail {
  counter-reset: product-section;
}

.product-content-section {
  counter-increment: product-section;
  padding: clamp(2.3rem, 5vw, 4rem) 0 0;
  scroll-margin-top: 10rem;
}

.product-section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.product-section-heading > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  color: var(--brand-700);
  background: #eaf4f7;
  border-radius: 0.85rem;
  font-weight: 800;
  place-items: center;
}

.product-section-heading > span::before {
  content: counter(product-section, decimal-leading-zero);
}

.product-section-heading p {
  margin-bottom: 0.1rem;
  color: var(--accent-600);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.product-richtext {
  color: var(--ink-700);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.product-richtext h2,
.product-richtext h3,
.product-richtext h4,
.product-richtext h5,
.product-richtext h6 {
  margin-top: 1.8em;
  margin-bottom: 0.65em;
}

.product-richtext h2 {
  font-size: 1.65rem;
}

.product-richtext h3 {
  font-size: 1.35rem;
}

.product-richtext h4,
.product-richtext h5,
.product-richtext h6 {
  font-size: 1.08rem;
}

.product-richtext p,
.product-richtext ul,
.product-richtext ol {
  margin-bottom: 1rem;
}

.product-richtext > p:first-child {
  color: var(--ink-800);
  font-size: 1.05rem;
  line-height: 1.9;
}

.product-richtext h2,
.product-richtext h3 {
  padding-left: 0.8rem;
  border-left: 3px solid var(--brand-500);
}

.product-richtext ul,
.product-richtext ol {
  padding-left: 1.45rem;
}

.product-richtext li::marker {
  color: var(--brand-600);
}

.product-richtext li + li {
  margin-top: 0.35rem;
}

.product-richtext img {
  height: auto !important;
  max-width: 100% !important;
  border-radius: var(--radius-sm);
}

.product-richtext figure.image {
  max-width: 100%;
  margin: 1.5rem auto;
  text-align: center;
}

.product-richtext figure.image figcaption {
  padding-top: 0.5rem;
  color: var(--ink-500);
  font-size: 0.82rem;
}

.product-richtext figure.table {
  display: block;
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.product-richtext table {
  width: 100%;
  min-width: 42rem;
  margin: 0;
  color: var(--ink-700);
  border-collapse: collapse;
}

.product-richtext table th,
.product-richtext table td {
  min-width: 7rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  vertical-align: middle;
}

.product-richtext table th,
.product-richtext table tr:first-child td {
  color: var(--brand-950);
  background: #edf5f7;
  font-weight: 700;
}

.product-richtext iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.product-downloads ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.product-downloads li {
  margin: 0;
}

.product-downloads a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  color: var(--brand-900);
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 650;
  text-decoration: none;
}

.product-downloads a::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  color: var(--white);
  content: "\f019";
  background: var(--brand-700);
  border-radius: 0.5rem;
  font-family: "Font Awesome 5 Free";
  font-size: 0.8rem;
  font-weight: 900;
  place-items: center;
}

.product-downloads a:hover {
  border-color: rgba(42, 131, 166, 0.5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.product-related-section {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.product-related-heading {
  margin-bottom: 1.4rem;
}

.product-related-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.product-related-card {
  position: relative;
  display: flex;
  min-height: 8rem;
  align-items: flex-start;
  flex-direction: column;
  padding: 1.25rem 3.2rem 1.25rem 1.25rem;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.product-related-card span {
  margin-bottom: 0.45rem;
  color: var(--accent-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-related-card strong {
  color: var(--brand-950);
  line-height: 1.45;
}

.product-related-card i {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  color: var(--brand-600);
}

.product-related-card:hover {
  border-color: rgba(42, 131, 166, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 255, 255, 0.13), transparent 15rem),
    var(--brand-700);
  border-radius: var(--radius-lg);
}

.product-bottom-cta .eyebrow {
  margin-bottom: 0.4rem;
  color: #ffd0b2;
}

.product-bottom-cta h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.product-bottom-cta p:not(.eyebrow) {
  max-width: 42rem;
  margin-bottom: 0;
}

.product-bottom-cta .btn {
  flex: 0 0 auto;
}

.product-mobile-cta {
  display: none;
}

#getaquote .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

#getaquote .modal-header {
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  color: var(--white);
  background: var(--brand-900);
  border: 0;
}

#getaquote .modal-title {
  color: var(--white);
}

#getaquote .btn-close {
  margin-top: 0.1rem;
  filter: invert(1) grayscale(100%) brightness(200%);
}

#getaquote .modal-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

#getaquote .quote-modal-eyebrow {
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

#getaquote .quote-modal-intro {
  margin-bottom: 1.2rem;
  color: var(--ink-500);
}

#getaquote form {
  padding: 0;
}

#getaquote .form-label {
  margin-bottom: 0.35rem;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 650;
}

#getaquote .form-label span {
  color: #b54708;
}

#getaquote .form-control {
  min-height: 44px;
  border-color: var(--border);
  border-radius: 0.55rem;
}

#getaquote textarea.form-control {
  min-height: 118px;
}

#getaquote .form-control:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(42, 131, 166, 0.13);
}

#getaquote .quote-privacy-note {
  margin-bottom: 0.9rem;
  color: var(--ink-500);
  font-size: 0.8rem;
}

#getaquote .quote-privacy-note i {
  margin-right: 0.35rem;
  color: var(--brand-700);
}

@media (max-width: 991.98px) {
  .product-page {
    padding-top: 1rem;
  }

  .product-sidebar-inner {
    position: static;
    padding-bottom: 0.5rem;
  }

  .product-support-card {
    display: none;
  }

  .product-section-navigation {
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .product-summary {
    padding: 1rem;
  }

  .product-gallery {
    max-width: 34rem;
    margin: 0 auto;
  }

  .product-summary-content h1 {
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    line-height: 1.08;
  }

  .product-summary-excerpt {
    -webkit-line-clamp: 7;
  }

  .product-summary-actions {
    margin-top: 1rem;
  }

  .product-bottom-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-page {
    padding-bottom: 7rem;
  }

  .product-mobile-cta {
    position: fixed;
    z-index: 1040;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 0.65rem;
    padding: 0.7rem max(0.8rem, env(safe-area-inset-right))
      calc(0.7rem + env(safe-area-inset-bottom))
      max(0.8rem, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -0.75rem 2rem rgba(8, 40, 58, 0.12);
    backdrop-filter: blur(12px);
  }

  .product-mobile-cta .btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .product-mobile-phone {
    color: var(--brand-900);
    background: var(--white);
    border: 1px solid var(--brand-700);
    font-weight: 750;
  }
}

@media (max-width: 575.98px) {
  .product-page > .container {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .product-gallery .carousel-control-prev,
  .product-gallery .carousel-control-next {
    width: 2.15rem;
    height: 2.15rem;
  }

  .product-summary-actions {
    display: grid;
  }

  .product-summary-actions .btn {
    width: 100%;
  }

  .product-section-navigation {
    margin-right: -0.2rem;
    margin-left: -0.2rem;
  }

  .product-content-section {
    scroll-margin-top: 6rem;
  }

  .product-section-heading {
    align-items: flex-start;
  }

  .product-section-heading > span {
    width: 2.6rem;
    height: 2.6rem;
    flex-basis: 2.6rem;
  }

  .product-richtext figure.table {
    margin-right: -0.85rem;
    margin-left: -0.85rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .product-bottom-cta {
    margin-right: -0.85rem;
    margin-left: -0.85rem;
    border-radius: 0;
  }
}

/* Article detail */

.article-page {
  padding: 1.35rem 0 clamp(4rem, 7vw, 6rem);
  background:
    linear-gradient(180deg, var(--surface-50) 0, var(--white) 18rem);
}

.inner-breadcrumb {
  margin-bottom: 1.6rem;
}

.inner-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  color: var(--ink-500);
  font-size: 0.84rem;
  list-style: none;
}

.inner-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.inner-breadcrumb li:not(:last-child)::after {
  color: #aab7bd;
  content: "/";
}

.inner-breadcrumb li:last-child {
  max-width: min(36rem, 72vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inner-breadcrumb a {
  color: var(--ink-700);
  text-decoration: none;
}

.article-shell {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-header {
  padding: clamp(1.6rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.article-category {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  margin-bottom: 1rem;
  color: var(--accent-600);
  background: #fff4ec;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.article-header h1 {
  max-width: 50rem;
  margin-bottom: 1.3rem;
  font-size: clamp(2rem, 5vw, 3.45rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  color: var(--ink-500);
  font-size: 0.84rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.article-meta i {
  color: var(--brand-600);
}

.article-cover {
  margin: 0;
  background: var(--surface-100);
}

.article-cover img {
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

.article-content {
  padding: clamp(1.6rem, 5vw, 3.5rem);
}

.article-sidebar {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
}

.sidebar-panel {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.sidebar-panel .eyebrow {
  margin-bottom: 0.25rem;
  font-size: 0.67rem;
}

.sidebar-panel h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.article-search {
  display: flex;
  overflow: hidden;
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.article-search:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(42, 131, 166, 0.12);
}

.article-search input {
  min-width: 0;
  flex: 1;
  padding: 0.65rem 0.75rem;
  background: transparent;
  border: 0;
  outline: 0;
}

.article-search button {
  width: 2.75rem;
  color: var(--brand-700);
  background: transparent;
  border: 0;
}

.article-search button:hover {
  color: var(--white);
  background: var(--brand-700);
}

.article-category-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.article-category-list li + li {
  border-top: 1px solid var(--border);
}

.article-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem 0;
  color: var(--ink-700);
  text-decoration: none;
}

.article-category-list a span:last-child {
  display: grid;
  min-width: 1.6rem;
  height: 1.6rem;
  color: var(--brand-700);
  background: #eaf4f7;
  border-radius: 999px;
  font-size: 0.72rem;
  place-items: center;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.article-tags a {
  padding: 0.38rem 0.62rem;
  color: var(--ink-700);
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  text-decoration: none;
}

.article-tags a:hover {
  color: var(--white);
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.article-tags span {
  opacity: 0.7;
}

.article-support {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 255, 255, 0.14), transparent 10rem),
    var(--brand-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.article-support > i {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  place-items: center;
}

.article-support .eyebrow {
  margin-bottom: 0.3rem;
  color: #ffb687;
  font-size: 0.68rem;
}

.article-support h2 {
  color: var(--white);
  font-size: 1.25rem;
}

.article-support p:not(.eyebrow) {
  font-size: 0.86rem;
}

.comment-section {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.comment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.comment-heading .eyebrow {
  margin-bottom: 0.1rem;
}

.comment-heading h2 {
  margin: 0;
  font-size: 1.55rem;
}

.comment-heading > span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  color: var(--white);
  background: var(--brand-700);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  place-items: center;
}

.comment-item {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem 0;
  grid-template-columns: 2.5rem 1fr;
}

.comment-item + .comment-item {
  border-top: 1px solid var(--border);
}

.comment-avatar {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--white);
  background: var(--brand-600);
  border-radius: 50%;
  font-weight: 800;
  place-items: center;
}

.comment-author {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.comment-author time {
  color: var(--ink-500);
  font-size: 0.76rem;
}

.comment-item p {
  margin: 0.35rem 0 0;
  color: var(--ink-700);
}

.comment-empty {
  padding: 2rem 1rem;
  color: var(--ink-500);
  background: var(--surface-50);
  border-radius: var(--radius-sm);
  text-align: center;
}

.comment-empty i {
  margin-bottom: 0.6rem;
  color: var(--brand-500);
  font-size: 1.7rem;
}

.comment-empty p {
  margin: 0;
}

.comment-form {
  padding-top: 1.4rem;
  margin-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.comment-form textarea {
  min-height: 8.5rem;
  border-color: var(--border);
  border-radius: var(--radius-sm);
}

.comment-login-note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  margin-top: 1rem;
  color: var(--ink-700);
  background: var(--surface-50);
  border-radius: var(--radius-sm);
}

.comment-login-note i {
  color: var(--brand-600);
}

.comment-login-note p {
  margin: 0;
}

/* About and contact */

.about-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
}

.about-hero::after,
.contact-hero::after {
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 32rem;
  height: 32rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(255, 255, 255, 0.025),
    0 0 0 10rem rgba(255, 255, 255, 0.018);
}

.about-hero .container,
.contact-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero .eyebrow,
.contact-hero .eyebrow {
  color: #ffb687;
}

.about-visual {
  position: relative;
  max-width: 38rem;
  padding: 0.75rem;
  background: var(--surface-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-visual > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 0.35rem);
}

.about-visual-note {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  display: grid;
  max-width: 19rem;
  padding: 1rem 1.2rem;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.96);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.about-visual-note strong {
  color: var(--brand-950);
}

.about-visual-note span {
  font-size: 0.82rem;
}

.value-card {
  height: 100%;
  padding: 1.7rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-card > span {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.2rem;
  color: var(--brand-700);
  background: #eaf4f7;
  border-radius: 0.9rem;
  place-items: center;
}

.value-card .eyebrow {
  margin-bottom: 0.2rem;
  font-size: 0.67rem;
}

.value-card h3 {
  font-size: 1.3rem;
}

.value-card > p:last-child {
  margin: 0;
  color: var(--ink-700);
}

.about-principle {
  display: grid;
  align-items: start;
  gap: 2rem 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 85% 15%, rgba(42, 131, 166, 0.22), transparent 18rem),
    var(--brand-950);
  border-radius: var(--radius-lg);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-principle .eyebrow {
  color: #ffb687;
}

.about-principle h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.about-principle > p {
  margin: 0;
  font-size: 1.05rem;
}

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

.contact-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.7rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.2rem;
  color: var(--white);
  background: var(--brand-700);
  border-radius: 0.9rem;
  place-items: center;
}

.contact-card .eyebrow {
  margin-bottom: 0.2rem;
  font-size: 0.67rem;
}

.contact-card h2 {
  margin-bottom: 1.2rem;
  font-size: 1.35rem;
}

.contact-card ul {
  display: grid;
  gap: 0.85rem;
  padding: 0 0 1.2rem;
  margin: 0 0 1.2rem;
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.contact-card li {
  display: grid;
  align-items: start;
  gap: 0.7rem;
  color: var(--ink-700);
  grid-template-columns: 1.1rem 1fr;
  overflow-wrap: anywhere;
}

.contact-card li i {
  margin-top: 0.3rem;
  color: var(--brand-600);
  text-align: center;
}

.contact-card li a {
  color: var(--ink-700);
  text-decoration: none;
}

.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  font-weight: 750;
  text-decoration: none;
}

.contact-guidance {
  padding: 0 0 clamp(4rem, 7vw, 6rem);
  background: var(--surface-50);
}

.contact-guidance-inner {
  display: grid;
  gap: 2rem 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.contact-guidance-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.contact-guidance-inner > div > p:last-child {
  margin-bottom: 0;
  color: var(--ink-700);
}

.contact-guidance-inner ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-guidance-inner li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0;
  color: var(--ink-700);
  border-bottom: 1px solid var(--border);
}

.contact-guidance-inner li span {
  color: var(--accent-600);
  font-size: 0.72rem;
  font-weight: 800;
}

/* Login */

.login-page {
  display: grid;
  min-height: 68vh;
  padding: clamp(3rem, 7vw, 6rem) 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(42, 131, 166, 0.16), transparent 25rem),
    var(--surface-50);
  place-items: center;
}

.login-shell {
  display: grid;
  max-width: 62rem;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.85fr);
}

.login-context {
  padding: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 255, 255, 0.12), transparent 15rem),
    var(--brand-900);
}

.login-context .eyebrow {
  color: #ffb687;
}

.login-context h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.login-context ul {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem 0 0;
  margin: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.login-context li {
  display: flex;
  gap: 0.65rem;
}

.login-context li i {
  margin-top: 0.35rem;
  color: #86d2b6;
}

.login-card {
  padding: clamp(2rem, 5vw, 3.5rem);
}

.login-card .eyebrow {
  margin-bottom: 0.25rem;
}

.login-card h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.login-card .form-label {
  color: var(--ink-700);
  font-weight: 650;
}

.login-card .form-control {
  min-height: 46px;
  border-color: var(--border);
  border-radius: var(--radius-sm);
}

.login-card .form-control:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(42, 131, 166, 0.13);
}

.login-help {
  margin: 1.2rem 0 0;
  color: var(--ink-500);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-support {
    grid-column: 1 / -1;
  }

  .about-principle,
  .contact-guidance-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-support {
    grid-column: auto;
  }

  .about-visual-note {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-context {
    padding-bottom: 2.2rem;
  }
}

@media (max-width: 575.98px) {
  .article-page > .container {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .article-shell,
  .comment-section {
    border-radius: var(--radius-md);
  }

  .article-header,
  .article-content {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .comment-author {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
  }

  .login-page > .container {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }
}

/* Error pages */

.error-page {
  display: grid;
  min-height: 66vh;
  padding: clamp(3rem, 8vw, 7rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(42, 131, 166, 0.14), transparent 24rem),
    linear-gradient(180deg, var(--surface-50), var(--white));
  place-items: center;
}

.error-shell {
  position: relative;
  max-width: 48rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-code {
  position: absolute;
  top: -2.8rem;
  right: -0.5rem;
  color: rgba(23, 83, 111, 0.06);
  font-size: clamp(8rem, 25vw, 15rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.error-shell > :not(.error-code) {
  position: relative;
  z-index: 1;
}

.error-shell h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.error-copy {
  max-width: 36rem;
  margin: 0 auto 1.8rem;
  color: var(--ink-700);
  font-size: 1.05rem;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 575.98px) {
  .error-page > .container {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

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

  .error-actions .text-link {
    justify-content: center;
    padding: 0.65rem;
  }
}

/* Content discovery: article lists, search, tags and solution details */

.compact-page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.compact-page-hero .container {
  max-width: 58rem;
}

.listing-section,
.discovery-page {
  background: var(--surface-50);
}

.listing-heading {
  margin-bottom: 1.5rem;
}

.listing-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.post-card,
.discovery-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card {
  flex-direction: column;
}

.post-card:hover,
.discovery-card:hover {
  border-color: rgba(42, 131, 166, 0.38);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card-media,
.discovery-card-media {
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-100), #e6eef1);
}

.post-card-media {
  aspect-ratio: 16 / 9;
}

.post-card-media img,
.discovery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.post-card:hover .post-card-media img,
.discovery-card:hover .discovery-card-media img {
  transform: scale(1.035);
}

.post-card-media .image-placeholder,
.discovery-card-media .image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 8rem;
  color: var(--brand-500);
  font-size: 2rem;
  place-items: center;
}

.post-card-body,
.discovery-card-body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
}

.post-card-body {
  padding: 1.35rem;
}

.post-card-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: var(--ink-500);
  font-size: 0.82rem;
}

.post-card-meta span {
  color: var(--brand-600);
  font-weight: 700;
}

.post-card h2 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

.post-card h2 a,
.discovery-card h2 a {
  color: inherit;
  text-decoration: none;
}

.post-card-body > p,
.discovery-card-body > p {
  color: var(--ink-700);
}

.post-card-body > p {
  flex: 1;
  margin-bottom: 1rem;
}

.content-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2rem;
}

.content-pagination a,
.content-pagination span {
  display: grid;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  place-items: center;
  text-decoration: none;
}

.content-pagination .current {
  color: var(--white);
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.solution-article {
  max-width: 58rem;
  margin-right: auto;
  margin-left: auto;
}

.solution-lead {
  max-width: 47rem;
  margin: 1.2rem 0 0;
  color: var(--ink-700);
  font-size: 1.08rem;
}

.solution-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.solution-scope span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.72rem;
  color: var(--brand-800);
  background: var(--surface-100);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.solution-scope i,
.solution-boundary-note i {
  color: var(--accent-600);
}

.solution-boundary-note {
  display: flex;
  max-width: 47rem;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin: 1.2rem 0 0;
  color: var(--ink-700);
  background: #fff8f2;
  border-left: 3px solid var(--accent-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
}

.solution-related {
  max-width: 58rem;
  padding: 2.2rem 0 0;
  margin: 0 auto;
}

.solution-tags {
  display: flex;
  max-width: 58rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1.5rem 0;
  margin: 0 auto;
}

.solution-tags a {
  padding: 0.35rem 0.7rem;
  background: var(--surface-100);
  border-radius: 999px;
  font-size: 0.88rem;
  text-decoration: none;
}

.discovery-page .container {
  max-width: 70rem;
}

.discovery-search {
  display: flex;
  max-width: 52rem;
  gap: 0.7rem;
  margin: 0 auto 2rem;
}

.discovery-search input {
  min-width: 0;
  flex: 1;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.discovery-search input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 0.2rem rgba(42, 131, 166, 0.14);
  outline: 0;
}

.content-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.content-tabs button {
  padding: 0.65rem 1rem;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.content-tabs button span {
  display: inline-grid;
  min-width: 1.55rem;
  height: 1.55rem;
  margin-left: 0.4rem;
  color: var(--ink-500);
  background: var(--surface-100);
  border-radius: 999px;
  font-size: 0.78rem;
  place-items: center;
}

.content-tabs button.active {
  color: var(--white);
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.content-tabs button.active span {
  color: var(--brand-950);
  background: var(--white);
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.discovery-card {
  min-height: 12rem;
}

.discovery-card-media {
  width: 10.5rem;
  flex: 0 0 10.5rem;
}

.discovery-card-body {
  padding: 1.15rem;
}

.discovery-card-type {
  margin-bottom: 0.35rem;
  color: var(--accent-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discovery-card h2 {
  margin-bottom: 0.55rem;
  font-size: 1.13rem;
}

.discovery-card-body > p {
  flex: 1;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}

.discovery-start {
  max-width: 52rem;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .post-grid,
  .discovery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .compact-page-hero {
    padding: 2.6rem 0;
  }

  .post-grid {
    gap: 1rem;
  }

  .post-card,
  .discovery-card {
    border-radius: var(--radius-md);
  }

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

  .content-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .content-tabs button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-sm);
  }

  .discovery-card {
    flex-direction: column;
  }

  .discovery-card-media {
    width: 100%;
    aspect-ratio: 16 / 8;
    flex-basis: auto;
  }

  .solution-tags {
    align-items: flex-start;
  }
}
