:root {
  --color-red: #c90000;
  --color-red-dark: #920000;
  --color-navy: #101827;
  --color-navy-soft: #182235;
  --color-text: #172033;
  --color-muted: #5d6678;
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-border: #d9e0ea;
  --shadow-card: 0 6px 16px rgba(16, 24, 39, 0.12);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: var(--space-sm);
  transform: translateY(-150%);
  background: var(--color-navy);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  z-index: 10;
}

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

.site-header {
  background: var(--color-red);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  font-weight: bold;
}

.logo-mark {
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.logo-text {
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  padding-left: var(--space-sm);
}

.nav-toggle {
  min-height: 44px;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: white;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: var(--space-sm) 0 0;
  padding: 0;
}

.js-nav-ready .nav-list {
  display: none;
}

.js-nav-ready .nav-list.is-open {
  display: flex;
}

.nav-list a {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 8px;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
  background: var(--color-red-dark);
  text-decoration: none;
}

.page-hero {
  background: var(--color-navy);
  color: white;
  padding: var(--space-xl) 0;
}

.eyebrow {
  margin: 0 0 var(--space-xs);
  color: #ffdada;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: 2.2rem;
  line-height: 1.1;
}

.page-hero p {
  max-width: 65ch;
  margin: 0;
}

.site-footer {
  background: var(--color-navy);
  color: white;
  padding: var(--space-xl) 0 0;
}

.section-heading {
  margin: 0 0 var(--space-lg);
  text-align: center;
  font-size: 2rem;
  line-height: 1.2;
}

.about-card-row,
.footer-grid,
.product-grid,
.detail-overview-inner,
.detail-layout,
.model-grid,
.support-grid,
.applications-layout,
.case-detail-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-card,
.support-panel,
.application-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}

.info-card,
.support-panel {
  background: #f8fafc;
}

.product-icon,
.support-icon,
.industry-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.about-hero {
  color: white;
  padding: 5rem 0;
  background:
    linear-gradient(rgba(16, 24, 39, 0.86), rgba(16, 24, 39, 0.78)),
    url("../images/about-hero-workshop.jpg") center / cover no-repeat;
}

.about-hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: 2.6rem;
  line-height: 1.1;
}

.about-hero p {
  max-width: 850px;
  margin: 0 0 var(--space-md);
  font-size: 1.1rem;
}

.hero-support-text {
  color: #d4dbe7;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag-list li {
  background: var(--color-red);
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}

.about-content {
  background: var(--color-surface);
  padding: 4rem 0;
}

.card-heading {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.card-heading h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.2;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 12px;
  background: #ffe1e1;
  color: var(--color-red);
  font-size: 1.4rem;
  font-weight: bold;
}

.info-card > p {
  color: #3d4c63;
  margin: 0 0 var(--space-md);
}

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

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-sm);
  color: #334155;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--color-red);
  border-radius: 50%;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.56rem;
  width: 0.35rem;
  height: 0.18rem;
  border-left: 2px solid var(--color-red);
  border-bottom: 2px solid var(--color-red);
  transform: rotate(-45deg);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-md);
}

.service-item span {
  display: inline-block;
  color: var(--color-red);
  font-weight: bold;
  margin-bottom: var(--space-xs);
}

.service-item h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1.25rem;
}

.service-item p {
  margin: 0;
  color: #3d4c63;
}

