﻿:root {
  --ink: #152124;
  --muted: #5d6a70;
  --line: #d7e2e8;
  --soft: #f3f9fc;
  --paper: #ffffff;
  --brand: #159bd7;
  --brand-dark: #0879b5;
  --accent: #78b943;
  --warm: #d51b73;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 4px;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #2d3933;
  font-size: 17px;
  flex-wrap: wrap;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--brand);
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: var(--paper) !important;
  background: var(--brand);
}

.btn-primary:hover {
	color: var(--paper) !important;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-ghost {
  color: var(--brand-dark);
  background: #fff;
}
.btn-ghost:hover {
  color: var(--paper) !important;
  background: var(--brand);
}

.hero {
  padding: 70px 0 36px;
  background: linear-gradient(180deg, #eef9fe 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 14px 0 0;
}

.lead {
  font-size: 18px;
  color: #3b4942;
  max-width: 760px;
}

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

.media-slot {
  min-height: 310px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(21, 155, 215, 0.13), rgba(120, 185, 67, 0.14)),
    var(--soft);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.media-slot.small {
  min-height: 210px;
}

.media-photo {
  display: block;
  width: 100%;
  min-height: 310px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.media-photo.tall {
  aspect-ratio: 3 / 4;
}

.media-photo.contain {
  object-fit: contain;
}

.media-label {
  font-weight: 800;
}

.media-note {
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: #fff;
  padding: 20px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand-dark);
  background: #f5fbfe;
}

.stat-icon img {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat strong {
  display: block;
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card a {
  color: var(--brand-dark);
  font-weight: 700;
}

.card a:hover {
  color: var(--warm);
}

.text-link {
  color: var(--brand-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--warm);
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-link {
  display: block;
  color: inherit;
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
  transition: transform 180ms ease;
}

.image-link:hover img {
  transform: scale(1.025);
}

.image-card h3,
.image-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.image-card h3{ padding-top:20px}

.image-card p:last-child {
  margin-bottom: 18px;
}

.soft .card {
  background: #fff;
}

.section-more {
  margin-top: 24px;
}

.sample-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-color: rgba(21, 155, 215, 0.32);
  background: linear-gradient(135deg, #eef9fe 0%, #f7fcf5 100%);
}

.sample-cta h3 {
  color: var(--brand-dark);
}

.sample-cta p {
  max-width: 720px;
}

.quotation-details .grid-4 {
  align-items: stretch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  background: #f5fbfe;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: #344039;
  font-size: 13px;
}

.quote {
  background: #102e42;
  color: #fff;
}

.quote .lead,
.quote .eyebrow {
  color: #e3eee7;
}

.quote-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #e9f0ec;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: #17211c;
}

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

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form button {
  width: fit-content;
}

.breadcrumbs {
  padding: 20px 0 15px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--brand-dark);
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--warm);
}

.page-hero {
  padding: 42px 0 58px;
  background: var(--soft);
}

.article-hero .lead {
  max-width: 820px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: 34px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  margin-top: 34px;
}

.article-body p {
  color: #344348;
}

.article-body img { 
  max-width: 100% !important;
  height: auto !important;
}

.article-body td {
  box-sizing: border-box;
  padding: 10px 5px;
  border: 1px solid #ddd;
}

.article-hero-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.article-note {
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  background: var(--soft);
  font-size: 14px;
}

.article-inquiry {
  margin-top: 34px;
  padding: 24px;
  background: var(--soft);
}

.article-inquiry h2 {
  margin-top: 0;
}

.article-inquiry .eyebrow {
  margin-bottom: 6px;
}

.quick-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.quick-inquiry-form label {
  display: grid;
  gap: 7px;
  color: #26363b;
  font-size: 13px;
  font-weight: 700;
}

.quick-inquiry-form input,
.quick-inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.quick-inquiry-form textarea {
  min-height: 96px;
  resize: vertical;
}

.quick-inquiry-form .full {
  grid-column: 1 / -1;
}

.quick-inquiry-form button {
  width: fit-content;
}

.quick-inquiry-form [data-form-status] {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-checklist {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.article-checklist div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-checklist strong,
.article-checklist span {
  display: block;
}

.article-checklist span {
  margin-top: 6px;
  color: var(--muted);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 20px 0 8px;
}

.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

.article-table th,
.article-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: var(--soft);
  color: var(--brand-dark);
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.case-summary div {
  padding: 16px;
  background: #fff;
}

.case-summary span,
.case-summary strong {
  display: block;
}

.case-summary span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-summary strong {
  color: var(--ink);
  line-height: 1.35;
}

.case-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.article-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 94px;
}

.article-aside .card {
  padding: 20px;
}

.related-card {
  border-color: #c8dce6;
  border-left: 4px solid var(--brand);
  box-shadow: 0 10px 24px rgba(8, 121, 181, 0.07);
}

.related-card .eyebrow {
  margin-bottom: 6px;
}

.related-card h3 {
  margin-top: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.related-list {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.related-list li {
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid #e7f0f4;
}

.related-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.related-list a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--brand-dark);
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-card[data-cms-block="related-posts"] .related-list a {
  -webkit-line-clamp: 3;
}

.related-list a:hover {
  color: var(--warm);
}

.list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.list li {
  margin: 8px 0;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.news-item h3 a {
  color: var(--ink);
}

.news-item h3 a:hover {
  color: var(--brand-dark);
}

.article-meta {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pagination a{
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
}

.pagination a:hover,
.pagination a.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

/*
.page-link {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
}

.page-link:hover,
.page-link.current {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.page-link.next {
  padding: 0 16px;
}
*/

.site-footer {
  border-top: 1px solid var(--line);
  background: #f5fbfe;
  padding: 32px 0;
  color: #405047;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .quote-form,
  .case-summary,
  .case-record-grid,
  .quick-inquiry-form {
    grid-template-columns: 1fr;
  }

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

  .article-aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

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

  .hero {
    padding-top: 42px;
  }
}