.about-cta {
  background: var(--color-red);
  color: white;
  padding: var(--space-xl) 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-cta h2,
.about-cta p {
  margin: 0;
}

.about-cta h2 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.about-cta p {
  margin-top: var(--space-xs);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.button-light {
  background: white;
  color: var(--color-red);
}

.button-light:hover,
.button-light:focus {
  background: #ffe1e1;
}

.button-dark,
.footer-button {
  background: var(--color-red-dark);
  color: white;
}

.button-dark:hover,
.button-dark:focus,
.footer-button:hover,
.footer-button:focus {
  background: #650000;
}

.site-footer h2 {
  margin: 0 0 var(--space-sm);
  font-size: 1.4rem;
}

.site-footer p,
.site-footer address,
.footer-links a {
  color: #d6deec;
}

.site-footer address {
  font-style: normal;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: white;
  text-decoration: underline;
}

.footer-button {
  margin-top: var(--space-xs);
}

.footer-bottom {
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-md) 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.product-hero {
  text-align: center;
  padding: 4rem 0;
}

.product-hero p {
  margin: 0 auto;
  font-size: 1.1rem;
}

.products-section {
  padding: 4rem 0;
}

.product-grid {
  max-width: 920px;
  margin: 0 auto;
}

.product-card {
  background: var(--color-red);
  color: white;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.product-card h3 {
  margin: var(--space-md) 0 var(--space-sm);
  font-size: 1.5rem;
  line-height: 1.2;
}

.product-card p {
  margin: 0 0 var(--space-md);
  color: #ffe1e1;
}

.product-icon {
  min-width: 58px;
  min-height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.category-action {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-action:hover,
.category-action:focus {
  background: white;
  color: var(--color-red);
}

.product-more {
  background: var(--color-surface);
  color: var(--color-text);
}

.product-more p {
  color: var(--color-muted);
}

.product-more .product-icon {
  border-color: #9aa7ba;
  color: #6b7890;
}

.product-more .category-action {
  color: var(--color-red);
  border-color: #ffc7c7;
}

.details-js-ready .detail-panel {
  display: none;
}

.details-js-ready .detail-panel.is-active {
  display: block;
}

.detail-breadcrumb {
  background: #edf1f5;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.detail-breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

.detail-breadcrumb a {
  color: #53647a;
  text-decoration: none;
}

.detail-breadcrumb a:hover,
.detail-breadcrumb a:focus {
  color: var(--color-red);
  text-decoration: underline;
}

.detail-overview,
.case-detail {
  background: white;
  padding: var(--space-xl) 0;
}

.detail-overview h1,
.case-detail h1 {
  margin: 0 0 var(--space-sm);
  font-size: 2.2rem;
  line-height: 1.1;
}

.detail-overview p {
  margin: 0 0 var(--space-md);
  color: #3d4c63;
  font-size: 1.1rem;
}

.detail-overview img,
.case-detail img {
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.detail-overview img {
  aspect-ratio: 16 / 9;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-tags li {
  background: #f1f4f8;
  border-radius: 999px;
  color: var(--color-navy);
  padding: 0.35rem 0.8rem;
}

.detail-tags li:first-child {
  background: #ffe1e1;
  color: var(--color-red);
}

.detail-content {
  padding: var(--space-xl) 0;
}

.detail-types,
.model-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.detail-types {
  padding: var(--space-lg);
}

.detail-types h2,
.detail-models h2 {
  margin: 0 0 var(--space-md);
  line-height: 1.2;
}

.detail-types ul {
  border-top: 1px solid var(--color-border);
  list-style: none;
  margin: 0;
  padding: var(--space-sm) 0 0;
}

.detail-types li {
  margin-bottom: var(--space-sm);
  padding: 0.5rem 0.8rem;
}

.detail-types .active-type {
  background: #fff1f1;
  border-left: 5px solid var(--color-red);
  color: var(--color-red);
}

.model-card {
  overflow: hidden;
}

.model-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: grayscale(100%);
}

.model-card div {
  padding: var(--space-md);
}

.model-card h3 {
  margin: 0 0 var(--space-xs);
  line-height: 1.25;
}

.model-card p {
  color: #3d4c63;
  margin: 0 0 var(--space-sm);
}

.model-link {
  color: var(--color-red);
  font-weight: bold;
  text-decoration: none;
}

a.model-link:hover,
a.model-link:focus {
  text-decoration: underline;
}

.detail-cta {
  background: var(--color-red);
  color: white;
  padding: var(--space-xl) 0;
}

.detail-cta h2,
.detail-cta p {
  margin: 0;
}

.detail-cta p {
  margin-top: var(--space-xs);
}

.support-hero,
.applications-hero {
  background: var(--color-navy);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.support-hero h1,
.applications-hero h1 {
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
}

.support-hero h1 {
  font-size: 2.4rem;
}

.support-hero p,
.applications-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.support-content {
  background: white;
  padding: 4rem 0;
}

.support-panel {
  min-width: 0;
}

.support-icon {
  min-width: 58px;
  min-height: 58px;
  margin-bottom: var(--space-sm);
  border: 2px solid var(--color-red);
  border-radius: 12px;
  color: var(--color-red);
}

.support-panel h2 {
  margin: 0 0 var(--space-md);
  font-size: 1.8rem;
  line-height: 1.2;
}

.support-panel h3 {
  margin: var(--space-md) 0 var(--space-sm);
  color: #26354a;
}

.resource-list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
}

.resource-list li {
  margin-bottom: var(--space-sm);
}

.resource-list a {
  color: var(--color-red);
  font-weight: bold;
  text-decoration: none;
}

.resource-list a:hover,
.resource-list a:focus {
  text-decoration: underline;
}

.faq-item {
  border-top: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-weight: bold;
  padding: 0;
  text-align: left;
}

.faq-question::after {
  content: "+";
  color: var(--color-red);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer p,
.news-card p,
.contact-card p {
  color: #3d4c63;
}

.faq-answer p {
  margin: var(--space-xs) 0 0;
}

.news-card,
.contact-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-md);
}

.news-card {
  margin-bottom: var(--space-md);
}

.news-card h3 {
  margin: var(--space-sm) 0 var(--space-xs);
  line-height: 1.25;
}

.news-card p,
.contact-card p {
  margin: 0 0 var(--space-sm);
}

.news-label {
  display: inline-block;
  background: #fff1f1;
  color: var(--color-red);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  text-transform: uppercase;
}

.contact-card {
  margin-bottom: var(--space-sm);
}

.contact-card span {
  display: block;
  color: var(--color-red);
  font-weight: bold;
  text-transform: uppercase;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.enquiry-form label {
  font-weight: bold;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  padding: 0.75rem;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--color-red);
  outline: 2px solid #ffdada;
}

.form-feedback {
  margin: var(--space-xs) 0 0;
  font-weight: bold;
}

.form-feedback.is-error {
  color: var(--color-red);
}

.form-feedback.is-success {
  color: #146c43;
}

.applications-hero h1 {
  font-size: 2.5rem;
}

.applications-content {
  padding: 4rem 0;
}

.application-card {
  background: white;
}

.application-card h2 {
  margin: 0 0 var(--space-md);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-sm);
  font-size: 1.8rem;
  line-height: 1.2;
}

.industry-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.industry-card {
  background: #f8fafc;
  border: 1px solid #e7edf4;
  border-radius: 12px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.industry-card span {
  min-width: 58px;
  min-height: 58px;
  margin-bottom: var(--space-sm);
  border: 2px solid #9aa7ba;
  border-radius: 50%;
  color: #6b7890;
}

.industry-card h3 {
  margin: 0;
  line-height: 1.25;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.case-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  background: #f8fafc;
  border-radius: 12px;
  padding: var(--space-md);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.case-row:hover,
.case-row:focus {
  background: #fff1f1;
  transform: translateY(-2px);
}

.case-row strong,
.case-row small {
  display: block;
}

.case-row strong {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.3;
}

.case-row small {
  margin-top: var(--space-xs);
  color: #6b7890;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-row > span:last-child {
  color: #9aa7ba;
  font-size: 2rem;
  line-height: 1;
}

.case-js-ready .case-panel {
  display: none;
}

.case-js-ready .case-panel.is-active {
  display: block;
}

.case-detail p {
  color: #3d4c63;
  font-size: 1.1rem;
}

.case-detail img {
  aspect-ratio: 16 / 10;
}

.case-facts {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: var(--space-md);
}

.case-facts li {
  margin-bottom: var(--space-xs);
}

.case-facts li:last-child {
  margin-bottom: 0;
}

@media (min-width: 760px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: 0;
  }

  .js-nav-ready .nav-list {
    display: flex;
  }

  .page-hero h1 {
    font-size: 3.25rem;
  }

  .about-hero {
    padding: 6rem 0;
  }

  .about-hero h1 {
    font-size: 4rem;
  }

  .about-card-row {
    flex-direction: row;
  }

  .info-card {
    flex: 1;
    padding: var(--space-xl);
  }

  .service-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-item {
    width: calc(50% - 0.5rem);
  }

  .cta-inner,
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cta-actions {
    flex-direction: row;
    align-items: center;
  }

  .footer-grid section {
    width: 23%;
  }

  .product-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-card {
    width: calc(50% - 1rem);
  }

  .detail-overview-inner {
    flex-direction: row;
    align-items: center;
  }

  .detail-overview-inner > div,
  .detail-overview-inner > img {
    width: calc(50% - 1rem);
  }

  .detail-overview h1 {
    font-size: 3rem;
  }

  .detail-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .detail-types {
    width: 28%;
  }

  .detail-models {
    width: 72%;
  }

  .model-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .model-card {
    width: calc(50% - 1rem);
  }

  .support-hero h1 {
    font-size: 3.4rem;
  }

  .support-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .support-panel {
    flex: 1;
    padding: var(--space-xl);
  }

  .applications-hero h1 {
    font-size: 3.5rem;
  }

  .applications-layout {
    flex-direction: row;
    align-items: stretch;
  }

  .application-card {
    width: calc(50% - 1rem);
    padding: var(--space-xl);
  }

  .industry-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .industry-card {
    width: calc(50% - 0.75rem);
  }

  .case-detail-inner {
    flex-direction: row;
    align-items: center;
  }

  .case-detail-inner > div,
  .case-detail-inner > img {
    width: calc(50% - 1rem);
  }

  .case-detail h1 {
    font-size: 3rem;
  }
}
